Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 54037e6807a9ac14c6e293b6fbd3afd97b7115bb+69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb (b14c51cb226b44c2db32257a106bcd311e566c58) 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-21159 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 54037e6807a9ac14c6e293b6fbd3afd97b7115bb Merge succeeded, producing 54037e6807a9ac14c6e293b6fbd3afd97b7115bb Checking out Revision 54037e6807a9ac14c6e293b6fbd3afd97b7115bb (PR-728) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:43:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 [Pipeline] withCredentials 07:43:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:43:39 ========================================================= 07:43:39 EdgeX Global Pipelines Version Info 07:43:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:43:40 ------------------- 07:43:40 stable info: 07:43:40 ------------------- 07:43:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:43:40 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 07:43:40 Message: update stable to v1.0.177 07:43:41 ------------------- 07:43:41 experimental info: 07:43:41 ------------------- 07:43:41 Commited By: **** collab-it+edgex@linuxfoundation.org 07:43:41 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 07:43:41 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:43:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:43:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo 07:43:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [Pipeline] echo 07:43:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54037e6 [Pipeline] echo 07:43:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:43:45 provisioning config files... 07:43:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config6224086469435559496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:43:45 ---> docker-login.sh 07:43:45 nexus3.edgexfoundry.org:10001 07:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:46 Configure a credential helper to remove this warning. See 07:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:46 07:43:46 Login Succeeded 07:43:46 nexus3.edgexfoundry.org:10002 07:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:46 Configure a credential helper to remove this warning. See 07:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:46 07:43:46 Login Succeeded 07:43:46 nexus3.edgexfoundry.org:10003 07:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:46 Configure a credential helper to remove this warning. See 07:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:46 07:43:46 Login Succeeded 07:43:46 nexus3.edgexfoundry.org:10004 07:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:46 Configure a credential helper to remove this warning. See 07:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:46 07:43:46 Login Succeeded 07:43:46 docker.io 07:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:47 Configure a credential helper to remove this warning. See 07:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:47 07:43:47 Login Succeeded 07:43:47 ---> docker-login.sh ends [Pipeline] } 07:43:47 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 07:43:48 + git log --format=format:%s -1 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [Pipeline] echo 07:43:48 GIT_COMMIT: 54037e6807a9ac14c6e293b6fbd3afd97b7115bb, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo 07:43:48 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:48 07:43:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:43:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:49 latest: Pulling from edgex-devops/git-semver 07:43:49 31603596830f: Pulling fs layer 07:43:49 2a8b12db71e7: Pulling fs layer 07:43:49 6ca5941a6612: Pulling fs layer 07:43:49 ecc8261a40a4: Pulling fs layer 07:43:49 ecc8261a40a4: Waiting 07:43:49 2a8b12db71e7: Download complete 07:43:49 31603596830f: Verifying Checksum 07:43:49 31603596830f: Download complete 07:43:49 ecc8261a40a4: Verifying Checksum 07:43:49 ecc8261a40a4: Download complete 07:43:49 6ca5941a6612: Verifying Checksum 07:43:49 6ca5941a6612: Download complete 07:43:49 31603596830f: Pull complete 07:43:50 2a8b12db71e7: Pull complete 07:43:51 6ca5941a6612: Pull complete 07:43:51 ecc8261a40a4: Pull complete 07:43:51 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:43:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:43:51 prd-centos7-docker-4c-2g-21159 does not seem to be running inside a container 07:43:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:43:53 $ docker top ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:43:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:53 [ssh-agent] Looking for ssh-agent implementation... 07:43:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:54 $ docker exec ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent 07:43:54 SSH_AUTH_SOCK=/tmp/ssh-Y1ch06zOFcog/agent.12 07:43:54 SSH_AGENT_PID=17 07:43:54 Running ssh-add (command line suppressed) 07:43:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_3709547355335567556.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_3709547355335567556.key) 07:43:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:54 + git tag --points-at HEAD [Pipeline] } 07:43:54 $ docker exec --env ******** --env ******** ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent -k 07:43:55 unset SSH_AUTH_SOCK; 07:43:55 unset SSH_AGENT_PID; 07:43:55 echo Agent pid 17 killed; 07:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:43:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:55 [ssh-agent] Looking for ssh-agent implementation... 07:43:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:55 $ docker exec ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent 07:43:55 SSH_AUTH_SOCK=/tmp/ssh-KoYuUb9vZDyC/agent.46 07:43:55 SSH_AGENT_PID=51 07:43:55 Running ssh-add (command line suppressed) 07:43:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_688189457027453475.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_688189457027453475.key) 07:43:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:56 + git semver init 07:43:56 # -> Open(): unable to determine branch for HEAD 07:43:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git 07:43:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 07:43:56 # $SEMVER_REMOTE_NAME = origin 07:43:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:43:56 # $SEMVER_USER_NAME = edgex-jenkins 07:43:56 # $SEMVER_BRANCH = PR-728 07:43:56 # $SEMVER_TEMP = /tmp/semver-537811393 07:43:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:43:57 # '/tmp/semver-537811393' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' 07:43:57 # -> Force: false 07:43:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } 07:43:57 $ docker exec --env ******** --env ******** ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent -k 07:43:57 unset SSH_AUTH_SOCK; 07:43:57 unset SSH_AGENT_PID; 07:43:57 echo Agent pid 51 killed; 07:43:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:43:57 + git semver [Pipeline] } 07:43:57 $ docker stop --time=1 ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 07:43:59 $ docker rm -f ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:44:00 Stashed 1 file(s) [Pipeline] echo 07:44:00 [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 07:44:15 Still waiting to schedule task 07:44:15 ‘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-21156’ is offline; ‘prd-centos7-docker-4c-2g-21162’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 07:44:15 Still waiting to schedule task 07:44:15 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:44:32 Running on prd-centos7-docker-4c-2g-21162 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 07:44:32 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 07:44:34 using credential edgex-jenkins-ssh 07:44:34 Cloning the remote Git repository 07:44:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:44:34 > git init /w/workspace/device-sdk-go/8 # timeout=10 07:44:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:44:35 > git --version # timeout=10 07:44:35 > git --version # 'git version 2.24.3' 07:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:44:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:44:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:44:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:44:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:35 > 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 07:44:36 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 54037e6807a9ac14c6e293b6fbd3afd97b7115bb 07:44:36 Merge succeeded, producing 54037e6807a9ac14c6e293b6fbd3afd97b7115bb 07:44:36 Checking out Revision 54037e6807a9ac14c6e293b6fbd3afd97b7115bb (PR-728) 07:44:36 > git config core.sparsecheckout # timeout=10 07:44:36 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 07:44:36 > git remote # timeout=10 07:44:36 > git config --get remote.origin.url # timeout=10 07:44:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:36 > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 07:44:36 > git rev-parse HEAD^{commit} # timeout=10 07:44:36 > git config core.sparsecheckout # timeout=10 07:44:36 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 07:44:40 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 07:44:41 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:44:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:44:41 + sudo service docker restart 07:44:41 + true 07:44:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:44:42 provisioning config files... 07:44:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8667659110068026989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:43 ---> docker-login.sh 07:44:43 nexus3.edgexfoundry.org:10001 07:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:43 Configure a credential helper to remove this warning. See 07:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:43 07:44:43 Login Succeeded 07:44:43 nexus3.edgexfoundry.org:10002 07:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:43 Configure a credential helper to remove this warning. See 07:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:43 07:44:43 Login Succeeded 07:44:43 nexus3.edgexfoundry.org:10003 07:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:44 Configure a credential helper to remove this warning. See 07:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:44 07:44:44 Login Succeeded 07:44:44 nexus3.edgexfoundry.org:10004 07:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:44 Configure a credential helper to remove this warning. See 07:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:44 07:44:44 Login Succeeded 07:44:44 docker.io 07:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:44 Configure a credential helper to remove this warning. See 07:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:44 07:44:44 Login Succeeded 07:44:44 ---> docker-login.sh ends [Pipeline] } 07:44:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:45 ========================================================= 07:44:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:44:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:44:45 + 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 . 07:44:45 Sending build context to Docker daemon 2.521MB 07:44:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:44:45 Step 2/8 : FROM ${BASE} 07:44:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:44:45 188c0c94c7c5: Pulling fs layer 07:44:45 0ef7d3d256c8: Pulling fs layer 07:44:45 de9db76c5a1d: Pulling fs layer 07:44:45 bca2f99d35d6: Pulling fs layer 07:44:45 93359f2a8cfa: Pulling fs layer 07:44:45 7c6f9722023f: Pulling fs layer 07:44:45 a35cf1a2eb13: Pulling fs layer 07:44:45 93359f2a8cfa: Waiting 07:44:45 7c6f9722023f: Waiting 07:44:45 a35cf1a2eb13: Waiting 07:44:45 bca2f99d35d6: Waiting 07:44:45 de9db76c5a1d: Verifying Checksum 07:44:45 de9db76c5a1d: Download complete 07:44:45 0ef7d3d256c8: Verifying Checksum 07:44:45 0ef7d3d256c8: Download complete 07:44:45 93359f2a8cfa: Verifying Checksum 07:44:45 93359f2a8cfa: Download complete 07:44:45 188c0c94c7c5: Verifying Checksum 07:44:45 188c0c94c7c5: Download complete 07:44:45 7c6f9722023f: Verifying Checksum 07:44:45 7c6f9722023f: Download complete 07:44:45 188c0c94c7c5: Pull complete 07:44:46 0ef7d3d256c8: Pull complete 07:44:46 de9db76c5a1d: Pull complete 07:44:47 a35cf1a2eb13: Verifying Checksum 07:44:47 a35cf1a2eb13: Download complete 07:44:48 bca2f99d35d6: Verifying Checksum 07:44:48 bca2f99d35d6: Download complete 07:44:54 bca2f99d35d6: Pull complete 07:44:54 93359f2a8cfa: Pull complete 07:44:54 7c6f9722023f: Pull complete 07:45:00 a35cf1a2eb13: Pull complete 07:45:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:45:00 ---> a62c8e92a672 07:45:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:45:00 ---> Running in 393f574b0079 07:45:00 Removing intermediate container 393f574b0079 07:45:00 ---> 4c730a2c8214 07:45:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:00 ---> Running in 2efdfbe6602d 07:45:02 Removing intermediate container 2efdfbe6602d 07:45:02 ---> 3d7cbaf09649 07:45:02 Step 5/8 : RUN apk add --update --no-cache make git 07:45:02 ---> Running in dcf5a32eff4d 07:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:45:04 OK: 166 MiB in 39 packages 07:45:04 Removing intermediate container dcf5a32eff4d 07:45:04 ---> eb6bec23bd80 07:45:04 Step 6/8 : WORKDIR /device-sdk-go 07:45:04 ---> Running in cdf75f80eb6f 07:45:05 Removing intermediate container cdf75f80eb6f 07:45:05 ---> a39bb640ae72 07:45:05 Step 7/8 : COPY . . 07:45:06 ---> 5381fe15899a 07:45:06 Step 8/8 : RUN go mod download 07:45:06 ---> Running in 872a5f52adeb 07:45:24 Removing intermediate container 872a5f52adeb 07:45:24 ---> f0269c0c3bb8 07:45:24 Successfully built f0269c0c3bb8 07:45:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:45:25 + docker inspect -f . ci-base-image-x86_64 07:45:25 . [Pipeline] withDockerContainer 07:45:25 prd-centos7-docker-4c-2g-21162 does not seem to be running inside a container 07:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:45:26 $ docker top 595b76ddd1e0a1a686999caf11824eb20cedef3157dc713d412749fe48baef51 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:26 + go version 07:45:26 go version go1.15.5 linux/amd64 [Pipeline] } 07:45:26 $ docker stop --time=1 595b76ddd1e0a1a686999caf11824eb20cedef3157dc713d412749fe48baef51 07:45:28 $ docker rm -f 595b76ddd1e0a1a686999caf11824eb20cedef3157dc713d412749fe48baef51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:45:28 + docker inspect -f . ci-base-image-x86_64 07:45:28 . [Pipeline] withDockerContainer 07:45:28 prd-centos7-docker-4c-2g-21162 does not seem to be running inside a container 07:45:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:45:29 $ docker top f9a6c70b085c79ede199bb4227360e88d8b9cf507fd954de65d87a34186a5af9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:30 + make test 07:45:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:45:38 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:45:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:45:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:45:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:45:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 19.4% of statements 07:45:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.530s coverage: 97.1% of statements 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.070s coverage: 9.4% of statements 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.117s coverage: 21.7% of statements 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.242s coverage: 43.2% of statements 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.282s coverage: 68.9% of statements 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 53.8% of statements 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.064s coverage: 26.8% of statements 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.425s coverage: 68.9% of statements 07:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 07:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:46:24 GO111MODULE=on go vet ./... 07:46:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21163 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 07:46:29 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 07:46:34 using credential edgex-jenkins-ssh 07:46:34 Cloning the remote Git repository 07:46:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:46:34 > git init /w/workspace/device-sdk-go/8 # timeout=10 07:46:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:46:34 > git --version # timeout=10 07:46:34 > git --version # 'git version 2.17.1' 07:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:46:36 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 54037e6807a9ac14c6e293b6fbd3afd97b7115bb 07:46:36 gofmt -l . 07:46:36 [ "`gofmt -l .`" = "" ] 07:46:36 ./bin/test-attribution-txt.sh 07:46:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:46:36 $ docker stop --time=1 f9a6c70b085c79ede199bb4227360e88d8b9cf507fd954de65d87a34186a5af9 07:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:46:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:46:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:36 > 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 07:46:36 > git config core.sparsecheckout # timeout=10 07:46:36 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 07:46:36 Merge succeeded, producing 54037e6807a9ac14c6e293b6fbd3afd97b7115bb 07:46:36 Checking out Revision 54037e6807a9ac14c6e293b6fbd3afd97b7115bb (PR-728) 07:46:36 > git remote # timeout=10 07:46:36 > git config --get remote.origin.url # timeout=10 07:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:36 > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 07:46:36 > git rev-parse HEAD^{commit} # timeout=10 07:46:36 > git config core.sparsecheckout # timeout=10 07:46:37 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 07:46:38 $ docker rm -f f9a6c70b085c79ede199bb4227360e88d8b9cf507fd954de65d87a34186a5af9 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:46:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:41 + ls -al . 07:46:41 total 224 07:46:41 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 07:46 . 07:46:41 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 07:44 .. 07:46:41 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 07:44 bin 07:46:41 -rw-r--r--. 1 jenkins jenkins 143471 Jan 19 07:46 coverage.out 07:46:41 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 07:44 Dockerfile.build 07:46:41 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 07:44 .dockerignore 07:46:41 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 07:44 example 07:46:41 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 07:44 .git 07:46:41 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 07:44 .github 07:46:41 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 07:44 .gitignore 07:46:41 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 07:46 go.mod 07:46:41 -rw-r--r--. 1 jenkins jenkins 14214 Jan 19 07:46 go.sum 07:46:41 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 07:44 internal 07:46:41 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 07:44 Jenkinsfile 07:46:41 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 07:44 LICENSE 07:46:41 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 07:44 Makefile 07:46:41 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 07:44 openapi 07:46:41 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 07:44 pkg 07:46:41 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 07:44 README.md 07:46:41 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 07:44 RELEASE-NOTES.txt 07:46:41 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 07:44 snap 07:46:41 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 07:43 VERSION 07:46:41 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 07:44 version.go [Pipeline] isUnix [Pipeline] sh 07:46:41 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" 07:46:41 + 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=54037e6807a9ac14c6e293b6fbd3afd97b7115bb --label arch=amd64 --label version=0.0.0 . 07:46:41 Sending build context to Docker daemon 2.665MB 07:46:41 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:46:41 Step 2/24 : FROM ${BASE} AS builder 07:46:41 ---> f0269c0c3bb8 07:46:41 Step 3/24 : ARG MAKE='make build' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:42 ---> Running in 3ff6cfb0cb9d 07:46:42 Removing intermediate container 3ff6cfb0cb9d 07:46:42 ---> 2747d535d702 07:46:42 Step 4/24 : WORKDIR /device-sdk-go 07:46:42 ---> Running in 3f98a3653756 07:46:42 Removing intermediate container 3f98a3653756 07:46:42 ---> 43d590d33777 07:46:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:46:42 ---> Running in a635c5859e99 07:46:42 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:46:43 Removing intermediate container a635c5859e99 07:46:43 ---> 0fec4ea9fd53 07:46:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:46:43 ---> Running in 98d6b95b2d99 07:46:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:46:43 + true 07:46:43 + sudo service docker restart 07:46:44 Removing intermediate container 98d6b95b2d99 07:46:44 ---> 563a4b322b28 07:46:44 Step 7/24 : RUN apk add --update --no-cache make git 07:46:44 ---> Running in d9884702bf97 07:46:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:46:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 07:46:45 OK: 166 MiB in 39 packages [Pipeline] wrap 07:46:45 provisioning config files... 07:46:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config1406721626953215384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:46 Removing intermediate container d9884702bf97 07:46:46 ---> 48904cdf923b 07:46:46 Step 8/24 : COPY . . 07:46:46 ---> docker-login.sh 07:46:46 nexus3.edgexfoundry.org:10001 07:46:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:47 ---> 6841209552af 07:46:47 Step 9/24 : RUN ${MAKE} 07:46:47 ---> Running in 9cf7c1625551 07:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:47 Configure a credential helper to remove this warning. See 07:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:47 07:46:47 Login Succeeded 07:46:47 nexus3.edgexfoundry.org:10002 07:46:47 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 07:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:48 Configure a credential helper to remove this warning. See 07:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:48 07:46:48 Login Succeeded 07:46:48 nexus3.edgexfoundry.org:10003 07:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:48 Configure a credential helper to remove this warning. See 07:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:48 07:46:48 Login Succeeded 07:46:48 nexus3.edgexfoundry.org:10004 07:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:48 Configure a credential helper to remove this warning. See 07:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:48 07:46:48 Login Succeeded 07:46:48 docker.io 07:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:49 Configure a credential helper to remove this warning. See 07:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:49 07:46:49 Login Succeeded 07:46:49 ---> docker-login.sh ends [Pipeline] } 07:46:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:46:50 ========================================================= 07:46:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:46:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:46:50 + 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 . 07:46:50 Sending build context to Docker daemon 2.528MB 07:46:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:46:50 Step 2/8 : FROM ${BASE} 07:46:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:46:51 5f621e34cdf4: Pulling fs layer 07:46:51 a4357932f1b6: Pulling fs layer 07:46:51 18c013af1878: Pulling fs layer 07:46:51 00ac8860ef70: Pulling fs layer 07:46:51 63d7cb157983: Pulling fs layer 07:46:51 b116817d02f9: Pulling fs layer 07:46:51 745a02a5169b: Pulling fs layer 07:46:51 00ac8860ef70: Waiting 07:46:51 63d7cb157983: Waiting 07:46:51 745a02a5169b: Waiting 07:46:51 b116817d02f9: Waiting 07:46:51 18c013af1878: Download complete 07:46:51 a4357932f1b6: Verifying Checksum 07:46:51 a4357932f1b6: Download complete 07:46:51 63d7cb157983: Verifying Checksum 07:46:51 63d7cb157983: Download complete 07:46:51 b116817d02f9: Verifying Checksum 07:46:51 b116817d02f9: Download complete 07:46:51 5f621e34cdf4: Verifying Checksum 07:46:51 5f621e34cdf4: Download complete 07:46:52 5f621e34cdf4: Pull complete 07:46:53 a4357932f1b6: Pull complete 07:46:53 18c013af1878: Pull complete 07:46:54 745a02a5169b: Verifying Checksum 07:46:54 745a02a5169b: Download complete 07:46:55 00ac8860ef70: Verifying Checksum 07:46:55 00ac8860ef70: Download complete 07:46:57 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:46:58 Removing intermediate container 9cf7c1625551 07:46:58 ---> 4b11f1294f5f 07:46:58 Step 10/24 : FROM scratch 07:46:58 ---> 07:46:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:46:58 ---> Running in eca38e0c296d 07:46:58 Removing intermediate container eca38e0c296d 07:46:58 ---> ed46e99c5f04 07:46:58 Step 12/24 : ENV APP_PORT=49990 07:46:58 ---> Running in 37d761878c5b 07:46:58 Removing intermediate container 37d761878c5b 07:46:58 ---> 5b0c176b6be1 07:46:58 Step 13/24 : EXPOSE $APP_PORT 07:46:59 ---> Running in 2b81650aef08 07:46:59 Removing intermediate container 2b81650aef08 07:46:59 ---> c09ac0ddeb3d 07:46:59 Step 14/24 : WORKDIR / 07:46:59 ---> Running in e28d6487f9db 07:46:59 Removing intermediate container e28d6487f9db 07:46:59 ---> 8e646c32021e 07:46:59 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:46:59 ---> 5050e18e6a84 07:46:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:46:59 ---> a8de7425b5cc 07:46:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:47:00 ---> bdc419e3b9ec 07:47:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:47:00 ---> 88a12557aad5 07:47:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:47:00 ---> 6cc9f766c55a 07:47:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:47:00 ---> Running in e2d157423e50 07:47:01 Removing intermediate container e2d157423e50 07:47:01 ---> 0c8316c01d22 07:47:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:47:01 ---> Running in cd6171ca076c 07:47:01 Removing intermediate container cd6171ca076c 07:47:01 ---> 240ceb3ff0c5 07:47:01 Step 22/24 : LABEL arch=amd64 07:47:01 ---> Running in 5051506d27f0 07:47:01 Removing intermediate container 5051506d27f0 07:47:01 ---> e524ec67c8f8 07:47:01 Step 23/24 : LABEL git_sha=54037e6807a9ac14c6e293b6fbd3afd97b7115bb 07:47:01 ---> Running in 6784d0710396 07:47:01 Removing intermediate container 6784d0710396 07:47:01 ---> 66fbab27510e 07:47:01 Step 24/24 : LABEL version=0.0.0 07:47:01 ---> Running in 8dc62512df62 07:47:02 Removing intermediate container 8dc62512df62 07:47:02 ---> 673678b0143f 07:47:02 [Warning] One or more build-args [ARCH] were not consumed 07:47:02 Successfully built 673678b0143f 07:47:02 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:47:05 00ac8860ef70: Pull complete 07:47:05 63d7cb157983: Pull complete 07:47:06 b116817d02f9: Pull complete 07:47:09 745a02a5169b: Pull complete 07:47:09 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:47:09 ---> b7e6874047d6 07:47:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:47:12 ---> Running in d729e7bf488e 07:47:12 Removing intermediate container d729e7bf488e 07:47:12 ---> f9307e9b7ead 07:47:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:47:12 ---> Running in 6e71641793c6 07:47:15 Removing intermediate container 6e71641793c6 07:47:15 ---> 45a2b2344da2 07:47:15 Step 5/8 : RUN apk add --update --no-cache make git 07:47:15 ---> Running in 604755e32304 07:47:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:47:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:47:18 OK: 142 MiB in 39 packages 07:47:19 Removing intermediate container 604755e32304 07:47:19 ---> 724011c42e48 07:47:19 Step 6/8 : WORKDIR /device-sdk-go 07:47:19 ---> Running in 5fc969d26eaf 07:47:20 Removing intermediate container 5fc969d26eaf 07:47:20 ---> 736f11fcabff 07:47:20 Step 7/8 : COPY . . 07:47:21 ---> 90f4e7ea0b7e 07:47:21 Step 8/8 : RUN go mod download 07:47:21 ---> Running in d50a3f6fcd60 07:47:43 Removing intermediate container d50a3f6fcd60 07:47:43 ---> 4d99c4d8e7aa 07:47:43 Successfully built 4d99c4d8e7aa 07:47:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:47:43 + docker inspect -f . ci-base-image-arm64 07:47:43 . [Pipeline] withDockerContainer 07:47:44 prd-ubuntu18.04-docker-arm64-4c-16g-21163 does not seem to be running inside a container 07:47:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:47:45 $ docker top 30f5be7e7bf926f9eaf6a132803c88ad98584caebfa1722130f87fcb211e9cc6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:46 + go version 07:47:46 go version go1.15.5 linux/arm64 [Pipeline] } 07:47:46 $ docker stop --time=1 30f5be7e7bf926f9eaf6a132803c88ad98584caebfa1722130f87fcb211e9cc6 07:47:48 $ docker rm -f 30f5be7e7bf926f9eaf6a132803c88ad98584caebfa1722130f87fcb211e9cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:47:49 + docker inspect -f . ci-base-image-arm64 07:47:49 . [Pipeline] withDockerContainer 07:47:49 prd-ubuntu18.04-docker-arm64-4c-16g-21163 does not seem to be running inside a container 07:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:47:51 $ docker top f604f26d02af2cbbd4a551b639b5dc1aa871012f4313f74d2f1d49988fc3f775 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:52 + make test 07:47:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:48:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 19.4% of statements 07:48:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.182s coverage: 97.1% of statements 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.157s coverage: 9.4% of statements 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.114s coverage: 21.7% of statements 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.584s coverage: 43.2% of statements 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.774s coverage: 68.9% of statements 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.209s coverage: 53.8% of statements 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.165s coverage: 26.8% of statements 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.870s coverage: 68.9% of statements 07:49:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements 07:49:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:49:26 GO111MODULE=on go vet ./... 07:50:05 gofmt -l . 07:50:05 [ "`gofmt -l .`" = "" ] 07:50:05 ./bin/test-attribution-txt.sh 07:50:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:50:05 $ docker stop --time=1 f604f26d02af2cbbd4a551b639b5dc1aa871012f4313f74d2f1d49988fc3f775 07:50:07 $ docker rm -f f604f26d02af2cbbd4a551b639b5dc1aa871012f4313f74d2f1d49988fc3f775 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:50:09 Warning: overwriting stash ‘coverage-report’ 07:50:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:50:11 + ls -al . 07:50:11 total 260 07:50:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 07:50 . 07:50:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 .. 07:50:11 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 07:46 .dockerignore 07:50:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 07:46 .git 07:50:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 07:46 .github 07:50:11 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 07:46 .gitignore 07:50:11 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 07:46 Dockerfile.build 07:50:11 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 07:46 Jenkinsfile 07:50:11 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 07:46 LICENSE 07:50:11 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 07:46 Makefile 07:50:11 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 07:46 README.md 07:50:11 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 07:46 RELEASE-NOTES.txt 07:50:11 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 07:43 VERSION 07:50:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 07:46 bin 07:50:11 -rw-r--r-- 1 jenkins jenkins 143471 Jan 19 07:49 coverage.out 07:50:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 example 07:50:11 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 07:50 go.mod 07:50:11 -rw-r--r-- 1 jenkins jenkins 14214 Jan 19 07:50 go.sum 07:50:11 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 07:46 internal 07:50:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 openapi 07:50:11 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 07:46 pkg 07:50:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 snap 07:50:11 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 07:46 version.go [Pipeline] isUnix [Pipeline] sh 07:50:11 + 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=54037e6807a9ac14c6e293b6fbd3afd97b7115bb --label arch=arm64 --label version=0.0.0 . 07:50:12 Sending build context to Docker daemon 2.673MB 07:50:12 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:50:12 Step 2/24 : FROM ${BASE} AS builder 07:50:12 ---> 4d99c4d8e7aa 07:50:12 Step 3/24 : ARG MAKE='make build' 07:50:12 ---> Running in 072435d15cb3 07:50:12 Removing intermediate container 072435d15cb3 07:50:12 ---> 07d7a3f88bba 07:50:12 Step 4/24 : WORKDIR /device-sdk-go 07:50:13 ---> Running in 866a06e1bd81 07:50:13 Removing intermediate container 866a06e1bd81 07:50:13 ---> c342f9f75594 07:50:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:50:13 ---> Running in 21bc169806d7 07:50:13 Removing intermediate container 21bc169806d7 07:50:13 ---> fe4a9d6f89fe 07:50:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:50:14 ---> Running in f484b240c234 07:50:16 Removing intermediate container f484b240c234 07:50:16 ---> d5dd942f19c3 07:50:16 Step 7/24 : RUN apk add --update --no-cache make git 07:50:16 ---> Running in 34158ef54b06 07:50:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:50:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:50:19 OK: 142 MiB in 39 packages 07:50:20 Removing intermediate container 34158ef54b06 07:50:20 ---> 6635b183dea0 07:50:20 Step 8/24 : COPY . . 07:50:21 ---> add5c06c0883 07:50:21 Step 9/24 : RUN ${MAKE} 07:50:21 ---> Running in 865e837ed019 07:50:22 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 07:50:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:50:49 Removing intermediate container 865e837ed019 07:50:49 ---> 031c018fd17a 07:50:49 Step 10/24 : FROM scratch 07:50:49 ---> 07:50:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:50:50 ---> Running in f9c20c03b510 07:50:50 Removing intermediate container f9c20c03b510 07:50:50 ---> d92e3950bac1 07:50:50 Step 12/24 : ENV APP_PORT=49990 07:50:50 ---> Running in a8a4a137fc82 07:50:51 Removing intermediate container a8a4a137fc82 07:50:51 ---> 09673d143009 07:50:51 Step 13/24 : EXPOSE $APP_PORT 07:50:51 ---> Running in 0d57f58d1130 07:50:51 Removing intermediate container 0d57f58d1130 07:50:51 ---> f55d394c97ba 07:50:51 Step 14/24 : WORKDIR / 07:50:51 ---> Running in 6269267466e0 07:50:52 Removing intermediate container 6269267466e0 07:50:52 ---> 148c94e7622b 07:50:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:50:53 ---> dafa3dcbcef3 07:50:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:50:54 ---> 7fa666a32e26 07:50:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:50:54 ---> 763784ac4e76 07:50:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:50:55 ---> 80f3e28bfbd4 07:50:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:50:56 ---> 40670cd5207a 07:50:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:50:56 ---> Running in d4d87e914a64 07:50:56 Removing intermediate container d4d87e914a64 07:50:56 ---> 5940883997ce 07:50:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:50:56 ---> Running in ea164e90efe6 07:50:57 Removing intermediate container ea164e90efe6 07:50:57 ---> 6ed8a53637d9 07:50:57 Step 22/24 : LABEL arch=arm64 07:50:57 ---> Running in ce406b1a1233 07:50:58 Removing intermediate container ce406b1a1233 07:50:58 ---> b4c25e94cdf8 07:50:58 Step 23/24 : LABEL git_sha=54037e6807a9ac14c6e293b6fbd3afd97b7115bb 07:50:58 ---> Running in 9e6b1f99a8ff 07:50:58 Removing intermediate container 9e6b1f99a8ff 07:50:58 ---> abf24e0f0bad 07:50:58 Step 24/24 : LABEL version=0.0.0 07:50:58 ---> Running in e429ccf33258 07:50:59 Removing intermediate container e429ccf33258 07:50:59 ---> 950512cdc5b9 07:50:59 [Warning] One or more build-args [ARCH] were not consumed 07:50:59 Successfully built 950512cdc5b9 07:50:59 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 07:51:00 provisioning config files... 07:51:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config8402650959652662707tmp [Pipeline] { [Pipeline] sh 07:51:01 + set +x 07:51:01 + curl -s https://codecov.io/bash 07:51:01 + bash -s -- 07:51:01 07:51:01 _____ _ 07:51:01 / ____| | | 07:51:01 | | ___ __| | ___ ___ _____ __ 07:51:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:51:01 | |___| (_) | (_| | __/ (_| (_) \ V / 07:51:01 \_____\___/ \__,_|\___|\___\___/ \_/ 07:51:01 Bash-20210115-cec3c92 07:51:01 07:51:01 07:51:01 ==> git version 2.24.3 found 07:51:01 ==> 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 07:51:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:51:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:51:01 ==> Jenkins CI detected. 07:51:01 project root: . 07:51:01 --> token set from env 07:51:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:51:01 ==> Running gcov in . (disable via -X gcov) 07:51:01 ==> Python coveragepy not found 07:51:01 ==> Searching for coverage reports in: 07:51:01 + . 07:51:01 -> Found 1 reports 07:51:01 ==> Detecting git/mercurial file structure 07:51:01 ==> Reading reports 07:51:01 + ./coverage.out bytes=143471 07:51:01 ==> Appending adjustments 07:51:01 https://docs.codecov.io/docs/fixing-reports 07:51:02 + Found adjustments 07:51:02 ==> Gzipping contents 07:51:02 24K /tmp/codecov.3mtUHB.gz 07:51:02 ==> Uploading reports 07:51:02 url: https://codecov.io 07:51:02 query: branch=PR-728&commit=54037e6807a9ac14c6e293b6fbd3afd97b7115bb&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 07:51:02 -> Pinging Codecov 07:51:02 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=54037e6807a9ac14c6e293b6fbd3afd97b7115bb&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 07:51:02 -> Uploading to 07:51:02 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/54037e6807a9ac14c6e293b6fbd3afd97b7115bb/41e55f37-e52d-470d-b7ed-78d2e2a24216.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T075102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=003514edaa1f7400afbba5f4e1b04fd70a1c9d76a770471c78843223146ff358 07:51:02 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:02 Dload Upload Total Spent Left Speed 07:51:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22227 0 0 100 22227 0 54575 --:--:-- --:--:-- --:--:-- 54477 07:51:03 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/54037e6807a9ac14c6e293b6fbd3afd97b7115bb [Pipeline] } 07:51:03 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 07:51:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:51:06 ---> package-listing.sh 07:51:06 ++ tr '[:upper:]' '[:lower:]' 07:51:06 ++ facter osfamily 07:51:06 + OS_FAMILY=redhat 07:51:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 07:51:06 + START_PACKAGES=/tmp/packages_start.txt 07:51:06 + END_PACKAGES=/tmp/packages_end.txt 07:51:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:51:06 + PACKAGES=/tmp/packages_start.txt 07:51:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 07:51:06 + PACKAGES=/tmp/packages_end.txt 07:51:06 + case "${OS_FAMILY}" in 07:51:06 + rpm -qa 07:51:06 + sort 07:51:11 + '[' -f /tmp/packages_start.txt ']' 07:51:11 + '[' -f /tmp/packages_end.txt ']' 07:51:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:51:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 07:51:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ 07:51:11 + 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 07:51:11 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 07:51:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:51:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:51:12 07:51:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:51:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:51:12 alpine: Pulling from edgex-lftools-log-publisher 07:51:12 df20fa9351a1: Pulling fs layer 07:51:12 36b3adc4ff6f: Pulling fs layer 07:51:12 8ad3a11d3b57: Pulling fs layer 07:51:12 46f8f816bc3b: Pulling fs layer 07:51:12 93b61091891f: Pulling fs layer 07:51:12 93b9cdb0e59b: Pulling fs layer 07:51:12 5e14af77c1be: Pulling fs layer 07:51:12 01666e4c0597: Pulling fs layer 07:51:12 aa168da1d23b: Pulling fs layer 07:51:12 46f8f816bc3b: Waiting 07:51:12 93b61091891f: Waiting 07:51:12 93b9cdb0e59b: Waiting 07:51:12 5e14af77c1be: Waiting 07:51:12 01666e4c0597: Waiting 07:51:12 aa168da1d23b: Waiting 07:51:12 36b3adc4ff6f: Verifying Checksum 07:51:12 36b3adc4ff6f: Download complete 07:51:12 46f8f816bc3b: Verifying Checksum 07:51:12 46f8f816bc3b: Download complete 07:51:12 df20fa9351a1: Verifying Checksum 07:51:12 df20fa9351a1: Download complete 07:51:12 93b9cdb0e59b: Verifying Checksum 07:51:12 93b9cdb0e59b: Download complete 07:51:12 5e14af77c1be: Verifying Checksum 07:51:12 5e14af77c1be: Download complete 07:51:12 93b61091891f: Download complete 07:51:12 01666e4c0597: Verifying Checksum 07:51:12 01666e4c0597: Download complete 07:51:12 df20fa9351a1: Pull complete 07:51:13 36b3adc4ff6f: Pull complete 07:51:13 8ad3a11d3b57: Verifying Checksum 07:51:13 8ad3a11d3b57: Download complete 07:51:14 8ad3a11d3b57: Pull complete 07:51:14 46f8f816bc3b: Pull complete 07:51:14 aa168da1d23b: Verifying Checksum 07:51:14 aa168da1d23b: Download complete 07:51:14 93b61091891f: Pull complete 07:51:14 93b9cdb0e59b: Pull complete 07:51:15 5e14af77c1be: Pull complete 07:51:15 01666e4c0597: Pull complete 07:51:23 aa168da1d23b: Pull complete 07:51:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:51:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:51:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:51:23 prd-centos7-docker-4c-2g-21159 does not seem to be running inside a container 07:51:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:51:26 $ docker top 21d30f226e6b6e106a5dfa704d7d2bd1b51e635a46b45f0e4115c5329aca264d -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:27 + touch /tmp/pre-build-complete [Pipeline] sh 07:51:27 + mkdir -p /var/log/sa [Pipeline] sh 07:51:28 + ls /var/log/sa-host 07:51:28 + sadf -c /var/log/sa-host/sa19 07:51:28 file_magic: OK 07:51:28 HZ: Using current value: 100 07:51:28 file_header: OK 07:51:28 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 07:51:28 Statistics: 07:51:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:51:28 File successfully converted to sysstat format version 12.2.1 07:51:28 + sadf -c /var/log/sa-host/sa23 07:51:28 file_magic: OK 07:51:28 HZ: Using current value: 100 07:51:28 file_header: OK 07:51:28 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 07:51:28 Statistics: 07:51:28 Hnuu...uuuununununu... 07:51:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:28 provisioning config files... 07:51:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config1223968368336034006tmp [Pipeline] { [Pipeline] echo 07:51:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:51:28 ---> create-netrc.sh [Pipeline] } 07:51:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:51:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:51:28 ---> python-tools-install.sh [Pipeline] echo 07:51:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:51:29 ---> sudo-logs.sh 07:51:29 Archiving 'sudo' log.. [Pipeline] echo 07:51:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:51:29 ---> job-cost.sh 07:51:29 lf-activate-venv: SKIPPING 07:51:29 INFO: No Stack... 07:51:30 INFO: Retrieving Pricing Info for: v1-standard-2 07:51:31 INFO: Archiving Costs [Pipeline] echo 07:51:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:51:31 ---> logs-deploy.sh 07:51:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/8 07:51:31 INFO: archiving workspace using pattern(s): 07:51:33 Archives upload complete. 07:51:33 INFO: archiving logs to Nexus 07:51:34 ---> uname -a: 07:51:34 Linux prd-centos7-docker-4c-2g-21159.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:51:34 07:51:34 07:51:34 ---> lscpu: 07:51:34 Architecture: x86_64 07:51:34 CPU op-mode(s): 32-bit, 64-bit 07:51:34 Byte Order: Little Endian 07:51:34 Address sizes: 40 bits physical, 48 bits virtual 07:51:34 CPU(s): 4 07:51:34 On-line CPU(s) list: 0-3 07:51:34 Thread(s) per core: 1 07:51:34 Core(s) per socket: 1 07:51:34 Socket(s): 4 07:51:34 NUMA node(s): 1 07:51:34 Vendor ID: GenuineIntel 07:51:34 CPU family: 6 07:51:34 Model: 44 07:51:34 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:51:34 Stepping: 1 07:51:34 CPU MHz: 2933.438 07:51:34 BogoMIPS: 5866.87 07:51:34 Virtualization: VT-x 07:51:34 Hypervisor vendor: KVM 07:51:34 Virtualization type: full 07:51:34 L1d cache: 128 KiB 07:51:34 L1i cache: 128 KiB 07:51:34 L2 cache: 16 MiB 07:51:34 L3 cache: 64 MiB 07:51:34 NUMA node0 CPU(s): 0-3 07:51:34 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:51:34 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:51:34 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:51:34 Vulnerability Meltdown: Mitigation; PTI 07:51:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:51:34 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:51:34 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:51:34 Vulnerability Srbds: Not affected 07:51:34 Vulnerability Tsx async abort: Not affected 07:51:34 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 07:51:34 07:51:34 07:51:34 ---> nproc: 07:51:34 4 07:51:34 07:51:34 07:51:34 ---> df -h: 07:51:34 Filesystem Size Used Available Use% Mounted on 07:51:34 overlay 50.0G 7.3G 42.7G 15% / 07:51:34 tmpfs 64.0M 0 64.0M 0% /dev 07:51:34 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:51:34 shm 64.0M 0 64.0M 0% /dev/shm 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:51:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:51:34 07:51:34 07:51:34 ---> free -m: 07:51:34 total used free shared buff/cache available 07:51:34 Mem: 1837 725 102 0 1009 1007 07:51:34 Swap: 1023 1 1022 07:51:34 07:51:34 07:51:34 ---> ip addr: 07:51:34 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:51:34 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:51:34 inet 127.0.0.1/8 scope host lo 07:51:34 valid_lft forever preferred_lft forever 07:51:34 inet6 ::1/128 scope host 07:51:34 valid_lft forever preferred_lft forever 07:51:34 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:51:34 link/ether fa:16:3e:a2:b9:37 brd ff:ff:ff:ff:ff:ff 07:51:34 inet 10.30.122.241/23 brd 10.30.123.255 scope global dynamic eth0 07:51:34 valid_lft 85889sec preferred_lft 85889sec 07:51:34 inet6 fe80::f816:3eff:fea2:b937/64 scope link 07:51:34 valid_lft forever preferred_lft forever 07:51:34 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:51:34 link/ether 02:42:ef:e4:7b:a1 brd ff:ff:ff:ff:ff:ff 07:51:34 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:51:34 valid_lft forever preferred_lft forever 07:51:34 inet6 fe80::42:efff:fee4:7ba1/64 scope link 07:51:34 valid_lft forever preferred_lft forever 07:51:34 07:51:34 07:51:34 ---> sar -b -r -n DEV: 07:51:34 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) 07:51:34 07:51:34 07:42:52 LINUX RESTART (4 CPU) 07:51:34 07:51:34 07:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:51:34 07:45:01 3.78 0.00 3.78 0.00 0.00 126.57 0.00 07:51:34 07:46:01 0.33 0.00 0.33 0.00 0.00 5.00 0.00 07:51:34 07:47:01 0.20 0.00 0.20 0.00 0.00 1.90 0.00 07:51:34 07:48:01 0.32 0.00 0.32 0.00 0.00 3.96 0.00 07:51:34 07:49:01 0.28 0.00 0.28 0.00 0.00 4.45 0.00 07:51:34 07:50:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 07:51:34 07:51:01 0.30 0.05 0.25 0.00 3.60 2.70 0.00 07:51:34 Average: 0.78 0.01 0.78 0.00 0.51 21.17 0.00 07:51:34 07:51:34 07:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:51:34 07:45:01 154284 0 626600 33.30 2620 1098040 1099296 37.52 428532 1098036 20 07:51:34 07:46:01 157160 0 623716 33.15 2620 1098048 1074624 36.68 426920 1097280 20 07:51:34 07:47:01 154160 0 626712 33.31 2620 1098052 1074792 36.68 440508 1086592 8 07:51:34 07:48:01 155184 0 625688 33.25 2620 1098052 1074696 36.68 438924 1087688 8 07:51:34 07:49:01 153772 0 627092 33.33 2620 1098060 1074720 36.68 449188 1078420 8 07:51:34 07:50:01 153476 0 627384 33.34 2620 1098064 1074756 36.68 458528 1069284 8 07:51:34 07:51:01 148824 0 631624 33.57 2620 1098476 1079812 36.85 462292 1069400 360 07:51:34 Average: 153837 0 626974 33.32 2620 1098113 1078957 36.82 443556 1083814 62 07:51:34 07:51:34 07:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:51:34 07:45:01 eth0 2.93 1.46 2.28 0.25 0.00 0.00 0.00 0.00 07:51:34 07:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:46:01 eth0 0.75 0.10 0.06 0.04 0.00 0.00 0.00 0.00 07:51:34 07:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:47:01 eth0 1.25 0.42 0.33 0.21 0.00 0.00 0.00 0.00 07:51:34 07:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:48:01 eth0 0.68 0.28 0.28 0.20 0.00 0.00 0.00 0.00 07:51:34 07:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:49:01 eth0 0.88 0.20 0.20 0.07 0.00 0.00 0.00 0.00 07:51:34 07:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:50:01 eth0 0.55 0.35 0.27 0.20 0.00 0.00 0.00 0.00 07:51:34 07:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:51:01 eth0 2.83 1.85 3.19 0.80 0.00 0.00 0.00 0.00 07:51:34 07:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 Average: eth0 1.41 0.67 0.95 0.25 0.00 0.00 0.00 0.00 07:51:34 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:51:34 07:51:34 07:51:34 ---> sar -P ALL: 07:51:34 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) 07:51:34 07:51:34 07:42:52 LINUX RESTART (4 CPU) 07:51:34 07:51:34 07:44:01 CPU %user %nice %system %iowait %steal %idle 07:51:34 07:45:01 all 0.21 0.00 0.08 0.00 0.02 99.69 07:51:34 07:45:01 0 0.58 0.00 0.10 0.00 0.03 99.28 07:51:34 07:45:01 1 0.10 0.00 0.07 0.00 0.02 99.82 07:51:34 07:45:01 2 0.08 0.00 0.08 0.00 0.02 99.82 07:51:34 07:45:01 3 0.07 0.00 0.08 0.00 0.02 99.83 07:51:34 07:46:01 all 0.16 0.00 0.04 0.00 0.04 99.76 07:51:34 07:46:01 0 0.52 0.00 0.02 0.00 0.05 99.42 07:51:34 07:46:01 1 0.05 0.00 0.05 0.00 0.03 99.87 07:51:34 07:46:01 2 0.03 0.00 0.03 0.00 0.03 99.90 07:51:34 07:46:01 3 0.05 0.00 0.05 0.00 0.05 99.85 07:51:34 07:47:01 all 0.19 0.00 0.17 0.00 0.01 99.63 07:51:34 07:47:01 0 0.48 0.00 0.07 0.00 0.00 99.45 07:51:34 07:47:01 1 0.10 0.00 0.22 0.00 0.02 99.67 07:51:34 07:47:01 2 0.08 0.00 0.23 0.00 0.00 99.68 07:51:34 07:47:01 3 0.10 0.00 0.18 0.00 0.02 99.70 07:51:34 07:48:01 all 0.15 0.00 0.04 0.00 0.01 99.81 07:51:34 07:48:01 0 0.47 0.00 0.03 0.00 0.02 99.48 07:51:34 07:48:01 1 0.03 0.00 0.03 0.00 0.02 99.92 07:51:34 07:48:01 2 0.03 0.00 0.05 0.00 0.00 99.92 07:51:34 07:48:01 3 0.05 0.00 0.03 0.00 0.00 99.92 07:51:34 07:49:01 all 0.16 0.00 0.05 0.00 0.00 99.78 07:51:34 07:49:01 0 0.50 0.00 0.00 0.00 0.00 99.50 07:51:34 07:49:01 1 0.05 0.00 0.07 0.00 0.02 99.87 07:51:34 07:49:01 2 0.05 0.00 0.12 0.00 0.00 99.83 07:51:34 07:49:01 3 0.05 0.00 0.02 0.00 0.00 99.93 07:51:34 07:50:01 all 0.09 0.00 0.07 0.00 0.00 99.84 07:51:34 07:50:01 0 0.18 0.00 0.10 0.00 0.00 99.72 07:51:34 07:50:01 1 0.07 0.00 0.03 0.00 0.00 99.90 07:51:34 07:50:01 2 0.08 0.00 0.08 0.00 0.00 99.83 07:51:34 07:50:01 3 0.03 0.00 0.05 0.00 0.00 99.92 07:51:34 07:51:01 all 0.24 0.00 0.18 0.00 0.00 99.57 07:51:34 07:51:01 0 0.40 0.00 0.28 0.00 0.02 99.30 07:51:34 07:51:01 1 0.20 0.00 0.15 0.00 0.00 99.65 07:51:34 07:51:01 2 0.20 0.00 0.13 0.00 0.00 99.67 07:51:34 07:51:01 3 0.17 0.00 0.17 0.00 0.00 99.67 07:51:34 Average: all 0.17 0.00 0.09 0.00 0.01 99.72 07:51:34 Average: 0 0.45 0.00 0.09 0.00 0.02 99.45 07:51:34 Average: 1 0.09 0.00 0.09 0.00 0.01 99.81 07:51:34 Average: 2 0.08 0.00 0.10 0.00 0.01 99.81 07:51:34 Average: 3 0.07 0.00 0.08 0.00 0.01 99.83 07:51:34 07:51:34 07:51:34