Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50+81b7f98a259e7befb955434734c5049d14a607c4 (b01ed9e8c6be30d0516d6876f8c24598a88a435a) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21114 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # 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 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 > 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 Checking out Revision 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 (PR-728) > git config core.sparsecheckout # timeout=10 > git checkout -f 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # 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 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. > git rev-list --no-walk f749813a77af556e764caf9469477dd0bb905458 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:57:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:57:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:57:14 ========================================================= 03:57:14 EdgeX Global Pipelines Version Info 03:57:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:57:17 ------------------- 03:57:17 stable info: 03:57:17 ------------------- 03:57:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:57:17 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 03:57:17 Message: update stable to v1.0.177 03:57:18 ------------------- 03:57:18 experimental info: 03:57:18 ------------------- 03:57:18 Commited By: **** collab-it+edgex@linuxfoundation.org 03:57:18 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 03:57:18 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21c114e [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:57:22 provisioning config files... 03:57:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config1274081686637644545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:23 ---> docker-login.sh 03:57:23 nexus3.edgexfoundry.org:10001 03:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:24 Configure a credential helper to remove this warning. See 03:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:24 03:57:24 Login Succeeded 03:57:24 nexus3.edgexfoundry.org:10002 03:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:24 Configure a credential helper to remove this warning. See 03:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:24 03:57:24 Login Succeeded 03:57:24 nexus3.edgexfoundry.org:10003 03:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 nexus3.edgexfoundry.org:10004 03:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 docker.io 03:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 ---> docker-login.sh ends [Pipeline] } 03:57:25 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 03:57:26 + git log --format=format:%s -1 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 [Pipeline] echo 03:57:26 GIT_COMMIT: 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo 03:57:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:57:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:28 03:57:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:57:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:28 latest: Pulling from edgex-devops/git-semver 03:57:28 31603596830f: Pulling fs layer 03:57:28 2a8b12db71e7: Pulling fs layer 03:57:28 6ca5941a6612: Pulling fs layer 03:57:28 ecc8261a40a4: Pulling fs layer 03:57:28 ecc8261a40a4: Waiting 03:57:28 2a8b12db71e7: Verifying Checksum 03:57:28 2a8b12db71e7: Download complete 03:57:28 31603596830f: Verifying Checksum 03:57:28 31603596830f: Download complete 03:57:29 ecc8261a40a4: Verifying Checksum 03:57:29 ecc8261a40a4: Download complete 03:57:29 6ca5941a6612: Verifying Checksum 03:57:29 6ca5941a6612: Download complete 03:57:29 31603596830f: Pull complete 03:57:29 2a8b12db71e7: Pull complete 03:57:32 6ca5941a6612: Pull complete 03:57:32 ecc8261a40a4: Pull complete 03:57:33 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:57:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:57:33 prd-centos7-docker-4c-2g-21114 does not seem to be running inside a container 03:57:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:57:35 $ docker top dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:36 [ssh-agent] Looking for ssh-agent implementation... 03:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:36 $ docker exec dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 ssh-agent 03:57:37 SSH_AUTH_SOCK=/tmp/ssh-Rn4SHz9MSIs1/agent.11 03:57:37 SSH_AGENT_PID=16 03:57:37 Running ssh-add (command line suppressed) 03:57:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6831693837597977295.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6831693837597977295.key) 03:57:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:38 + git tag --points-at HEAD [Pipeline] } 03:57:38 $ docker exec --env ******** --env ******** dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 ssh-agent -k 03:57:39 unset SSH_AUTH_SOCK; 03:57:39 unset SSH_AGENT_PID; 03:57:39 echo Agent pid 16 killed; 03:57:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:57:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:39 [ssh-agent] Looking for ssh-agent implementation... 03:57:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:39 $ docker exec dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 ssh-agent 03:57:40 SSH_AUTH_SOCK=/tmp/ssh-bCr7EMem7Veq/agent.44 03:57:40 SSH_AGENT_PID=49 03:57:40 Running ssh-add (command line suppressed) 03:57:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_115826663645418428.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_115826663645418428.key) 03:57:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:41 + git semver init 03:57:41 # -> Open(): unable to determine branch for HEAD 03:57:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git 03:57:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 03:57:41 # $SEMVER_REMOTE_NAME = origin 03:57:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:57:41 # $SEMVER_USER_NAME = edgex-jenkins 03:57:41 # $SEMVER_BRANCH = PR-728 03:57:41 # $SEMVER_TEMP = /tmp/semver-040310124 03:57:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:57:43 # '/tmp/semver-040310124' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' 03:57:43 # -> Force: false 03:57:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } 03:57:43 $ docker exec --env ******** --env ******** dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 ssh-agent -k 03:57:43 unset SSH_AUTH_SOCK; 03:57:43 unset SSH_AGENT_PID; 03:57:43 echo Agent pid 49 killed; 03:57:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:57:44 + git semver [Pipeline] } 03:57:44 $ docker stop --time=1 dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 03:57:46 $ docker rm -f dfeb379daa8501cedcb2a483815a86c3a0588b3cbf1ecce5bdd1b00693339d04 [Pipeline] // withDockerContainer [Pipeline] sh 03:57:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:57:49 Stashed 1 file(s) [Pipeline] echo 03:57:49 [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 03:58:04 Still waiting to schedule task 03:58:04 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21112’ is offline; ‘prd-centos7-docker-4c-2g-21113’ is offline; ‘prd-centos7-docker-4c-2g-21117’ is offline; ‘prd-centos7-docker-4c-2g-21119’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 03:58:04 Still waiting to schedule task 03:58:04 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:58:18 Running on prd-centos7-docker-4c-2g-21119 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 03:58:18 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 03:58:25 using credential edgex-jenkins-ssh 03:58:25 Cloning the remote Git repository 03:58:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:58:25 > git init /w/workspace/device-sdk-go/6 # timeout=10 03:58:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:58:25 > git --version # timeout=10 03:58:25 > git --version # 'git version 2.24.3' 03:58:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:58:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:58:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:58:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:58:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:58:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:58:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:58:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:58:27 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 03:58:27 Merge succeeded, producing 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 03:58:27 Checking out Revision 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 (PR-728) 03:58:27 > git config core.sparsecheckout # timeout=10 03:58:27 > git checkout -f 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 03:58:27 > git remote # timeout=10 03:58:27 > git config --get remote.origin.url # timeout=10 03:58:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:58:27 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 03:58:27 > git rev-parse HEAD^{commit} # timeout=10 03:58:27 > git config core.sparsecheckout # timeout=10 03:58:27 > git checkout -f 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 03:58:32 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:33 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:58:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:58:34 + sudo service docker restart 03:58:34 + true 03:58:34 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:58:36 provisioning config files... 03:58:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config962030314686595604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:36 ---> docker-login.sh 03:58:36 nexus3.edgexfoundry.org:10001 03:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:37 Configure a credential helper to remove this warning. See 03:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:37 03:58:37 Login Succeeded 03:58:37 nexus3.edgexfoundry.org:10002 03:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:38 Configure a credential helper to remove this warning. See 03:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:38 03:58:38 Login Succeeded 03:58:38 nexus3.edgexfoundry.org:10003 03:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:38 Configure a credential helper to remove this warning. See 03:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:38 03:58:38 Login Succeeded 03:58:38 nexus3.edgexfoundry.org:10004 03:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:38 Configure a credential helper to remove this warning. See 03:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:38 03:58:38 Login Succeeded 03:58:39 docker.io 03:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:39 Configure a credential helper to remove this warning. See 03:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:39 03:58:39 Login Succeeded 03:58:39 ---> docker-login.sh ends [Pipeline] } 03:58:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:40 ========================================================= 03:58:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:58:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:58:40 + 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 . 03:58:41 Sending build context to Docker daemon 2.522MB 03:58:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:58:41 Step 2/8 : FROM ${BASE} 03:58:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:58:41 188c0c94c7c5: Pulling fs layer 03:58:41 0ef7d3d256c8: Pulling fs layer 03:58:41 de9db76c5a1d: Pulling fs layer 03:58:41 bca2f99d35d6: Pulling fs layer 03:58:41 93359f2a8cfa: Pulling fs layer 03:58:41 7c6f9722023f: Pulling fs layer 03:58:41 a35cf1a2eb13: Pulling fs layer 03:58:41 bca2f99d35d6: Waiting 03:58:41 93359f2a8cfa: Waiting 03:58:41 7c6f9722023f: Waiting 03:58:41 a35cf1a2eb13: Waiting 03:58:41 de9db76c5a1d: Verifying Checksum 03:58:41 de9db76c5a1d: Download complete 03:58:41 0ef7d3d256c8: Verifying Checksum 03:58:41 0ef7d3d256c8: Download complete 03:58:41 93359f2a8cfa: Verifying Checksum 03:58:41 93359f2a8cfa: Download complete 03:58:41 7c6f9722023f: Download complete 03:58:41 188c0c94c7c5: Verifying Checksum 03:58:41 188c0c94c7c5: Download complete 03:58:42 188c0c94c7c5: Pull complete 03:58:43 0ef7d3d256c8: Pull complete 03:58:43 de9db76c5a1d: Pull complete 03:58:46 a35cf1a2eb13: Verifying Checksum 03:58:46 a35cf1a2eb13: Download complete 03:58:47 bca2f99d35d6: Verifying Checksum 03:59:00 bca2f99d35d6: Pull complete 03:59:00 93359f2a8cfa: Pull complete 03:59:00 7c6f9722023f: Pull complete 03:59:07 a35cf1a2eb13: Pull complete 03:59:07 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:59:07 ---> a62c8e92a672 03:59:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:59:07 ---> Running in 72013363b3dc 03:59:07 Removing intermediate container 72013363b3dc 03:59:07 ---> 022003b1bc76 03:59:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:59:07 ---> Running in f65040f2e59c 03:59:09 Removing intermediate container f65040f2e59c 03:59:09 ---> 5e88d56fa5db 03:59:09 Step 5/8 : RUN apk add --update --no-cache make git 03:59:09 ---> Running in a1abaae61f8f 03:59:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:59:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:59:12 OK: 166 MiB in 39 packages 03:59:13 Removing intermediate container a1abaae61f8f 03:59:13 ---> cf6b1c64b67a 03:59:13 Step 6/8 : WORKDIR /device-sdk-go 03:59:13 ---> Running in faf4072169d9 03:59:13 Removing intermediate container faf4072169d9 03:59:13 ---> f6e8bfde9776 03:59:13 Step 7/8 : COPY . . 03:59:15 ---> 295f4675387a 03:59:15 Step 8/8 : RUN go mod download 03:59:15 ---> Running in f205b2d64dcb 03:59:42 Removing intermediate container f205b2d64dcb 03:59:42 ---> b56462917e8c 03:59:42 Successfully built b56462917e8c 03:59:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:59:43 + docker inspect -f . ci-base-image-x86_64 03:59:43 . [Pipeline] withDockerContainer 03:59:44 prd-centos7-docker-4c-2g-21119 does not seem to be running inside a container 03:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:59:46 $ docker top f58fc960efc6853eb34eecd73ec11e32176661f9147320abf14d81fa7b820d27 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:47 + go version 03:59:47 go version go1.15.5 linux/amd64 [Pipeline] } 03:59:47 $ docker stop --time=1 f58fc960efc6853eb34eecd73ec11e32176661f9147320abf14d81fa7b820d27 03:59:49 $ docker rm -f f58fc960efc6853eb34eecd73ec11e32176661f9147320abf14d81fa7b820d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:59:50 + docker inspect -f . ci-base-image-x86_64 03:59:50 . [Pipeline] withDockerContainer 03:59:50 prd-centos7-docker-4c-2g-21119 does not seem to be running inside a container 03:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:59:51 $ docker top 976b395aa870ec682a776b7bd583fc31da551a42d91345fb02bb7a99cf6657eb -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:52 + make test 03:59:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:00:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:00:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.189s coverage: 19.4% of statements 04:00:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.894s coverage: 97.1% of statements 04:01:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21123 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 04:01:01 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 04:01:06 using credential edgex-jenkins-ssh 04:01:06 Cloning the remote Git repository 04:01:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:01:07 > git init /w/workspace/device-sdk-go/6 # timeout=10 04:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:07 > git --version # timeout=10 04:01:07 > git --version # 'git version 2.17.1' 04:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:08 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 04:01:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:01:08 > git config core.sparsecheckout # timeout=10 04:01:08 > git checkout -f 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 04:01:09 > git remote # timeout=10 04:01:09 Merge succeeded, producing 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 04:01:09 Checking out Revision 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 (PR-728) 04:01:09 > git config --get remote.origin.url # timeout=10 04:01:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:09 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 04:01:09 > git rev-parse HEAD^{commit} # timeout=10 04:01:09 > git config core.sparsecheckout # timeout=10 04:01:09 > git checkout -f 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 04:01:13 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:01:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:01:15 + + sudo servicetrue docker 04:01:15 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:01:18 provisioning config files... 04:01:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8373399699843812161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:19 ---> docker-login.sh 04:01:19 nexus3.edgexfoundry.org:10001 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.203s coverage: 9.4% of statements 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 21.7% of statements 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.620s coverage: 42.9% of statements 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.607s coverage: 68.9% of statements 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.139s coverage: 53.8% of statements 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.102s coverage: 25.6% of statements 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.914s coverage: 68.9% of statements 04:01:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.100s coverage: 4.2% of statements 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:01:19 GO111MODULE=on go vet ./... 04:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:20 Configure a credential helper to remove this warning. See 04:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:20 04:01:20 Login Succeeded 04:01:20 nexus3.edgexfoundry.org:10002 04:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:20 Configure a credential helper to remove this warning. See 04:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:20 04:01:20 Login Succeeded 04:01:20 nexus3.edgexfoundry.org:10003 04:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:21 Configure a credential helper to remove this warning. See 04:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:21 04:01:21 Login Succeeded 04:01:21 nexus3.edgexfoundry.org:10004 04:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:21 Configure a credential helper to remove this warning. See 04:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:21 04:01:21 Login Succeeded 04:01:21 docker.io 04:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:22 Configure a credential helper to remove this warning. See 04:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:22 04:01:22 Login Succeeded 04:01:22 ---> docker-login.sh ends [Pipeline] } 04:01:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:22 ========================================================= 04:01:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:01:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:23 + 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 . 04:01:23 Sending build context to Docker daemon 2.514MB 04:01:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:01:23 Step 2/8 : FROM ${BASE} 04:01:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:01:23 5f621e34cdf4: Pulling fs layer 04:01:23 a4357932f1b6: Pulling fs layer 04:01:23 18c013af1878: Pulling fs layer 04:01:23 00ac8860ef70: Pulling fs layer 04:01:23 63d7cb157983: Pulling fs layer 04:01:23 b116817d02f9: Pulling fs layer 04:01:23 745a02a5169b: Pulling fs layer 04:01:23 00ac8860ef70: Waiting 04:01:23 63d7cb157983: Waiting 04:01:23 b116817d02f9: Waiting 04:01:23 745a02a5169b: Waiting 04:01:23 18c013af1878: Verifying Checksum 04:01:23 18c013af1878: Download complete 04:01:23 a4357932f1b6: Verifying Checksum 04:01:23 a4357932f1b6: Download complete 04:01:23 63d7cb157983: Verifying Checksum 04:01:23 63d7cb157983: Download complete 04:01:24 b116817d02f9: Verifying Checksum 04:01:24 b116817d02f9: Download complete 04:01:24 5f621e34cdf4: Verifying Checksum 04:01:24 5f621e34cdf4: Download complete 04:01:25 5f621e34cdf4: Pull complete 04:01:25 a4357932f1b6: Pull complete 04:01:26 18c013af1878: Pull complete 04:01:26 745a02a5169b: Verifying Checksum 04:01:26 745a02a5169b: Download complete 04:01:28 00ac8860ef70: Verifying Checksum 04:01:28 00ac8860ef70: Download complete 04:01:38 gofmt -l . 04:01:38 [ "`gofmt -l .`" = "" ] 04:01:38 ./bin/test-attribution-txt.sh 04:01:38 00ac8860ef70: Pull complete 04:01:38 63d7cb157983: Pull complete 04:01:39 b116817d02f9: Pull complete 04:01:40 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:01:41 $ docker stop --time=1 976b395aa870ec682a776b7bd583fc31da551a42d91345fb02bb7a99cf6657eb 04:01:43 745a02a5169b: Pull complete 04:01:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:01:43 ---> b7e6874047d6 04:01:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:01:43 $ docker rm -f 976b395aa870ec682a776b7bd583fc31da551a42d91345fb02bb7a99cf6657eb [Pipeline] // withDockerContainer [Pipeline] sh 04:01:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:01:46 ---> Running in 330b7d0417cf 04:01:46 Removing intermediate container 330b7d0417cf 04:01:46 ---> eaa65e64051c 04:01:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:46 Stashed 1 file(s) [Pipeline] } 04:01:46 ---> Running in acc52cbc2059 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:01:48 + ls -al . 04:01:48 total 224 04:01:48 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 04:01 . 04:01:48 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 03:58 .. 04:01:48 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 03:58 bin 04:01:48 -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 04:01 coverage.out 04:01:48 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 03:58 Dockerfile.build 04:01:48 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 03:58 .dockerignore 04:01:48 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 03:58 example 04:01:48 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 03:58 .git 04:01:48 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 03:58 .github 04:01:48 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 03:58 .gitignore 04:01:48 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 04:01 go.mod 04:01:48 -rw-r--r--. 1 jenkins jenkins 14299 Jan 19 04:01 go.sum 04:01:48 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 03:58 internal 04:01:48 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 03:58 Jenkinsfile 04:01:48 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 03:58 LICENSE 04:01:48 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 03:58 Makefile 04:01:48 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 03:58 openapi 04:01:48 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 03:58 pkg 04:01:48 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 03:58 README.md 04:01:48 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 03:58 RELEASE-NOTES.txt 04:01:48 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 03:58 snap 04:01:48 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 03:57 VERSION 04:01:48 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 03:58 version.go [Pipeline] isUnix [Pipeline] sh 04:01:48 + 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=21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 --label arch=amd64 --label version=0.0.0 . 04:01:49 Removing intermediate container acc52cbc2059 04:01:49 ---> 5b18fb851a69 04:01:49 Step 5/8 : RUN apk add --update --no-cache make git 04:01:49 ---> Running in f9881887e0f0 04:01:49 Sending build context to Docker daemon 2.667MB 04:01:49 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:01:49 Step 2/24 : FROM ${BASE} AS builder 04:01:49 ---> b56462917e8c 04:01:49 Step 3/24 : ARG MAKE='make build' 04:01:49 ---> Running in 272685b01abb 04:01:49 Removing intermediate container 272685b01abb 04:01:49 ---> 3b464e425dcd 04:01:49 Step 4/24 : WORKDIR /device-sdk-go 04:01:49 ---> Running in e707ec3ec5a6 04:01:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:01:50 Removing intermediate container e707ec3ec5a6 04:01:50 ---> c5265568a053 04:01:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:01:50 ---> Running in 924918b3ff0f 04:01:50 Removing intermediate container 924918b3ff0f 04:01:50 ---> 9eac435783f4 04:01:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:50 ---> Running in b3f1c8520455 04:01:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:01:51 OK: 142 MiB in 39 packages 04:01:53 Removing intermediate container f9881887e0f0 04:01:53 ---> 7f6c35959f19 04:01:53 Step 6/8 : WORKDIR /device-sdk-go 04:01:53 ---> Running in c0b270cf45fe 04:01:53 Removing intermediate container c0b270cf45fe 04:01:53 ---> d6b066573f12 04:01:53 Step 7/8 : COPY . . 04:01:54 Removing intermediate container b3f1c8520455 04:01:54 ---> 1f4b801fe8b6 04:01:54 Step 7/24 : RUN apk add --update --no-cache make git 04:01:54 ---> Running in 120b492bef0d 04:01:55 ---> 0d6bc85e9993 04:01:55 Step 8/8 : RUN go mod download 04:01:55 ---> Running in e6131b145730 04:01:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:01:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:01:56 OK: 166 MiB in 39 packages 04:01:57 Removing intermediate container 120b492bef0d 04:01:57 ---> c0cbf081f96a 04:01:57 Step 8/24 : COPY . . 04:01:59 ---> f09838e18720 04:01:59 Step 9/24 : RUN ${MAKE} 04:01:59 ---> Running in b08cbd7a31b1 04:02:00 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 04:02:17 Removing intermediate container e6131b145730 04:02:17 ---> 8d5fa571b0e2 04:02:17 Successfully built 8d5fa571b0e2 04:02:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:02:17 + docker inspect -f . ci-base-image-arm64 04:02:17 . [Pipeline] withDockerContainer 04:02:17 prd-ubuntu18.04-docker-arm64-4c-16g-21123 does not seem to be running inside a container 04:02:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:02:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:02:19 $ docker top c3236098a267553216d624f873642bd56edd499d1dfad39cfeaa814ded39b7a3 -eo pid,comm 04:02:19 Removing intermediate container b08cbd7a31b1 04:02:19 ---> aeaee7cc8e40 04:02:19 Step 10/24 : FROM scratch 04:02:19 ---> 04:02:19 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] { [Pipeline] sh 04:02:20 ---> Running in 91f1055e7e63 04:02:20 Removing intermediate container 91f1055e7e63 04:02:20 ---> 3092899dda40 04:02:20 Step 12/24 : ENV APP_PORT=49990 04:02:20 ---> Running in 915482f06454 04:02:20 + go version 04:02:20 go version go1.15.5 linux/arm64 [Pipeline] } 04:02:20 $ docker stop --time=1 c3236098a267553216d624f873642bd56edd499d1dfad39cfeaa814ded39b7a3 04:02:20 Removing intermediate container 915482f06454 04:02:20 ---> 74ca40c39e6f 04:02:20 Step 13/24 : EXPOSE $APP_PORT 04:02:20 ---> Running in f42ce7730bac 04:02:20 Removing intermediate container f42ce7730bac 04:02:20 ---> c6b26635bba6 04:02:20 Step 14/24 : WORKDIR / 04:02:21 ---> Running in 80c4aa2028b9 04:02:21 Removing intermediate container 80c4aa2028b9 04:02:21 ---> 6d4c36cd9a7e 04:02:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:02:22 ---> fd430a3faf17 04:02:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:02:22 $ docker rm -f c3236098a267553216d624f873642bd56edd499d1dfad39cfeaa814ded39b7a3 [Pipeline] // withDockerContainer 04:02:22 ---> e2e22a288aa4 04:02:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:02:23 ---> a2097d955ac7 04:02:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:02:23 + docker inspect -f . ci-base-image-arm64 04:02:23 . [Pipeline] withDockerContainer 04:02:23 ---> c5fe903092a8 04:02:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:02:23 prd-ubuntu18.04-docker-arm64-4c-16g-21123 does not seem to be running inside a container 04:02:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:02:24 ---> aa6bce335db8 04:02:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:02:24 ---> Running in a3736120bf5b 04:02:24 Removing intermediate container a3736120bf5b 04:02:24 ---> 7a83dc942e1b 04:02:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:02:24 ---> Running in 1b358899a92d 04:02:24 Removing intermediate container 1b358899a92d 04:02:24 ---> e585f566ba0c 04:02:24 Step 22/24 : LABEL arch=amd64 04:02:24 ---> Running in 8a41a6d938fc 04:02:25 Removing intermediate container 8a41a6d938fc 04:02:25 ---> ec64660bea22 04:02:25 Step 23/24 : LABEL git_sha=21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 04:02:25 ---> Running in 645144bb5101 04:02:25 $ docker top cc9826ab8dfeba4062610f0d1ff891e0e227f06f58402c91be237442543ff2a3 -eo pid,comm 04:02:25 Removing intermediate container 645144bb5101 04:02:25 ---> f8cfa0c477b6 04:02:25 Step 24/24 : LABEL version=0.0.0 04:02:25 ---> Running in 952e6085c438 [Pipeline] { [Pipeline] sh 04:02:26 Removing intermediate container 952e6085c438 04:02:26 ---> 6ed0c1e4ab11 04:02:26 [Warning] One or more build-args [ARCH] were not consumed 04:02:26 Successfully built 6ed0c1e4ab11 04:02:26 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) 04:02:26 + make test 04:02:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 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] } 04:02:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:03:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 19.4% of statements 04:03:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.246s coverage: 97.1% of statements 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 9.4% of statements 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 21.7% of statements 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.597s coverage: 42.9% of statements 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.779s coverage: 68.9% of statements 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 25.6% of statements 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.900s coverage: 68.9% of statements 04:04:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 4.2% of statements 04:04:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:04:03 GO111MODULE=on go vet ./... 04:04:36 gofmt -l . 04:04:36 [ "`gofmt -l .`" = "" ] 04:04:36 ./bin/test-attribution-txt.sh 04:04:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:04:36 $ docker stop --time=1 cc9826ab8dfeba4062610f0d1ff891e0e227f06f58402c91be237442543ff2a3 04:04:38 $ docker rm -f cc9826ab8dfeba4062610f0d1ff891e0e227f06f58402c91be237442543ff2a3 [Pipeline] // withDockerContainer [Pipeline] sh 04:04:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:04:39 Warning: overwriting stash ‘coverage-report’ 04:04:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:41 + ls -al . 04:04:41 total 260 04:04:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 04:04 . 04:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 .. 04:04:41 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 04:01 .dockerignore 04:04:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:01 .git 04:04:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:01 .github 04:04:41 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 04:01 .gitignore 04:04:41 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 04:01 Dockerfile.build 04:04:41 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 04:01 Jenkinsfile 04:04:41 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 04:01 LICENSE 04:04:41 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 04:01 Makefile 04:04:41 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 04:01 README.md 04:04:41 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 04:01 RELEASE-NOTES.txt 04:04:41 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 03:57 VERSION 04:04:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:01 bin 04:04:41 -rw-r--r-- 1 jenkins jenkins 144063 Jan 19 04:04 coverage.out 04:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 example 04:04:41 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 04:04 go.mod 04:04:41 -rw-r--r-- 1 jenkins jenkins 14299 Jan 19 04:04 go.sum 04:04:41 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 04:01 internal 04:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 openapi 04:04:41 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 04:01 pkg 04:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 snap 04:04:41 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:04:41 + 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=21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 --label arch=arm64 --label version=0.0.0 . 04:04:42 Sending build context to Docker daemon 2.659MB 04:04:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:04:42 Step 2/24 : FROM ${BASE} AS builder 04:04:42 ---> 8d5fa571b0e2 04:04:42 Step 3/24 : ARG MAKE='make build' 04:04:42 ---> Running in fb48f4c9f87b 04:04:43 Removing intermediate container fb48f4c9f87b 04:04:43 ---> f4be40f33ac4 04:04:43 Step 4/24 : WORKDIR /device-sdk-go 04:04:43 ---> Running in 5a7ce2365907 04:04:44 Removing intermediate container 5a7ce2365907 04:04:44 ---> 64b792e145ad 04:04:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:04:44 ---> Running in 177595bf0d8b 04:04:44 Removing intermediate container 177595bf0d8b 04:04:44 ---> 9676db2586f8 04:04:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:44 ---> Running in d9553adcf8ba 04:04:46 Removing intermediate container d9553adcf8ba 04:04:46 ---> 542569a34e5d 04:04:46 Step 7/24 : RUN apk add --update --no-cache make git 04:04:46 ---> Running in cb631fa0d2c4 04:04:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:04:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:04:49 OK: 142 MiB in 39 packages 04:04:50 Removing intermediate container cb631fa0d2c4 04:04:50 ---> 4e776794f914 04:04:50 Step 8/24 : COPY . . 04:04:52 ---> 5e8a4a830bd0 04:04:52 Step 9/24 : RUN ${MAKE} 04:04:52 ---> Running in 91cdc42e2481 04:04:53 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 04:05:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:05:21 Removing intermediate container 91cdc42e2481 04:05:21 ---> 31e0a212136a 04:05:21 Step 10/24 : FROM scratch 04:05:21 ---> 04:05:21 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:21 ---> Running in a81d0d8bee5c 04:05:21 Removing intermediate container a81d0d8bee5c 04:05:21 ---> f82e312852bc 04:05:21 Step 12/24 : ENV APP_PORT=49990 04:05:21 ---> Running in e30bbd158e7b 04:05:21 Removing intermediate container e30bbd158e7b 04:05:21 ---> f81a3eac5704 04:05:21 Step 13/24 : EXPOSE $APP_PORT 04:05:21 ---> Running in f5c5204f8f02 04:05:22 Removing intermediate container f5c5204f8f02 04:05:22 ---> 360689edb2a8 04:05:22 Step 14/24 : WORKDIR / 04:05:22 ---> Running in c76f072e0b1f 04:05:22 Removing intermediate container c76f072e0b1f 04:05:22 ---> 736981376c96 04:05:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:05:23 ---> 86c0116647df 04:05:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:05:24 ---> 05440154bbf2 04:05:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:05:25 ---> 5f04cba7bab5 04:05:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:05:25 ---> 28795f4bb29c 04:05:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:05:26 ---> 25ad24ef9499 04:05:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:05:26 ---> Running in 0fb63425082a 04:05:26 Removing intermediate container 0fb63425082a 04:05:26 ---> 7c2453c3e7eb 04:05:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:05:27 ---> Running in 7e5090ddddef 04:05:27 Removing intermediate container 7e5090ddddef 04:05:27 ---> d691403652c0 04:05:27 Step 22/24 : LABEL arch=arm64 04:05:27 ---> Running in a82c8d43babf 04:05:28 Removing intermediate container a82c8d43babf 04:05:28 ---> 64ee4a8a17f2 04:05:28 Step 23/24 : LABEL git_sha=21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 04:05:28 ---> Running in 70483dd04390 04:05:28 Removing intermediate container 70483dd04390 04:05:28 ---> 0ad6bc8c1ce6 04:05:28 Step 24/24 : LABEL version=0.0.0 04:05:28 ---> Running in a2863ae80dab 04:05:29 Removing intermediate container a2863ae80dab 04:05:29 ---> 5e0233422661 04:05:29 [Warning] One or more build-args [ARCH] were not consumed 04:05:29 Successfully built 5e0233422661 04:05:29 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 04:05:31 provisioning config files... 04:05:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config5771589090493090522tmp [Pipeline] { [Pipeline] sh 04:05:31 + set +x 04:05:31 + curl -s https://codecov.io/bash 04:05:31 + bash -s -- 04:05:31 04:05:31 _____ _ 04:05:31 / ____| | | 04:05:31 | | ___ __| | ___ ___ _____ __ 04:05:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:05:31 | |___| (_) | (_| | __/ (_| (_) \ V / 04:05:31 \_____\___/ \__,_|\___|\___\___/ \_/ 04:05:31 Bash-20210115-cec3c92 04:05:31 04:05:31 04:05:31 ==> git version 2.24.3 found 04:05:31 ==> 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 04:05:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:05:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:05:31 ==> Jenkins CI detected. 04:05:31 project root: . 04:05:31 --> token set from env 04:05:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:05:31 ==> Running gcov in . (disable via -X gcov) 04:05:31 ==> Python coveragepy not found 04:05:31 ==> Searching for coverage reports in: 04:05:31 + . 04:05:31 -> Found 1 reports 04:05:31 ==> Detecting git/mercurial file structure 04:05:32 ==> Reading reports 04:05:32 + ./coverage.out bytes=144063 04:05:32 ==> Appending adjustments 04:05:32 https://docs.codecov.io/docs/fixing-reports 04:05:32 + Found adjustments 04:05:32 ==> Gzipping contents 04:05:32 24K /tmp/codecov.wSBTvx.gz 04:05:32 ==> Uploading reports 04:05:32 url: https://codecov.io 04:05:32 query: branch=PR-728&commit=21c114e8057a6ea6536f9ac2ea9c27f14ed23e50&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 04:05:32 -> Pinging Codecov 04:05:32 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=21c114e8057a6ea6536f9ac2ea9c27f14ed23e50&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 04:05:33 -> Uploading to 04:05:33 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/21c114e8057a6ea6536f9ac2ea9c27f14ed23e50/65cf5beb-ad2d-4193-a200-678abd970573.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T040533Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=53da443287e0977014f343bed08facb166a3c98f77beb1bef02750bb91292864 04:05:33 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:33 Dload Upload Total Spent Left Speed 04:05:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22353 0 0 100 22353 0 50980 --:--:-- --:--:-- --:--:-- 50917 04:05:33 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 [Pipeline] } 04:05:33 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 04:05:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:05:37 ---> package-listing.sh 04:05:37 ++ tr '[:upper:]' '[:lower:]' 04:05:37 ++ facter osfamily 04:05:37 + OS_FAMILY=redhat 04:05:37 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 04:05:37 + START_PACKAGES=/tmp/packages_start.txt 04:05:37 + END_PACKAGES=/tmp/packages_end.txt 04:05:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:05:37 + PACKAGES=/tmp/packages_start.txt 04:05:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 04:05:37 + PACKAGES=/tmp/packages_end.txt 04:05:37 + case "${OS_FAMILY}" in 04:05:37 + rpm -qa 04:05:37 + sort 04:05:44 + '[' -f /tmp/packages_start.txt ']' 04:05:44 + '[' -f /tmp/packages_end.txt ']' 04:05:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 04:05:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ 04:05:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo 04:05:44 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:05:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:45 04:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:05:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:46 alpine: Pulling from edgex-lftools-log-publisher 04:05:46 df20fa9351a1: Pulling fs layer 04:05:46 36b3adc4ff6f: Pulling fs layer 04:05:46 8ad3a11d3b57: Pulling fs layer 04:05:46 46f8f816bc3b: Pulling fs layer 04:05:46 93b61091891f: Pulling fs layer 04:05:46 93b9cdb0e59b: Pulling fs layer 04:05:46 5e14af77c1be: Pulling fs layer 04:05:46 01666e4c0597: Pulling fs layer 04:05:46 aa168da1d23b: Pulling fs layer 04:05:46 93b61091891f: Waiting 04:05:46 93b9cdb0e59b: Waiting 04:05:46 5e14af77c1be: Waiting 04:05:46 01666e4c0597: Waiting 04:05:46 46f8f816bc3b: Waiting 04:05:46 aa168da1d23b: Waiting 04:05:46 36b3adc4ff6f: Verifying Checksum 04:05:46 36b3adc4ff6f: Download complete 04:05:46 46f8f816bc3b: Verifying Checksum 04:05:46 46f8f816bc3b: Download complete 04:05:47 df20fa9351a1: Verifying Checksum 04:05:47 df20fa9351a1: Download complete 04:05:47 93b9cdb0e59b: Download complete 04:05:47 5e14af77c1be: Verifying Checksum 04:05:47 5e14af77c1be: Download complete 04:05:47 01666e4c0597: Verifying Checksum 04:05:47 01666e4c0597: Download complete 04:05:47 93b61091891f: Verifying Checksum 04:05:47 93b61091891f: Download complete 04:05:47 df20fa9351a1: Pull complete 04:05:48 8ad3a11d3b57: Verifying Checksum 04:05:48 8ad3a11d3b57: Download complete 04:05:48 36b3adc4ff6f: Pull complete 04:05:51 8ad3a11d3b57: Pull complete 04:05:51 46f8f816bc3b: Pull complete 04:05:53 93b61091891f: Pull complete 04:05:53 93b9cdb0e59b: Pull complete 04:05:54 5e14af77c1be: Pull complete 04:05:54 01666e4c0597: Pull complete 04:05:55 aa168da1d23b: Verifying Checksum 04:05:55 aa168da1d23b: Download complete 04:06:10 aa168da1d23b: Pull complete 04:06:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:06:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:06:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:06:11 prd-centos7-docker-4c-2g-21114 does not seem to be running inside a container 04:06:11 $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:06:15 $ docker top f2ab3dc9159c81b98ba41e9fc36410f7257f889d46cd66a5d98be6539739f83e -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:16 + touch /tmp/pre-build-complete [Pipeline] sh 04:06:16 + mkdir -p /var/log/sa [Pipeline] sh 04:06:17 + ls /var/log/sa-host 04:06:17 + sadf -c /var/log/sa-host/sa19 04:06:17 file_magic: OK 04:06:17 HZ: Using current value: 100 04:06:17 file_header: OK 04:06:17 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 04:06:17 Statistics: 04:06:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:06:17 File successfully converted to sysstat format version 12.2.1 04:06:17 + sadf -c /var/log/sa-host/sa23 04:06:17 file_magic: OK 04:06:17 HZ: Using current value: 100 04:06:17 file_header: OK 04:06:17 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 04:06:17 Statistics: 04:06:17 Hnuu...uuuununununu... 04:06:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:17 provisioning config files... 04:06:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config4242926062588305439tmp [Pipeline] { [Pipeline] echo 04:06:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:06:18 ---> create-netrc.sh [Pipeline] } 04:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:06:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:06:19 ---> python-tools-install.sh [Pipeline] echo 04:06:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:06:19 ---> sudo-logs.sh 04:06:19 Archiving 'sudo' log.. [Pipeline] echo 04:06:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:06:20 ---> job-cost.sh 04:06:20 lf-activate-venv: SKIPPING 04:06:20 INFO: No Stack... 04:06:21 INFO: Retrieving Pricing Info for: v1-standard-2 04:06:22 INFO: Archiving Costs [Pipeline] echo 04:06:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:06:22 ---> logs-deploy.sh 04:06:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/6 04:06:22 INFO: archiving workspace using pattern(s): 04:06:26 Archives upload complete. 04:06:26 INFO: archiving logs to Nexus 04:06:28 ---> uname -a: 04:06:28 Linux prd-centos7-docker-4c-2g-21114.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:06:28 04:06:28 04:06:28 ---> lscpu: 04:06:28 Architecture: x86_64 04:06:28 CPU op-mode(s): 32-bit, 64-bit 04:06:28 Byte Order: Little Endian 04:06:28 Address sizes: 40 bits physical, 48 bits virtual 04:06:28 CPU(s): 4 04:06:28 On-line CPU(s) list: 0-3 04:06:28 Thread(s) per core: 1 04:06:28 Core(s) per socket: 1 04:06:28 Socket(s): 4 04:06:28 NUMA node(s): 1 04:06:28 Vendor ID: GenuineIntel 04:06:28 CPU family: 6 04:06:28 Model: 44 04:06:28 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:06:28 Stepping: 1 04:06:28 CPU MHz: 2933.438 04:06:28 BogoMIPS: 5866.87 04:06:28 Virtualization: VT-x 04:06:28 Hypervisor vendor: KVM 04:06:28 Virtualization type: full 04:06:28 L1d cache: 128 KiB 04:06:28 L1i cache: 128 KiB 04:06:28 L2 cache: 16 MiB 04:06:28 L3 cache: 64 MiB 04:06:28 NUMA node0 CPU(s): 0-3 04:06:28 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:06:28 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:06:28 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:06:28 Vulnerability Meltdown: Mitigation; PTI 04:06:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:06:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:06:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:06:28 Vulnerability Srbds: Not affected 04:06:28 Vulnerability Tsx async abort: Not affected 04:06:28 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 04:06:28 04:06:28 04:06:28 ---> nproc: 04:06:28 4 04:06:28 04:06:28 04:06:28 ---> df -h: 04:06:28 Filesystem Size Used Available Use% Mounted on 04:06:28 overlay 50.0G 7.3G 42.7G 15% / 04:06:28 tmpfs 64.0M 0 64.0M 0% /dev 04:06:28 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:06:28 shm 64.0M 0 64.0M 0% /dev/shm 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 04:06:28 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 04:06:28 04:06:28 04:06:28 ---> free -m: 04:06:28 total used free shared buff/cache available 04:06:28 Mem: 1837 728 102 0 1006 1003 04:06:28 Swap: 1023 0 1023 04:06:28 04:06:28 04:06:28 ---> ip addr: 04:06:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:06:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:06:28 inet 127.0.0.1/8 scope host lo 04:06:28 valid_lft forever preferred_lft forever 04:06:28 inet6 ::1/128 scope host 04:06:28 valid_lft forever preferred_lft forever 04:06:28 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:06:28 link/ether fa:16:3e:7e:00:14 brd ff:ff:ff:ff:ff:ff 04:06:28 inet 10.30.122.195/23 brd 10.30.123.255 scope global dynamic eth0 04:06:28 valid_lft 85786sec preferred_lft 85786sec 04:06:28 inet6 fe80::f816:3eff:fe7e:14/64 scope link 04:06:28 valid_lft forever preferred_lft forever 04:06:28 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:06:28 link/ether 02:42:a2:82:90:6c brd ff:ff:ff:ff:ff:ff 04:06:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:06:28 valid_lft forever preferred_lft forever 04:06:28 inet6 fe80::42:a2ff:fe82:906c/64 scope link 04:06:28 valid_lft forever preferred_lft forever 04:06:28 04:06:28 04:06:28 ---> sar -b -r -n DEV: 04:06:28 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/19/21 _x86_64_ (4 CPU) 04:06:28 04:06:28 03:56:00 LINUX RESTART (4 CPU) 04:06:28 04:06:28 03:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:06:28 03:58:01 55.23 14.56 40.67 0.00 4675.02 2927.74 0.00 04:06:28 03:59:01 1.48 0.00 1.48 0.00 0.00 24.77 0.00 04:06:28 04:00:02 0.27 0.00 0.27 0.00 0.00 3.74 0.00 04:06:28 04:01:01 0.25 0.02 0.24 0.00 0.14 2.88 0.00 04:06:28 04:02:01 0.45 0.08 0.37 0.00 1.60 6.25 0.00 04:06:28 04:03:01 0.28 0.00 0.28 0.00 0.00 3.75 0.00 04:06:28 04:04:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 04:06:28 04:05:01 0.20 0.00 0.20 0.00 0.00 2.31 0.00 04:06:28 04:06:01 85.50 51.07 34.42 0.00 4369.76 9509.44 0.00 04:06:28 Average: 16.04 7.33 8.71 0.00 1008.31 1391.53 0.00 04:06:28 04:06:28 03:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:06:28 03:58:01 152704 0 633596 33.67 2620 1092624 1142608 39.00 455724 1070996 128 04:06:28 03:59:01 158828 0 627464 33.35 2620 1092632 1104688 37.70 462308 1059856 20 04:06:28 04:00:02 163508 0 622780 33.10 2620 1092636 1063564 36.30 457520 1060636 8 04:06:28 04:01:01 159920 0 626364 33.29 2620 1092640 1066164 36.39 466332 1055044 8 04:06:28 04:02:01 160200 0 625960 33.27 2620 1092764 1064476 36.33 467344 1054220 12 04:06:28 04:03:01 160096 0 626056 33.27 2620 1092772 1064812 36.34 467448 1054220 12 04:06:28 04:04:01 162064 0 624088 33.17 2620 1092772 1064464 36.33 465756 1054216 8 04:06:28 04:05:01 161140 0 625004 33.22 2620 1092780 1064744 36.34 466740 1054212 8 04:06:28 04:06:01 84936 0 726072 38.59 2620 1067916 1509104 51.50 563356 1008460 59828 04:06:28 Average: 151488 0 637487 33.88 2620 1089948 1127180 38.47 474725 1052429 6670 04:06:28 04:06:28 03:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:06:28 03:58:01 eth0 132.54 110.74 594.96 69.29 0.00 0.00 0.00 0.00 04:06:28 03:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 03:58:01 docker0 5.90 5.58 1.22 21.45 0.00 0.00 0.00 0.00 04:06:28 03:59:01 eth0 0.72 0.28 0.28 0.20 0.00 0.00 0.00 0.00 04:06:28 03:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 03:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:00:02 eth0 1.08 0.08 0.09 0.01 0.00 0.00 0.00 0.00 04:06:28 04:00:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:00:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:01:01 eth0 1.84 0.44 0.42 0.22 0.00 0.00 0.00 0.00 04:06:28 04:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:02:01 eth0 2.10 0.96 1.01 0.66 0.00 0.00 0.00 0.00 04:06:28 04:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:03:01 eth0 0.45 0.28 0.29 0.17 0.00 0.00 0.00 0.00 04:06:28 04:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:04:01 eth0 0.57 0.08 0.06 0.04 0.00 0.00 0.00 0.00 04:06:28 04:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:05:01 eth0 0.70 0.42 0.43 0.21 0.00 0.00 0.00 0.00 04:06:28 04:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:06:01 eth0 212.34 166.81 2171.74 20.08 0.00 0.00 0.00 0.00 04:06:28 04:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 04:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 Average: eth0 39.27 31.22 308.69 10.13 0.00 0.00 0.00 0.00 04:06:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:06:28 Average: docker0 0.66 0.62 0.14 2.39 0.00 0.00 0.00 0.00 04:06:28 04:06:28 04:06:28 ---> sar -P ALL: 04:06:28 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/19/21 _x86_64_ (4 CPU) 04:06:28 04:06:28 03:56:00 LINUX RESTART (4 CPU) 04:06:28 04:06:28 03:57:01 CPU %user %nice %system %iowait %steal %idle 04:06:28 03:58:01 all 3.74 0.00 3.17 0.81 18.35 73.93 04:06:28 03:58:01 0 3.29 0.00 3.07 0.59 19.40 73.65 04:06:28 03:58:01 1 4.00 0.00 3.31 1.26 18.85 72.57 04:06:28 03:58:01 2 4.14 0.00 2.87 1.11 17.52 74.37 04:06:28 03:58:01 3 3.54 0.00 3.41 0.28 17.63 75.14 04:06:28 03:59:01 all 0.08 0.00 0.05 0.00 0.84 99.03 04:06:28 03:59:01 0 0.00 0.00 0.05 0.00 0.73 99.22 04:06:28 03:59:01 1 0.00 0.00 0.03 0.00 0.53 99.44 04:06:28 03:59:01 2 0.03 0.00 0.03 0.00 1.35 98.58 04:06:28 03:59:01 3 0.30 0.00 0.10 0.00 0.73 98.87 04:06:28 04:00:02 all 0.06 0.00 0.10 0.00 1.39 98.45 04:06:28 04:00:02 0 0.03 0.00 0.12 0.00 1.33 98.52 04:06:28 04:00:02 1 0.03 0.00 0.12 0.00 0.88 98.98 04:06:28 04:00:02 2 0.03 0.00 0.10 0.00 2.07 97.80 04:06:28 04:00:02 3 0.13 0.00 0.07 0.00 1.27 98.53 04:06:28 04:01:01 all 0.07 0.00 0.03 0.00 1.54 98.36 04:06:28 04:01:01 0 0.03 0.00 0.03 0.00 1.31 98.63 04:06:28 04:01:01 1 0.02 0.00 0.02 0.00 2.24 97.72 04:06:28 04:01:01 2 0.22 0.00 0.03 0.00 1.48 98.27 04:06:28 04:01:01 3 0.00 0.00 0.05 0.00 1.13 98.82 04:06:28 04:02:01 all 0.08 0.00 0.22 0.00 2.08 97.61 04:06:28 04:02:01 0 0.05 0.00 0.23 0.00 2.18 97.54 04:06:28 04:02:01 1 0.03 0.00 0.16 0.00 2.22 97.58 04:06:28 04:02:01 2 0.21 0.00 0.16 0.00 1.56 98.06 04:06:28 04:02:01 3 0.03 0.00 0.33 0.02 2.34 97.28 04:06:28 04:03:01 all 0.10 0.00 0.04 0.00 0.57 99.29 04:06:28 04:03:01 0 0.03 0.00 0.03 0.00 0.30 99.63 04:06:28 04:03:01 1 0.07 0.00 0.07 0.00 1.19 98.68 04:06:28 04:03:01 2 0.30 0.00 0.05 0.00 0.56 99.09 04:06:28 04:03:01 3 0.00 0.00 0.02 0.00 0.23 99.75 04:06:28 04:04:01 all 0.10 0.00 0.04 0.00 0.58 99.29 04:06:28 04:04:01 0 0.02 0.00 0.03 0.00 0.43 99.52 04:06:28 04:04:01 1 0.02 0.00 0.03 0.00 0.18 99.77 04:06:28 04:04:01 2 0.31 0.00 0.03 0.00 0.99 98.66 04:06:28 04:04:01 3 0.03 0.00 0.05 0.00 0.70 99.22 04:06:28 04:05:01 all 0.10 0.00 0.03 0.00 0.49 99.38 04:06:28 04:05:01 0 0.03 0.00 0.03 0.00 0.37 99.57 04:06:28 04:05:01 1 0.07 0.00 0.03 0.00 0.93 98.97 04:06:28 04:05:01 2 0.25 0.00 0.03 0.00 0.50 99.22 04:06:28 04:05:01 3 0.03 0.00 0.02 0.00 0.18 99.77 04:06:28 04:06:01 all 2.89 0.00 2.06 1.49 11.67 81.89 04:06:28 04:06:01 0 2.48 0.00 2.07 0.08 12.78 82.59 04:06:28 04:06:01 1 2.63 0.00 1.97 2.52 11.47 81.42 04:06:28 04:06:01 2 2.77 0.00 1.88 2.28 11.59 81.48 04:06:28 04:06:01 3 3.71 0.00 2.32 1.06 10.84 82.07 04:06:28 Average: all 0.83 0.00 0.66 0.26 4.30 93.95 04:06:28 Average: 0 0.69 0.00 0.65 0.08 4.46 94.11 04:06:28 Average: 1 0.79 0.00 0.66 0.43 4.42 93.69 04:06:28 Average: 2 0.94 0.00 0.59 0.39 4.28 93.79 04:06:28 Average: 3 0.89 0.00 0.73 0.15 4.02 94.20 04:06:28 04:06:28 04:06:28