Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (f5bfc3b667a6831162c9edeef0e38c60f8172209) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20743 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 Checking out Revision d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 (PR-725) > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 # timeout=10 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:11 ========================================================= 02:45:11 EdgeX Global Pipelines Version Info 02:45:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:13 ------------------- 02:45:13 stable info: 02:45:13 ------------------- 02:45:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:13 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 02:45:13 Message: update stable to v1.0.177 02:45:14 ------------------- 02:45:14 experimental info: 02:45:14 ------------------- 02:45:14 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:14 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 02:45:14 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74631b [Pipeline] echo 02:45:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:17 provisioning config files... 02:45:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4835681195295068130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:18 ---> docker-login.sh 02:45:18 nexus3.edgexfoundry.org:10001 02:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:18 Configure a credential helper to remove this warning. See 02:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:18 02:45:18 Login Succeeded 02:45:18 nexus3.edgexfoundry.org:10002 02:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:18 Configure a credential helper to remove this warning. See 02:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:18 02:45:18 Login Succeeded 02:45:18 nexus3.edgexfoundry.org:10003 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 nexus3.edgexfoundry.org:10004 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 docker.io 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 ---> docker-login.sh ends [Pipeline] } 02:45:19 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:45:20 + git log --format=format:%s -1 d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [Pipeline] echo 02:45:20 GIT_COMMIT: d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69, Commit Message: Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD [Pipeline] echo 02:45:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:45:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:21 02:45:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:21 latest: Pulling from edgex-devops/git-semver 02:45:21 31603596830f: Pulling fs layer 02:45:21 2a8b12db71e7: Pulling fs layer 02:45:21 6ca5941a6612: Pulling fs layer 02:45:21 ecc8261a40a4: Pulling fs layer 02:45:21 ecc8261a40a4: Waiting 02:45:21 2a8b12db71e7: Verifying Checksum 02:45:21 2a8b12db71e7: Download complete 02:45:21 31603596830f: Download complete 02:45:22 ecc8261a40a4: Verifying Checksum 02:45:22 ecc8261a40a4: Download complete 02:45:22 6ca5941a6612: Verifying Checksum 02:45:22 6ca5941a6612: Download complete 02:45:22 31603596830f: Pull complete 02:45:22 2a8b12db71e7: Pull complete 02:45:23 6ca5941a6612: Pull complete 02:45:23 ecc8261a40a4: Pull complete 02:45:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:45:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:23 prd-centos7-docker-4c-2g-20743 does not seem to be running inside a container 02:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:45:25 $ docker top 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:26 [ssh-agent] Looking for ssh-agent implementation... 02:45:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:26 $ docker exec 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent 02:45:26 SSH_AUTH_SOCK=/tmp/ssh-9a5nFTHeclx0/agent.13 02:45:26 SSH_AGENT_PID=18 02:45:26 Running ssh-add (command line suppressed) 02:45:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1686658237351268554.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1686658237351268554.key) 02:45:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:27 + git tag --points-at HEAD [Pipeline] } 02:45:27 $ docker exec --env ******** --env ******** 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent -k 02:45:27 unset SSH_AUTH_SOCK; 02:45:27 unset SSH_AGENT_PID; 02:45:27 echo Agent pid 18 killed; 02:45:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:27 [ssh-agent] Looking for ssh-agent implementation... 02:45:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:27 $ docker exec 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent 02:45:27 SSH_AUTH_SOCK=/tmp/ssh-DrOZKYGQBm9U/agent.47 02:45:27 SSH_AGENT_PID=52 02:45:27 Running ssh-add (command line suppressed) 02:45:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7190269905228027330.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7190269905228027330.key) 02:45:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:28 + git semver init 02:45:28 # -> Open(): unable to determine branch for HEAD 02:45:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:45:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:45:28 # $SEMVER_REMOTE_NAME = origin 02:45:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:45:28 # $SEMVER_USER_NAME = edgex-jenkins 02:45:28 # $SEMVER_BRANCH = PR-725 02:45:28 # $SEMVER_TEMP = /tmp/semver-726082863 02:45:28 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:45:29 # '/tmp/semver-726082863' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:45:29 # -> Force: false 02:45:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:45:29 $ docker exec --env ******** --env ******** 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent -k 02:45:29 unset SSH_AUTH_SOCK; 02:45:29 unset SSH_AGENT_PID; 02:45:29 echo Agent pid 52 killed; 02:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:29 + git semver [Pipeline] } 02:45:29 $ docker stop --time=1 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be 02:45:31 $ docker rm -f 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be [Pipeline] // withDockerContainer [Pipeline] sh 02:45:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:32 Stashed 1 file(s) [Pipeline] echo 02:45:32 [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:45:47 Still waiting to schedule task 02:45:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:45:47 Still waiting to schedule task 02:45:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:46:03 Running on prd-centos7-docker-4c-2g-20747 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:46:03 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:46:06 using credential edgex-jenkins-ssh 02:46:06 Cloning the remote Git repository 02:46:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:06 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:06 > git --version # timeout=10 02:46:06 > git --version # 'git version 2.24.3' 02:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:08 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:08 Merge succeeded, producing f8252439fbca94e140908581e2e54406c478b3b0 02:46:08 Checking out Revision f8252439fbca94e140908581e2e54406c478b3b0 (PR-725) 02:46:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:08 > git config core.sparsecheckout # timeout=10 02:46:08 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:08 > git remote # timeout=10 02:46:08 > git config --get remote.origin.url # timeout=10 02:46:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:08 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 02:46:08 > git rev-parse HEAD^{commit} # timeout=10 02:46:08 > git config core.sparsecheckout # timeout=10 02:46:08 > git checkout -f f8252439fbca94e140908581e2e54406c478b3b0 # timeout=10 02:46:12 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" 02:46:12 First time build. Skipping changelog. 02:46:12 > git rev-list --no-walk e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:46:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:14 + sudo service docker restart 02:46:14 + true 02:46:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:15 provisioning config files... 02:46:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6347854198376040813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:15 ---> docker-login.sh 02:46:15 nexus3.edgexfoundry.org:10001 02:46:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:15 Configure a credential helper to remove this warning. See 02:46:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:15 02:46:15 Login Succeeded 02:46:16 nexus3.edgexfoundry.org:10002 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 nexus3.edgexfoundry.org:10003 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 nexus3.edgexfoundry.org:10004 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 docker.io 02:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:16 Configure a credential helper to remove this warning. See 02:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:16 02:46:16 Login Succeeded 02:46:16 ---> docker-login.sh ends [Pipeline] } 02:46:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:17 ========================================================= 02:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:17 + 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:46:17 Sending build context to Docker daemon 2.592MB 02:46:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:17 Step 2/8 : FROM ${BASE} 02:46:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:18 188c0c94c7c5: Pulling fs layer 02:46:18 0ef7d3d256c8: Pulling fs layer 02:46:18 de9db76c5a1d: Pulling fs layer 02:46:18 bca2f99d35d6: Pulling fs layer 02:46:18 93359f2a8cfa: Pulling fs layer 02:46:18 7c6f9722023f: Pulling fs layer 02:46:18 a35cf1a2eb13: Pulling fs layer 02:46:18 93359f2a8cfa: Waiting 02:46:18 7c6f9722023f: Waiting 02:46:18 a35cf1a2eb13: Waiting 02:46:18 bca2f99d35d6: Waiting 02:46:18 de9db76c5a1d: Download complete 02:46:18 0ef7d3d256c8: Download complete 02:46:18 93359f2a8cfa: Verifying Checksum 02:46:18 93359f2a8cfa: Download complete 02:46:19 7c6f9722023f: Verifying Checksum 02:46:19 7c6f9722023f: Download complete 02:46:19 188c0c94c7c5: Verifying Checksum 02:46:19 188c0c94c7c5: Download complete 02:46:19 188c0c94c7c5: Pull complete 02:46:20 0ef7d3d256c8: Pull complete 02:46:20 de9db76c5a1d: Pull complete 02:46:21 a35cf1a2eb13: Verifying Checksum 02:46:21 a35cf1a2eb13: Download complete 02:46:22 bca2f99d35d6: Download complete 02:46:29 bca2f99d35d6: Pull complete 02:46:29 93359f2a8cfa: Pull complete 02:46:29 7c6f9722023f: Pull complete 02:46:36 a35cf1a2eb13: Pull complete 02:46:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:36 ---> a62c8e92a672 02:46:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:36 ---> Running in 636186dcb2c4 02:46:36 Removing intermediate container 636186dcb2c4 02:46:36 ---> b54f71240589 02:46:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:36 ---> Running in 47e015ab0792 02:46:37 Removing intermediate container 47e015ab0792 02:46:37 ---> fa3e94d18e77 02:46:37 Step 5/8 : RUN apk add --update --no-cache make git 02:46:37 ---> Running in d2ddaf3ffe07 02:46:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:40 OK: 166 MiB in 39 packages 02:46:40 Removing intermediate container d2ddaf3ffe07 02:46:40 ---> 48be87a95509 02:46:40 Step 6/8 : WORKDIR /device-sdk-go 02:46:40 ---> Running in eea6408acc4f 02:46:40 Removing intermediate container eea6408acc4f 02:46:40 ---> cfe2e3335321 02:46:40 Step 7/8 : COPY . . 02:46:41 ---> 4050c3970020 02:46:41 Step 8/8 : RUN go mod download 02:46:41 ---> Running in 72b14e8607fa 02:47:00 Removing intermediate container 72b14e8607fa 02:47:00 ---> 74ac91566669 02:47:00 Successfully built 74ac91566669 02:47:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:00 + docker inspect -f . ci-base-image-x86_64 02:47:00 . [Pipeline] withDockerContainer 02:47:00 prd-centos7-docker-4c-2g-20747 does not seem to be running inside a container 02:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:01 $ docker top 0495a40a1115d5b05a67630d3d1025335cab3bb094d563c328a6125b79ccecbd -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:02 + go version 02:47:02 go version go1.15.5 linux/amd64 [Pipeline] } 02:47:02 $ docker stop --time=1 0495a40a1115d5b05a67630d3d1025335cab3bb094d563c328a6125b79ccecbd 02:47:03 $ docker rm -f 0495a40a1115d5b05a67630d3d1025335cab3bb094d563c328a6125b79ccecbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:04 + docker inspect -f . ci-base-image-x86_64 02:47:04 . [Pipeline] withDockerContainer 02:47:04 prd-centos7-docker-4c-2g-20747 does not seem to be running inside a container 02:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:05 $ docker top 60903f7d52135c707e589cfefd87163fa916b655e3a57238723a34f37309cb40 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:05 + make test 02:47:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 19.4% of statements 02:47:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.467s coverage: 97.1% of statements 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 9.4% of statements 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 21.7% of statements 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.246s coverage: 42.9% of statements 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.292s coverage: 68.9% of statements 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 30.4% of statements 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.477s coverage: 68.9% of statements 02:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.2% of statements 02:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:05 GO111MODULE=on go vet ./... 02:48:12 gofmt -l . 02:48:12 [ "`gofmt -l .`" = "" ] 02:48:12 ./bin/test-attribution-txt.sh 02:48:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:13 $ docker stop --time=1 60903f7d52135c707e589cfefd87163fa916b655e3a57238723a34f37309cb40 02:48:15 $ docker rm -f 60903f7d52135c707e589cfefd87163fa916b655e3a57238723a34f37309cb40 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:17 + ls -al . 02:48:17 total 220 02:48:17 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 16 02:48 . 02:48:17 drwxrwxr-x. 4 jenkins jenkins 28 Jan 16 02:46 .. 02:48:17 drwxrwxr-x. 2 jenkins jenkins 64 Jan 16 02:46 bin 02:48:17 -rw-r--r--. 1 jenkins jenkins 142787 Jan 16 02:48 coverage.out 02:48:17 -rw-rw-r--. 1 jenkins jenkins 949 Jan 16 02:46 Dockerfile.build 02:48:17 -rw-rw-r--. 1 jenkins jenkins 140 Jan 16 02:46 .dockerignore 02:48:17 drwxrwxr-x. 4 jenkins jenkins 48 Jan 16 02:46 example 02:48:17 drwxrwxr-x. 8 jenkins jenkins 179 Jan 16 02:46 .git 02:48:17 drwxrwxr-x. 2 jenkins jenkins 103 Jan 16 02:46 .github 02:48:17 -rw-rw-r--. 1 jenkins jenkins 138 Jan 16 02:46 .gitignore 02:48:17 -rw-r--r--. 1 jenkins jenkins 491 Jan 16 02:48 go.mod 02:48:17 -rw-r--r--. 1 jenkins jenkins 14124 Jan 16 02:48 go.sum 02:48:17 drwxrwxr-x. 15 jenkins jenkins 211 Jan 16 02:46 internal 02:48:17 -rw-rw-r--. 1 jenkins jenkins 894 Jan 16 02:46 Jenkinsfile 02:48:17 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 16 02:46 LICENSE 02:48:17 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 16 02:46 Makefile 02:48:17 drwxrwxr-x. 4 jenkins jenkins 26 Jan 16 02:46 openapi 02:48:17 drwxrwxr-x. 5 jenkins jenkins 50 Jan 16 02:46 pkg 02:48:17 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 16 02:46 README.md 02:48:17 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 16 02:46 RELEASE-NOTES.txt 02:48:17 drwxrwxr-x. 4 jenkins jenkins 54 Jan 16 02:46 snap 02:48:17 -rw-rw-r--. 1 jenkins jenkins 5 Jan 16 02:45 VERSION 02:48:17 -rw-rw-r--. 1 jenkins jenkins 222 Jan 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:18 + docker build -t 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=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 --label arch=amd64 --label version=0.0.0 . 02:48:18 Sending build context to Docker daemon 2.736MB 02:48:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:48:18 Step 2/24 : FROM ${BASE} AS builder 02:48:18 ---> 74ac91566669 02:48:18 Step 3/24 : ARG MAKE='make build' 02:48:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20748 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:48:18 Running in /w/workspace/device-sdk-go/4 [Pipeline] { 02:48:18 ---> Running in 2992ad658eda [Pipeline] checkout 02:48:19 Removing intermediate container 2992ad658eda 02:48:19 ---> 1d70491c6ae2 02:48:19 Step 4/24 : WORKDIR /device-sdk-go 02:48:19 ---> Running in 86c09752567e 02:48:19 Removing intermediate container 86c09752567e 02:48:19 ---> 974b3d001bee 02:48:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:19 ---> Running in c4c5c85a4615 02:48:19 Removing intermediate container c4c5c85a4615 02:48:19 ---> 201ad834ccf7 02:48:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:19 ---> Running in d810c35edd4d 02:48:21 Removing intermediate container d810c35edd4d 02:48:21 ---> 6fcdea6074a3 02:48:21 Step 7/24 : RUN apk add --update --no-cache make git 02:48:21 ---> Running in 8400e79494e5 02:48:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:22 OK: 166 MiB in 39 packages 02:48:23 Removing intermediate container 8400e79494e5 02:48:23 ---> 16df54851051 02:48:23 Step 8/24 : COPY . . 02:48:23 using credential edgex-jenkins-ssh 02:48:23 Cloning the remote Git repository 02:48:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:48:24 ---> 227802ff0a25 02:48:24 Step 9/24 : RUN ${MAKE} 02:48:24 ---> Running in ef62b1016236 02:48:24 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:48:24 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:48:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:24 > git --version # timeout=10 02:48:24 > git --version # 'git version 2.17.1' 02:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:26 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:48:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:48:26 > git config core.sparsecheckout # timeout=10 02:48:26 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:48:26 > git remote # timeout=10 02:48:26 > git config --get remote.origin.url # timeout=10 02:48:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:26 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 02:48:26 Merge succeeded, producing cf81dfe295979d939252b98effba66ad563431e2 02:48:26 Checking out Revision cf81dfe295979d939252b98effba66ad563431e2 (PR-725) 02:48:26 > git rev-parse HEAD^{commit} # timeout=10 02:48:26 > git config core.sparsecheckout # timeout=10 02:48:26 > git checkout -f cf81dfe295979d939252b98effba66ad563431e2 # timeout=10 02:48:31 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" 02:48:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:31 > git rev-list --no-walk e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 02:48:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:48:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:48:33 + sudo service docker restart 02:48:33 + true 02:48:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:48:36 provisioning config files... 02:48:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4338638121805557582tmp [Pipeline] { 02:48:36 Removing intermediate container ef62b1016236 02:48:36 ---> 6c76f0a62fca 02:48:36 Step 10/24 : FROM scratch 02:48:36 ---> 02:48:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:36 ---> Running in 5913e4e4dee0 [Pipeline] libraryResource [Pipeline] sh 02:48:36 Removing intermediate container 5913e4e4dee0 02:48:36 ---> ccea30910b52 02:48:36 Step 12/24 : ENV APP_PORT=49990 02:48:36 ---> Running in 0de521cdc407 02:48:36 Removing intermediate container 0de521cdc407 02:48:36 ---> 0ed49ae6b19d 02:48:36 Step 13/24 : EXPOSE $APP_PORT 02:48:36 ---> docker-login.sh 02:48:36 nexus3.edgexfoundry.org:10001 02:48:36 ---> Running in 588b877d60cc 02:48:36 Removing intermediate container 588b877d60cc 02:48:36 ---> f37e6811f867 02:48:36 Step 14/24 : WORKDIR / 02:48:36 ---> Running in 99bafbe7f630 02:48:37 Removing intermediate container 99bafbe7f630 02:48:37 ---> f0d755127146 02:48:37 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:37 ---> 61eca87ec3ec 02:48:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:37 Configure a credential helper to remove this warning. See 02:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:37 02:48:37 Login Succeeded 02:48:37 nexus3.edgexfoundry.org:10002 02:48:38 ---> c133b38ddd8a 02:48:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:38 ---> d9998a392242 02:48:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:38 ---> e72beb1af49e 02:48:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:38 Configure a credential helper to remove this warning. See 02:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:38 02:48:38 Login Succeeded 02:48:38 nexus3.edgexfoundry.org:10003 02:48:38 ---> f1c61b29240e 02:48:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:38 ---> Running in bf08567f9420 02:48:38 Removing intermediate container bf08567f9420 02:48:38 ---> dfcdc9ba18eb 02:48:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:39 ---> Running in 613f0c32f6ec 02:48:39 Removing intermediate container 613f0c32f6ec 02:48:39 ---> 2a8e340c0794 02:48:39 Step 22/24 : LABEL arch=amd64 02:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:39 Configure a credential helper to remove this warning. See 02:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:39 02:48:39 Login Succeeded 02:48:39 nexus3.edgexfoundry.org:10004 02:48:39 ---> Running in 7e7e4171f8b9 02:48:39 Removing intermediate container 7e7e4171f8b9 02:48:39 ---> c647a3406654 02:48:39 Step 23/24 : LABEL git_sha=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 02:48:39 ---> Running in 4421d391831a 02:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:39 Removing intermediate container 4421d391831a 02:48:39 ---> 2792dddca3ed 02:48:39 Step 24/24 : LABEL version=0.0.0 02:48:39 ---> Running in 9853b48d5fca 02:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:39 Configure a credential helper to remove this warning. See 02:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:39 02:48:39 Login Succeeded 02:48:39 docker.io 02:48:39 Removing intermediate container 9853b48d5fca 02:48:39 ---> 7d36c448c905 02:48:39 [Warning] One or more build-args [ARCH] were not consumed 02:48:39 Successfully built 7d36c448c905 02:48:39 Successfully tagged device-sdk-simple:latest [Pipeline] } 02:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [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 02:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:40 Configure a credential helper to remove this warning. See 02:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:40 02:48:40 Login Succeeded 02:48:40 ---> docker-login.sh ends [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } 02:48:40 Deleting 1 temporary files [Pipeline] // withEnv [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 02:48:41 ========================================================= 02:48:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:48:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:41 + 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:48:42 Sending build context to Docker daemon 2.591MB 02:48:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:48:42 Step 2/8 : FROM ${BASE} 02:48:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:48:42 5f621e34cdf4: Pulling fs layer 02:48:42 a4357932f1b6: Pulling fs layer 02:48:42 18c013af1878: Pulling fs layer 02:48:42 00ac8860ef70: Pulling fs layer 02:48:42 63d7cb157983: Pulling fs layer 02:48:42 b116817d02f9: Pulling fs layer 02:48:42 745a02a5169b: Pulling fs layer 02:48:42 00ac8860ef70: Waiting 02:48:42 63d7cb157983: Waiting 02:48:42 b116817d02f9: Waiting 02:48:42 745a02a5169b: Waiting 02:48:42 a4357932f1b6: Verifying Checksum 02:48:42 a4357932f1b6: Download complete 02:48:42 63d7cb157983: Download complete 02:48:42 b116817d02f9: Verifying Checksum 02:48:42 b116817d02f9: Download complete 02:48:42 5f621e34cdf4: Verifying Checksum 02:48:42 5f621e34cdf4: Download complete 02:48:43 5f621e34cdf4: Pull complete 02:48:43 a4357932f1b6: Pull complete 02:48:44 18c013af1878: Pull complete 02:48:45 745a02a5169b: Verifying Checksum 02:48:45 745a02a5169b: Download complete 02:48:46 00ac8860ef70: Verifying Checksum 02:48:46 00ac8860ef70: Download complete 02:48:56 00ac8860ef70: Pull complete 02:48:56 63d7cb157983: Pull complete 02:48:56 b116817d02f9: Pull complete 02:48:59 745a02a5169b: Pull complete 02:48:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:59 ---> b7e6874047d6 02:48:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:03 ---> Running in e85527bc895e 02:49:03 Removing intermediate container e85527bc895e 02:49:03 ---> ce99820a506c 02:49:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:03 ---> Running in a516b5e130bd 02:49:05 Removing intermediate container a516b5e130bd 02:49:05 ---> a25d929dd7c5 02:49:05 Step 5/8 : RUN apk add --update --no-cache make git 02:49:05 ---> Running in 1786ab8a80ee 02:49:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:08 OK: 142 MiB in 39 packages 02:49:09 Removing intermediate container 1786ab8a80ee 02:49:09 ---> 9683141fcb7c 02:49:09 Step 6/8 : WORKDIR /device-sdk-go 02:49:09 ---> Running in 62f6a0eec4e5 02:49:09 Removing intermediate container 62f6a0eec4e5 02:49:09 ---> f10824e0164e 02:49:09 Step 7/8 : COPY . . 02:49:10 ---> 14d55fe7eaeb 02:49:10 Step 8/8 : RUN go mod download 02:49:11 ---> Running in 11b244efd8e2 02:49:33 Removing intermediate container 11b244efd8e2 02:49:33 ---> 2dd04aaad09e 02:49:33 Successfully built 2dd04aaad09e 02:49:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:49:33 + docker inspect -f . ci-base-image-arm64 02:49:33 . [Pipeline] withDockerContainer 02:49:33 prd-ubuntu18.04-docker-arm64-4c-16g-20748 does not seem to be running inside a container 02:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:49:35 $ docker top ed05b76f650d656ebce33c2dc335356878ac90a1c34b63dd420aa2380b267065 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:36 + go version 02:49:36 go version go1.15.5 linux/arm64 [Pipeline] } 02:49:36 $ docker stop --time=1 ed05b76f650d656ebce33c2dc335356878ac90a1c34b63dd420aa2380b267065 02:49:38 $ docker rm -f ed05b76f650d656ebce33c2dc335356878ac90a1c34b63dd420aa2380b267065 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:39 + docker inspect -f . ci-base-image-arm64 02:49:39 . [Pipeline] withDockerContainer 02:49:39 prd-ubuntu18.04-docker-arm64-4c-16g-20748 does not seem to be running inside a container 02:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:49:41 $ docker top 263b517e69150723e710d7ddf7961828e7a6d3ce8ece37705ffbc82e39bbfcfc -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:42 + make test 02:49:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.162s coverage: 19.4% of statements 02:50:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.200s coverage: 97.1% of statements 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.193s coverage: 9.4% of statements 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.685s coverage: 42.9% of statements 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.730s coverage: 68.9% of statements 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s coverage: 30.4% of statements 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.995s coverage: 68.9% of statements 02:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements 02:51:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:51:21 GO111MODULE=on go vet ./... 02:51:54 gofmt -l . 02:51:54 [ "`gofmt -l .`" = "" ] 02:51:54 ./bin/test-attribution-txt.sh 02:51:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:54 $ docker stop --time=1 263b517e69150723e710d7ddf7961828e7a6d3ce8ece37705ffbc82e39bbfcfc 02:51:56 $ docker rm -f 263b517e69150723e710d7ddf7961828e7a6d3ce8ece37705ffbc82e39bbfcfc [Pipeline] // withDockerContainer [Pipeline] sh 02:51:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:57 Warning: overwriting stash ‘coverage-report’ 02:51:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:00 + ls -al . 02:52:00 total 256 02:52:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 02:51 . 02:52:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 .. 02:52:00 -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 02:48 .dockerignore 02:52:00 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 02:48 .git 02:52:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:48 .github 02:52:00 -rw-rw-r-- 1 jenkins jenkins 138 Jan 16 02:48 .gitignore 02:52:00 -rw-rw-r-- 1 jenkins jenkins 949 Jan 16 02:48 Dockerfile.build 02:52:00 -rw-rw-r-- 1 jenkins jenkins 894 Jan 16 02:48 Jenkinsfile 02:52:00 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 02:48 LICENSE 02:52:00 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 16 02:48 Makefile 02:52:00 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 16 02:48 README.md 02:52:00 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 16 02:48 RELEASE-NOTES.txt 02:52:00 -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 02:45 VERSION 02:52:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:48 bin 02:52:00 -rw-r--r-- 1 jenkins jenkins 142787 Jan 16 02:51 coverage.out 02:52:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 example 02:52:00 -rw-r--r-- 1 jenkins jenkins 491 Jan 16 02:51 go.mod 02:52:00 -rw-r--r-- 1 jenkins jenkins 14124 Jan 16 02:51 go.sum 02:52:00 drwxrwxr-x 15 jenkins jenkins 4096 Jan 16 02:48 internal 02:52:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 openapi 02:52:00 drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 02:48 pkg 02:52:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 snap 02:52:00 -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 02:48 version.go [Pipeline] isUnix [Pipeline] sh 02:52:00 + docker build -t 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=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 --label arch=arm64 --label version=0.0.0 . 02:52:01 Sending build context to Docker daemon 2.735MB 02:52:01 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:52:01 Step 2/24 : FROM ${BASE} AS builder 02:52:01 ---> 2dd04aaad09e 02:52:01 Step 3/24 : ARG MAKE='make build' 02:52:01 ---> Running in 3e3545a1771f 02:52:01 Removing intermediate container 3e3545a1771f 02:52:01 ---> 4db25885913d 02:52:01 Step 4/24 : WORKDIR /device-sdk-go 02:52:01 ---> Running in 77bd6a524e38 02:52:02 Removing intermediate container 77bd6a524e38 02:52:02 ---> e57d80a0881b 02:52:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:02 ---> Running in cdfa75a904dc 02:52:03 Removing intermediate container cdfa75a904dc 02:52:03 ---> fe9527299a65 02:52:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:03 ---> Running in f20ea2ac09ed 02:52:05 Removing intermediate container f20ea2ac09ed 02:52:05 ---> c36863e2c2ec 02:52:05 Step 7/24 : RUN apk add --update --no-cache make git 02:52:05 ---> Running in 43e855e0f884 02:52:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:52:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:52:07 OK: 142 MiB in 39 packages 02:52:08 Removing intermediate container 43e855e0f884 02:52:08 ---> 27ce645be91f 02:52:08 Step 8/24 : COPY . . 02:52:10 ---> 85058de655d6 02:52:10 Step 9/24 : RUN ${MAKE} 02:52:10 ---> Running in bd8f120a87aa 02:52:11 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:52:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:38 Removing intermediate container bd8f120a87aa 02:52:38 ---> 0c83f1511a26 02:52:38 Step 10/24 : FROM scratch 02:52:38 ---> 02:52:38 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:38 ---> Running in 20a45f75f517 02:52:39 Removing intermediate container 20a45f75f517 02:52:39 ---> abce5d83cee4 02:52:39 Step 12/24 : ENV APP_PORT=49990 02:52:39 ---> Running in 1d61fc97e69c 02:52:39 Removing intermediate container 1d61fc97e69c 02:52:39 ---> fc9399d3be90 02:52:39 Step 13/24 : EXPOSE $APP_PORT 02:52:39 ---> Running in c68cdd45fdea 02:52:39 Removing intermediate container c68cdd45fdea 02:52:39 ---> 2ab9e61581c9 02:52:39 Step 14/24 : WORKDIR / 02:52:40 ---> Running in 1c2b6805ebe4 02:52:40 Removing intermediate container 1c2b6805ebe4 02:52:40 ---> d1bfa8cb9ec8 02:52:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:41 ---> 6efdc770122d 02:52:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:42 ---> d4c9aba21937 02:52:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:42 ---> 43651ece4c42 02:52:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:43 ---> d02077196835 02:52:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:44 ---> 8bf2b71f822e 02:52:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:44 ---> Running in 7ff5d081b078 02:52:44 Removing intermediate container 7ff5d081b078 02:52:44 ---> dacb3df80e29 02:52:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:44 ---> Running in 722e0ddaafcd 02:52:45 Removing intermediate container 722e0ddaafcd 02:52:45 ---> 69981468e6ad 02:52:45 Step 22/24 : LABEL arch=arm64 02:52:45 ---> Running in 854a33a27a00 02:52:46 Removing intermediate container 854a33a27a00 02:52:46 ---> 81ec0586d22a 02:52:46 Step 23/24 : LABEL git_sha=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 02:52:46 ---> Running in 0a5816421ecc 02:52:46 Removing intermediate container 0a5816421ecc 02:52:46 ---> 9355bd5bdd5f 02:52:46 Step 24/24 : LABEL version=0.0.0 02:52:46 ---> Running in e6bfd55cc712 02:52:47 Removing intermediate container e6bfd55cc712 02:52:47 ---> 4017d196e0e2 02:52:47 [Warning] One or more build-args [ARCH] were not consumed 02:52:47 Successfully built 4017d196e0e2 02:52:47 Successfully tagged 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:52:49 provisioning config files... 02:52:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config839101420015371631tmp [Pipeline] { [Pipeline] sh 02:52:49 + set +x 02:52:49 + curl -s https://codecov.io/bash 02:52:49 + bash -s -- 02:52:49 02:52:49 _____ _ 02:52:49 / ____| | | 02:52:49 | | ___ __| | ___ ___ _____ __ 02:52:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:49 Bash-20210115-cec3c92 02:52:49 02:52:49 02:52:49 ==> git version 2.24.3 found 02:52:49 ==> 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:52:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:49 ==> Jenkins CI detected. 02:52:49 project root: . 02:52:49 --> token set from env 02:52:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:49 ==> Running gcov in . (disable via -X gcov) 02:52:49 ==> Python coveragepy not found 02:52:49 ==> Searching for coverage reports in: 02:52:49 + . 02:52:49 -> Found 1 reports 02:52:49 ==> Detecting git/mercurial file structure 02:52:49 ==> Reading reports 02:52:49 + ./coverage.out bytes=142787 02:52:49 ==> Appending adjustments 02:52:49 https://docs.codecov.io/docs/fixing-reports 02:52:50 + Found adjustments 02:52:50 ==> Gzipping contents 02:52:50 24K /tmp/codecov.GR3P2A.gz 02:52:50 ==> Uploading reports 02:52:50 url: https://codecov.io 02:52:50 query: branch=PR-725&commit=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:50 -> Pinging Codecov 02:52:50 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-725&commit=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:50 -> Uploading to 02:52:50 https://storage.googleapis.com/codecov/v4/raw/2021-01-16/7E55EF52A471D76F132DFD9A03CDDE97/d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69/8b046bb4-fc8f-4846-abb9-5c9ce6069a39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210116T025250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8a143d572ad604fea23d95acf805db77ac8f1c7a691d1da0230ce8ad68e9324 02:52:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:50 Dload Upload Total Spent Left Speed 02:52:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22131 0 0 100 22131 0 42987 --:--:-- --:--:-- --:--:-- 43056 02:52:51 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [Pipeline] } 02:52:51 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:52:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:54 ---> package-listing.sh 02:52:54 ++ facter osfamily 02:52:54 ++ tr '[:upper:]' '[:lower:]' 02:52:54 + OS_FAMILY=redhat 02:52:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:54 + START_PACKAGES=/tmp/packages_start.txt 02:52:54 + END_PACKAGES=/tmp/packages_end.txt 02:52:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:54 + PACKAGES=/tmp/packages_start.txt 02:52:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:52:54 + PACKAGES=/tmp/packages_end.txt 02:52:54 + case "${OS_FAMILY}" in 02:52:54 + rpm -qa 02:52:54 + sort 02:52:59 + '[' -f /tmp/packages_start.txt ']' 02:52:59 + '[' -f /tmp/packages_end.txt ']' 02:52:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:52:59 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:52:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:52:59 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:53:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:00 02:53:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:53:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:00 alpine: Pulling from edgex-lftools-log-publisher 02:53:00 df20fa9351a1: Pulling fs layer 02:53:00 36b3adc4ff6f: Pulling fs layer 02:53:00 8ad3a11d3b57: Pulling fs layer 02:53:00 46f8f816bc3b: Pulling fs layer 02:53:00 93b61091891f: Pulling fs layer 02:53:00 93b9cdb0e59b: Pulling fs layer 02:53:00 5e14af77c1be: Pulling fs layer 02:53:00 01666e4c0597: Pulling fs layer 02:53:00 aa168da1d23b: Pulling fs layer 02:53:00 46f8f816bc3b: Waiting 02:53:00 93b61091891f: Waiting 02:53:00 93b9cdb0e59b: Waiting 02:53:00 5e14af77c1be: Waiting 02:53:00 01666e4c0597: Waiting 02:53:00 aa168da1d23b: Waiting 02:53:00 36b3adc4ff6f: Download complete 02:53:00 46f8f816bc3b: Verifying Checksum 02:53:00 46f8f816bc3b: Download complete 02:53:00 df20fa9351a1: Verifying Checksum 02:53:00 df20fa9351a1: Download complete 02:53:00 93b9cdb0e59b: Verifying Checksum 02:53:00 93b9cdb0e59b: Download complete 02:53:00 5e14af77c1be: Verifying Checksum 02:53:00 5e14af77c1be: Download complete 02:53:00 93b61091891f: Download complete 02:53:00 01666e4c0597: Download complete 02:53:01 df20fa9351a1: Pull complete 02:53:01 36b3adc4ff6f: Pull complete 02:53:01 8ad3a11d3b57: Verifying Checksum 02:53:01 8ad3a11d3b57: Download complete 02:53:02 8ad3a11d3b57: Pull complete 02:53:02 46f8f816bc3b: Pull complete 02:53:03 93b61091891f: Pull complete 02:53:03 93b9cdb0e59b: Pull complete 02:53:03 aa168da1d23b: Download complete 02:53:03 5e14af77c1be: Pull complete 02:53:03 01666e4c0597: Pull complete 02:53:10 aa168da1d23b: Pull complete 02:53:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:53:10 prd-centos7-docker-4c-2g-20743 does not seem to be running inside a container 02:53:10 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:53:14 $ docker top 971a03bee752ea109fd56d24a658421cb244311c4d4954216a8e63d0d4442688 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:14 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:15 + mkdir -p /var/log/sa [Pipeline] sh 02:53:15 + ls /var/log/sa-host 02:53:15 + sadf -c /var/log/sa-host/sa16 02:53:15 file_magic: OK 02:53:15 HZ: Using current value: 100 02:53:15 file_header: OK 02:53:15 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:53:15 Statistics: 02:53:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:53:15 File successfully converted to sysstat format version 12.2.1 02:53:15 + sadf -c /var/log/sa-host/sa23 02:53:15 file_magic: OK 02:53:15 HZ: Using current value: 100 02:53:15 file_header: OK 02:53:15 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:53:15 Statistics: 02:53:15 Hnuu...uuuununununu... 02:53:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:15 provisioning config files... 02:53:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2485009501571397737tmp [Pipeline] { [Pipeline] echo 02:53:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:16 ---> create-netrc.sh [Pipeline] } 02:53:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:53:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:16 ---> python-tools-install.sh [Pipeline] echo 02:53:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:16 ---> sudo-logs.sh 02:53:16 Archiving 'sudo' log.. [Pipeline] echo 02:53:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:17 ---> job-cost.sh 02:53:17 lf-activate-venv: SKIPPING 02:53:17 INFO: No Stack... 02:53:18 INFO: Retrieving Pricing Info for: v1-standard-2 02:53:19 INFO: Archiving Costs [Pipeline] echo 02:53:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:19 ---> logs-deploy.sh 02:53:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/4 02:53:19 INFO: archiving workspace using pattern(s): 02:53:21 Archives upload complete. 02:53:21 INFO: archiving logs to Nexus 02:53:22 ---> uname -a: 02:53:22 Linux prd-centos7-docker-4c-2g-20743.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:53:22 02:53:22 02:53:22 ---> lscpu: 02:53:22 Architecture: x86_64 02:53:22 CPU op-mode(s): 32-bit, 64-bit 02:53:22 Byte Order: Little Endian 02:53:22 Address sizes: 40 bits physical, 48 bits virtual 02:53:22 CPU(s): 4 02:53:22 On-line CPU(s) list: 0-3 02:53:22 Thread(s) per core: 1 02:53:22 Core(s) per socket: 1 02:53:22 Socket(s): 4 02:53:22 NUMA node(s): 1 02:53:22 Vendor ID: GenuineIntel 02:53:22 CPU family: 6 02:53:22 Model: 44 02:53:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:53:22 Stepping: 1 02:53:22 CPU MHz: 2933.438 02:53:22 BogoMIPS: 5866.87 02:53:22 Virtualization: VT-x 02:53:22 Hypervisor vendor: KVM 02:53:22 Virtualization type: full 02:53:22 L1d cache: 128 KiB 02:53:22 L1i cache: 128 KiB 02:53:22 L2 cache: 16 MiB 02:53:22 L3 cache: 64 MiB 02:53:22 NUMA node0 CPU(s): 0-3 02:53:22 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:53:22 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:53:22 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:53:22 Vulnerability Meltdown: Mitigation; PTI 02:53:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:53:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:53:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:53:22 Vulnerability Srbds: Not affected 02:53:22 Vulnerability Tsx async abort: Not affected 02:53:22 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:53:22 02:53:22 02:53:22 ---> nproc: 02:53:22 4 02:53:22 02:53:22 02:53:22 ---> df -h: 02:53:22 Filesystem Size Used Available Use% Mounted on 02:53:22 overlay 50.0G 7.3G 42.7G 15% / 02:53:22 tmpfs 64.0M 0 64.0M 0% /dev 02:53:22 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:53:22 shm 64.0M 0 64.0M 0% /dev/shm 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:53:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:53:22 02:53:22 02:53:22 ---> free -m: 02:53:22 total used free shared buff/cache available 02:53:22 Mem: 1837 686 117 0 1033 1046 02:53:22 Swap: 1023 1 1022 02:53:22 02:53:22 02:53:22 ---> ip addr: 02:53:22 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:53:22 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:53:22 inet 127.0.0.1/8 scope host lo 02:53:22 valid_lft forever preferred_lft forever 02:53:22 inet6 ::1/128 scope host 02:53:22 valid_lft forever preferred_lft forever 02:53:22 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:53:22 link/ether fa:16:3e:d6:9a:0d brd ff:ff:ff:ff:ff:ff 02:53:22 inet 10.30.122.232/23 brd 10.30.123.255 scope global dynamic eth0 02:53:22 valid_lft 85876sec preferred_lft 85876sec 02:53:22 inet6 fe80::f816:3eff:fed6:9a0d/64 scope link 02:53:22 valid_lft forever preferred_lft forever 02:53:22 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:53:22 link/ether 02:42:77:1f:38:21 brd ff:ff:ff:ff:ff:ff 02:53:22 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:53:22 valid_lft forever preferred_lft forever 02:53:22 inet6 fe80::42:77ff:fe1f:3821/64 scope link 02:53:22 valid_lft forever preferred_lft forever 02:53:22 02:53:22 02:53:22 ---> sar -b -r -n DEV: 02:53:22 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/16/21 _x86_64_ (4 CPU) 02:53:22 02:53:22 02:44:27 LINUX RESTART (4 CPU) 02:53:22 02:53:22 02:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:53:22 02:46:01 52.08 14.92 37.16 0.00 4652.68 3062.07 0.00 02:53:22 02:47:01 2.01 0.00 2.01 0.00 0.00 42.71 0.00 02:53:22 02:48:01 0.22 0.00 0.22 0.00 0.00 2.45 0.00 02:53:22 02:49:01 0.28 0.00 0.28 0.00 0.00 3.46 0.00 02:53:22 02:50:01 0.25 0.00 0.25 0.00 0.00 2.61 0.00 02:53:22 02:51:01 0.37 0.00 0.37 0.00 0.00 4.98 0.00 02:53:22 02:52:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 02:53:22 02:53:01 51.19 48.71 2.48 0.00 4163.09 67.12 0.00 02:53:22 Average: 13.34 7.96 5.38 0.00 1102.35 398.56 0.00 02:53:22 02:53:22 02:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:53:22 02:46:01 157268 0 593912 31.57 2620 1127744 1116188 38.09 425588 1098868 132 02:53:22 02:47:01 161040 0 590136 31.36 2620 1127748 1097012 37.44 425368 1096176 20 02:53:22 02:48:01 162804 0 588364 31.27 2620 1127756 1078508 36.81 426228 1093496 8 02:53:22 02:49:01 160848 0 590320 31.37 2620 1127756 1078676 36.81 427504 1094176 12 02:53:22 02:50:01 161592 0 589568 31.33 2620 1127764 1078640 36.81 435824 1085804 20 02:53:22 02:51:01 162044 0 589112 31.31 2620 1127768 1078508 36.81 435112 1085804 12 02:53:22 02:52:01 161856 0 589296 31.32 2620 1127772 1078556 36.81 435484 1085800 16 02:53:22 02:53:01 77720 0 665892 35.39 2620 1135312 1500540 51.21 506384 1094388 57224 02:53:22 Average: 150646 0 599575 31.87 2620 1128702 1138328 38.85 439686 1091814 7180 02:53:22 02:53:22 02:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:53:22 02:46:01 eth0 319.91 238.46 735.03 84.16 0.00 0.00 0.00 0.00 02:53:22 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:46:01 docker0 10.17 7.94 1.53 22.95 0.00 0.00 0.00 0.00 02:53:22 02:47:01 eth0 0.62 0.38 0.28 0.21 0.00 0.00 0.00 0.00 02:53:22 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:48:01 eth0 0.72 0.08 0.06 0.01 0.00 0.00 0.00 0.00 02:53:22 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:49:01 eth0 1.13 0.30 0.33 0.20 0.00 0.00 0.00 0.00 02:53:22 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:50:01 eth0 0.68 0.38 0.35 0.24 0.00 0.00 0.00 0.00 02:53:22 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:51:01 eth0 0.12 0.10 0.01 0.03 0.00 0.00 0.00 0.00 02:53:22 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:52:01 eth0 0.23 0.15 0.10 0.01 0.00 0.00 0.00 0.00 02:53:22 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:53:01 eth0 83.52 65.27 706.25 9.91 0.00 0.00 0.00 0.00 02:53:22 02:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 Average: eth0 50.88 38.15 180.36 11.85 0.00 0.00 0.00 0.00 02:53:22 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:22 Average: docker0 1.27 0.99 0.19 2.87 0.00 0.00 0.00 0.00 02:53:22 02:53:22 02:53:22 ---> sar -P ALL: 02:53:22 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/16/21 _x86_64_ (4 CPU) 02:53:22 02:53:22 02:44:27 LINUX RESTART (4 CPU) 02:53:22 02:53:22 02:45:01 CPU %user %nice %system %iowait %steal %idle 02:53:22 02:46:01 all 6.63 0.00 2.92 1.16 0.03 89.26 02:53:22 02:46:01 0 6.67 0.00 3.51 1.69 0.02 88.12 02:53:22 02:46:01 1 6.05 0.00 3.26 2.00 0.03 88.66 02:53:22 02:46:01 2 7.98 0.00 2.17 0.57 0.02 89.26 02:53:22 02:46:01 3 5.84 0.00 2.72 0.39 0.03 91.02 02:53:22 02:47:01 all 0.14 0.00 0.05 0.00 0.00 99.80 02:53:22 02:47:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:53:22 02:47:01 1 0.02 0.00 0.05 0.00 0.00 99.93 02:53:22 02:47:01 2 0.03 0.00 0.07 0.00 0.02 99.88 02:53:22 02:47:01 3 0.48 0.00 0.07 0.00 0.00 99.45 02:53:22 02:48:01 all 0.16 0.00 0.05 0.00 0.00 99.78 02:53:22 02:48:01 0 0.02 0.00 0.05 0.00 0.02 99.92 02:53:22 02:48:01 1 0.05 0.00 0.08 0.00 0.00 99.87 02:53:22 02:48:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:53:22 02:48:01 3 0.52 0.00 0.03 0.00 0.00 99.45 02:53:22 02:49:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:53:22 02:49:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:53:22 02:49:01 1 0.07 0.00 0.05 0.00 0.00 99.88 02:53:22 02:49:01 2 0.07 0.00 0.03 0.00 0.00 99.90 02:53:22 02:49:01 3 0.47 0.00 0.02 0.00 0.00 99.52 02:53:22 02:50:01 all 0.19 0.00 0.07 0.00 0.01 99.73 02:53:22 02:50:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:53:22 02:50:01 1 0.07 0.00 0.18 0.00 0.00 99.75 02:53:22 02:50:01 2 0.12 0.00 0.05 0.00 0.02 99.82 02:53:22 02:50:01 3 0.53 0.00 0.02 0.00 0.02 99.43 02:53:22 02:51:01 all 0.15 0.00 0.04 0.00 0.00 99.81 02:53:22 02:51:01 0 0.03 0.00 0.07 0.00 0.00 99.90 02:53:22 02:51:01 1 0.02 0.00 0.05 0.00 0.00 99.93 02:53:22 02:51:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:53:22 02:51:01 3 0.52 0.00 0.03 0.00 0.00 99.45 02:53:22 02:52:01 all 0.11 0.00 0.03 0.00 0.00 99.86 02:53:22 02:52:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:53:22 02:52:01 1 0.07 0.00 0.02 0.00 0.02 99.90 02:53:22 02:52:01 2 0.02 0.00 0.03 0.00 0.00 99.95 02:53:22 02:52:01 3 0.32 0.00 0.03 0.00 0.00 99.65 02:53:22 02:53:01 all 2.07 0.00 1.02 1.33 0.01 95.58 02:53:22 02:53:01 0 1.72 0.00 1.02 1.17 0.02 96.07 02:53:22 02:53:01 1 2.88 0.00 0.97 2.26 0.00 93.90 02:53:22 02:53:01 2 1.65 0.00 0.97 1.02 0.00 96.36 02:53:22 02:53:01 3 2.04 0.00 1.10 0.87 0.02 95.97 02:53:22 Average: all 1.19 0.00 0.52 0.31 0.01 97.97 02:53:22 Average: 0 1.06 0.00 0.59 0.35 0.01 97.99 02:53:22 Average: 1 1.15 0.00 0.58 0.53 0.01 97.74 02:53:22 Average: 2 1.24 0.00 0.42 0.20 0.01 98.14 02:53:22 Average: 3 1.33 0.00 0.50 0.16 0.01 98.00 02:53:22 02:53:22 02:53:22