Pull request #713 updated 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 72dc926d0873de1fc50d64cea13428ffd2bcb227+ae9643155e3faeb030acb175a4c64bf595945178 (dfe9ba729aea67870bf7c4d7505288ab7ee31803) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19778 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [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-713 # 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 ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 72dc926d0873de1fc50d64cea13428ffd2bcb227 Merge succeeded, producing 72dc926d0873de1fc50d64cea13428ffd2bcb227 Checking out Revision 72dc926d0873de1fc50d64cea13428ffd2bcb227 (PR-713) > 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/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72dc926d0873de1fc50d64cea13428ffd2bcb227 # 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 ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72dc926d0873de1fc50d64cea13428ffd2bcb227 # timeout=10 Commit message: "feat: Reworked /secrets enpoint to be singular /secret" > git rev-list --no-walk 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:18:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:18:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:18:09 ========================================================= 19:18:09 EdgeX Global Pipelines Version Info 19:18:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:18:11 ------------------- 19:18:11 stable info: 19:18:11 ------------------- 19:18:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:18:11 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:18:11 Message: update stable to v1.0.173 19:18:12 ------------------- 19:18:12 experimental info: 19:18:12 ------------------- 19:18:12 Commited By: **** collab-it+edgex@linuxfoundation.org 19:18:12 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:18:12 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:18:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:18:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:18:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:18:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:18:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:18:14 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-713 [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-713 [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-713 [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72dc926d0873de1fc50d64cea13428ffd2bcb227 [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72dc926 [Pipeline] echo 19:18:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:18:15 provisioning config files... 19:18:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config8945152209844445475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:16 ---> docker-login.sh 19:18:16 nexus3.edgexfoundry.org:10001 19:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:16 Configure a credential helper to remove this warning. See 19:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:16 19:18:16 Login Succeeded 19:18:16 nexus3.edgexfoundry.org:10002 19:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:17 Configure a credential helper to remove this warning. See 19:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:17 19:18:17 Login Succeeded 19:18:17 nexus3.edgexfoundry.org:10003 19:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:17 Configure a credential helper to remove this warning. See 19:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:17 19:18:17 Login Succeeded 19:18:17 nexus3.edgexfoundry.org:10004 19:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:17 Configure a credential helper to remove this warning. See 19:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:17 19:18:17 Login Succeeded 19:18:17 docker.io 19:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:17 Configure a credential helper to remove this warning. See 19:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:17 19:18:17 Login Succeeded 19:18:17 ---> docker-login.sh ends [Pipeline] } 19:18:17 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 19:18:18 + git log --format=format:%s -1 72dc926d0873de1fc50d64cea13428ffd2bcb227 [Pipeline] echo 19:18:18 GIT_COMMIT: 72dc926d0873de1fc50d64cea13428ffd2bcb227, Commit Message: feat: Reworked /secrets enpoint to be singular /secret [Pipeline] echo 19:18:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:18:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:18:19 19:18:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:18:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:18:20 latest: Pulling from edgex-devops/git-semver 19:18:20 31603596830f: Pulling fs layer 19:18:20 2a8b12db71e7: Pulling fs layer 19:18:20 6ca5941a6612: Pulling fs layer 19:18:20 ecc8261a40a4: Pulling fs layer 19:18:20 ecc8261a40a4: Waiting 19:18:20 2a8b12db71e7: Download complete 19:18:20 31603596830f: Verifying Checksum 19:18:20 31603596830f: Download complete 19:18:20 ecc8261a40a4: Verifying Checksum 19:18:20 ecc8261a40a4: Download complete 19:18:20 6ca5941a6612: Verifying Checksum 19:18:20 6ca5941a6612: Download complete 19:18:20 31603596830f: Pull complete 19:18:20 2a8b12db71e7: Pull complete 19:18:22 6ca5941a6612: Pull complete 19:18:22 ecc8261a40a4: Pull complete 19:18:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:18:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:18:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:18:22 prd-centos7-docker-4c-2g-19778 does not seem to be running inside a container 19:18:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-713 -v /w/workspace/dgexfoundry_device-sdk-go_PR-713:/w/workspace/dgexfoundry_device-sdk-go_PR-713:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-713@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 19:18:24 $ docker top 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:18:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:18:25 [ssh-agent] Looking for ssh-agent implementation... 19:18:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:18:25 $ docker exec 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 ssh-agent 19:18:25 SSH_AUTH_SOCK=/tmp/ssh-sDYnXb2hWSXi/agent.11 19:18:25 SSH_AGENT_PID=17 19:18:25 Running ssh-add (command line suppressed) 19:18:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_4745518097487063935.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_4745518097487063935.key) 19:18:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:18:26 + git tag --points-at HEAD [Pipeline] } 19:18:26 $ docker exec --env ******** --env ******** 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 ssh-agent -k 19:18:26 unset SSH_AUTH_SOCK; 19:18:26 unset SSH_AGENT_PID; 19:18:26 echo Agent pid 17 killed; 19:18:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:18:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:18:26 [ssh-agent] Looking for ssh-agent implementation... 19:18:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:18:26 $ docker exec 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 ssh-agent 19:18:26 SSH_AUTH_SOCK=/tmp/ssh-Jmvtiu7WFupB/agent.45 19:18:26 SSH_AGENT_PID=51 19:18:26 Running ssh-add (command line suppressed) 19:18:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_7132507756674858756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_7132507756674858756.key) 19:18:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:18:27 + git semver init 19:18:27 # -> Open(): unable to determine branch for HEAD 19:18:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.git 19:18:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-713 19:18:27 # $SEMVER_REMOTE_NAME = origin 19:18:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:18:27 # $SEMVER_USER_NAME = edgex-jenkins 19:18:27 # $SEMVER_BRANCH = PR-713 19:18:27 # $SEMVER_TEMP = /tmp/semver-260743643 19:18:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 19:18:28 # '/tmp/semver-260743643' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver' 19:18:28 # -> Force: false 19:18:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver [Pipeline] } 19:18:28 $ docker exec --env ******** --env ******** 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 ssh-agent -k 19:18:28 unset SSH_AUTH_SOCK; 19:18:28 unset SSH_AGENT_PID; 19:18:28 echo Agent pid 51 killed; 19:18:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:18:28 + git semver [Pipeline] } 19:18:28 $ docker stop --time=1 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 19:18:30 $ docker rm -f 59bd6b132d337d9f990f152a8be3e5534b367378acade214d93020f08315f353 [Pipeline] // withDockerContainer [Pipeline] sh 19:18:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:18:31 Stashed 1 file(s) [Pipeline] echo 19:18:31 [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 19:18:47 Still waiting to schedule task 19:18:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:18:47 Still waiting to schedule task 19:18:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:20:34 Running on prd-centos7-docker-4c-2g-19780 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws 19:20:34 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 19:20:37 using credential edgex-jenkins-ssh 19:20:37 Cloning the remote Git repository 19:20:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:20:37 > git init /w/workspace/device-sdk-go/7 # timeout=10 19:20:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:20:37 > git --version # timeout=10 19:20:37 > git --version # 'git version 2.24.3' 19:20:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:20:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:20:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:20:38 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 72dc926d0873de1fc50d64cea13428ffd2bcb227 19:20:38 Merge succeeded, producing 72dc926d0873de1fc50d64cea13428ffd2bcb227 19:20:38 Checking out Revision 72dc926d0873de1fc50d64cea13428ffd2bcb227 (PR-713) 19:20:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:20:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:20:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:20:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:20:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:20:38 > git config core.sparsecheckout # timeout=10 19:20:38 > git checkout -f 72dc926d0873de1fc50d64cea13428ffd2bcb227 # timeout=10 19:20:38 > git remote # timeout=10 19:20:38 > git config --get remote.origin.url # timeout=10 19:20:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:20:38 > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 19:20:38 > git rev-parse HEAD^{commit} # timeout=10 19:20:38 > git config core.sparsecheckout # timeout=10 19:20:38 > git checkout -f 72dc926d0873de1fc50d64cea13428ffd2bcb227 # timeout=10 19:20:42 Commit message: "feat: Reworked /secrets enpoint to be singular /secret" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:20:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:20:44 + sudo service docker restart 19:20:44 + true 19:20:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:20:45 provisioning config files... 19:20:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config7509689220481288148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:45 ---> docker-login.sh 19:20:45 nexus3.edgexfoundry.org:10001 19:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:46 Configure a credential helper to remove this warning. See 19:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:46 19:20:46 Login Succeeded 19:20:46 nexus3.edgexfoundry.org:10002 19:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:46 Configure a credential helper to remove this warning. See 19:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:46 19:20:46 Login Succeeded 19:20:46 nexus3.edgexfoundry.org:10003 19:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:46 Configure a credential helper to remove this warning. See 19:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:46 19:20:46 Login Succeeded 19:20:46 nexus3.edgexfoundry.org:10004 19:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:46 Configure a credential helper to remove this warning. See 19:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:46 19:20:46 Login Succeeded 19:20:46 docker.io 19:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:47 Configure a credential helper to remove this warning. See 19:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:47 19:20:47 Login Succeeded 19:20:47 ---> docker-login.sh ends [Pipeline] } 19:20:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:20:47 ========================================================= 19:20:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:20:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:20:47 + 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 . 19:20:47 Sending build context to Docker daemon 2.539MB 19:20:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:20:48 Step 2/8 : FROM ${BASE} 19:20:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:20:48 188c0c94c7c5: Pulling fs layer 19:20:48 0ef7d3d256c8: Pulling fs layer 19:20:48 de9db76c5a1d: Pulling fs layer 19:20:48 bca2f99d35d6: Pulling fs layer 19:20:48 93359f2a8cfa: Pulling fs layer 19:20:48 7c6f9722023f: Pulling fs layer 19:20:48 a35cf1a2eb13: Pulling fs layer 19:20:48 93359f2a8cfa: Waiting 19:20:48 7c6f9722023f: Waiting 19:20:48 a35cf1a2eb13: Waiting 19:20:48 bca2f99d35d6: Waiting 19:20:48 de9db76c5a1d: Download complete 19:20:48 0ef7d3d256c8: Verifying Checksum 19:20:48 0ef7d3d256c8: Download complete 19:20:48 93359f2a8cfa: Download complete 19:20:48 188c0c94c7c5: Verifying Checksum 19:20:48 188c0c94c7c5: Download complete 19:20:48 7c6f9722023f: Verifying Checksum 19:20:48 7c6f9722023f: Download complete 19:20:48 188c0c94c7c5: Pull complete 19:20:48 0ef7d3d256c8: Pull complete 19:20:48 de9db76c5a1d: Pull complete 19:20:50 a35cf1a2eb13: Verifying Checksum 19:20:50 a35cf1a2eb13: Download complete 19:20:51 bca2f99d35d6: Verifying Checksum 19:20:51 bca2f99d35d6: Download complete 19:20:56 bca2f99d35d6: Pull complete 19:20:57 93359f2a8cfa: Pull complete 19:20:57 7c6f9722023f: Pull complete 19:21:00 a35cf1a2eb13: Pull complete 19:21:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:21:00 ---> a62c8e92a672 19:21:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:21:00 ---> Running in 683f2f09d1ec 19:21:01 Removing intermediate container 683f2f09d1ec 19:21:01 ---> 75d86ad7bba5 19:21:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:21:01 ---> Running in af9e17231289 19:21:02 Removing intermediate container af9e17231289 19:21:02 ---> d4273bba13b3 19:21:02 Step 5/8 : RUN apk add --update --no-cache make git 19:21:02 ---> Running in a43b52903a9e 19:21:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:21:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:21:04 OK: 166 MiB in 39 packages 19:21:05 Removing intermediate container a43b52903a9e 19:21:05 ---> 12fb077ea783 19:21:05 Step 6/8 : WORKDIR /device-sdk-go 19:21:05 ---> Running in 006af7241f9b 19:21:05 Removing intermediate container 006af7241f9b 19:21:05 ---> d1e92bf58ecd 19:21:05 Step 7/8 : COPY . . 19:21:06 ---> c0432f38a640 19:21:06 Step 8/8 : RUN go mod download 19:21:06 ---> Running in 230ec78f1492 19:21:25 Removing intermediate container 230ec78f1492 19:21:25 ---> cd31a9fe7f26 19:21:25 Successfully built cd31a9fe7f26 19:21:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:21:25 + docker inspect -f . ci-base-image-x86_64 19:21:25 . [Pipeline] withDockerContainer 19:21:25 prd-centos7-docker-4c-2g-19780 does not seem to be running inside a container 19:21:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat 19:21:26 $ docker top 56e524b708dd2cb5b65ad2418f6967839a197b9801f95743816f6a76b7e7c4a1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:26 + go version 19:21:26 go version go1.15.5 linux/amd64 [Pipeline] } 19:21:26 $ docker stop --time=1 56e524b708dd2cb5b65ad2418f6967839a197b9801f95743816f6a76b7e7c4a1 19:21:28 $ docker rm -f 56e524b708dd2cb5b65ad2418f6967839a197b9801f95743816f6a76b7e7c4a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:21:29 + docker inspect -f . ci-base-image-x86_64 19:21:29 . [Pipeline] withDockerContainer 19:21:29 prd-centos7-docker-4c-2g-19780 does not seem to be running inside a container 19:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat 19:21:30 $ docker top bfe369ef39edca62820f9fa53d2a284ec16481d157afdd632c93396bfaa455e1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:30 + make test 19:21:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:21:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 19:21:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 19:21:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 19:21:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 19:21:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 19.4% of statements 19:21:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.457s coverage: 97.1% of statements 19:22:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19781 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws 19:22:27 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 19:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 9.4% of statements 19:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.7% of statements 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 19:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.226s coverage: 42.9% of statements 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 19:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 68.9% of statements 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 19:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.340s coverage: 53.8% of statements 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 19:22:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 19:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.067s coverage: 31.3% of statements 19:22:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.295s coverage: 68.9% of statements 19:22:28 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 19:22:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 19:22:28 GO111MODULE=on go vet ./... 19:22:31 using credential edgex-jenkins-ssh 19:22:32 Cloning the remote Git repository 19:22:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:22:32 > git init /w/workspace/device-sdk-go/7 # timeout=10 19:22:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:22:32 > git --version # timeout=10 19:22:32 > git --version # 'git version 2.17.1' 19:22:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:22:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:22:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:22:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:22:34 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 72dc926d0873de1fc50d64cea13428ffd2bcb227 19:22:34 Merge succeeded, producing 72dc926d0873de1fc50d64cea13428ffd2bcb227 19:22:34 Checking out Revision 72dc926d0873de1fc50d64cea13428ffd2bcb227 (PR-713) 19:22:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:22:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:22:34 > git config core.sparsecheckout # timeout=10 19:22:34 > git checkout -f 72dc926d0873de1fc50d64cea13428ffd2bcb227 # timeout=10 19:22:34 > git remote # timeout=10 19:22:34 > git config --get remote.origin.url # timeout=10 19:22:34 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:34 > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 19:22:34 > git rev-parse HEAD^{commit} # timeout=10 19:22:34 > git config core.sparsecheckout # timeout=10 19:22:34 > git checkout -f 72dc926d0873de1fc50d64cea13428ffd2bcb227 # timeout=10 19:22:35 gofmt -l . 19:22:35 [ "`gofmt -l .`" = "" ] 19:22:35 ./bin/test-attribution-txt.sh 19:22:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:22:35 $ docker stop --time=1 bfe369ef39edca62820f9fa53d2a284ec16481d157afdd632c93396bfaa455e1 19:22:37 $ docker rm -f bfe369ef39edca62820f9fa53d2a284ec16481d157afdd632c93396bfaa455e1 [Pipeline] // withDockerContainer [Pipeline] sh 19:22:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:22:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 19:22:39 Commit message: "feat: Reworked /secrets enpoint to be singular /secret" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 19:22:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 19:22:40 + ls -al . 19:22:40 total 216 19:22:40 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 19:22 . 19:22:40 drwxrwxr-x. 4 jenkins jenkins 28 Jan 12 19:20 .. 19:22:40 drwxrwxr-x. 2 jenkins jenkins 64 Jan 12 19:20 bin 19:22:40 -rw-r--r--. 1 jenkins jenkins 137952 Jan 12 19:22 coverage.out 19:22:40 -rw-rw-r--. 1 jenkins jenkins 949 Jan 12 19:20 Dockerfile.build 19:22:40 -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 19:20 .dockerignore 19:22:40 drwxrwxr-x. 4 jenkins jenkins 48 Jan 12 19:20 example 19:22:40 drwxrwxr-x. 8 jenkins jenkins 179 Jan 12 19:20 .git 19:22:40 drwxrwxr-x. 2 jenkins jenkins 103 Jan 12 19:20 .github 19:22:40 -rw-rw-r--. 1 jenkins jenkins 138 Jan 12 19:20 .gitignore 19:22:40 -rw-r--r--. 1 jenkins jenkins 488 Jan 12 19:22 go.mod 19:22:40 -rw-r--r--. 1 jenkins jenkins 14124 Jan 12 19:22 go.sum 19:22:40 drwxrwxr-x. 15 jenkins jenkins 211 Jan 12 19:20 internal 19:22:40 -rw-rw-r--. 1 jenkins jenkins 901 Jan 12 19:20 Jenkinsfile 19:22:40 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 19:20 LICENSE 19:22:40 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 12 19:20 Makefile 19:22:40 drwxrwxr-x. 4 jenkins jenkins 26 Jan 12 19:20 openapi 19:22:40 drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 19:20 pkg 19:22:40 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 12 19:20 README.md 19:22:40 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 12 19:20 RELEASE-NOTES.txt 19:22:40 drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 19:20 snap 19:22:40 -rw-rw-r--. 1 jenkins jenkins 5 Jan 12 19:18 VERSION 19:22:40 -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 19:20 version.go [Pipeline] isUnix [Pipeline] sh 19:22:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 19:22:41 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=72dc926d0873de1fc50d64cea13428ffd2bcb227 --label arch=amd64 --label version=0.0.0 . [Pipeline] sh 19:22:41 Sending build context to Docker daemon 2.678MB 19:22:41 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 19:22:41 Step 2/24 : FROM ${BASE} AS builder 19:22:41 ---> cd31a9fe7f26 19:22:41 Step 3/24 : ARG MAKE='make build' 19:22:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:22:41 + true 19:22:41 + sudo service docker restart 19:22:41 ---> Running in b69761821e52 19:22:42 Removing intermediate container b69761821e52 19:22:42 ---> 40da6ceac0bf 19:22:42 Step 4/24 : WORKDIR /device-sdk-go 19:22:42 ---> Running in 7b5377384cb5 19:22:42 Removing intermediate container 7b5377384cb5 19:22:42 ---> 071fc127f323 19:22:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:22:42 ---> Running in 2e283dd34572 19:22:42 Removing intermediate container 2e283dd34572 19:22:42 ---> d20dc54362f5 19:22:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:22:42 ---> Running in 04267e75292f 19:22:43 Removing intermediate container 04267e75292f 19:22:43 ---> b6d9c4c41d50 19:22:43 Step 7/24 : RUN apk add --update --no-cache make git 19:22:43 ---> Running in 8648c0d42ae1 19:22:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:22:44 provisioning config files... 19:22:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1210289956868089046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:22:45 ---> docker-login.sh 19:22:45 nexus3.edgexfoundry.org:10001 19:22:45 OK: 166 MiB in 39 packages 19:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:45 Removing intermediate container 8648c0d42ae1 19:22:45 ---> 5781313b00c2 19:22:45 Step 8/24 : COPY . . 19:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:46 Configure a credential helper to remove this warning. See 19:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:46 19:22:46 Login Succeeded 19:22:46 nexus3.edgexfoundry.org:10002 19:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:46 Configure a credential helper to remove this warning. See 19:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:46 19:22:46 Login Succeeded 19:22:46 nexus3.edgexfoundry.org:10003 19:22:46 ---> 230d1cd9fcff 19:22:46 Step 9/24 : RUN ${MAKE} 19:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:47 Configure a credential helper to remove this warning. See 19:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:47 19:22:47 Login Succeeded 19:22:47 nexus3.edgexfoundry.org:10004 19:22:47 ---> Running in fdf8b85e5573 19:22:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:47 Configure a credential helper to remove this warning. See 19:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:47 19:22:47 Login Succeeded 19:22:47 docker.io 19:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:48 Configure a credential helper to remove this warning. See 19:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:48 19:22:48 Login Succeeded 19:22:48 ---> docker-login.sh ends [Pipeline] } 19:22:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:22:48 ========================================================= 19:22:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:22:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:22:49 + 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 . 19:22:49 Sending build context to Docker daemon 2.538MB 19:22:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:22:49 Step 2/8 : FROM ${BASE} 19:22:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:22:49 5f621e34cdf4: Pulling fs layer 19:22:49 a4357932f1b6: Pulling fs layer 19:22:49 18c013af1878: Pulling fs layer 19:22:49 00ac8860ef70: Pulling fs layer 19:22:49 63d7cb157983: Pulling fs layer 19:22:49 b116817d02f9: Pulling fs layer 19:22:49 745a02a5169b: Pulling fs layer 19:22:49 63d7cb157983: Waiting 19:22:49 b116817d02f9: Waiting 19:22:49 745a02a5169b: Waiting 19:22:49 00ac8860ef70: Waiting 19:22:49 18c013af1878: Verifying Checksum 19:22:49 18c013af1878: Download complete 19:22:49 a4357932f1b6: Verifying Checksum 19:22:49 a4357932f1b6: Download complete 19:22:49 63d7cb157983: Verifying Checksum 19:22:49 63d7cb157983: Download complete 19:22:49 b116817d02f9: Download complete 19:22:50 5f621e34cdf4: Verifying Checksum 19:22:50 5f621e34cdf4: Download complete 19:22:51 5f621e34cdf4: Pull complete 19:22:51 a4357932f1b6: Pull complete 19:22:52 18c013af1878: Pull complete 19:22:53 745a02a5169b: Verifying Checksum 19:22:53 745a02a5169b: Download complete 19:22:54 00ac8860ef70: Verifying Checksum 19:22:54 00ac8860ef70: Download complete 19:22:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 19:22:58 Removing intermediate container fdf8b85e5573 19:22:58 ---> 1ba18f26860a 19:22:58 Step 10/24 : FROM scratch 19:22:58 ---> 19:22:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:22:58 ---> Running in d5df6b665bf0 19:22:58 Removing intermediate container d5df6b665bf0 19:22:58 ---> cff3b207883b 19:22:58 Step 12/24 : ENV APP_PORT=49990 19:22:58 ---> Running in 94c67d746e45 19:22:58 Removing intermediate container 94c67d746e45 19:22:58 ---> 9483803d7e96 19:22:58 Step 13/24 : EXPOSE $APP_PORT 19:22:58 ---> Running in d0ab6d5e37a1 19:22:58 Removing intermediate container d0ab6d5e37a1 19:22:58 ---> 7b4f6c750b96 19:22:58 Step 14/24 : WORKDIR / 19:22:59 ---> Running in dd7f9186a6b3 19:22:59 Removing intermediate container dd7f9186a6b3 19:22:59 ---> f52d2f031930 19:22:59 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 19:22:59 ---> 784a2d79a3f8 19:22:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 19:22:59 ---> ab5ea7e5db38 19:22:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 19:23:00 ---> 968d018576bf 19:23:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 19:23:00 ---> 349d7db11cd9 19:23:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 19:23:00 ---> 0ad75360dc6e 19:23:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 19:23:00 ---> Running in 22982c9e3d88 19:23:00 Removing intermediate container 22982c9e3d88 19:23:00 ---> a824f6015b37 19:23:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:23:01 ---> Running in 97d207e1e9a8 19:23:01 Removing intermediate container 97d207e1e9a8 19:23:01 ---> c4b36885dba8 19:23:01 Step 22/24 : LABEL arch=amd64 19:23:01 ---> Running in 1e4f729a9a03 19:23:01 Removing intermediate container 1e4f729a9a03 19:23:01 ---> fabbde9b1232 19:23:01 Step 23/24 : LABEL git_sha=72dc926d0873de1fc50d64cea13428ffd2bcb227 19:23:01 ---> Running in 5ea4481f9600 19:23:01 Removing intermediate container 5ea4481f9600 19:23:01 ---> 810d83592b60 19:23:01 Step 24/24 : LABEL version=0.0.0 19:23:01 ---> Running in 18e84fbd2659 19:23:01 Removing intermediate container 18e84fbd2659 19:23:01 ---> 1ec1293d659a 19:23:01 [Warning] One or more build-args [ARCH] were not consumed 19:23:01 Successfully built 1ec1293d659a 19:23:01 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:23:04 00ac8860ef70: Pull complete 19:23:04 63d7cb157983: Pull complete 19:23:04 b116817d02f9: Pull complete 19:23:07 745a02a5169b: Pull complete 19:23:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:23:07 ---> b7e6874047d6 19:23:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:23:11 ---> Running in 7d809585d047 19:23:11 Removing intermediate container 7d809585d047 19:23:11 ---> 2db51948ff71 19:23:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:23:11 ---> Running in c9280aee7b1d 19:23:14 Removing intermediate container c9280aee7b1d 19:23:14 ---> 221d41167c04 19:23:14 Step 5/8 : RUN apk add --update --no-cache make git 19:23:14 ---> Running in 9e172b0971db 19:23:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:23:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:23:16 OK: 142 MiB in 39 packages 19:23:17 Removing intermediate container 9e172b0971db 19:23:17 ---> 33951a235657 19:23:17 Step 6/8 : WORKDIR /device-sdk-go 19:23:18 ---> Running in 44c189fe7d15 19:23:18 Removing intermediate container 44c189fe7d15 19:23:18 ---> d9e0adc680ad 19:23:18 Step 7/8 : COPY . . 19:23:20 ---> 961cf4f1bef9 19:23:20 Step 8/8 : RUN go mod download 19:23:20 ---> Running in d728af815aed 19:23:42 Removing intermediate container d728af815aed 19:23:42 ---> 75891332b01d 19:23:42 Successfully built 75891332b01d 19:23:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:23:42 + docker inspect -f . ci-base-image-arm64 19:23:42 . [Pipeline] withDockerContainer 19:23:43 prd-ubuntu18.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container 19:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 19:23:44 $ docker top 19945c5beddbca8dec045f789803abc556f2a4de1f1dad2266ebc8daa49e916a -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:45 + go version 19:23:45 go version go1.15.5 linux/arm64 [Pipeline] } 19:23:45 $ docker stop --time=1 19945c5beddbca8dec045f789803abc556f2a4de1f1dad2266ebc8daa49e916a 19:23:47 $ docker rm -f 19945c5beddbca8dec045f789803abc556f2a4de1f1dad2266ebc8daa49e916a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:23:48 + docker inspect -f . ci-base-image-arm64 19:23:48 . [Pipeline] withDockerContainer 19:23:48 prd-ubuntu18.04-docker-arm64-4c-16g-19781 does not seem to be running inside a container 19:23:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 19:23:50 $ docker top 219d4caba3cfa7ea0e35074e2842c31580ab02d293ad3a57f144b34911a39d87 -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:51 + make test 19:23:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:24:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 19:25:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 19:25:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 19:25:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 19:25:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 19.4% of statements 19:25:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.276s coverage: 97.1% of statements 19:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements 19:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.150s coverage: 21.7% of statements 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 19:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.595s coverage: 42.9% of statements 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 19:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.732s coverage: 68.9% of statements 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 19:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 53.8% of statements 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 19:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 19:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.195s coverage: 31.3% of statements 19:25:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.778s coverage: 68.9% of statements 19:25:33 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.162s coverage: 4.2% of statements 19:25:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 19:25:33 GO111MODULE=on go vet ./... 19:26:05 gofmt -l . 19:26:05 [ "`gofmt -l .`" = "" ] 19:26:05 ./bin/test-attribution-txt.sh 19:26:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:26:05 $ docker stop --time=1 219d4caba3cfa7ea0e35074e2842c31580ab02d293ad3a57f144b34911a39d87 19:26:08 $ docker rm -f 219d4caba3cfa7ea0e35074e2842c31580ab02d293ad3a57f144b34911a39d87 [Pipeline] // withDockerContainer [Pipeline] sh 19:26:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:26:09 Warning: overwriting stash ‘coverage-report’ 19:26:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:26:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:26:11 + ls -al . 19:26:11 total 252 19:26:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 19:26 . 19:26:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 19:22 .. 19:26:11 -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 19:22 .dockerignore 19:26:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 19:22 .git 19:26:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 19:22 .github 19:26:11 -rw-rw-r-- 1 jenkins jenkins 138 Jan 12 19:22 .gitignore 19:26:11 -rw-rw-r-- 1 jenkins jenkins 949 Jan 12 19:22 Dockerfile.build 19:26:11 -rw-rw-r-- 1 jenkins jenkins 901 Jan 12 19:22 Jenkinsfile 19:26:11 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 19:22 LICENSE 19:26:11 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 12 19:22 Makefile 19:26:11 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 12 19:22 README.md 19:26:11 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 12 19:22 RELEASE-NOTES.txt 19:26:11 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 19:18 VERSION 19:26:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 19:22 bin 19:26:11 -rw-r--r-- 1 jenkins jenkins 137952 Jan 12 19:25 coverage.out 19:26:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 19:22 example 19:26:11 -rw-r--r-- 1 jenkins jenkins 488 Jan 12 19:26 go.mod 19:26:11 -rw-r--r-- 1 jenkins jenkins 14124 Jan 12 19:26 go.sum 19:26:11 drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 19:22 internal 19:26:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 19:22 openapi 19:26:11 drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 19:22 pkg 19:26:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 19:22 snap 19:26:11 -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 19:22 version.go [Pipeline] isUnix [Pipeline] sh 19:26:12 + 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=72dc926d0873de1fc50d64cea13428ffd2bcb227 --label arch=arm64 --label version=0.0.0 . 19:26:12 Sending build context to Docker daemon 2.677MB 19:26:12 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 19:26:12 Step 2/24 : FROM ${BASE} AS builder 19:26:12 ---> 75891332b01d 19:26:12 Step 3/24 : ARG MAKE='make build' 19:26:13 ---> Running in 5d2c01be8a5c 19:26:13 Removing intermediate container 5d2c01be8a5c 19:26:13 ---> 72a37a6a5910 19:26:13 Step 4/24 : WORKDIR /device-sdk-go 19:26:13 ---> Running in 6d121b909cff 19:26:14 Removing intermediate container 6d121b909cff 19:26:14 ---> bfd932813aaf 19:26:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:26:14 ---> Running in c58c720bb627 19:26:14 Removing intermediate container c58c720bb627 19:26:14 ---> 81ca28b8b97b 19:26:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:26:14 ---> Running in 61de2c58e269 19:26:16 Removing intermediate container 61de2c58e269 19:26:16 ---> 66612da43a60 19:26:16 Step 7/24 : RUN apk add --update --no-cache make git 19:26:17 ---> Running in 8286a954c171 19:26:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:26:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:26:19 OK: 142 MiB in 39 packages 19:26:20 Removing intermediate container 8286a954c171 19:26:20 ---> f786cec4c139 19:26:20 Step 8/24 : COPY . . 19:26:22 ---> 963d4cd131e3 19:26:22 Step 9/24 : RUN ${MAKE} 19:26:22 ---> Running in aa4162511cf3 19:26:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:26:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 19:26:50 Removing intermediate container aa4162511cf3 19:26:50 ---> e3cfd4c54657 19:26:50 Step 10/24 : FROM scratch 19:26:50 ---> 19:26:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:26:50 ---> Running in 49ffe566b746 19:26:50 Removing intermediate container 49ffe566b746 19:26:50 ---> 8870fac21890 19:26:50 Step 12/24 : ENV APP_PORT=49990 19:26:50 ---> Running in dea8f4053de5 19:26:50 Removing intermediate container dea8f4053de5 19:26:50 ---> a810b6c3bf05 19:26:50 Step 13/24 : EXPOSE $APP_PORT 19:26:50 ---> Running in 640a52c90f46 19:26:51 Removing intermediate container 640a52c90f46 19:26:51 ---> c16f6ce71a06 19:26:51 Step 14/24 : WORKDIR / 19:26:51 ---> Running in 99464b46b320 19:26:51 Removing intermediate container 99464b46b320 19:26:51 ---> e71955f91c43 19:26:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 19:26:52 ---> aa79a1374f11 19:26:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 19:26:53 ---> 937adb91345c 19:26:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 19:26:54 ---> c7898d39e3bd 19:26:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 19:26:55 ---> 375faf0fcac9 19:26:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 19:26:55 ---> c86468bad115 19:26:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 19:26:55 ---> Running in ae80d4982083 19:26:56 Removing intermediate container ae80d4982083 19:26:56 ---> 682aa19589e0 19:26:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:26:56 ---> Running in 98c68823111b 19:26:56 Removing intermediate container 98c68823111b 19:26:56 ---> 56d3a89ded50 19:26:56 Step 22/24 : LABEL arch=arm64 19:26:56 ---> Running in 41a4e4c01e94 19:26:57 Removing intermediate container 41a4e4c01e94 19:26:57 ---> f8c3347896cf 19:26:57 Step 23/24 : LABEL git_sha=72dc926d0873de1fc50d64cea13428ffd2bcb227 19:26:57 ---> Running in 80f0be65df8c 19:26:58 Removing intermediate container 80f0be65df8c 19:26:58 ---> f9c8d702138a 19:26:58 Step 24/24 : LABEL version=0.0.0 19:26:58 ---> Running in 1f46e8b4fd45 19:26:58 Removing intermediate container 1f46e8b4fd45 19:26:58 ---> e48cc8bfdb8d 19:26:58 [Warning] One or more build-args [ARCH] were not consumed 19:26:58 Successfully built e48cc8bfdb8d 19:26:58 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 19:27:00 provisioning config files... 19:27:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config2764157236439577787tmp [Pipeline] { [Pipeline] sh 19:27:00 + set +x 19:27:00 + curl -s https://codecov.io/bash 19:27:00 + bash -s -- 19:27:00 19:27:00 _____ _ 19:27:00 / ____| | | 19:27:00 | | ___ __| | ___ ___ _____ __ 19:27:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:27:00 | |___| (_) | (_| | __/ (_| (_) \ V / 19:27:00 \_____\___/ \__,_|\___|\___\___/ \_/ 19:27:00 Bash-20201231-23d4836 19:27:00 19:27:00 19:27:00 ==> git version 2.24.3 found 19:27:00 ==> 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 19:27:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:27:00 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:27:00 ==> Jenkins CI detected. 19:27:00 project root: . 19:27:00 --> token set from env 19:27:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:27:00 ==> Running gcov in . (disable via -X gcov) 19:27:00 ==> Python coveragepy not found 19:27:00 ==> Searching for coverage reports in: 19:27:00 + . 19:27:00 -> Found 1 reports 19:27:00 ==> Detecting git/mercurial file structure 19:27:00 ==> Reading reports 19:27:00 + ./coverage.out bytes=137952 19:27:00 ==> Appending adjustments 19:27:00 https://docs.codecov.io/docs/fixing-reports 19:27:01 + Found adjustments 19:27:01 ==> Gzipping contents 19:27:01 24K /tmp/codecov.NP07Xx.gz 19:27:01 ==> Uploading reports 19:27:01 url: https://codecov.io 19:27:01 query: branch=PR-713&commit=72dc926d0873de1fc50d64cea13428ffd2bcb227&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-713%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=713&job=&cmd_args= 19:27:01 -> Pinging Codecov 19:27:01 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-713&commit=72dc926d0873de1fc50d64cea13428ffd2bcb227&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-713%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=713&job=&cmd_args= 19:27:01 -> Uploading to 19:27:01 https://storage.googleapis.com/codecov/v4/raw/2021-01-12/7E55EF52A471D76F132DFD9A03CDDE97/72dc926d0873de1fc50d64cea13428ffd2bcb227/d5b0dde1-7262-4f4f-bdf5-ea77f62fdca8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210112T192701Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=702346eb69c90d9a438fe565b32275e4a38efdefc0954b662f0a1c3400d9605e 19:27:01 % Total % Received % Xferd Average Speed Time Time Time Current 19:27:01 Dload Upload Total Spent Left Speed 19:27:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22068 0 0 100 22068 0 40697 --:--:-- --:--:-- --:--:-- 40791 19:27:02 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/72dc926d0873de1fc50d64cea13428ffd2bcb227 [Pipeline] } 19:27:02 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 19:27:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:27:05 ---> package-listing.sh 19:27:05 ++ facter osfamily 19:27:05 ++ tr '[:upper:]' '[:lower:]' 19:27:05 + OS_FAMILY=redhat 19:27:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-713 19:27:05 + START_PACKAGES=/tmp/packages_start.txt 19:27:05 + END_PACKAGES=/tmp/packages_end.txt 19:27:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:27:05 + PACKAGES=/tmp/packages_start.txt 19:27:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' 19:27:05 + PACKAGES=/tmp/packages_end.txt 19:27:05 + case "${OS_FAMILY}" in 19:27:05 + rpm -qa 19:27:05 + sort 19:27:10 + '[' -f /tmp/packages_start.txt ']' 19:27:10 + '[' -f /tmp/packages_end.txt ']' 19:27:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:27:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' 19:27:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ 19:27:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ [Pipeline] echo 19:27:10 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-713/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:27:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:27:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:27:11 19:27:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:27:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:27:11 alpine: Pulling from edgex-lftools-log-publisher 19:27:11 df20fa9351a1: Pulling fs layer 19:27:11 36b3adc4ff6f: Pulling fs layer 19:27:11 8ad3a11d3b57: Pulling fs layer 19:27:11 46f8f816bc3b: Pulling fs layer 19:27:11 93b61091891f: Pulling fs layer 19:27:11 93b9cdb0e59b: Pulling fs layer 19:27:11 5e14af77c1be: Pulling fs layer 19:27:11 01666e4c0597: Pulling fs layer 19:27:11 aa168da1d23b: Pulling fs layer 19:27:11 93b61091891f: Waiting 19:27:11 93b9cdb0e59b: Waiting 19:27:11 5e14af77c1be: Waiting 19:27:11 01666e4c0597: Waiting 19:27:11 aa168da1d23b: Waiting 19:27:11 36b3adc4ff6f: Verifying Checksum 19:27:11 36b3adc4ff6f: Download complete 19:27:11 46f8f816bc3b: Verifying Checksum 19:27:11 46f8f816bc3b: Download complete 19:27:12 df20fa9351a1: Verifying Checksum 19:27:12 df20fa9351a1: Download complete 19:27:12 93b9cdb0e59b: Verifying Checksum 19:27:12 93b9cdb0e59b: Download complete 19:27:12 5e14af77c1be: Verifying Checksum 19:27:12 5e14af77c1be: Download complete 19:27:12 01666e4c0597: Verifying Checksum 19:27:12 01666e4c0597: Download complete 19:27:12 93b61091891f: Verifying Checksum 19:27:12 93b61091891f: Download complete 19:27:12 df20fa9351a1: Pull complete 19:27:12 36b3adc4ff6f: Pull complete 19:27:12 8ad3a11d3b57: Verifying Checksum 19:27:12 8ad3a11d3b57: Download complete 19:27:13 8ad3a11d3b57: Pull complete 19:27:13 46f8f816bc3b: Pull complete 19:27:14 aa168da1d23b: Download complete 19:27:15 93b61091891f: Pull complete 19:27:15 93b9cdb0e59b: Pull complete 19:27:15 5e14af77c1be: Pull complete 19:27:15 01666e4c0597: Pull complete 19:27:22 aa168da1d23b: Pull complete 19:27:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:27:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:27:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:27:22 prd-centos7-docker-4c-2g-19778 does not seem to be running inside a container 19:27:22 $ 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-713/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-713 -v /w/workspace/dgexfoundry_device-sdk-go_PR-713:/w/workspace/dgexfoundry_device-sdk-go_PR-713:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-713@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 19:27:25 $ docker top c7144bd7161064d63a278eafdf3ca1206a928d5199b4b45ba2b71e47baf739da -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:26 + touch /tmp/pre-build-complete [Pipeline] sh 19:27:26 + mkdir -p /var/log/sa [Pipeline] sh 19:27:26 + ls /var/log/sa-host 19:27:26 + sadf -c /var/log/sa-host/sa12 19:27:26 file_magic: OK 19:27:26 HZ: Using current value: 100 19:27:26 file_header: OK 19:27:26 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 19:27:26 Statistics: 19:27:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:27:26 File successfully converted to sysstat format version 12.2.1 19:27:26 + sadf -c /var/log/sa-host/sa23 19:27:26 file_magic: OK 19:27:26 HZ: Using current value: 100 19:27:26 file_header: OK 19:27:26 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 19:27:26 Statistics: 19:27:26 Hnuu...uuuununununu... 19:27:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:27:26 provisioning config files... 19:27:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config7195663865047131851tmp [Pipeline] { [Pipeline] echo 19:27:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:27:27 ---> create-netrc.sh [Pipeline] } 19:27:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:27:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:27:27 ---> python-tools-install.sh [Pipeline] echo 19:27:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:27:28 ---> sudo-logs.sh 19:27:28 Archiving 'sudo' log.. [Pipeline] echo 19:27:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:27:28 ---> job-cost.sh 19:27:28 lf-activate-venv: SKIPPING 19:27:28 INFO: No Stack... 19:27:29 INFO: Retrieving Pricing Info for: v1-standard-2 19:27:29 INFO: Archiving Costs [Pipeline] echo 19:27:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:27:30 ---> logs-deploy.sh 19:27:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-713/7 19:27:30 INFO: archiving workspace using pattern(s): 19:27:32 Archives upload complete. 19:27:32 INFO: archiving logs to Nexus 19:27:33 ---> uname -a: 19:27:33 Linux prd-centos7-docker-4c-2g-19778.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 19:27:33 19:27:33 19:27:33 ---> lscpu: 19:27:33 Architecture: x86_64 19:27:33 CPU op-mode(s): 32-bit, 64-bit 19:27:33 Byte Order: Little Endian 19:27:33 Address sizes: 40 bits physical, 48 bits virtual 19:27:33 CPU(s): 4 19:27:33 On-line CPU(s) list: 0-3 19:27:33 Thread(s) per core: 1 19:27:33 Core(s) per socket: 1 19:27:33 Socket(s): 4 19:27:33 NUMA node(s): 1 19:27:33 Vendor ID: GenuineIntel 19:27:33 CPU family: 6 19:27:33 Model: 44 19:27:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:27:33 Stepping: 1 19:27:33 CPU MHz: 2933.436 19:27:33 BogoMIPS: 5866.87 19:27:33 Virtualization: VT-x 19:27:33 Hypervisor vendor: KVM 19:27:33 Virtualization type: full 19:27:33 L1d cache: 128 KiB 19:27:33 L1i cache: 128 KiB 19:27:33 L2 cache: 16 MiB 19:27:33 L3 cache: 64 MiB 19:27:33 NUMA node0 CPU(s): 0-3 19:27:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:27:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:27:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:27:33 Vulnerability Meltdown: Mitigation; PTI 19:27:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:27:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:27:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:27:33 Vulnerability Srbds: Not affected 19:27:33 Vulnerability Tsx async abort: Not affected 19:27:33 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 19:27:33 19:27:33 19:27:33 ---> nproc: 19:27:33 4 19:27:33 19:27:33 19:27:33 ---> df -h: 19:27:33 Filesystem Size Used Available Use% Mounted on 19:27:33 overlay 50.0G 7.3G 42.7G 15% / 19:27:33 tmpfs 64.0M 0 64.0M 0% /dev 19:27:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:27:33 shm 64.0M 0 64.0M 0% /dev/shm 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-713 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 19:27:33 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 19:27:33 19:27:33 19:27:33 ---> free -m: 19:27:33 total used free shared buff/cache available 19:27:33 Mem: 1837 706 95 0 1035 1026 19:27:33 Swap: 1023 1 1022 19:27:33 19:27:33 19:27:33 ---> ip addr: 19:27:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:27:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:27:33 inet 127.0.0.1/8 scope host lo 19:27:33 valid_lft forever preferred_lft forever 19:27:33 inet6 ::1/128 scope host 19:27:33 valid_lft forever preferred_lft forever 19:27:33 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:27:33 link/ether fa:16:3e:a6:71:37 brd ff:ff:ff:ff:ff:ff 19:27:33 inet 10.30.123.56/23 brd 10.30.123.255 scope global dynamic eth0 19:27:33 valid_lft 85801sec preferred_lft 85801sec 19:27:33 inet6 fe80::f816:3eff:fea6:7137/64 scope link 19:27:33 valid_lft forever preferred_lft forever 19:27:33 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:27:33 link/ether 02:42:56:20:5e:b0 brd ff:ff:ff:ff:ff:ff 19:27:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:27:33 valid_lft forever preferred_lft forever 19:27:33 inet6 fe80::42:56ff:fe20:5eb0/64 scope link 19:27:33 valid_lft forever preferred_lft forever 19:27:33 19:27:33 19:27:33 ---> sar -b -r -n DEV: 19:27:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/12/21 _x86_64_ (4 CPU) 19:27:33 19:27:33 19:17:21 LINUX RESTART (4 CPU) 19:27:33 19:27:33 19:18:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:27:33 19:19:01 51.61 14.73 36.88 0.00 4637.28 3063.15 0.00 19:27:33 19:20:01 1.80 0.00 1.80 0.00 0.00 38.07 0.00 19:27:33 19:21:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 19:27:33 19:22:01 0.27 0.00 0.27 0.00 0.00 3.01 0.00 19:27:33 19:23:01 0.18 0.00 0.18 0.00 0.00 2.20 0.00 19:27:33 19:24:01 0.37 0.00 0.37 0.00 0.00 4.83 0.00 19:27:33 19:25:01 0.23 0.00 0.23 0.00 0.00 2.96 0.00 19:27:33 19:26:01 0.25 0.00 0.25 0.00 0.00 3.46 0.00 19:27:33 19:27:01 0.35 0.13 0.22 0.00 13.32 3.25 0.00 19:27:33 Average: 6.15 1.65 4.50 0.00 516.95 347.30 0.00 19:27:33 19:27:33 19:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:27:33 19:19:01 175616 0 591400 31.43 2620 1111908 1116192 38.09 418916 1088188 128 19:27:33 19:20:01 180724 0 586284 31.16 2620 1111916 1078740 36.82 417572 1084888 8 19:27:33 19:21:01 180564 0 586440 31.17 2620 1111920 1078872 36.82 428816 1074100 8 19:27:33 19:22:01 179804 0 587200 31.21 2620 1111920 1078740 36.82 429924 1073576 8 19:27:33 19:23:01 179692 0 587304 31.21 2620 1111928 1078860 36.82 439072 1064984 8 19:27:33 19:24:01 180380 0 586612 31.18 2620 1111932 1078740 36.82 438604 1064984 0 19:27:33 19:25:01 179656 0 587332 31.22 2620 1111936 1078800 36.82 438856 1064980 8 19:27:33 19:26:01 180388 0 586596 31.18 2620 1111940 1078740 36.82 438672 1064980 8 19:27:33 19:27:01 172412 0 593992 31.57 2620 1112520 1092168 37.27 443752 1065280 188 19:27:33 Average: 178804 0 588129 31.26 2620 1111991 1084428 37.01 432687 1071773 40 19:27:33 19:27:33 19:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:27:33 19:19:01 eth0 291.86 206.39 688.15 68.20 0.00 0.00 0.00 0.00 19:27:33 19:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:19:01 docker0 7.61 5.76 1.33 21.00 0.00 0.00 0.00 0.00 19:27:33 19:20:01 eth0 0.40 0.07 0.04 0.01 0.00 0.00 0.00 0.00 19:27:33 19:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:21:01 eth0 0.75 0.37 0.30 0.20 0.00 0.00 0.00 0.00 19:27:33 19:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:22:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 19:27:33 19:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:23:01 eth0 0.77 0.45 0.41 0.27 0.00 0.00 0.00 0.00 19:27:33 19:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:24:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:27:33 19:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:25:01 eth0 0.30 0.22 0.18 0.02 0.00 0.00 0.00 0.00 19:27:33 19:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:26:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:27:33 19:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:27:01 eth0 3.96 2.66 4.00 1.25 0.00 0.00 0.00 0.00 19:27:33 19:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 19:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 Average: eth0 33.25 23.39 77.05 7.78 0.00 0.00 0.00 0.00 19:27:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:27:33 Average: docker0 0.85 0.64 0.15 2.33 0.00 0.00 0.00 0.00 19:27:33 19:27:33 19:27:33 ---> sar -P ALL: 19:27:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/12/21 _x86_64_ (4 CPU) 19:27:33 19:27:33 19:17:21 LINUX RESTART (4 CPU) 19:27:33 19:27:33 19:18:01 CPU %user %nice %system %iowait %steal %idle 19:27:33 19:19:01 all 6.94 0.00 3.09 1.18 0.11 88.68 19:27:33 19:19:01 0 7.69 0.00 2.80 1.05 0.12 88.34 19:27:33 19:19:01 1 8.26 0.00 2.69 2.64 0.07 86.34 19:27:33 19:19:01 2 5.13 0.00 3.42 0.83 0.10 90.52 19:27:33 19:19:01 3 6.65 0.00 3.45 0.22 0.15 89.53 19:27:33 19:20:01 all 0.17 0.00 0.04 0.00 0.00 99.79 19:27:33 19:20:01 0 0.05 0.00 0.05 0.00 0.00 99.90 19:27:33 19:20:01 1 0.52 0.00 0.03 0.00 0.00 99.45 19:27:33 19:20:01 2 0.08 0.00 0.05 0.00 0.00 99.87 19:27:33 19:20:01 3 0.03 0.00 0.03 0.00 0.00 99.93 19:27:33 19:21:01 all 0.10 0.00 0.05 0.00 0.00 99.84 19:27:33 19:21:01 0 0.03 0.00 0.03 0.00 0.00 99.93 19:27:33 19:21:01 1 0.27 0.00 0.08 0.00 0.00 99.65 19:27:33 19:21:01 2 0.03 0.00 0.02 0.00 0.00 99.95 19:27:33 19:21:01 3 0.08 0.00 0.08 0.00 0.02 99.82 19:27:33 19:22:01 all 0.09 0.00 0.04 0.00 0.00 99.87 19:27:33 19:22:01 0 0.03 0.00 0.00 0.00 0.00 99.97 19:27:33 19:22:01 1 0.25 0.00 0.07 0.00 0.02 99.67 19:27:33 19:22:01 2 0.03 0.00 0.02 0.00 0.00 99.95 19:27:33 19:22:01 3 0.05 0.00 0.07 0.00 0.00 99.88 19:27:33 19:23:01 all 0.10 0.00 0.14 0.00 0.08 99.69 19:27:33 19:23:01 0 0.02 0.00 0.08 0.00 0.05 99.85 19:27:33 19:23:01 1 0.25 0.00 0.27 0.00 0.05 99.43 19:27:33 19:23:01 2 0.05 0.00 0.12 0.00 0.10 99.73 19:27:33 19:23:01 3 0.07 0.00 0.08 0.00 0.12 99.73 19:27:33 19:24:01 all 0.14 0.00 0.03 0.00 0.01 99.82 19:27:33 19:24:01 0 0.00 0.00 0.02 0.00 0.00 99.98 19:27:33 19:24:01 1 0.48 0.00 0.03 0.00 0.02 99.47 19:27:33 19:24:01 2 0.07 0.00 0.05 0.00 0.02 99.87 19:27:33 19:24:01 3 0.02 0.00 0.03 0.00 0.00 99.95 19:27:33 19:25:01 all 0.18 0.00 0.04 0.00 0.00 99.78 19:27:33 19:25:01 0 0.03 0.00 0.03 0.00 0.00 99.93 19:27:33 19:25:01 1 0.37 0.00 0.03 0.00 0.00 99.60 19:27:33 19:25:01 2 0.07 0.00 0.05 0.00 0.00 99.88 19:27:33 19:25:01 3 0.25 0.00 0.05 0.00 0.00 99.70 19:27:33 19:26:01 all 0.15 0.00 0.02 0.00 0.00 99.82 19:27:33 19:26:01 0 0.07 0.00 0.03 0.00 0.00 99.90 19:27:33 19:26:01 1 0.02 0.00 0.03 0.00 0.00 99.95 19:27:33 19:26:01 2 0.03 0.00 0.02 0.00 0.02 99.93 19:27:33 19:26:01 3 0.50 0.00 0.02 0.00 0.00 99.48 19:27:33 19:27:01 all 0.48 0.00 0.30 0.01 0.01 99.20 19:27:33 19:27:01 0 0.33 0.00 0.28 0.00 0.02 99.37 19:27:33 19:27:01 1 0.35 0.00 0.27 0.02 0.00 99.37 19:27:33 19:27:01 2 0.27 0.00 0.32 0.00 0.02 99.40 19:27:33 19:27:01 3 0.95 0.00 0.35 0.02 0.02 98.67 19:27:33 Average: all 0.92 0.00 0.41 0.13 0.02 98.51 19:27:33 Average: 0 0.91 0.00 0.37 0.11 0.02 98.59 19:27:33 Average: 1 1.19 0.00 0.39 0.29 0.02 98.11 19:27:33 Average: 2 0.63 0.00 0.45 0.09 0.03 98.80 19:27:33 Average: 3 0.95 0.00 0.46 0.03 0.03 98.53 19:27:33 19:27:33 19:27:33