Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b78782cd0efb46c83024da74e57556adad2ab399+76d059c2e27a3d5d488ff0022063f09e99d334bf (07886f113d3c01bb5ddec744fd29cf26e7b01200) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23322 in /w/workspace/dgexfoundry_device-sdk-go_PR-757 [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-757 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit b78782cd0efb46c83024da74e57556adad2ab399 > 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/757/head:refs/remotes/origin/PR-757 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b78782cd0efb46c83024da74e57556adad2ab399 # timeout=10 Merge succeeded, producing bb87e66c1dbbcbb4541517146a28794a59b17456 Checking out Revision bb87e66c1dbbcbb4541517146a28794a59b17456 (PR-757) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb87e66c1dbbcbb4541517146a28794a59b17456 # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk b78782cd0efb46c83024da74e57556adad2ab399 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:45 ========================================================= 02:42:45 EdgeX Global Pipelines Version Info 02:42:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:51 ------------------- 02:42:51 stable info: 02:42:51 ------------------- 02:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:51 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:51 Message: update stable to v1.0.179 02:42:54 ------------------- 02:42:54 experimental info: 02:42:54 ------------------- 02:42:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:54 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:54 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-757 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-757 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-757 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb87e66c1dbbcbb4541517146a28794a59b17456 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb87e66 [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:58 provisioning config files... 02:42:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/config8613421515941258307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:59 ---> docker-login.sh 02:42:59 nexus3.edgexfoundry.org:10001 02:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:04 Configure a credential helper to remove this warning. See 02:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:04 02:43:04 Login Succeeded 02:43:04 nexus3.edgexfoundry.org:10002 02:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 nexus3.edgexfoundry.org:10003 02:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:09 Configure a credential helper to remove this warning. See 02:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:09 02:43:09 Login Succeeded 02:43:09 nexus3.edgexfoundry.org:10004 02:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 docker.io 02:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:12 Configure a credential helper to remove this warning. See 02:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:12 02:43:12 Login Succeeded 02:43:12 ---> docker-login.sh ends [Pipeline] } 02:43:13 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 02:43:14 + git log --format=format:%s -1 bb87e66c1dbbcbb4541517146a28794a59b17456 [Pipeline] echo 02:43:15 GIT_COMMIT: bb87e66c1dbbcbb4541517146a28794a59b17456, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:43:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:16 02:43:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:16 latest: Pulling from edgex-devops/git-semver 02:43:16 31603596830f: Pulling fs layer 02:43:16 2a8b12db71e7: Pulling fs layer 02:43:16 6ca5941a6612: Pulling fs layer 02:43:16 ecc8261a40a4: Pulling fs layer 02:43:16 ecc8261a40a4: Waiting 02:43:16 2a8b12db71e7: Verifying Checksum 02:43:16 2a8b12db71e7: Download complete 02:43:17 31603596830f: Verifying Checksum 02:43:17 31603596830f: Download complete 02:43:18 ecc8261a40a4: Verifying Checksum 02:43:18 ecc8261a40a4: Download complete 02:43:18 6ca5941a6612: Verifying Checksum 02:43:18 6ca5941a6612: Download complete 02:43:18 31603596830f: Pull complete 02:43:19 2a8b12db71e7: Pull complete 02:43:21 6ca5941a6612: Pull complete 02:43:23 ecc8261a40a4: Pull complete 02:43:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:23 prd-centos7-docker-4c-2g-23322 does not seem to be running inside a container 02:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-757 -v /w/workspace/dgexfoundry_device-sdk-go_PR-757:/w/workspace/dgexfoundry_device-sdk-go_PR-757:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-757@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:10004/edgex-devops/git-semver:latest cat 02:43:28 $ docker top f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:29 [ssh-agent] Looking for ssh-agent implementation... 02:43:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:30 $ docker exec f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 ssh-agent 02:43:30 SSH_AUTH_SOCK=/tmp/ssh-XLyrvYQvxmpw/agent.11 02:43:30 SSH_AGENT_PID=16 02:43:30 Running ssh-add (command line suppressed) 02:43:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/private_key_8728401717740669254.key (/w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/private_key_8728401717740669254.key) 02:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:31 + git tag --points-at HEAD [Pipeline] } 02:43:31 $ docker exec --env ******** --env ******** f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 ssh-agent -k 02:43:32 unset SSH_AUTH_SOCK; 02:43:32 unset SSH_AGENT_PID; 02:43:32 echo Agent pid 16 killed; 02:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:32 [ssh-agent] Looking for ssh-agent implementation... 02:43:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:32 $ docker exec f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 ssh-agent 02:43:33 SSH_AUTH_SOCK=/tmp/ssh-AGOvZbnJgRVF/agent.45 02:43:33 SSH_AGENT_PID=50 02:43:33 Running ssh-add (command line suppressed) 02:43:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/private_key_2364777607700175543.key (/w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/private_key_2364777607700175543.key) 02:43:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:34 + git semver init 02:43:34 # -> Open(): unable to determine branch for HEAD 02:43:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-757/.git 02:43:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-757 02:43:34 # $SEMVER_REMOTE_NAME = origin 02:43:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:34 # $SEMVER_USER_NAME = edgex-jenkins 02:43:34 # $SEMVER_BRANCH = PR-757 02:43:34 # $SEMVER_TEMP = /tmp/semver-571146837 02:43:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:35 # '/tmp/semver-571146837' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-757/.semver' 02:43:35 # -> Force: false 02:43:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-757/.semver [Pipeline] } 02:43:36 $ docker exec --env ******** --env ******** f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 ssh-agent -k 02:43:36 unset SSH_AUTH_SOCK; 02:43:36 unset SSH_AGENT_PID; 02:43:36 echo Agent pid 50 killed; 02:43:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:37 + git semver [Pipeline] } 02:43:37 $ docker stop --time=1 f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 02:43:40 $ docker rm -f f64a76e0582a4fc2144bc91f35f9f6ef72059e1a9353b73e6acbc60080630dc9 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:42 Stashed 1 file(s) [Pipeline] echo 02:43:42 [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 02:43:57 Still waiting to schedule task 02:43:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:57 Still waiting to schedule task 02:43:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:44:57 Running on prd-centos7-docker-4c-2g-23336 in /w/workspace/dgexfoundry_device-sdk-go_PR-757 [Pipeline] { [Pipeline] ws 02:44:57 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:45:00 using credential edgex-jenkins-ssh 02:45:00 Cloning the remote Git repository 02:45:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:00 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:00 > git --version # timeout=10 02:45:00 > git --version # 'git version 2.24.3' 02:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/757/head:refs/remotes/origin/PR-757 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:04 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit b78782cd0efb46c83024da74e57556adad2ab399 02:45:04 Merge succeeded, producing f552f4c002ac6e27bdc5d91093f93136edbca8cd 02:45:04 Checking out Revision f552f4c002ac6e27bdc5d91093f93136edbca8cd (PR-757) 02:45:04 > git config core.sparsecheckout # timeout=10 02:45:04 > git checkout -f b78782cd0efb46c83024da74e57556adad2ab399 # timeout=10 02:45:04 > git remote # timeout=10 02:45:04 > git config --get remote.origin.url # timeout=10 02:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:04 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:45:04 > git rev-parse HEAD^{commit} # timeout=10 02:45:04 > git config core.sparsecheckout # timeout=10 02:45:04 > git checkout -f f552f4c002ac6e27bdc5d91093f93136edbca8cd # timeout=10 02:45:08 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:45:08 > git rev-list --no-walk b78782cd0efb46c83024da74e57556adad2ab399 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:10 + true 02:45:10 + sudo service docker restart 02:45:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:12 provisioning config files... 02:45:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1139367915673774153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:12 ---> docker-login.sh 02:45:12 nexus3.edgexfoundry.org:10001 02:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:13 Configure a credential helper to remove this warning. See 02:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:13 02:45:13 Login Succeeded 02:45:13 nexus3.edgexfoundry.org:10002 02:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:13 Configure a credential helper to remove this warning. See 02:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:13 02:45:13 Login Succeeded 02:45:13 nexus3.edgexfoundry.org:10003 02:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 nexus3.edgexfoundry.org:10004 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 docker.io 02:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 ---> docker-login.sh ends [Pipeline] } 02:45:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:16 ========================================================= 02:45:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:16 + 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 . 02:45:16 Sending build context to Docker daemon 2.569MB 02:45:16 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:16 Step 2/8 : FROM ${BASE} 02:45:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:16 188c0c94c7c5: Pulling fs layer 02:45:16 0ef7d3d256c8: Pulling fs layer 02:45:16 de9db76c5a1d: Pulling fs layer 02:45:16 bca2f99d35d6: Pulling fs layer 02:45:16 93359f2a8cfa: Pulling fs layer 02:45:16 7c6f9722023f: Pulling fs layer 02:45:16 a35cf1a2eb13: Pulling fs layer 02:45:16 93359f2a8cfa: Waiting 02:45:16 7c6f9722023f: Waiting 02:45:16 a35cf1a2eb13: Waiting 02:45:16 bca2f99d35d6: Waiting 02:45:16 de9db76c5a1d: Verifying Checksum 02:45:16 de9db76c5a1d: Download complete 02:45:16 0ef7d3d256c8: Verifying Checksum 02:45:16 0ef7d3d256c8: Download complete 02:45:16 93359f2a8cfa: Verifying Checksum 02:45:16 93359f2a8cfa: Download complete 02:45:16 7c6f9722023f: Verifying Checksum 02:45:16 7c6f9722023f: Download complete 02:45:16 188c0c94c7c5: Verifying Checksum 02:45:16 188c0c94c7c5: Download complete 02:45:17 188c0c94c7c5: Pull complete 02:45:17 0ef7d3d256c8: Pull complete 02:45:17 de9db76c5a1d: Pull complete 02:45:19 a35cf1a2eb13: Verifying Checksum 02:45:19 a35cf1a2eb13: Download complete 02:45:20 bca2f99d35d6: Verifying Checksum 02:45:20 bca2f99d35d6: Download complete 02:45:26 bca2f99d35d6: Pull complete 02:45:26 93359f2a8cfa: Pull complete 02:45:26 7c6f9722023f: Pull complete 02:45:35 a35cf1a2eb13: Pull complete 02:45:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:35 ---> a62c8e92a672 02:45:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:35 ---> Running in d1f3040f3bb6 02:45:35 Removing intermediate container d1f3040f3bb6 02:45:35 ---> 4d01d24425f3 02:45:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:35 ---> Running in b4752b4482b0 02:45:36 Removing intermediate container b4752b4482b0 02:45:36 ---> b0dd00f5ef6c 02:45:36 Step 5/8 : RUN apk add --update --no-cache make git 02:45:36 ---> Running in a363564415cc 02:45:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:39 OK: 166 MiB in 39 packages 02:45:40 Removing intermediate container a363564415cc 02:45:40 ---> 4eb781a3d5cd 02:45:40 Step 6/8 : WORKDIR /device-sdk-go 02:45:40 ---> Running in 3fe8ef85b341 02:45:40 Removing intermediate container 3fe8ef85b341 02:45:40 ---> a6a60ec1ad78 02:45:40 Step 7/8 : COPY . . 02:45:41 ---> ca531df97243 02:45:41 Step 8/8 : RUN go mod download 02:45:41 ---> Running in faa87ede7f5c 02:45:59 Removing intermediate container faa87ede7f5c 02:45:59 ---> 5a639393849d 02:45:59 Successfully built 5a639393849d 02:45:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:00 + docker inspect -f . ci-base-image-x86_64 02:46:00 . [Pipeline] withDockerContainer 02:46:00 prd-centos7-docker-4c-2g-23336 does not seem to be running inside a container 02:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 02:46:01 $ docker top 8a52b4e52f12d7de8134dd95b795ef261624bddadafd44cd8364947d6a6712f4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:01 + go version 02:46:01 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:01 $ docker stop --time=1 8a52b4e52f12d7de8134dd95b795ef261624bddadafd44cd8364947d6a6712f4 02:46:03 $ docker rm -f 8a52b4e52f12d7de8134dd95b795ef261624bddadafd44cd8364947d6a6712f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:04 + docker inspect -f . ci-base-image-x86_64 02:46:04 . [Pipeline] withDockerContainer 02:46:04 prd-centos7-docker-4c-2g-23336 does not seem to be running inside a container 02:46:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 02:46:05 $ docker top 9762e214c6bb95a1f782db8ea026755ce2bf04da3e9db3abbafcaf2eca81aa47 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:06 + make test 02:46:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23343 in /w/workspace/dgexfoundry_device-sdk-go_PR-757 [Pipeline] { [Pipeline] ws 02:46:30 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:46:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 19.4% of statements 02:46:35 using credential edgex-jenkins-ssh 02:46:35 Cloning the remote Git repository 02:46:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:36 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:46:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:36 > git --version # timeout=10 02:46:36 > git --version # 'git version 2.17.1' 02:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.693s coverage: 97.1% of statements 02:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/757/head:refs/remotes/origin/PR-757 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:38 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit b78782cd0efb46c83024da74e57556adad2ab399 02:46:38 Merge succeeded, producing dae7dc80a60bed5ea833afed80c06bd8a2752204 02:46:38 Checking out Revision dae7dc80a60bed5ea833afed80c06bd8a2752204 (PR-757) 02:46:38 > git config core.sparsecheckout # timeout=10 02:46:38 > git checkout -f b78782cd0efb46c83024da74e57556adad2ab399 # timeout=10 02:46:38 > git remote # timeout=10 02:46:38 > git config --get remote.origin.url # timeout=10 02:46:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:38 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:46:38 > git rev-parse HEAD^{commit} # timeout=10 02:46:38 > git config core.sparsecheckout # timeout=10 02:46:38 > git checkout -f dae7dc80a60bed5ea833afed80c06bd8a2752204 # timeout=10 02:46:42 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:46:42 > git rev-list --no-walk b78782cd0efb46c83024da74e57556adad2ab399 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:45 + sudo service docker restart 02:46:45 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:48 provisioning config files... 02:46:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3423303068096721021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:48 ---> docker-login.sh 02:46:48 nexus3.edgexfoundry.org:10001 02:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:49 Configure a credential helper to remove this warning. See 02:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:49 02:46:49 Login Succeeded 02:46:49 nexus3.edgexfoundry.org:10002 02:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:50 Configure a credential helper to remove this warning. See 02:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:50 02:46:50 Login Succeeded 02:46:50 nexus3.edgexfoundry.org:10003 02:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:51 Configure a credential helper to remove this warning. See 02:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:51 02:46:51 Login Succeeded 02:46:51 nexus3.edgexfoundry.org:10004 02:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:51 Configure a credential helper to remove this warning. See 02:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:51 02:46:51 Login Succeeded 02:46:51 docker.io 02:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:52 Configure a credential helper to remove this warning. See 02:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:52 02:46:52 Login Succeeded 02:46:52 ---> docker-login.sh ends [Pipeline] } 02:46:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:52 ========================================================= 02:46:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:53 + 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 . 02:46:53 Sending build context to Docker daemon 2.568MB 02:46:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:53 Step 2/8 : FROM ${BASE} 02:46:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:53 5f621e34cdf4: Pulling fs layer 02:46:53 a4357932f1b6: Pulling fs layer 02:46:53 18c013af1878: Pulling fs layer 02:46:53 00ac8860ef70: Pulling fs layer 02:46:53 63d7cb157983: Pulling fs layer 02:46:53 b116817d02f9: Pulling fs layer 02:46:53 745a02a5169b: Pulling fs layer 02:46:53 63d7cb157983: Waiting 02:46:53 b116817d02f9: Waiting 02:46:53 00ac8860ef70: Waiting 02:46:53 745a02a5169b: Waiting 02:46:53 18c013af1878: Download complete 02:46:53 a4357932f1b6: Download complete 02:46:53 63d7cb157983: Verifying Checksum 02:46:53 63d7cb157983: Download complete 02:46:53 5f621e34cdf4: Verifying Checksum 02:46:53 b116817d02f9: Verifying Checksum 02:46:53 b116817d02f9: Download complete 02:46:54 5f621e34cdf4: Pull complete 02:46:55 a4357932f1b6: Pull complete 02:46:55 18c013af1878: Pull complete 02:46:56 745a02a5169b: Verifying Checksum 02:46:56 745a02a5169b: Download complete 02:46:57 00ac8860ef70: Verifying Checksum 02:46:57 00ac8860ef70: Download complete 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.091s coverage: 9.4% of statements 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 21.7% of statements 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.307s coverage: 43.2% of statements 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.368s coverage: 68.9% of statements 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 53.8% of statements 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 26.8% of statements 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.512s coverage: 83.5% of statements 02:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.2% of statements 02:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:03 GO111MODULE=on go vet ./... 02:47:07 00ac8860ef70: Pull complete 02:47:07 63d7cb157983: Pull complete 02:47:07 b116817d02f9: Pull complete 02:47:10 745a02a5169b: Pull complete 02:47:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:10 ---> b7e6874047d6 02:47:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:13 ---> Running in 38a71326b945 02:47:13 Removing intermediate container 38a71326b945 02:47:13 ---> 88f2099cd530 02:47:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:13 ---> Running in ad3e962a3de0 02:47:16 gofmt -l . 02:47:16 [ "`gofmt -l .`" = "" ] 02:47:16 ./bin/test-attribution-txt.sh 02:47:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:16 $ docker stop --time=1 9762e214c6bb95a1f782db8ea026755ce2bf04da3e9db3abbafcaf2eca81aa47 02:47:16 Removing intermediate container ad3e962a3de0 02:47:16 ---> 1428b55e3464 02:47:16 Step 5/8 : RUN apk add --update --no-cache make git 02:47:16 ---> Running in 990d827210a2 02:47:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:18 $ docker rm -f 9762e214c6bb95a1f782db8ea026755ce2bf04da3e9db3abbafcaf2eca81aa47 02:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh 02:47:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 02:47:19 OK: 142 MiB in 39 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:20 Removing intermediate container 990d827210a2 02:47:20 ---> e7b30c9acaa1 02:47:20 Step 6/8 : WORKDIR /device-sdk-go 02:47:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:20 ---> Running in 3538ad63d914 02:47:20 + ls -al . 02:47:20 total 216 02:47:20 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:47 . 02:47:20 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:45 .. 02:47:20 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:45 bin 02:47:20 -rw-r--r--. 1 jenkins jenkins 136843 Jan 27 02:47 coverage.out 02:47:20 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:45 Dockerfile.build 02:47:20 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:45 .dockerignore 02:47:20 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:45 example 02:47:20 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git 02:47:20 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:45 .github 02:47:20 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:45 .gitignore 02:47:20 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:47 go.mod 02:47:20 -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:47 go.sum 02:47:20 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:45 internal 02:47:20 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:45 Jenkinsfile 02:47:20 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:45 LICENSE 02:47:20 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:45 Makefile 02:47:20 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:45 openapi 02:47:20 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:45 pkg 02:47:20 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:45 README.md 02:47:20 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:45 RELEASE-NOTES.txt 02:47:20 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:45 snap 02:47:20 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:43 VERSION 02:47:20 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:21 + 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=bb87e66c1dbbcbb4541517146a28794a59b17456 --label arch=amd64 --label version=0.0.0 . 02:47:21 Removing intermediate container 3538ad63d914 02:47:21 ---> ffdc30046e79 02:47:21 Step 7/8 : COPY . . 02:47:21 Sending build context to Docker daemon 2.707MB 02:47:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:21 Step 2/24 : FROM ${BASE} AS builder 02:47:21 ---> 5a639393849d 02:47:21 Step 3/24 : ARG MAKE='make build' 02:47:22 ---> Running in 58bccff72a20 02:47:22 Removing intermediate container 58bccff72a20 02:47:22 ---> 847425613044 02:47:22 Step 4/24 : WORKDIR /device-sdk-go 02:47:22 ---> Running in ef0bd92f85fe 02:47:22 Removing intermediate container ef0bd92f85fe 02:47:22 ---> dbdc2ee28886 02:47:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:22 ---> Running in b3b3a2a8d98f 02:47:22 Removing intermediate container b3b3a2a8d98f 02:47:22 ---> 2032b55bfaab 02:47:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:22 ---> 26b46dd81e1e 02:47:22 Step 8/8 : RUN go mod download 02:47:22 ---> Running in 2bc58b7df3dd 02:47:22 ---> Running in a772770eb3de 02:47:23 Removing intermediate container a772770eb3de 02:47:23 ---> 438eba3201a9 02:47:23 Step 7/24 : RUN apk add --update --no-cache make git 02:47:23 ---> Running in d08935d54fa4 02:47:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:26 OK: 166 MiB in 39 packages 02:47:26 Removing intermediate container d08935d54fa4 02:47:26 ---> 634b96dd2bf7 02:47:26 Step 8/24 : COPY . . 02:47:27 ---> 7e2043a17ec0 02:47:27 Step 9/24 : RUN ${MAKE} 02:47:27 ---> Running in d9b9d8539486 02:47:28 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 02:47:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:40 Removing intermediate container d9b9d8539486 02:47:40 ---> 22109e8df58d 02:47:40 Step 10/24 : FROM scratch 02:47:40 ---> 02:47:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:40 ---> Running in 71cde85de7c5 02:47:40 Removing intermediate container 71cde85de7c5 02:47:40 ---> f38cc3cd703e 02:47:40 Step 12/24 : ENV APP_PORT=49990 02:47:40 ---> Running in 613b8e119a8e 02:47:41 Removing intermediate container 613b8e119a8e 02:47:41 ---> 4df020f286de 02:47:41 Step 13/24 : EXPOSE $APP_PORT 02:47:41 ---> Running in 2f0daa6ada39 02:47:41 Removing intermediate container 2f0daa6ada39 02:47:41 ---> d882cef37e60 02:47:41 Step 14/24 : WORKDIR / 02:47:41 ---> Running in b1d67dfba22a 02:47:41 Removing intermediate container b1d67dfba22a 02:47:41 ---> b196d4ddfcc4 02:47:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:41 ---> c724efa4a849 02:47:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:42 ---> fb42af93aedf 02:47:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:42 ---> 86c65d2c333e 02:47:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:42 ---> 554477569771 02:47:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:43 ---> 8364087e8da5 02:47:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:43 ---> Running in e09e441c022f 02:47:43 Removing intermediate container e09e441c022f 02:47:43 ---> 0c01d29d9261 02:47:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:43 ---> Running in aecbe64b6950 02:47:43 Removing intermediate container aecbe64b6950 02:47:43 ---> c4c56c39c52d 02:47:43 Step 22/24 : LABEL arch=amd64 02:47:43 ---> Running in 47867dacbedc 02:47:43 Removing intermediate container 47867dacbedc 02:47:43 ---> 9bc71b29dffd 02:47:43 Step 23/24 : LABEL git_sha=bb87e66c1dbbcbb4541517146a28794a59b17456 02:47:43 ---> Running in b8aa21ee7963 02:47:44 Removing intermediate container b8aa21ee7963 02:47:44 ---> ef41f7350fe8 02:47:44 Step 24/24 : LABEL version=0.0.0 02:47:44 ---> Running in db0d84c7f084 02:47:44 Removing intermediate container db0d84c7f084 02:47:44 ---> e926351ada38 02:47:44 [Warning] One or more build-args [ARCH] were not consumed 02:47:44 Successfully built e926351ada38 02:47:44 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 02:47:45 Removing intermediate container 2bc58b7df3dd 02:47:45 ---> 23e76f791cc9 02:47:45 Successfully built 23e76f791cc9 02:47:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 02:47:45 + docker inspect -f . ci-base-image-arm64 02:47:45 . [Pipeline] withDockerContainer 02:47:46 prd-ubuntu18.04-docker-arm64-4c-16g-23343 does not seem to be running inside a container 02:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 02:47:47 $ docker top 291c6b6c7b104434d4b3545d26217e0514092ed722cf7740d37095df68466957 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:48 + go version 02:47:48 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:48 $ docker stop --time=1 291c6b6c7b104434d4b3545d26217e0514092ed722cf7740d37095df68466957 02:47:50 $ docker rm -f 291c6b6c7b104434d4b3545d26217e0514092ed722cf7740d37095df68466957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:51 + docker inspect -f . ci-base-image-arm64 02:47:51 . [Pipeline] withDockerContainer 02:47:52 prd-ubuntu18.04-docker-arm64-4c-16g-23343 does not seem to be running inside a container 02:47:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 02:47:53 $ docker top 30e01909192d0403845ed96df14007d52e73acf4b3bd9c51b6348e9af9212f61 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:54 + make test 02:47:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 19.4% of statements 02:49:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.213s coverage: 97.1% of statements 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.176s coverage: 9.4% of statements 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.119s coverage: 21.7% of statements 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.635s coverage: 43.2% of statements 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.771s coverage: 68.9% of statements 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.200s coverage: 53.8% of statements 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.177s coverage: 26.8% of statements 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.127s coverage: 83.5% of statements 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:38 GO111MODULE=on go vet ./... 02:50:10 gofmt -l . 02:50:10 [ "`gofmt -l .`" = "" ] 02:50:10 ./bin/test-attribution-txt.sh 02:50:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:12 $ docker stop --time=1 30e01909192d0403845ed96df14007d52e73acf4b3bd9c51b6348e9af9212f61 02:50:14 $ docker rm -f 30e01909192d0403845ed96df14007d52e73acf4b3bd9c51b6348e9af9212f61 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:15 Warning: overwriting stash ‘coverage-report’ 02:50:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:17 + ls -al . 02:50:17 total 252 02:50:17 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:50 . 02:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 .. 02:50:17 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:46 .dockerignore 02:50:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:46 .git 02:50:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 .github 02:50:17 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:46 .gitignore 02:50:17 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:46 Dockerfile.build 02:50:17 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:46 Jenkinsfile 02:50:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:46 LICENSE 02:50:17 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:46 Makefile 02:50:17 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:46 README.md 02:50:17 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:46 RELEASE-NOTES.txt 02:50:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:43 VERSION 02:50:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 bin 02:50:17 -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 02:49 coverage.out 02:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 example 02:50:17 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:50 go.mod 02:50:17 -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:50 go.sum 02:50:17 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:46 internal 02:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 openapi 02:50:17 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:46 pkg 02:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 snap 02:50:17 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:18 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bb87e66c1dbbcbb4541517146a28794a59b17456 --label arch=arm64 --label version=0.0.0 . 02:50:18 Sending build context to Docker daemon 2.706MB 02:50:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:18 Step 2/24 : FROM ${BASE} AS builder 02:50:18 ---> 23e76f791cc9 02:50:18 Step 3/24 : ARG MAKE='make build' 02:50:18 ---> Running in af0b865729f5 02:50:19 Removing intermediate container af0b865729f5 02:50:19 ---> b4a8dc92ff92 02:50:19 Step 4/24 : WORKDIR /device-sdk-go 02:50:19 ---> Running in d209e19297ca 02:50:19 Removing intermediate container d209e19297ca 02:50:19 ---> bbc43c1223ed 02:50:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:19 ---> Running in 27874a512266 02:50:20 Removing intermediate container 27874a512266 02:50:20 ---> 30fea892e762 02:50:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:20 ---> Running in 09c79280e7cc 02:50:22 Removing intermediate container 09c79280e7cc 02:50:22 ---> c0b248f98baf 02:50:22 Step 7/24 : RUN apk add --update --no-cache make git 02:50:22 ---> Running in 35f8abae6ae3 02:50:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:25 OK: 142 MiB in 39 packages 02:50:26 Removing intermediate container 35f8abae6ae3 02:50:26 ---> 14ced0107584 02:50:26 Step 8/24 : COPY . . 02:50:27 ---> 4064583a9c41 02:50:27 Step 9/24 : RUN ${MAKE} 02:50:28 ---> Running in fd15fa968656 02:50:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:59 Removing intermediate container fd15fa968656 02:50:59 ---> a5d30d8ef31a 02:50:59 Step 10/24 : FROM scratch 02:50:59 ---> 02:50:59 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:59 ---> Running in b7a0f829cacb 02:50:59 Removing intermediate container b7a0f829cacb 02:50:59 ---> b245462c3643 02:50:59 Step 12/24 : ENV APP_PORT=49990 02:50:59 ---> Running in 1bf7e1575859 02:50:59 Removing intermediate container 1bf7e1575859 02:50:59 ---> 1e437f2e5ad3 02:50:59 Step 13/24 : EXPOSE $APP_PORT 02:50:59 ---> Running in f4389071b313 02:51:00 Removing intermediate container f4389071b313 02:51:00 ---> 64ce7c495826 02:51:00 Step 14/24 : WORKDIR / 02:51:00 ---> Running in 26fcb390b5cc 02:51:00 Removing intermediate container 26fcb390b5cc 02:51:00 ---> 9dfc75650098 02:51:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:03 ---> a7a85dc65b34 02:51:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:03 ---> 33129dd2486d 02:51:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:03 ---> 5cdcd2b0d134 02:51:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:04 ---> 254ebabfe1ba 02:51:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:04 ---> bf5fdf2da27e 02:51:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:04 ---> Running in 5245d4d2e563 02:51:05 Removing intermediate container 5245d4d2e563 02:51:05 ---> 17dcd08fb3e7 02:51:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:05 ---> Running in b3e7f6689630 02:51:06 Removing intermediate container b3e7f6689630 02:51:06 ---> 916100c7cfa8 02:51:06 Step 22/24 : LABEL arch=arm64 02:51:06 ---> Running in 18c098c7191f 02:51:06 Removing intermediate container 18c098c7191f 02:51:06 ---> 3ba0219e9b3e 02:51:06 Step 23/24 : LABEL git_sha=bb87e66c1dbbcbb4541517146a28794a59b17456 02:51:06 ---> Running in d32c2dda1d1b 02:51:07 Removing intermediate container d32c2dda1d1b 02:51:07 ---> e601830cdbc0 02:51:07 Step 24/24 : LABEL version=0.0.0 02:51:07 ---> Running in ada2d7f37bfd 02:51:07 Removing intermediate container ada2d7f37bfd 02:51:07 ---> ca565fb871f8 02:51:07 [Warning] One or more build-args [ARCH] were not consumed 02:51:07 Successfully built ca565fb871f8 02:51:07 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:51:09 provisioning config files... 02:51:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/config8870961935223121432tmp [Pipeline] { [Pipeline] sh 02:51:09 + set +x 02:51:09 + bash -s -- 02:51:09 + curl -s https://codecov.io/bash 02:51:09 02:51:09 _____ _ 02:51:09 / ____| | | 02:51:09 | | ___ __| | ___ ___ _____ __ 02:51:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:09 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:09 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:09 Bash-20210115-cec3c92 02:51:09 02:51:09 02:51:09 ==> git version 2.24.3 found 02:51:10 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:51:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:10 ==> Jenkins CI detected. 02:51:10 project root: . 02:51:10 --> token set from env 02:51:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:10 ==> Running gcov in . (disable via -X gcov) 02:51:10 ==> Python coveragepy not found 02:51:10 ==> Searching for coverage reports in: 02:51:10 + . 02:51:10 -> Found 1 reports 02:51:10 ==> Detecting git/mercurial file structure 02:51:10 ==> Reading reports 02:51:10 + ./coverage.out bytes=136842 02:51:10 ==> Appending adjustments 02:51:10 https://docs.codecov.io/docs/fixing-reports 02:51:11 + Found adjustments 02:51:11 ==> Gzipping contents 02:51:11 24K /tmp/codecov.sZ34aZ.gz 02:51:11 ==> Uploading reports 02:51:11 url: https://codecov.io 02:51:11 query: branch=PR-757&commit=bb87e66c1dbbcbb4541517146a28794a59b17456&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-757%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=757&job=&cmd_args= 02:51:11 -> Pinging Codecov 02:51:11 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-757&commit=bb87e66c1dbbcbb4541517146a28794a59b17456&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-757%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=757&job=&cmd_args= 02:51:11 -> Uploading to 02:51:11 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/bb87e66c1dbbcbb4541517146a28794a59b17456/2e03c107-82a5-43cc-810c-93f8650056ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025111Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b16386289adcdfeff25ec6cb7fb601bf2a5bc8974ae8a94e4851f44c8bae1d2a 02:51:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:11 Dload Upload Total Spent Left Speed 02:51:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21528 0 0 100 21528 0 43181 --:--:-- --:--:-- --:--:-- 43142 100 21528 0 0 100 21528 0 43154 --:--:-- --:--:-- --:--:-- 43142 02:51:12 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bb87e66c1dbbcbb4541517146a28794a59b17456 [Pipeline] } 02:51:12 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 02:51:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:15 ---> package-listing.sh 02:51:15 ++ facter osfamily 02:51:15 ++ tr '[:upper:]' '[:lower:]' 02:51:15 + OS_FAMILY=redhat 02:51:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-757 02:51:15 + START_PACKAGES=/tmp/packages_start.txt 02:51:15 + END_PACKAGES=/tmp/packages_end.txt 02:51:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:15 + PACKAGES=/tmp/packages_start.txt 02:51:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-757 ']' 02:51:15 + PACKAGES=/tmp/packages_end.txt 02:51:15 + case "${OS_FAMILY}" in 02:51:15 + rpm -qa 02:51:15 + sort 02:51:23 + '[' -f /tmp/packages_start.txt ']' 02:51:23 + '[' -f /tmp/packages_end.txt ']' 02:51:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-757 ']' 02:51:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-757/archives/ 02:51:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-757/archives/ [Pipeline] echo 02:51:23 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-757/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:24 02:51:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:25 alpine: Pulling from edgex-lftools-log-publisher 02:51:25 df20fa9351a1: Pulling fs layer 02:51:25 36b3adc4ff6f: Pulling fs layer 02:51:25 8ad3a11d3b57: Pulling fs layer 02:51:25 46f8f816bc3b: Pulling fs layer 02:51:25 93b61091891f: Pulling fs layer 02:51:25 93b9cdb0e59b: Pulling fs layer 02:51:25 5e14af77c1be: Pulling fs layer 02:51:25 01666e4c0597: Pulling fs layer 02:51:25 aa168da1d23b: Pulling fs layer 02:51:25 46f8f816bc3b: Waiting 02:51:25 93b61091891f: Waiting 02:51:25 93b9cdb0e59b: Waiting 02:51:25 5e14af77c1be: Waiting 02:51:25 01666e4c0597: Waiting 02:51:25 aa168da1d23b: Waiting 02:51:26 36b3adc4ff6f: Verifying Checksum 02:51:26 36b3adc4ff6f: Download complete 02:51:26 46f8f816bc3b: Verifying Checksum 02:51:26 46f8f816bc3b: Download complete 02:51:26 df20fa9351a1: Verifying Checksum 02:51:26 df20fa9351a1: Download complete 02:51:26 93b9cdb0e59b: Download complete 02:51:26 5e14af77c1be: Verifying Checksum 02:51:26 5e14af77c1be: Download complete 02:51:26 01666e4c0597: Verifying Checksum 02:51:26 01666e4c0597: Download complete 02:51:27 93b61091891f: Verifying Checksum 02:51:27 93b61091891f: Download complete 02:51:27 df20fa9351a1: Pull complete 02:51:27 8ad3a11d3b57: Verifying Checksum 02:51:27 8ad3a11d3b57: Download complete 02:51:27 36b3adc4ff6f: Pull complete 02:51:30 8ad3a11d3b57: Pull complete 02:51:30 46f8f816bc3b: Pull complete 02:51:32 93b61091891f: Pull complete 02:51:33 93b9cdb0e59b: Pull complete 02:51:33 5e14af77c1be: Pull complete 02:51:34 01666e4c0597: Pull complete 02:51:34 aa168da1d23b: Verifying Checksum 02:51:34 aa168da1d23b: Download complete 02:51:50 aa168da1d23b: Pull complete 02:51:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:50 prd-centos7-docker-4c-2g-23322 does not seem to be running inside a container 02:51:50 $ 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-757/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-757 -v /w/workspace/dgexfoundry_device-sdk-go_PR-757:/w/workspace/dgexfoundry_device-sdk-go_PR-757:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:54 $ docker top 7088159fd4352cf716ef7f6389a28617249485ad55b7bbe5704edb14876b5024 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:55 + mkdir -p /var/log/sa [Pipeline] sh 02:51:55 + ls /var/log/sa-host 02:51:55 + sadf -c /var/log/sa-host/sa23 02:51:55 file_magic: OK 02:51:55 HZ: Using current value: 100 02:51:55 file_header: OK 02:51:55 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 02:51:55 Statistics: 02:51:55 Hnuu...uuuununununu... 02:51:55 File successfully converted to sysstat format version 12.2.1 02:51:55 + sadf -c /var/log/sa-host/sa27 02:51:55 file_magic: OK 02:51:55 HZ: Using current value: 100 02:51:55 file_header: OK 02:51:55 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 02:51:55 Statistics: 02:51:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:56 provisioning config files... 02:51:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp/config5849381204748797767tmp [Pipeline] { [Pipeline] echo 02:51:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:57 ---> create-netrc.sh [Pipeline] } 02:51:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:58 ---> python-tools-install.sh [Pipeline] echo 02:51:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:58 ---> sudo-logs.sh 02:51:58 Archiving 'sudo' log.. [Pipeline] echo 02:51:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:59 ---> job-cost.sh 02:51:59 lf-activate-venv: SKIPPING 02:51:59 INFO: No Stack... 02:52:00 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:01 INFO: Archiving Costs [Pipeline] echo 02:52:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:02 ---> logs-deploy.sh 02:52:02 lf-activate-venv: SKIPPING 02:52:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-757/2 02:52:02 INFO: archiving workspace using pattern(s): 02:52:05 Archives upload complete. 02:52:05 INFO: archiving logs to Nexus 02:52:06 ---> uname -a: 02:52:06 Linux prd-centos7-docker-4c-2g-23322.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:52:06 02:52:06 02:52:06 ---> lscpu: 02:52:06 Architecture: x86_64 02:52:06 CPU op-mode(s): 32-bit, 64-bit 02:52:06 Byte Order: Little Endian 02:52:06 Address sizes: 40 bits physical, 48 bits virtual 02:52:06 CPU(s): 4 02:52:06 On-line CPU(s) list: 0-3 02:52:06 Thread(s) per core: 1 02:52:06 Core(s) per socket: 1 02:52:06 Socket(s): 4 02:52:06 NUMA node(s): 1 02:52:06 Vendor ID: GenuineIntel 02:52:06 CPU family: 6 02:52:06 Model: 44 02:52:06 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:06 Stepping: 1 02:52:06 CPU MHz: 2933.438 02:52:06 BogoMIPS: 5866.87 02:52:06 Virtualization: VT-x 02:52:06 Hypervisor vendor: KVM 02:52:06 Virtualization type: full 02:52:06 L1d cache: 128 KiB 02:52:06 L1i cache: 128 KiB 02:52:06 L2 cache: 16 MiB 02:52:06 L3 cache: 64 MiB 02:52:06 NUMA node0 CPU(s): 0-3 02:52:06 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:06 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:06 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:06 Vulnerability Meltdown: Mitigation; PTI 02:52:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:06 Vulnerability Srbds: Not affected 02:52:06 Vulnerability Tsx async abort: Not affected 02:52:06 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 02:52:06 02:52:06 02:52:06 ---> nproc: 02:52:06 4 02:52:06 02:52:06 02:52:06 ---> df -h: 02:52:06 Filesystem Size Used Available Use% Mounted on 02:52:06 overlay 50.0G 7.3G 42.7G 15% / 02:52:06 tmpfs 64.0M 0 64.0M 0% /dev 02:52:06 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:06 shm 64.0M 0 64.0M 0% /dev/shm 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-757 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-757@tmp 02:52:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:06 02:52:06 02:52:06 ---> free -m: 02:52:06 total used free shared buff/cache available 02:52:06 Mem: 1837 727 108 0 1001 1005 02:52:06 Swap: 1023 1 1022 02:52:06 02:52:06 02:52:06 ---> ip addr: 02:52:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:06 inet 127.0.0.1/8 scope host lo 02:52:06 valid_lft forever preferred_lft forever 02:52:06 inet6 ::1/128 scope host 02:52:06 valid_lft forever preferred_lft forever 02:52:06 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:06 link/ether fa:16:3e:81:7a:27 brd ff:ff:ff:ff:ff:ff 02:52:06 inet 10.30.123.181/23 brd 10.30.123.255 scope global dynamic eth0 02:52:06 valid_lft 85762sec preferred_lft 85762sec 02:52:06 inet6 fe80::f816:3eff:fe81:7a27/64 scope link 02:52:06 valid_lft forever preferred_lft forever 02:52:06 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:06 link/ether 02:42:ba:a7:01:23 brd ff:ff:ff:ff:ff:ff 02:52:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:06 valid_lft forever preferred_lft forever 02:52:06 inet6 fe80::42:baff:fea7:123/64 scope link 02:52:06 valid_lft forever preferred_lft forever 02:52:06 02:52:06 02:52:06 ---> sar -b -r -n DEV: 02:52:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:52:06 02:52:06 02:41:13 LINUX RESTART (4 CPU) 02:52:06 02:52:06 02:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:06 02:43:01 60.43 34.59 25.84 0.00 5833.80 1739.03 0.00 02:52:06 02:44:02 32.37 8.16 24.20 0.00 1888.79 2238.45 0.00 02:52:06 02:45:01 1.96 0.00 1.96 0.00 0.00 43.81 0.00 02:52:06 02:46:01 0.23 0.00 0.23 0.00 0.00 3.44 0.00 02:52:06 02:47:01 0.20 0.00 0.20 0.00 0.00 2.61 0.00 02:52:06 02:48:01 0.32 0.00 0.32 0.00 0.00 4.43 0.00 02:52:06 02:49:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 02:52:06 02:50:01 0.23 0.00 0.23 0.00 0.00 3.13 0.00 02:52:06 02:51:01 0.28 0.00 0.28 0.00 0.00 3.48 0.00 02:52:06 Average: 10.66 4.72 5.94 0.00 854.01 448.73 0.00 02:52:06 02:52:06 02:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:06 02:43:01 75028 0 613024 32.58 2620 1190872 1331224 45.43 445276 1165460 11408 02:52:06 02:44:02 165140 0 639220 33.97 2620 1074564 1224864 41.80 440500 1073280 132 02:52:06 02:45:01 181492 0 622864 33.10 2620 1074568 1096664 37.43 440232 1059552 16 02:52:06 02:46:01 179656 0 624696 33.20 2620 1074572 1096712 37.43 438296 1063612 12 02:52:06 02:47:01 179468 0 624824 33.21 2620 1074632 1096724 37.43 450224 1051832 24 02:52:06 02:48:01 178484 0 625856 33.26 2620 1074584 1096760 37.43 451384 1051720 8 02:52:06 02:49:01 181776 0 622564 33.09 2620 1074584 1084232 37.00 449304 1051208 12 02:52:06 02:50:01 182800 0 621536 33.03 2620 1074588 1070868 36.55 448588 1050924 8 02:52:06 02:51:01 182948 0 621380 33.03 2620 1074596 1070868 36.55 448596 1050924 8 02:52:06 Average: 167421 0 623996 33.16 2620 1087507 1129880 38.56 445822 1068724 1292 02:52:06 02:52:06 02:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:06 02:43:01 eth0 229.66 175.50 759.53 98.47 0.00 0.00 0.00 0.00 02:52:06 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:44:02 eth0 113.04 89.78 393.81 70.43 0.00 0.00 0.00 0.00 02:52:06 02:44:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:44:02 docker0 10.73 10.19 1.51 24.35 0.00 0.00 0.00 0.00 02:52:06 02:45:01 eth0 5.62 1.42 1.65 0.77 0.00 0.00 0.00 0.00 02:52:06 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:46:01 eth0 3.73 0.98 1.01 0.66 0.00 0.00 0.00 0.00 02:52:06 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:47:01 eth0 4.35 0.88 1.08 0.56 0.00 0.00 0.00 0.00 02:52:06 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:48:01 eth0 1.76 1.00 0.96 0.69 0.00 0.00 0.00 0.00 02:52:06 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:49:01 eth0 0.60 0.32 0.28 0.21 0.00 0.00 0.00 0.00 02:52:06 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:50:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:52:06 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:51:01 eth0 0.55 0.10 0.05 0.01 0.00 0.00 0.00 0.00 02:52:06 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 Average: eth0 39.80 29.91 128.27 19.04 0.00 0.00 0.00 0.00 02:52:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:06 Average: docker0 1.20 1.14 0.17 2.72 0.00 0.00 0.00 0.00 02:52:06 02:52:06 02:52:06 ---> sar -P ALL: 02:52:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:52:06 02:52:06 02:41:13 LINUX RESTART (4 CPU) 02:52:06 02:52:06 02:42:02 CPU %user %nice %system %iowait %steal %idle 02:52:06 02:43:01 all 12.14 0.00 4.66 2.72 39.03 41.45 02:52:06 02:43:01 0 10.99 0.00 4.87 2.69 40.26 41.19 02:52:06 02:43:01 1 11.79 0.00 4.53 2.85 39.13 41.70 02:52:06 02:43:01 2 12.46 0.00 4.36 2.75 37.75 42.68 02:52:06 02:43:01 3 13.37 0.00 4.88 2.59 38.92 40.23 02:52:06 02:44:02 all 2.84 0.00 3.19 0.82 25.86 67.29 02:52:06 02:44:02 0 2.37 0.00 2.79 1.56 26.87 66.42 02:52:06 02:44:02 1 3.01 0.00 3.23 0.37 26.22 67.18 02:52:06 02:44:02 2 2.80 0.00 3.38 0.68 24.84 68.31 02:52:06 02:44:02 3 3.20 0.00 3.39 0.64 25.45 67.32 02:52:06 02:45:01 all 0.06 0.00 0.22 0.00 2.75 96.98 02:52:06 02:45:01 0 0.02 0.00 0.20 0.00 2.21 97.57 02:52:06 02:45:01 1 0.07 0.00 0.22 0.00 2.56 97.16 02:52:06 02:45:01 2 0.05 0.00 0.20 0.00 3.23 96.52 02:52:06 02:45:01 3 0.10 0.00 0.25 0.00 2.98 96.67 02:52:06 02:46:01 all 0.06 0.00 0.16 0.00 2.30 97.48 02:52:06 02:46:01 0 0.02 0.00 0.26 0.00 1.86 97.86 02:52:06 02:46:01 1 0.10 0.00 0.11 0.00 2.56 97.22 02:52:06 02:46:01 2 0.07 0.00 0.13 0.00 1.98 97.82 02:52:06 02:46:01 3 0.07 0.00 0.13 0.00 2.78 97.02 02:52:06 02:47:01 all 0.05 0.00 0.06 0.00 1.64 98.25 02:52:06 02:47:01 0 0.02 0.00 0.02 0.00 1.22 98.75 02:52:06 02:47:01 1 0.07 0.00 0.08 0.00 1.28 98.57 02:52:06 02:47:01 2 0.08 0.00 0.08 0.00 2.03 97.81 02:52:06 02:47:01 3 0.02 0.00 0.05 0.00 2.04 97.89 02:52:06 02:48:01 all 0.07 0.00 0.09 0.00 2.07 97.77 02:52:06 02:48:01 0 0.12 0.00 0.03 0.00 1.17 98.68 02:52:06 02:48:01 1 0.11 0.00 0.05 0.00 2.16 97.67 02:52:06 02:48:01 2 0.03 0.00 0.21 0.00 1.76 97.99 02:52:06 02:48:01 3 0.03 0.00 0.06 0.00 3.14 96.76 02:52:06 02:49:01 all 0.09 0.00 0.03 0.00 0.83 99.05 02:52:06 02:49:01 0 0.30 0.00 0.02 0.00 1.51 98.17 02:52:06 02:49:01 1 0.03 0.00 0.03 0.00 0.40 99.54 02:52:06 02:49:01 2 0.03 0.00 0.05 0.00 0.58 99.34 02:52:06 02:49:01 3 0.00 0.00 0.02 0.00 0.84 99.14 02:52:06 02:50:01 all 0.06 0.00 0.17 0.00 1.94 97.83 02:52:06 02:50:01 0 0.17 0.00 0.50 0.00 1.33 98.01 02:52:06 02:50:01 1 0.02 0.00 0.05 0.00 1.76 98.17 02:52:06 02:50:01 2 0.03 0.00 0.07 0.00 2.44 97.46 02:52:06 02:50:01 3 0.02 0.00 0.08 0.00 2.23 97.67 02:52:06 02:51:01 all 0.06 0.00 0.02 0.00 0.79 99.13 02:52:06 02:51:01 0 0.15 0.00 0.02 0.00 0.53 99.30 02:52:06 02:51:01 1 0.03 0.00 0.00 0.00 0.84 99.12 02:52:06 02:51:01 2 0.03 0.00 0.07 0.00 1.07 98.83 02:52:06 02:51:01 3 0.02 0.00 0.02 0.00 0.70 99.27 02:52:06 Average: all 1.82 0.00 1.02 0.42 9.07 87.68 02:52:06 Average: 0 1.69 0.00 1.04 0.52 9.25 87.50 02:52:06 Average: 1 1.81 0.00 0.99 0.38 9.07 87.76 02:52:06 Average: 2 1.82 0.00 1.00 0.40 8.82 87.96 02:52:06 Average: 3 1.95 0.00 1.03 0.37 9.14 87.51 02:52:06 02:52:06 02:52:06