Pull request #727 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b054e30a1ca050dedc0171177f0940359ff92956+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (08f1278ebe57f05ba11a11d2cecf274dba2ea4cd) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20650 in /w/workspace/dgexfoundry_device-sdk-go_PR-727 [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-727 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit b054e30a1ca050dedc0171177f0940359ff92956 Merge succeeded, producing b054e30a1ca050dedc0171177f0940359ff92956 Checking out Revision b054e30a1ca050dedc0171177f0940359ff92956 (PR-727) > 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/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git rev-list --no-walk b6f6a5efc8a2f98596e9867a292eee16efd6b723 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:46:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:46:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:46:57 ========================================================= 21:46:57 EdgeX Global Pipelines Version Info 21:46:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:46:59 ------------------- 21:46:59 stable info: 21:46:59 ------------------- 21:46:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:46:59 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 21:46:59 Message: update stable to v1.0.177 21:47:00 ------------------- 21:47:00 experimental info: 21:47:00 ------------------- 21:47:00 Commited By: **** collab-it+edgex@linuxfoundation.org 21:47:00 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 21:47:00 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:47:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:47:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:47:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-727 [Pipeline] echo 21:47:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-727 [Pipeline] echo 21:47:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-727 [Pipeline] echo 21:47:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b054e30a1ca050dedc0171177f0940359ff92956 [Pipeline] echo 21:47:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b054e30 [Pipeline] echo 21:47:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:47:03 provisioning config files... 21:47:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/config1659201102166548418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:04 ---> docker-login.sh 21:47:04 nexus3.edgexfoundry.org:10001 21:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:04 Configure a credential helper to remove this warning. See 21:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:04 21:47:04 Login Succeeded 21:47:04 nexus3.edgexfoundry.org:10002 21:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:04 Configure a credential helper to remove this warning. See 21:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:04 21:47:04 Login Succeeded 21:47:04 nexus3.edgexfoundry.org:10003 21:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:04 Configure a credential helper to remove this warning. See 21:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:04 21:47:04 Login Succeeded 21:47:04 nexus3.edgexfoundry.org:10004 21:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:05 Configure a credential helper to remove this warning. See 21:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:05 21:47:05 Login Succeeded 21:47:05 docker.io 21:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:05 Configure a credential helper to remove this warning. See 21:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:05 21:47:05 Login Succeeded 21:47:05 ---> docker-login.sh ends [Pipeline] } 21:47:05 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 21:47:06 + git log --format=format:%s -1 b054e30a1ca050dedc0171177f0940359ff92956 [Pipeline] echo 21:47:06 GIT_COMMIT: b054e30a1ca050dedc0171177f0940359ff92956, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 21:47:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:47:06 21:47:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:47:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:47:07 latest: Pulling from edgex-devops/git-semver 21:47:07 31603596830f: Pulling fs layer 21:47:07 2a8b12db71e7: Pulling fs layer 21:47:07 6ca5941a6612: Pulling fs layer 21:47:07 ecc8261a40a4: Pulling fs layer 21:47:07 ecc8261a40a4: Waiting 21:47:07 2a8b12db71e7: Verifying Checksum 21:47:07 2a8b12db71e7: Download complete 21:47:07 31603596830f: Verifying Checksum 21:47:07 31603596830f: Download complete 21:47:07 ecc8261a40a4: Verifying Checksum 21:47:07 ecc8261a40a4: Download complete 21:47:07 6ca5941a6612: Verifying Checksum 21:47:07 6ca5941a6612: Download complete 21:47:07 31603596830f: Pull complete 21:47:07 2a8b12db71e7: Pull complete 21:47:08 6ca5941a6612: Pull complete 21:47:09 ecc8261a40a4: Pull complete 21:47:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:47:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:47:09 prd-centos7-docker-4c-2g-20650 does not seem to be running inside a container 21:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-727 -v /w/workspace/dgexfoundry_device-sdk-go_PR-727:/w/workspace/dgexfoundry_device-sdk-go_PR-727:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:47:11 $ docker top 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:12 [ssh-agent] Looking for ssh-agent implementation... 21:47:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:12 $ docker exec 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 ssh-agent 21:47:12 SSH_AUTH_SOCK=/tmp/ssh-1w7OnVgYQ7HY/agent.12 21:47:12 SSH_AGENT_PID=18 21:47:12 Running ssh-add (command line suppressed) 21:47:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_2487053609584095383.key (/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_2487053609584095383.key) 21:47:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:12 + git tag --points-at HEAD [Pipeline] } 21:47:12 $ docker exec --env ******** --env ******** 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 ssh-agent -k 21:47:13 unset SSH_AUTH_SOCK; 21:47:13 unset SSH_AGENT_PID; 21:47:13 echo Agent pid 18 killed; 21:47:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:47:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:13 [ssh-agent] Looking for ssh-agent implementation... 21:47:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:13 $ docker exec 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 ssh-agent 21:47:13 SSH_AUTH_SOCK=/tmp/ssh-2bnpngREsmbf/agent.47 21:47:13 SSH_AGENT_PID=52 21:47:13 Running ssh-add (command line suppressed) 21:47:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_4658561828299844862.key (/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_4658561828299844862.key) 21:47:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:14 + git semver init 21:47:14 # -> Open(): unable to determine branch for HEAD 21:47:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-727/.git 21:47:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-727 21:47:14 # $SEMVER_REMOTE_NAME = origin 21:47:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:47:14 # $SEMVER_USER_NAME = edgex-jenkins 21:47:14 # $SEMVER_BRANCH = PR-727 21:47:14 # $SEMVER_TEMP = /tmp/semver-304372008 21:47:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:47:15 # '/tmp/semver-304372008' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-727/.semver' 21:47:15 # -> Force: false 21:47:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-727/.semver [Pipeline] } 21:47:15 $ docker exec --env ******** --env ******** 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 ssh-agent -k 21:47:15 unset SSH_AUTH_SOCK; 21:47:15 unset SSH_AGENT_PID; 21:47:15 echo Agent pid 52 killed; 21:47:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:15 + git semver [Pipeline] } 21:47:15 $ docker stop --time=1 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 21:47:17 $ docker rm -f 6fdda1a06a80180d08427f99b3f3a8b57b16bfc90aae8864ae9fe72e8976b419 [Pipeline] // withDockerContainer [Pipeline] sh 21:47:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:18 Stashed 1 file(s) [Pipeline] echo 21:47:18 [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 21:47:34 Still waiting to schedule task 21:47:34 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-centos7-docker-4c-2g-20642’ is offline; ‘prd-centos7-docker-4c-2g-20644’ is offline; ‘prd-centos7-docker-4c-2g-20645’ is offline; ‘prd-centos7-docker-4c-2g-20652’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20651’ doesn’t have label ‘centos7-docker-4c-2g’ 21:47:34 Still waiting to schedule task 21:47:34 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20641’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20644’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20645’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20652’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20651’ is offline 21:49:18 Running on prd-centos7-docker-4c-2g-20657 in /w/workspace/dgexfoundry_device-sdk-go_PR-727 [Pipeline] { [Pipeline] ws 21:49:18 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:49:21 using credential edgex-jenkins-ssh 21:49:21 Cloning the remote Git repository 21:49:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:49:21 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:49:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:21 > git --version # timeout=10 21:49:21 > git --version # 'git version 2.24.3' 21:49:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:23 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit b054e30a1ca050dedc0171177f0940359ff92956 21:49:23 Merge succeeded, producing b054e30a1ca050dedc0171177f0940359ff92956 21:49:23 Checking out Revision b054e30a1ca050dedc0171177f0940359ff92956 (PR-727) 21:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:23 > git config core.sparsecheckout # timeout=10 21:49:23 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 21:49:23 > git remote # timeout=10 21:49:23 > git config --get remote.origin.url # timeout=10 21:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:23 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 21:49:23 > git rev-parse HEAD^{commit} # timeout=10 21:49:23 > git config core.sparsecheckout # timeout=10 21:49:23 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 21:49:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:49:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:49:28 + sudo service docker restart 21:49:28 + true 21:49:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:49:30 provisioning config files... 21:49:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config159692350447638215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:30 ---> docker-login.sh 21:49:30 nexus3.edgexfoundry.org:10001 21:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:31 Configure a credential helper to remove this warning. See 21:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:31 21:49:31 Login Succeeded 21:49:31 nexus3.edgexfoundry.org:10002 21:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:31 Configure a credential helper to remove this warning. See 21:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:31 21:49:31 Login Succeeded 21:49:31 nexus3.edgexfoundry.org:10003 21:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:31 Configure a credential helper to remove this warning. See 21:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:31 21:49:31 Login Succeeded 21:49:31 nexus3.edgexfoundry.org:10004 21:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:31 Configure a credential helper to remove this warning. See 21:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:31 21:49:31 Login Succeeded 21:49:31 docker.io 21:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:32 Configure a credential helper to remove this warning. See 21:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:32 21:49:32 Login Succeeded 21:49:32 ---> docker-login.sh ends [Pipeline] } 21:49:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:32 ========================================================= 21:49:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:49:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:49:33 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 21:49:33 Sending build context to Docker daemon 2.58MB 21:49:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:49:33 Step 2/8 : FROM ${BASE} 21:49:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:49:33 188c0c94c7c5: Pulling fs layer 21:49:33 0ef7d3d256c8: Pulling fs layer 21:49:33 de9db76c5a1d: Pulling fs layer 21:49:33 bca2f99d35d6: Pulling fs layer 21:49:33 93359f2a8cfa: Pulling fs layer 21:49:33 7c6f9722023f: Pulling fs layer 21:49:33 a35cf1a2eb13: Pulling fs layer 21:49:33 93359f2a8cfa: Waiting 21:49:33 bca2f99d35d6: Waiting 21:49:33 7c6f9722023f: Waiting 21:49:33 a35cf1a2eb13: Waiting 21:49:33 de9db76c5a1d: Verifying Checksum 21:49:33 de9db76c5a1d: Download complete 21:49:33 0ef7d3d256c8: Download complete 21:49:33 93359f2a8cfa: Verifying Checksum 21:49:33 93359f2a8cfa: Download complete 21:49:33 188c0c94c7c5: Verifying Checksum 21:49:33 188c0c94c7c5: Download complete 21:49:33 7c6f9722023f: Verifying Checksum 21:49:33 7c6f9722023f: Download complete 21:49:34 188c0c94c7c5: Pull complete 21:49:34 0ef7d3d256c8: Pull complete 21:49:34 de9db76c5a1d: Pull complete 21:49:36 a35cf1a2eb13: Verifying Checksum 21:49:36 a35cf1a2eb13: Download complete 21:49:38 bca2f99d35d6: Verifying Checksum 21:49:38 bca2f99d35d6: Download complete 21:49:45 bca2f99d35d6: Pull complete 21:49:45 93359f2a8cfa: Pull complete 21:49:45 7c6f9722023f: Pull complete 21:49:49 a35cf1a2eb13: Pull complete 21:49:49 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:49:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:49:49 ---> a62c8e92a672 21:49:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:49:49 ---> Running in 73e9299a324c 21:49:49 Removing intermediate container 73e9299a324c 21:49:49 ---> 9c1876cdf0ea 21:49:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:49:50 ---> Running in 958f5c5341c8 21:49:51 Removing intermediate container 958f5c5341c8 21:49:51 ---> 2f823646765d 21:49:51 Step 5/8 : RUN apk add --update --no-cache make git 21:49:51 ---> Running in eae20c5c1f21 21:49:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:49:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:49:54 OK: 166 MiB in 39 packages 21:49:55 Removing intermediate container eae20c5c1f21 21:49:55 ---> 7ff059344127 21:49:55 Step 6/8 : WORKDIR /device-sdk-go 21:49:55 ---> Running in 9dba3713cdd5 21:49:55 Removing intermediate container 9dba3713cdd5 21:49:55 ---> 1cc965b99500 21:49:55 Step 7/8 : COPY . . 21:49:57 ---> 47d23324d46f 21:49:57 Step 8/8 : RUN go mod download 21:49:57 ---> Running in 1b38b1fae913 21:50:19 Removing intermediate container 1b38b1fae913 21:50:19 ---> 5db3329b5303 21:50:19 Successfully built 5db3329b5303 21:50:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:50:19 + docker inspect -f . ci-base-image-x86_64 21:50:19 . [Pipeline] withDockerContainer 21:50:19 prd-centos7-docker-4c-2g-20657 does not seem to be running inside a container 21:50:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:21 $ docker top c81d4ed79c9589ee30a18af10e0f867104767cd53849eae60d2b5af1c618feff -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:21 + go version 21:50:21 go version go1.15.5 linux/amd64 [Pipeline] } 21:50:21 $ docker stop --time=1 c81d4ed79c9589ee30a18af10e0f867104767cd53849eae60d2b5af1c618feff 21:50:23 $ docker rm -f c81d4ed79c9589ee30a18af10e0f867104767cd53849eae60d2b5af1c618feff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:50:24 + docker inspect -f . ci-base-image-x86_64 21:50:24 . [Pipeline] withDockerContainer 21:50:24 prd-centos7-docker-4c-2g-20657 does not seem to be running inside a container 21:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:25 $ docker top e548f5c1000d184b5f544d165c2a3da730f4f13ff2e4e905da8168c7991ca8cc -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:25 + make test 21:50:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:50:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20661 in /w/workspace/dgexfoundry_device-sdk-go_PR-727 [Pipeline] { [Pipeline] ws 21:50:26 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:50:32 using credential edgex-jenkins-ssh 21:50:32 Cloning the remote Git repository 21:50:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:50:32 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:50:32 > git --version # timeout=10 21:50:32 > git --version # 'git version 2.17.1' 21:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:50:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:50:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:50:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:34 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit b054e30a1ca050dedc0171177f0940359ff92956 21:50:34 Merge succeeded, producing b054e30a1ca050dedc0171177f0940359ff92956 21:50:34 Checking out Revision b054e30a1ca050dedc0171177f0940359ff92956 (PR-727) 21:50:34 > git config core.sparsecheckout # timeout=10 21:50:34 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 21:50:34 > git remote # timeout=10 21:50:34 > git config --get remote.origin.url # timeout=10 21:50:34 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:34 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 21:50:34 > git rev-parse HEAD^{commit} # timeout=10 21:50:34 > git config core.sparsecheckout # timeout=10 21:50:34 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 21:50:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:50:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:50:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:50:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:50:41 + sudo service docker restart 21:50:41 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:50:44 provisioning config files... 21:50:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4089104085338273120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:44 ---> docker-login.sh 21:50:44 nexus3.edgexfoundry.org:10001 21:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:45 Configure a credential helper to remove this warning. See 21:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:45 21:50:45 Login Succeeded 21:50:45 nexus3.edgexfoundry.org:10002 21:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:46 Configure a credential helper to remove this warning. See 21:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:46 21:50:46 Login Succeeded 21:50:46 nexus3.edgexfoundry.org:10003 21:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:46 Configure a credential helper to remove this warning. See 21:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:46 21:50:46 Login Succeeded 21:50:46 nexus3.edgexfoundry.org:10004 21:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:47 Configure a credential helper to remove this warning. See 21:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:47 21:50:47 Login Succeeded 21:50:47 docker.io 21:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:47 Configure a credential helper to remove this warning. See 21:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:47 21:50:47 Login Succeeded 21:50:48 ---> docker-login.sh ends [Pipeline] } 21:50:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:50:48 ========================================================= 21:50:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:50:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:50:48 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 21:50:49 Sending build context to Docker daemon 2.582MB 21:50:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:50:49 Step 2/8 : FROM ${BASE} 21:50:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:50:49 5f621e34cdf4: Pulling fs layer 21:50:49 a4357932f1b6: Pulling fs layer 21:50:49 18c013af1878: Pulling fs layer 21:50:49 00ac8860ef70: Pulling fs layer 21:50:49 63d7cb157983: Pulling fs layer 21:50:49 b116817d02f9: Pulling fs layer 21:50:49 745a02a5169b: Pulling fs layer 21:50:49 63d7cb157983: Waiting 21:50:49 b116817d02f9: Waiting 21:50:49 745a02a5169b: Waiting 21:50:49 18c013af1878: Verifying Checksum 21:50:49 18c013af1878: Download complete 21:50:49 a4357932f1b6: Verifying Checksum 21:50:49 a4357932f1b6: Download complete 21:50:49 63d7cb157983: Verifying Checksum 21:50:49 63d7cb157983: Download complete 21:50:49 b116817d02f9: Download complete 21:50:49 5f621e34cdf4: Verifying Checksum 21:50:49 5f621e34cdf4: Download complete 21:50:50 5f621e34cdf4: Pull complete 21:50:51 a4357932f1b6: Pull complete 21:50:51 18c013af1878: Pull complete 21:50:51 745a02a5169b: Verifying Checksum 21:50:51 745a02a5169b: Download complete 21:50:53 00ac8860ef70: Verifying Checksum 21:50:53 00ac8860ef70: Download complete 21:50:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:50:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:50:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:50:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements 21:50:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.454s coverage: 97.1% of statements 21:51:03 00ac8860ef70: Pull complete 21:51:03 63d7cb157983: Pull complete 21:51:03 b116817d02f9: Pull complete 21:51:08 745a02a5169b: Pull complete 21:51:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:51:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:51:08 ---> b7e6874047d6 21:51:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:10 ---> Running in c38338bcd272 21:51:11 Removing intermediate container c38338bcd272 21:51:11 ---> 5b723428fdc4 21:51:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:11 ---> Running in 74d5b2e9d233 21:51:14 Removing intermediate container 74d5b2e9d233 21:51:14 ---> 57f3729404eb 21:51:14 Step 5/8 : RUN apk add --update --no-cache make git 21:51:14 ---> Running in ede67c705cf4 21:51:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:51:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:51:16 OK: 142 MiB in 39 packages 21:51:18 Removing intermediate container ede67c705cf4 21:51:18 ---> 35d205765500 21:51:18 Step 6/8 : WORKDIR /device-sdk-go 21:51:18 ---> Running in fd2780ee9a92 21:51:18 Removing intermediate container fd2780ee9a92 21:51:18 ---> dc82df970c69 21:51:18 Step 7/8 : COPY . . 21:51:20 ---> 30922b17860b 21:51:20 Step 8/8 : RUN go mod download 21:51:20 ---> Running in 945dced85acd 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 9.4% of statements 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 21.7% of statements 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.229s coverage: 42.9% of statements 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.287s coverage: 68.9% of statements 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 53.8% of statements 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 30.4% of statements 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.737s coverage: 68.9% of statements 21:51:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 21:51:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:51:26 GO111MODULE=on go vet ./... 21:51:37 gofmt -l . 21:51:37 [ "`gofmt -l .`" = "" ] 21:51:37 ./bin/test-attribution-txt.sh 21:51:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:51:37 $ docker stop --time=1 e548f5c1000d184b5f544d165c2a3da730f4f13ff2e4e905da8168c7991ca8cc 21:51:39 $ docker rm -f e548f5c1000d184b5f544d165c2a3da730f4f13ff2e4e905da8168c7991ca8cc [Pipeline] // withDockerContainer [Pipeline] sh 21:51:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:51:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:42 Removing intermediate container 945dced85acd 21:51:42 ---> 2349e86d4a3e 21:51:42 Successfully built 2349e86d4a3e 21:51:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:51:42 + ls -al . 21:51:42 total 220 21:51:42 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:51 . 21:51:42 drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:49 .. 21:51:42 drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:49 bin 21:51:42 -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:51 coverage.out 21:51:42 -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build 21:51:42 -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore 21:51:42 drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:49 example 21:51:42 drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:49 .git 21:51:42 drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:49 .github 21:51:42 -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:49 .gitignore 21:51:42 -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:51 go.mod 21:51:42 -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 21:51 go.sum 21:51:42 drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:49 internal 21:51:42 -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile 21:51:42 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE 21:51:42 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:49 Makefile 21:51:42 drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:49 openapi 21:51:42 drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:49 pkg 21:51:42 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:49 README.md 21:51:42 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt 21:51:42 drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:49 snap 21:51:42 -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:47 VERSION 21:51:42 -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh 21:51:42 + docker inspect -f . ci-base-image-arm64 21:51:42 . [Pipeline] withDockerContainer 21:51:42 + 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=b054e30a1ca050dedc0171177f0940359ff92956 --label arch=amd64 --label version=0.0.0 . 21:51:42 prd-ubuntu18.04-docker-arm64-4c-16g-20661 does not seem to be running inside a container 21:51:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:51:42 Sending build context to Docker daemon 2.724MB 21:51:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:51:42 Step 2/24 : FROM ${BASE} AS builder 21:51:42 ---> 5db3329b5303 21:51:42 Step 3/24 : ARG MAKE='make build' 21:51:43 ---> Running in 50786e71437b 21:51:43 Removing intermediate container 50786e71437b 21:51:43 ---> eab629621780 21:51:43 Step 4/24 : WORKDIR /device-sdk-go 21:51:43 ---> Running in bb5e6d5c6931 21:51:44 Removing intermediate container bb5e6d5c6931 21:51:44 ---> 68560424f797 21:51:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:44 ---> Running in 494ee8b43ccd 21:51:44 Removing intermediate container 494ee8b43ccd 21:51:44 ---> 7f2c8a854337 21:51:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:44 ---> Running in 18258a798f19 21:51:44 $ docker top 86a189db81d815ab214ae13842c524cc5de9f37c9e0babac549f44d9fc8e0158 -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:45 Removing intermediate container 18258a798f19 21:51:45 ---> 0d903bbfe941 21:51:45 Step 7/24 : RUN apk add --update --no-cache make git 21:51:45 + go version 21:51:45 go version go1.15.5 linux/arm64 [Pipeline] } 21:51:45 $ docker stop --time=1 86a189db81d815ab214ae13842c524cc5de9f37c9e0babac549f44d9fc8e0158 21:51:45 ---> Running in 1870563e018e 21:51:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:51:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:51:47 $ docker rm -f 86a189db81d815ab214ae13842c524cc5de9f37c9e0babac549f44d9fc8e0158 21:51:47 OK: 166 MiB in 39 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:51:48 Removing intermediate container 1870563e018e 21:51:48 ---> 5c2fb909d838 21:51:48 Step 8/24 : COPY . . 21:51:48 + docker inspect -f . ci-base-image-arm64 21:51:48 . [Pipeline] withDockerContainer 21:51:48 prd-ubuntu18.04-docker-arm64-4c-16g-20661 does not seem to be running inside a container 21:51:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:51:49 ---> 82eda0b290d0 21:51:49 Step 9/24 : RUN ${MAKE} 21:51:49 ---> Running in 35990e1109f4 21:51:50 CGO_ENABLED=0 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 21:51:50 $ docker top 2ea49e6bfe8f806ab55535687fe867cf6b28da6d80db86523563b5809b4eab20 -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:51 + make test 21:51:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:51:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:52:00 Removing intermediate container 35990e1109f4 21:52:00 ---> ed7b891cf94c 21:52:00 Step 10/24 : FROM scratch 21:52:00 ---> 21:52:00 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:52:00 ---> Running in 23dd99778d57 21:52:00 Removing intermediate container 23dd99778d57 21:52:00 ---> 2b099a1d7f78 21:52:00 Step 12/24 : ENV APP_PORT=49990 21:52:00 ---> Running in 4b5869866ab4 21:52:01 Removing intermediate container 4b5869866ab4 21:52:01 ---> bba8f815fb51 21:52:01 Step 13/24 : EXPOSE $APP_PORT 21:52:01 ---> Running in e7214849c185 21:52:01 Removing intermediate container e7214849c185 21:52:01 ---> 5795fe56733d 21:52:01 Step 14/24 : WORKDIR / 21:52:01 ---> Running in 84430cd052f2 21:52:01 Removing intermediate container 84430cd052f2 21:52:01 ---> 36de712827ea 21:52:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:52:02 ---> edc05babbd6a 21:52:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:52:02 ---> d74b54bb045f 21:52:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:52:02 ---> 1d3903142507 21:52:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:52:02 ---> dc44205f9cd3 21:52:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:52:03 ---> 92af133da317 21:52:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:52:03 ---> Running in 575f23cc447e 21:52:03 Removing intermediate container 575f23cc447e 21:52:03 ---> 7b6af1a24ebf 21:52:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:52:03 ---> Running in 51ba45865968 21:52:03 Removing intermediate container 51ba45865968 21:52:03 ---> a703c43fe8f5 21:52:03 Step 22/24 : LABEL arch=amd64 21:52:03 ---> Running in 49ef8c65bbd9 21:52:03 Removing intermediate container 49ef8c65bbd9 21:52:03 ---> e55b273a3a57 21:52:03 Step 23/24 : LABEL git_sha=b054e30a1ca050dedc0171177f0940359ff92956 21:52:04 ---> Running in dd60ffedbcc6 21:52:04 Removing intermediate container dd60ffedbcc6 21:52:04 ---> 3f467e346f0b 21:52:04 Step 24/24 : LABEL version=0.0.0 21:52:04 ---> Running in 8aa994f0937f 21:52:04 Removing intermediate container 8aa994f0937f 21:52:04 ---> 494f6263ac39 21:52:04 [Warning] One or more build-args [ARCH] were not consumed 21:52:04 Successfully built 494f6263ac39 21:52:04 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:52:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:53:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:53:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:53:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:53:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.179s coverage: 19.4% of statements 21:53:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.256s coverage: 97.1% of statements 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.161s coverage: 9.4% of statements 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.127s coverage: 21.7% of statements 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.561s coverage: 42.9% of statements 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.718s coverage: 68.9% of statements 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.193s coverage: 53.8% of statements 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.188s coverage: 30.4% of statements 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.700s coverage: 68.9% of statements 21:53:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 4.2% of statements 21:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:53:32 GO111MODULE=on go vet ./... 21:54:11 gofmt -l . 21:54:11 [ "`gofmt -l .`" = "" ] 21:54:11 ./bin/test-attribution-txt.sh 21:54:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:54:11 $ docker stop --time=1 2ea49e6bfe8f806ab55535687fe867cf6b28da6d80db86523563b5809b4eab20 21:54:14 $ docker rm -f 2ea49e6bfe8f806ab55535687fe867cf6b28da6d80db86523563b5809b4eab20 [Pipeline] // withDockerContainer [Pipeline] sh 21:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:54:15 Warning: overwriting stash ‘coverage-report’ 21:54:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:54:17 + ls -al . 21:54:17 total 256 21:54:17 drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:54 . 21:54:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 .. 21:54:17 -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:50 .dockerignore 21:54:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:50 .git 21:54:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:50 .github 21:54:17 -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:50 .gitignore 21:54:17 -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:50 Dockerfile.build 21:54:17 -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:50 Jenkinsfile 21:54:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:50 LICENSE 21:54:17 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:50 Makefile 21:54:17 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:50 README.md 21:54:17 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:50 RELEASE-NOTES.txt 21:54:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:47 VERSION 21:54:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:50 bin 21:54:17 -rw-r--r-- 1 jenkins jenkins 142788 Jan 15 21:53 coverage.out 21:54:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 example 21:54:17 -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:54 go.mod 21:54:17 -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 21:54 go.sum 21:54:17 drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:50 internal 21:54:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 openapi 21:54:17 drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:50 pkg 21:54:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 snap 21:54:17 -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:50 version.go [Pipeline] isUnix [Pipeline] sh 21:54:17 + 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=b054e30a1ca050dedc0171177f0940359ff92956 --label arch=arm64 --label version=0.0.0 . 21:54:18 Sending build context to Docker daemon 2.725MB 21:54:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:54:18 Step 2/24 : FROM ${BASE} AS builder 21:54:18 ---> 2349e86d4a3e 21:54:18 Step 3/24 : ARG MAKE='make build' 21:54:19 ---> Running in 459a7a2fab32 21:54:19 Removing intermediate container 459a7a2fab32 21:54:19 ---> 9bf3681f63df 21:54:19 Step 4/24 : WORKDIR /device-sdk-go 21:54:19 ---> Running in 8c9343f56605 21:54:20 Removing intermediate container 8c9343f56605 21:54:20 ---> 23ddb4b4e815 21:54:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:54:20 ---> Running in 894e65b3d567 21:54:20 Removing intermediate container 894e65b3d567 21:54:20 ---> 415b96b10fdd 21:54:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:54:20 ---> Running in 55feaa3f9c8a 21:54:23 Removing intermediate container 55feaa3f9c8a 21:54:23 ---> 9af030309af6 21:54:23 Step 7/24 : RUN apk add --update --no-cache make git 21:54:23 ---> Running in 3073a87b95e0 21:54:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:54:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:54:26 OK: 142 MiB in 39 packages 21:54:27 Removing intermediate container 3073a87b95e0 21:54:27 ---> ad32ee405aea 21:54:27 Step 8/24 : COPY . . 21:54:28 ---> c837b65547b1 21:54:28 Step 9/24 : RUN ${MAKE} 21:54:28 ---> Running in 6320fc949433 21:54:29 CGO_ENABLED=0 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 21:54:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:54:58 Removing intermediate container 6320fc949433 21:54:58 ---> f711c7644537 21:54:58 Step 10/24 : FROM scratch 21:54:58 ---> 21:54:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:54:58 ---> Running in 0b2ab4fdb663 21:54:59 Removing intermediate container 0b2ab4fdb663 21:54:59 ---> 7a79121dc33c 21:54:59 Step 12/24 : ENV APP_PORT=49990 21:54:59 ---> Running in 6cc53d1be9f5 21:54:59 Removing intermediate container 6cc53d1be9f5 21:54:59 ---> 3956c44f84ef 21:54:59 Step 13/24 : EXPOSE $APP_PORT 21:54:59 ---> Running in f37a0b2ea5be 21:55:00 Removing intermediate container f37a0b2ea5be 21:55:00 ---> 6f97da81b6ad 21:55:00 Step 14/24 : WORKDIR / 21:55:00 ---> Running in 091b7a784c87 21:55:00 Removing intermediate container 091b7a784c87 21:55:00 ---> f982e3609c8b 21:55:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:55:02 ---> 57c8e3dfcd46 21:55:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:55:02 ---> 61bfaeb3b993 21:55:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:55:03 ---> f000501539b5 21:55:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:55:04 ---> fcae1c2528ab 21:55:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:55:04 ---> 7c687d19ede9 21:55:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:55:04 ---> Running in 737315479b27 21:55:05 Removing intermediate container 737315479b27 21:55:05 ---> 7963086be96c 21:55:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:55:05 ---> Running in a993fed5a1ab 21:55:05 Removing intermediate container a993fed5a1ab 21:55:05 ---> 7e6da0579db3 21:55:05 Step 22/24 : LABEL arch=arm64 21:55:06 ---> Running in 0fb63e4df6aa 21:55:06 Removing intermediate container 0fb63e4df6aa 21:55:06 ---> c91ebda7d7f8 21:55:06 Step 23/24 : LABEL git_sha=b054e30a1ca050dedc0171177f0940359ff92956 21:55:06 ---> Running in 8cfa5b6ff0e7 21:55:07 Removing intermediate container 8cfa5b6ff0e7 21:55:07 ---> ef6e74da4d01 21:55:07 Step 24/24 : LABEL version=0.0.0 21:55:07 ---> Running in f19d3d23b3e6 21:55:07 Removing intermediate container f19d3d23b3e6 21:55:07 ---> 984ad6f9b89a 21:55:07 [Warning] One or more build-args [ARCH] were not consumed 21:55:07 Successfully built 984ad6f9b89a 21:55:07 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 21:55:09 provisioning config files... 21:55:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/config5771021794622163290tmp [Pipeline] { [Pipeline] sh 21:55:09 + set +x 21:55:09 + curl -s https://codecov.io/bash 21:55:09 + bash -s -- 21:55:10 21:55:10 _____ _ 21:55:10 / ____| | | 21:55:10 | | ___ __| | ___ ___ _____ __ 21:55:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:55:10 | |___| (_) | (_| | __/ (_| (_) \ V / 21:55:10 \_____\___/ \__,_|\___|\___\___/ \_/ 21:55:10 Bash-20210115-cec3c92 21:55:10 21:55:10 21:55:10 ==> git version 2.24.3 found 21:55:10 ==> 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 21:55:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:55:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:55:10 ==> Jenkins CI detected. 21:55:10 project root: . 21:55:10 --> token set from env 21:55:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:55:10 ==> Running gcov in . (disable via -X gcov) 21:55:10 ==> Python coveragepy not found 21:55:10 ==> Searching for coverage reports in: 21:55:10 + . 21:55:10 -> Found 1 reports 21:55:10 ==> Detecting git/mercurial file structure 21:55:10 ==> Reading reports 21:55:10 + ./coverage.out bytes=142788 21:55:10 ==> Appending adjustments 21:55:10 https://docs.codecov.io/docs/fixing-reports 21:55:10 + Found adjustments 21:55:10 ==> Gzipping contents 21:55:10 24K /tmp/codecov.fEa5uE.gz 21:55:10 ==> Uploading reports 21:55:10 url: https://codecov.io 21:55:10 query: branch=PR-727&commit=b054e30a1ca050dedc0171177f0940359ff92956&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-727%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=727&job=&cmd_args= 21:55:10 -> Pinging Codecov 21:55:10 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-727&commit=b054e30a1ca050dedc0171177f0940359ff92956&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-727%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=727&job=&cmd_args= 21:55:11 -> Uploading to 21:55:11 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/b054e30a1ca050dedc0171177f0940359ff92956/d5ff5bcb-59b9-4a3f-8130-e4a850e83a9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T215511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b07f65942b6beea63577b6f201aca7a3e9e1c512b04d56f63d1f0533e090ea28 21:55:11 % Total % Received % Xferd Average Speed Time Time Time Current 21:55:11 Dload Upload Total Spent Left Speed 21:55:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22108 0 0 100 22108 0 49707 --:--:-- --:--:-- --:--:-- 49680 100 22108 0 0 100 22108 0 49688 --:--:-- --:--:-- --:--:-- 49680 21:55:11 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b054e30a1ca050dedc0171177f0940359ff92956 [Pipeline] } 21:55:11 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 21:55:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:55:14 ---> package-listing.sh 21:55:14 ++ facter osfamily 21:55:14 ++ tr '[:upper:]' '[:lower:]' 21:55:14 + OS_FAMILY=redhat 21:55:14 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-727 21:55:14 + START_PACKAGES=/tmp/packages_start.txt 21:55:14 + END_PACKAGES=/tmp/packages_end.txt 21:55:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:55:14 + PACKAGES=/tmp/packages_start.txt 21:55:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-727 ']' 21:55:14 + PACKAGES=/tmp/packages_end.txt 21:55:14 + case "${OS_FAMILY}" in 21:55:14 + rpm -qa 21:55:14 + sort 21:55:19 + '[' -f /tmp/packages_start.txt ']' 21:55:19 + '[' -f /tmp/packages_end.txt ']' 21:55:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:55:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-727 ']' 21:55:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-727/archives/ 21:55:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-727/archives/ [Pipeline] echo 21:55:19 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-727/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:55:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:20 21:55:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:55:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:20 alpine: Pulling from edgex-lftools-log-publisher 21:55:20 df20fa9351a1: Pulling fs layer 21:55:20 36b3adc4ff6f: Pulling fs layer 21:55:20 8ad3a11d3b57: Pulling fs layer 21:55:20 46f8f816bc3b: Pulling fs layer 21:55:20 93b61091891f: Pulling fs layer 21:55:20 93b9cdb0e59b: Pulling fs layer 21:55:20 5e14af77c1be: Pulling fs layer 21:55:20 01666e4c0597: Pulling fs layer 21:55:20 aa168da1d23b: Pulling fs layer 21:55:20 93b9cdb0e59b: Waiting 21:55:20 46f8f816bc3b: Waiting 21:55:20 5e14af77c1be: Waiting 21:55:20 aa168da1d23b: Waiting 21:55:20 01666e4c0597: Waiting 21:55:20 93b61091891f: Waiting 21:55:20 36b3adc4ff6f: Verifying Checksum 21:55:20 36b3adc4ff6f: Download complete 21:55:20 46f8f816bc3b: Verifying Checksum 21:55:20 46f8f816bc3b: Download complete 21:55:20 df20fa9351a1: Verifying Checksum 21:55:20 df20fa9351a1: Download complete 21:55:21 93b9cdb0e59b: Verifying Checksum 21:55:21 93b9cdb0e59b: Download complete 21:55:21 5e14af77c1be: Verifying Checksum 21:55:21 5e14af77c1be: Download complete 21:55:21 01666e4c0597: Verifying Checksum 21:55:21 01666e4c0597: Download complete 21:55:21 93b61091891f: Verifying Checksum 21:55:21 93b61091891f: Download complete 21:55:21 8ad3a11d3b57: Verifying Checksum 21:55:21 8ad3a11d3b57: Download complete 21:55:21 df20fa9351a1: Pull complete 21:55:21 36b3adc4ff6f: Pull complete 21:55:23 8ad3a11d3b57: Pull complete 21:55:23 46f8f816bc3b: Pull complete 21:55:23 aa168da1d23b: Verifying Checksum 21:55:23 aa168da1d23b: Download complete 21:55:23 93b61091891f: Pull complete 21:55:23 93b9cdb0e59b: Pull complete 21:55:23 5e14af77c1be: Pull complete 21:55:23 01666e4c0597: Pull complete 21:55:32 aa168da1d23b: Pull complete 21:55:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:55:32 prd-centos7-docker-4c-2g-20650 does not seem to be running inside a container 21:55:32 $ 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-727/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-727 -v /w/workspace/dgexfoundry_device-sdk-go_PR-727:/w/workspace/dgexfoundry_device-sdk-go_PR-727:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:55:35 $ docker top ab34a6112bbce5b8762809b00c9431b2f5443f6cae8ba6ce25eee03528d63cd1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:55:36 + mkdir -p /var/log/sa [Pipeline] sh 21:55:36 + ls /var/log/sa-host 21:55:36 + sadf -c /var/log/sa-host/sa15 21:55:36 file_magic: OK 21:55:36 HZ: Using current value: 100 21:55:36 file_header: OK 21:55:36 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 21:55:36 Statistics: 21:55:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:55:36 File successfully converted to sysstat format version 12.2.1 21:55:36 + sadf -c /var/log/sa-host/sa23 21:55:36 file_magic: OK 21:55:36 HZ: Using current value: 100 21:55:36 file_header: OK 21:55:36 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 21:55:36 Statistics: 21:55:36 Hnuu...uuuununununu... 21:55:36 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:36 provisioning config files... 21:55:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/config3370196771916639571tmp [Pipeline] { [Pipeline] echo 21:55:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:55:37 ---> create-netrc.sh [Pipeline] } 21:55:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:55:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:55:37 ---> python-tools-install.sh [Pipeline] echo 21:55:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:55:38 ---> sudo-logs.sh 21:55:38 Archiving 'sudo' log.. [Pipeline] echo 21:55:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:55:38 ---> job-cost.sh 21:55:38 lf-activate-venv: SKIPPING 21:55:38 INFO: No Stack... 21:55:39 INFO: Retrieving Pricing Info for: v1-standard-2 21:55:39 INFO: Archiving Costs [Pipeline] echo 21:55:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:55:40 ---> logs-deploy.sh 21:55:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-727/3 21:55:40 INFO: archiving workspace using pattern(s): 21:55:42 Archives upload complete. 21:55:42 INFO: archiving logs to Nexus 21:55:43 ---> uname -a: 21:55:43 Linux prd-centos7-docker-4c-2g-20650.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 21:55:43 21:55:43 21:55:43 ---> lscpu: 21:55:43 Architecture: x86_64 21:55:43 CPU op-mode(s): 32-bit, 64-bit 21:55:43 Byte Order: Little Endian 21:55:43 Address sizes: 40 bits physical, 48 bits virtual 21:55:43 CPU(s): 4 21:55:43 On-line CPU(s) list: 0-3 21:55:43 Thread(s) per core: 1 21:55:43 Core(s) per socket: 1 21:55:43 Socket(s): 4 21:55:43 NUMA node(s): 1 21:55:43 Vendor ID: GenuineIntel 21:55:43 CPU family: 6 21:55:43 Model: 44 21:55:43 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:55:43 Stepping: 1 21:55:43 CPU MHz: 2933.436 21:55:43 BogoMIPS: 5866.87 21:55:43 Virtualization: VT-x 21:55:43 Hypervisor vendor: KVM 21:55:43 Virtualization type: full 21:55:43 L1d cache: 128 KiB 21:55:43 L1i cache: 128 KiB 21:55:43 L2 cache: 16 MiB 21:55:43 L3 cache: 64 MiB 21:55:43 NUMA node0 CPU(s): 0-3 21:55:43 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 21:55:43 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 21:55:43 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 21:55:43 Vulnerability Meltdown: Mitigation; PTI 21:55:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:55:43 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:55:43 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:55:43 Vulnerability Srbds: Not affected 21:55:43 Vulnerability Tsx async abort: Not affected 21:55:43 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 21:55:43 21:55:43 21:55:43 ---> nproc: 21:55:43 4 21:55:43 21:55:43 21:55:43 ---> df -h: 21:55:43 Filesystem Size Used Available Use% Mounted on 21:55:43 overlay 50.0G 7.3G 42.7G 15% / 21:55:43 tmpfs 64.0M 0 64.0M 0% /dev 21:55:43 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 21:55:43 shm 64.0M 0 64.0M 0% /dev/shm 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-727 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 21:55:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 21:55:43 21:55:43 21:55:43 ---> free -m: 21:55:43 total used free shared buff/cache available 21:55:43 Mem: 1837 685 99 0 1051 1047 21:55:43 Swap: 1023 0 1023 21:55:43 21:55:43 21:55:43 ---> ip addr: 21:55:43 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:55:43 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:55:43 inet 127.0.0.1/8 scope host lo 21:55:43 valid_lft forever preferred_lft forever 21:55:43 inet6 ::1/128 scope host 21:55:43 valid_lft forever preferred_lft forever 21:55:43 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 21:55:43 link/ether fa:16:3e:f7:ca:c6 brd ff:ff:ff:ff:ff:ff 21:55:43 inet 10.30.123.167/23 brd 10.30.123.255 scope global dynamic eth0 21:55:43 valid_lft 85839sec preferred_lft 85839sec 21:55:43 inet6 fe80::f816:3eff:fef7:cac6/64 scope link 21:55:43 valid_lft forever preferred_lft forever 21:55:43 3: docker0: mtu 1500 qdisc noqueue state DOWN 21:55:43 link/ether 02:42:f6:db:69:47 brd ff:ff:ff:ff:ff:ff 21:55:43 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 21:55:43 valid_lft forever preferred_lft forever 21:55:43 inet6 fe80::42:f6ff:fedb:6947/64 scope link 21:55:43 valid_lft forever preferred_lft forever 21:55:43 21:55:43 21:55:43 ---> sar -b -r -n DEV: 21:55:43 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 21:55:43 21:55:43 21:46:12 LINUX RESTART (4 CPU) 21:55:43 21:55:43 21:47:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:55:43 21:48:02 32.95 11.57 21.38 0.00 4373.31 2745.98 0.00 21:55:43 21:49:01 1.76 0.00 1.76 0.00 0.00 32.80 0.00 21:55:43 21:50:01 0.25 0.00 0.25 0.00 0.00 3.88 0.00 21:55:43 21:51:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 21:55:43 21:52:01 0.28 0.00 0.28 0.00 0.00 3.80 0.00 21:55:43 21:53:01 0.40 0.00 0.40 0.00 0.00 5.71 0.00 21:55:43 21:54:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 21:55:43 21:55:01 0.27 0.00 0.27 0.00 0.00 2.93 0.00 21:55:43 Average: 4.55 1.45 3.10 0.00 548.07 350.77 0.00 21:55:43 21:55:43 21:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:55:43 21:48:02 177792 0 578088 30.72 2620 1123044 1125004 38.39 431140 1073124 20 21:55:43 21:49:01 183572 0 572300 30.42 2620 1123052 1078252 36.80 431948 1067764 20 21:55:43 21:50:01 182904 0 572964 30.45 2620 1123056 1078300 36.80 438464 1061596 8 21:55:43 21:51:01 182452 0 573416 30.48 2620 1123056 1078288 36.80 441220 1059776 8 21:55:43 21:52:01 183216 0 572644 30.43 2620 1123064 1078204 36.80 442028 1058492 8 21:55:43 21:53:01 183624 0 572232 30.41 2620 1123068 1078084 36.79 441232 1058492 12 21:55:43 21:54:01 183564 0 572288 30.42 2620 1123072 1078084 36.79 441240 1058488 8 21:55:43 21:55:01 183484 0 572364 30.42 2620 1123076 1078120 36.79 441428 1058488 8 21:55:43 Average: 182576 0 573287 30.47 2620 1123061 1084042 37.00 438588 1062028 12 21:55:43 21:55:43 21:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:55:43 21:48:02 eth0 85.87 68.70 362.28 36.48 0.00 0.00 0.00 0.00 21:55:43 21:48:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:48:02 docker0 7.12 5.16 1.31 21.33 0.00 0.00 0.00 0.00 21:55:43 21:49:01 eth0 4.08 0.30 0.62 0.23 0.00 0.00 0.00 0.00 21:55:43 21:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:50:01 eth0 3.98 0.68 1.03 0.58 0.00 0.00 0.00 0.00 21:55:43 21:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:51:01 eth0 1.02 0.52 0.54 0.36 0.00 0.00 0.00 0.00 21:55:43 21:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:52:01 eth0 0.78 0.47 0.41 0.30 0.00 0.00 0.00 0.00 21:55:43 21:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:53:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:55:43 21:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:54:01 eth0 0.22 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:55:43 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:55:01 eth0 0.30 0.15 0.11 0.01 0.00 0.00 0.00 0.00 21:55:43 21:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 21:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 Average: eth0 12.07 8.89 45.74 4.76 0.00 0.00 0.00 0.00 21:55:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:55:43 Average: docker0 0.89 0.65 0.16 2.67 0.00 0.00 0.00 0.00 21:55:43 21:55:43 21:55:43 ---> sar -P ALL: 21:55:43 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 21:55:43 21:55:43 21:46:12 LINUX RESTART (4 CPU) 21:55:43 21:55:43 21:47:01 CPU %user %nice %system %iowait %steal %idle 21:55:43 21:48:02 all 2.73 0.00 2.03 0.57 0.21 94.47 21:55:43 21:48:02 0 2.69 0.00 2.28 1.39 0.17 93.47 21:55:43 21:48:02 1 2.50 0.00 1.83 0.30 0.18 95.18 21:55:43 21:48:02 2 2.90 0.00 1.78 0.25 0.18 94.88 21:55:43 21:48:02 3 2.82 0.00 2.22 0.32 0.29 94.36 21:55:43 21:49:01 all 0.14 0.00 0.06 0.00 0.09 99.70 21:55:43 21:49:01 0 0.05 0.00 0.07 0.00 0.12 99.76 21:55:43 21:49:01 1 0.39 0.00 0.07 0.00 0.07 99.48 21:55:43 21:49:01 2 0.07 0.00 0.07 0.00 0.12 99.75 21:55:43 21:49:01 3 0.05 0.00 0.05 0.00 0.07 99.83 21:55:43 21:50:01 all 0.17 0.00 0.06 0.00 0.11 99.65 21:55:43 21:50:01 0 0.05 0.00 0.05 0.00 0.12 99.78 21:55:43 21:50:01 1 0.12 0.00 0.12 0.00 0.15 99.62 21:55:43 21:50:01 2 0.47 0.00 0.03 0.00 0.07 99.43 21:55:43 21:50:01 3 0.05 0.00 0.05 0.00 0.12 99.78 21:55:43 21:51:01 all 0.11 0.00 0.05 0.00 0.11 99.73 21:55:43 21:51:01 0 0.03 0.00 0.02 0.00 0.10 99.85 21:55:43 21:51:01 1 0.05 0.00 0.08 0.00 0.08 99.78 21:55:43 21:51:01 2 0.35 0.00 0.05 0.00 0.18 99.42 21:55:43 21:51:01 3 0.02 0.00 0.03 0.00 0.07 99.88 21:55:43 21:52:01 all 0.17 0.00 0.15 0.00 0.12 99.57 21:55:43 21:52:01 0 0.03 0.00 0.15 0.00 0.15 99.67 21:55:43 21:52:01 1 0.07 0.00 0.32 0.00 0.12 99.50 21:55:43 21:52:01 2 0.52 0.00 0.03 0.00 0.10 99.35 21:55:43 21:52:01 3 0.05 0.00 0.08 0.00 0.12 99.75 21:55:43 21:53:01 all 0.15 0.00 0.03 0.00 0.00 99.81 21:55:43 21:53:01 0 0.03 0.00 0.05 0.00 0.00 99.92 21:55:43 21:53:01 1 0.02 0.00 0.05 0.00 0.00 99.93 21:55:43 21:53:01 2 0.52 0.00 0.00 0.00 0.00 99.48 21:55:43 21:53:01 3 0.03 0.00 0.03 0.00 0.02 99.92 21:55:43 21:54:01 all 0.15 0.00 0.03 0.00 0.00 99.82 21:55:43 21:54:01 0 0.03 0.00 0.02 0.00 0.02 99.93 21:55:43 21:54:01 1 0.03 0.00 0.02 0.00 0.00 99.95 21:55:43 21:54:01 2 0.48 0.00 0.03 0.00 0.00 99.48 21:55:43 21:54:01 3 0.03 0.00 0.05 0.00 0.00 99.92 21:55:43 21:55:01 all 0.09 0.00 0.05 0.00 0.00 99.85 21:55:43 21:55:01 0 0.03 0.00 0.03 0.00 0.00 99.93 21:55:43 21:55:01 1 0.03 0.00 0.05 0.00 0.00 99.92 21:55:43 21:55:01 2 0.27 0.00 0.10 0.00 0.02 99.62 21:55:43 21:55:01 3 0.03 0.00 0.03 0.00 0.00 99.93 21:55:43 Average: all 0.46 0.00 0.31 0.07 0.08 99.08 21:55:43 Average: 0 0.37 0.00 0.33 0.17 0.08 99.04 21:55:43 Average: 1 0.40 0.00 0.32 0.04 0.08 99.17 21:55:43 Average: 2 0.70 0.00 0.26 0.03 0.08 98.93 21:55:43 Average: 3 0.38 0.00 0.32 0.04 0.08 99.17 21:55:43 21:55:43 21:55:43