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 9a6397b0eca9f2a31ce775436c9523ccb1920c0c+ae9643155e3faeb030acb175a4c64bf595945178 (712e80addaf28995f0f8bb352d76a860c1fe4a16) 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-19611 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 9a6397b0eca9f2a31ce775436c9523ccb1920c0c Merge succeeded, producing 9a6397b0eca9f2a31ce775436c9523ccb1920c0c Checking out Revision 9a6397b0eca9f2a31ce775436c9523ccb1920c0c (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 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # 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 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # timeout=10 Commit message: "feat: Added missing module to Attribution.txt" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:54:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 9bca83ed10b4f524d56640670a65bb8ef91e538b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:54:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:54:15 ========================================================= 21:54:15 EdgeX Global Pipelines Version Info 21:54:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:54:17 ------------------- 21:54:17 stable info: 21:54:17 ------------------- 21:54:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:54:17 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 21:54:17 Message: update stable to v1.0.173 21:54:18 ------------------- 21:54:18 experimental info: 21:54:18 ------------------- 21:54:18 Commited By: **** collab-it+edgex@linuxfoundation.org 21:54:18 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 21:54:18 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:54:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:54:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:54:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:54:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:54:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:54:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:54:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:54:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-713 [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-713 [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-713 [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a6397b0eca9f2a31ce775436c9523ccb1920c0c [Pipeline] echo 21:54:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a6397b [Pipeline] echo 21:54:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:54:22 provisioning config files... 21:54:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config4646754169568155591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:22 ---> docker-login.sh 21:54:22 nexus3.edgexfoundry.org:10001 21:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:23 Configure a credential helper to remove this warning. See 21:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:23 21:54:23 Login Succeeded 21:54:23 nexus3.edgexfoundry.org:10002 21:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:23 Configure a credential helper to remove this warning. See 21:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:23 21:54:23 Login Succeeded 21:54:23 nexus3.edgexfoundry.org:10003 21:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:23 Configure a credential helper to remove this warning. See 21:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:23 21:54:23 Login Succeeded 21:54:23 nexus3.edgexfoundry.org:10004 21:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:23 Configure a credential helper to remove this warning. See 21:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:23 21:54:23 Login Succeeded 21:54:23 docker.io 21:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:24 Configure a credential helper to remove this warning. See 21:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:24 21:54:24 Login Succeeded 21:54:24 ---> docker-login.sh ends [Pipeline] } 21:54:24 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 21:54:24 + git log --format=format:%s -1 9a6397b0eca9f2a31ce775436c9523ccb1920c0c [Pipeline] echo 21:54:24 GIT_COMMIT: 9a6397b0eca9f2a31ce775436c9523ccb1920c0c, Commit Message: feat: Added missing module to Attribution.txt [Pipeline] echo 21:54:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:54:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:54:25 21:54:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:54:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:54:25 latest: Pulling from edgex-devops/git-semver 21:54:25 31603596830f: Pulling fs layer 21:54:25 2a8b12db71e7: Pulling fs layer 21:54:25 6ca5941a6612: Pulling fs layer 21:54:25 ecc8261a40a4: Pulling fs layer 21:54:25 ecc8261a40a4: Waiting 21:54:25 2a8b12db71e7: Verifying Checksum 21:54:25 2a8b12db71e7: Download complete 21:54:26 31603596830f: Verifying Checksum 21:54:26 31603596830f: Download complete 21:54:26 ecc8261a40a4: Verifying Checksum 21:54:26 ecc8261a40a4: Download complete 21:54:26 6ca5941a6612: Verifying Checksum 21:54:26 6ca5941a6612: Download complete 21:54:26 31603596830f: Pull complete 21:54:26 2a8b12db71e7: Pull complete 21:54:27 6ca5941a6612: Pull complete 21:54:27 ecc8261a40a4: Pull complete 21:54:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:54:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:54:27 prd-centos7-docker-4c-2g-19611 does not seem to be running inside a container 21:54:27 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:54:30 $ docker top 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:54:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:54:30 [ssh-agent] Looking for ssh-agent implementation... 21:54:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:54:30 $ docker exec 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 ssh-agent 21:54:31 SSH_AUTH_SOCK=/tmp/ssh-d8Rr3uVqlL2A/agent.11 21:54:31 SSH_AGENT_PID=16 21:54:31 Running ssh-add (command line suppressed) 21:54:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_7840799522458110568.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_7840799522458110568.key) 21:54:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:54:31 + git tag --points-at HEAD [Pipeline] } 21:54:31 $ docker exec --env ******** --env ******** 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 ssh-agent -k 21:54:31 unset SSH_AUTH_SOCK; 21:54:31 unset SSH_AGENT_PID; 21:54:31 echo Agent pid 16 killed; 21:54:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:54:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:54:32 [ssh-agent] Looking for ssh-agent implementation... 21:54:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:54:32 $ docker exec 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 ssh-agent 21:54:32 SSH_AUTH_SOCK=/tmp/ssh-zZGGGQfFlPxA/agent.44 21:54:32 SSH_AGENT_PID=49 21:54:32 Running ssh-add (command line suppressed) 21:54:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_2500123263885107506.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_2500123263885107506.key) 21:54:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:54:32 + git semver init 21:54:32 # -> Open(): unable to determine branch for HEAD 21:54:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.git 21:54:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-713 21:54:32 # $SEMVER_REMOTE_NAME = origin 21:54:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:54:32 # $SEMVER_USER_NAME = edgex-jenkins 21:54:32 # $SEMVER_BRANCH = PR-713 21:54:32 # $SEMVER_TEMP = /tmp/semver-563959716 21:54:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:54:33 # '/tmp/semver-563959716' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver' 21:54:33 # -> Force: false 21:54:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver [Pipeline] } 21:54:33 $ docker exec --env ******** --env ******** 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 ssh-agent -k 21:54:33 unset SSH_AUTH_SOCK; 21:54:33 unset SSH_AGENT_PID; 21:54:33 echo Agent pid 49 killed; 21:54:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:54:34 + git semver [Pipeline] } 21:54:34 $ docker stop --time=1 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 21:54:36 $ docker rm -f 5c1c0c3d29540dd8ef66d809261895c74eeb79f485a6fb5cbcc1175459e841e8 [Pipeline] // withDockerContainer [Pipeline] sh 21:54:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:54:37 Stashed 1 file(s) [Pipeline] echo 21:54:37 [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 21:54:52 Still waiting to schedule task 21:54:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:54:52 Still waiting to schedule task 21:54:52 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:57:08 Running on prd-centos7-docker-4c-2g-19614 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws 21:57:08 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 21:57:15 using credential edgex-jenkins-ssh 21:57:15 Cloning the remote Git repository 21:57:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:57:15 > git init /w/workspace/device-sdk-go/5 # timeout=10 21:57:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:57:15 > git --version # timeout=10 21:57:15 > git --version # 'git version 2.24.3' 21:57:15 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:17 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 9a6397b0eca9f2a31ce775436c9523ccb1920c0c 21:57:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:57:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:57:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:57:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:16 > 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 21:57:17 Merge succeeded, producing 9a6397b0eca9f2a31ce775436c9523ccb1920c0c 21:57:17 Checking out Revision 9a6397b0eca9f2a31ce775436c9523ccb1920c0c (PR-713) 21:57:17 > git config core.sparsecheckout # timeout=10 21:57:17 > git checkout -f 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # timeout=10 21:57:17 > git remote # timeout=10 21:57:17 > git config --get remote.origin.url # timeout=10 21:57:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:17 > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 21:57:17 > git rev-parse HEAD^{commit} # timeout=10 21:57:17 > git config core.sparsecheckout # timeout=10 21:57:17 > git checkout -f 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # timeout=10 21:57:21 Commit message: "feat: Added missing module to Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:57:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:57:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:57:24 + sudo service docker restart 21:57:24 + true 21:57:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:57:25 provisioning config files... 21:57:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5570230233128432169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:26 ---> docker-login.sh 21:57:26 nexus3.edgexfoundry.org:10001 21:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:27 Configure a credential helper to remove this warning. See 21:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:27 21:57:27 Login Succeeded 21:57:27 nexus3.edgexfoundry.org:10002 21:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:27 Configure a credential helper to remove this warning. See 21:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:27 21:57:27 Login Succeeded 21:57:27 nexus3.edgexfoundry.org:10003 21:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:27 Configure a credential helper to remove this warning. See 21:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:27 21:57:27 Login Succeeded 21:57:27 nexus3.edgexfoundry.org:10004 21:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:27 Configure a credential helper to remove this warning. See 21:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:27 21:57:27 Login Succeeded 21:57:27 docker.io 21:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:28 Configure a credential helper to remove this warning. See 21:57:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:28 21:57:28 Login Succeeded 21:57:28 ---> docker-login.sh ends [Pipeline] } 21:57:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:57:28 ========================================================= 21:57:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:57:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:57:29 + 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 . 21:57:29 Sending build context to Docker daemon 2.502MB 21:57:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:57:29 Step 2/8 : FROM ${BASE} 21:57:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:57:29 188c0c94c7c5: Pulling fs layer 21:57:29 0ef7d3d256c8: Pulling fs layer 21:57:29 de9db76c5a1d: Pulling fs layer 21:57:29 bca2f99d35d6: Pulling fs layer 21:57:29 93359f2a8cfa: Pulling fs layer 21:57:29 7c6f9722023f: Pulling fs layer 21:57:29 a35cf1a2eb13: Pulling fs layer 21:57:29 bca2f99d35d6: Waiting 21:57:29 93359f2a8cfa: Waiting 21:57:29 7c6f9722023f: Waiting 21:57:29 a35cf1a2eb13: Waiting 21:57:29 de9db76c5a1d: Verifying Checksum 21:57:29 de9db76c5a1d: Download complete 21:57:29 0ef7d3d256c8: Verifying Checksum 21:57:29 0ef7d3d256c8: Download complete 21:57:29 93359f2a8cfa: Verifying Checksum 21:57:29 93359f2a8cfa: Download complete 21:57:29 7c6f9722023f: Verifying Checksum 21:57:29 7c6f9722023f: Download complete 21:57:29 188c0c94c7c5: Verifying Checksum 21:57:29 188c0c94c7c5: Download complete 21:57:30 188c0c94c7c5: Pull complete 21:57:31 0ef7d3d256c8: Pull complete 21:57:31 de9db76c5a1d: Pull complete 21:57:33 a35cf1a2eb13: Verifying Checksum 21:57:33 a35cf1a2eb13: Download complete 21:57:36 bca2f99d35d6: Verifying Checksum 21:57:36 bca2f99d35d6: Download complete 21:57:47 bca2f99d35d6: Pull complete 21:57:47 93359f2a8cfa: Pull complete 21:57:47 7c6f9722023f: Pull complete 21:57:54 a35cf1a2eb13: Pull complete 21:57:54 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:57:54 ---> a62c8e92a672 21:57:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:57:54 ---> Running in c95f8e7dc29a 21:57:54 Removing intermediate container c95f8e7dc29a 21:57:54 ---> 9ed361b1aa54 21:57:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:57:54 ---> Running in 71bd3587108a 21:57:56 Removing intermediate container 71bd3587108a 21:57:56 ---> e7039a5ca04c 21:57:56 Step 5/8 : RUN apk add --update --no-cache make git 21:57:56 ---> Running in 83b53ab90264 21:57:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:57:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:57:58 OK: 166 MiB in 39 packages 21:57:59 Removing intermediate container 83b53ab90264 21:57:59 ---> 036fe853471f 21:57:59 Step 6/8 : WORKDIR /device-sdk-go 21:57:59 ---> Running in 2e8bd5147da4 21:57:59 Removing intermediate container 2e8bd5147da4 21:57:59 ---> 5b245311981c 21:57:59 Step 7/8 : COPY . . 21:58:01 ---> bd76e4e44198 21:58:01 Step 8/8 : RUN go mod download 21:58:01 ---> Running in a598bf1f1d6e 21:58:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19615 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws 21:58:19 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 21:58:24 using credential edgex-jenkins-ssh 21:58:24 Cloning the remote Git repository 21:58:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:58:24 > git init /w/workspace/device-sdk-go/5 # timeout=10 21:58:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:58:25 > git --version # timeout=10 21:58:25 > git --version # 'git version 2.17.1' 21:58:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:58:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:58:27 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 9a6397b0eca9f2a31ce775436c9523ccb1920c0c 21:58:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:58:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:58:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:58:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:58:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:58:26 > 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 21:58:27 > git config core.sparsecheckout # timeout=10 21:58:27 > git checkout -f 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # timeout=10 21:58:27 Merge succeeded, producing 9a6397b0eca9f2a31ce775436c9523ccb1920c0c 21:58:27 Checking out Revision 9a6397b0eca9f2a31ce775436c9523ccb1920c0c (PR-713) 21:58:27 > git remote # timeout=10 21:58:27 > git config --get remote.origin.url # timeout=10 21:58:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:58:27 > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 21:58:27 > git rev-parse HEAD^{commit} # timeout=10 21:58:27 > git config core.sparsecheckout # timeout=10 21:58:27 > git checkout -f 9a6397b0eca9f2a31ce775436c9523ccb1920c0c # timeout=10 21:58:28 Removing intermediate container a598bf1f1d6e 21:58:28 ---> 261b2d637dea 21:58:28 Successfully built 261b2d637dea 21:58:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:58:29 + docker inspect -f . ci-base-image-x86_64 21:58:29 . [Pipeline] withDockerContainer 21:58:29 prd-centos7-docker-4c-2g-19614 does not seem to be running inside a container 21:58:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat 21:58:31 $ docker top b851cfcd3b8a2608a3d202eb9b791239cbd7364a0c98227b2612e93172347173 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:31 Commit message: "feat: Added missing module to Attribution.txt" 21:58:31 + go version 21:58:31 go version go1.15.5 linux/amd64 [Pipeline] } 21:58:31 $ docker stop --time=1 b851cfcd3b8a2608a3d202eb9b791239cbd7364a0c98227b2612e93172347173 21:58:33 $ docker rm -f b851cfcd3b8a2608a3d202eb9b791239cbd7364a0c98227b2612e93172347173 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:34 + docker inspect -f . ci-base-image-x86_64 21:58:34 . [Pipeline] withDockerContainer 21:58:35 prd-centos7-docker-4c-2g-19614 does not seem to be running inside a container 21:58:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 21:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat 21:58:36 $ docker top f221ccabf9464eb3cea7c15103c5acb4ac275c9ca9380d03a8d58e00d4faaf3e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 21:58:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:58:37 + make test 21:58:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:58:37 + sudo service docker restart 21:58:37 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:58:40 provisioning config files... 21:58:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5159439495132963728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:40 ---> docker-login.sh 21:58:40 nexus3.edgexfoundry.org:10001 21:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:41 Configure a credential helper to remove this warning. See 21:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:41 21:58:41 Login Succeeded 21:58:41 nexus3.edgexfoundry.org:10002 21:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:42 Configure a credential helper to remove this warning. See 21:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:42 21:58:42 Login Succeeded 21:58:42 nexus3.edgexfoundry.org:10003 21:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:42 Configure a credential helper to remove this warning. See 21:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:42 21:58:42 Login Succeeded 21:58:42 nexus3.edgexfoundry.org:10004 21:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:43 Configure a credential helper to remove this warning. See 21:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:43 21:58:43 Login Succeeded 21:58:43 docker.io 21:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:44 Configure a credential helper to remove this warning. See 21:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:44 21:58:44 Login Succeeded 21:58:44 ---> docker-login.sh ends [Pipeline] } 21:58:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:58:44 ========================================================= 21:58:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:58:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:58:45 + 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 . 21:58:45 Sending build context to Docker daemon 2.499MB 21:58:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:58:45 Step 2/8 : FROM ${BASE} 21:58:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:58:45 5f621e34cdf4: Pulling fs layer 21:58:45 a4357932f1b6: Pulling fs layer 21:58:45 18c013af1878: Pulling fs layer 21:58:45 00ac8860ef70: Pulling fs layer 21:58:45 63d7cb157983: Pulling fs layer 21:58:45 b116817d02f9: Pulling fs layer 21:58:45 745a02a5169b: Pulling fs layer 21:58:45 00ac8860ef70: Waiting 21:58:45 63d7cb157983: Waiting 21:58:45 b116817d02f9: Waiting 21:58:45 18c013af1878: Verifying Checksum 21:58:45 18c013af1878: Download complete 21:58:45 a4357932f1b6: Verifying Checksum 21:58:45 a4357932f1b6: Download complete 21:58:45 63d7cb157983: Verifying Checksum 21:58:45 63d7cb157983: Download complete 21:58:45 b116817d02f9: Verifying Checksum 21:58:45 b116817d02f9: Download complete 21:58:46 5f621e34cdf4: Download complete 21:58:47 5f621e34cdf4: Pull complete 21:58:47 a4357932f1b6: Pull complete 21:58:48 18c013af1878: Pull complete 21:58:48 745a02a5169b: Verifying Checksum 21:58:48 745a02a5169b: Download complete 21:58:49 00ac8860ef70: Verifying Checksum 21:58:49 00ac8860ef70: Download complete 21:58:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:59:00 00ac8860ef70: Pull complete 21:59:00 63d7cb157983: Pull complete 21:59:00 b116817d02f9: Pull complete 21:59:04 745a02a5169b: Pull complete 21:59:04 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:59:04 ---> b7e6874047d6 21:59:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:59:07 ---> Running in edbcd18026bd 21:59:07 Removing intermediate container edbcd18026bd 21:59:07 ---> e55a59059d12 21:59:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:59:07 ---> Running in 0a90a2108247 21:59:09 Removing intermediate container 0a90a2108247 21:59:09 ---> 3cafb96372e4 21:59:09 Step 5/8 : RUN apk add --update --no-cache make git 21:59:10 ---> Running in 383e5bb92b69 21:59:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:59:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:59:12 OK: 142 MiB in 39 packages 21:59:14 Removing intermediate container 383e5bb92b69 21:59:14 ---> 181e8408d605 21:59:14 Step 6/8 : WORKDIR /device-sdk-go 21:59:14 ---> Running in 32a9e80da940 21:59:14 Removing intermediate container 32a9e80da940 21:59:14 ---> 440a1d17d430 21:59:14 Step 7/8 : COPY . . 21:59:16 ---> 60a78844d48c 21:59:16 Step 8/8 : RUN go mod download 21:59:16 ---> Running in c69a2f1bdc73 21:59:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:59:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:59:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:59:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 19.4% of statements 21:59:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.645s coverage: 97.1% of statements 21:59:38 Removing intermediate container c69a2f1bdc73 21:59:38 ---> f27ed8324f08 21:59:38 Successfully built f27ed8324f08 21:59:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:59:39 + docker inspect -f . ci-base-image-arm64 21:59:39 . [Pipeline] withDockerContainer 21:59:39 prd-ubuntu18.04-docker-arm64-4c-16g-19615 does not seem to be running inside a container 21:59:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 21:59:40 $ docker top 39f3b5b04e66c61b7f41ebd20ef52abe68e0ead3bcdf1a6b8c8b4b92ed6bd93b -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:42 + go version 21:59:42 go version go1.15.5 linux/arm64 [Pipeline] } 21:59:42 $ docker stop --time=1 39f3b5b04e66c61b7f41ebd20ef52abe68e0ead3bcdf1a6b8c8b4b92ed6bd93b 21:59:44 $ docker rm -f 39f3b5b04e66c61b7f41ebd20ef52abe68e0ead3bcdf1a6b8c8b4b92ed6bd93b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:59:44 + docker inspect -f . ci-base-image-arm64 21:59:44 . [Pipeline] withDockerContainer 21:59:45 prd-ubuntu18.04-docker-arm64-4c-16g-19615 does not seem to be running inside a container 21:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 21:59:46 $ docker top 47ba273f1cd42d47c86e93842e3a89ab3e81a5903a8c5242572505ac1577f3e2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:47 + make test 21:59:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:59:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 9.4% of statements 21:59:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.179s coverage: 21.7% of statements 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:59:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.338s coverage: 42.9% of statements 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:59:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.399s coverage: 68.9% of statements 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 21:59:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.137s coverage: 53.8% of statements 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 21:59:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 21:59:48 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.152s coverage: 31.3% of statements 21:59:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.783s coverage: 68.9% of statements 21:59:48 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.069s coverage: 4.2% of statements 21:59:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:59:48 GO111MODULE=on go vet ./... 22:00:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:00:11 gofmt -l . 22:00:11 [ "`gofmt -l .`" = "" ] 22:00:11 ./bin/test-attribution-txt.sh 22:00:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:00:14 $ docker stop --time=1 f221ccabf9464eb3cea7c15103c5acb4ac275c9ca9380d03a8d58e00d4faaf3e 22:00:16 $ docker rm -f f221ccabf9464eb3cea7c15103c5acb4ac275c9ca9380d03a8d58e00d4faaf3e [Pipeline] // withDockerContainer [Pipeline] sh 22:00:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:00:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:00:20 + ls -al . 22:00:20 total 216 22:00:20 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 22:00 . 22:00:20 drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 21:57 .. 22:00:20 drwxrwxr-x. 2 jenkins jenkins 64 Jan 11 21:57 bin 22:00:20 -rw-r--r--. 1 jenkins jenkins 137953 Jan 11 21:59 coverage.out 22:00:20 -rw-rw-r--. 1 jenkins jenkins 949 Jan 11 21:57 Dockerfile.build 22:00:20 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 21:57 .dockerignore 22:00:20 drwxrwxr-x. 4 jenkins jenkins 48 Jan 11 21:57 example 22:00:20 drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 21:57 .git 22:00:20 drwxrwxr-x. 2 jenkins jenkins 103 Jan 11 21:57 .github 22:00:20 -rw-rw-r--. 1 jenkins jenkins 138 Jan 11 21:57 .gitignore 22:00:20 -rw-r--r--. 1 jenkins jenkins 488 Jan 11 22:00 go.mod 22:00:20 -rw-r--r--. 1 jenkins jenkins 14014 Jan 11 22:00 go.sum 22:00:20 drwxrwxr-x. 15 jenkins jenkins 211 Jan 11 21:57 internal 22:00:20 -rw-rw-r--. 1 jenkins jenkins 901 Jan 11 21:57 Jenkinsfile 22:00:20 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 21:57 LICENSE 22:00:20 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 11 21:57 Makefile 22:00:20 drwxrwxr-x. 4 jenkins jenkins 26 Jan 11 21:57 openapi 22:00:20 drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 21:57 pkg 22:00:20 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 11 21:57 README.md 22:00:20 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 11 21:57 RELEASE-NOTES.txt 22:00:20 drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 21:57 snap 22:00:20 -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 21:54 VERSION 22:00:20 -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 21:57 version.go [Pipeline] isUnix [Pipeline] sh 22:00:20 + 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=9a6397b0eca9f2a31ce775436c9523ccb1920c0c --label arch=amd64 --label version=0.0.0 . 22:00:21 Sending build context to Docker daemon 2.641MB 22:00:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 22:00:21 Step 2/24 : FROM ${BASE} AS builder 22:00:21 ---> 261b2d637dea 22:00:21 Step 3/24 : ARG MAKE='make build' 22:00:21 ---> Running in 24b9e6fef971 22:00:22 Removing intermediate container 24b9e6fef971 22:00:22 ---> e0c983896c97 22:00:22 Step 4/24 : WORKDIR /device-sdk-go 22:00:22 ---> Running in 8fcdc4d22dec 22:00:22 Removing intermediate container 8fcdc4d22dec 22:00:22 ---> 6731fd0fee3a 22:00:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:00:22 ---> Running in dcdccc18677d 22:00:22 Removing intermediate container dcdccc18677d 22:00:22 ---> 2943b5c29e28 22:00:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:00:23 ---> Running in a9f5a49eaa34 22:00:25 Removing intermediate container a9f5a49eaa34 22:00:25 ---> 6e3ac619eec7 22:00:25 Step 7/24 : RUN apk add --update --no-cache make git 22:00:25 ---> Running in 994069e53bd5 22:00:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:00:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:00:27 OK: 166 MiB in 39 packages 22:00:28 Removing intermediate container 994069e53bd5 22:00:28 ---> 85fb85da28e6 22:00:28 Step 8/24 : COPY . . 22:00:29 ---> 959485d07e61 22:00:29 Step 9/24 : RUN ${MAKE} 22:00:29 ---> Running in 91a8953c642e 22:00:30 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 22:00:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:00:51 Removing intermediate container 91a8953c642e 22:00:51 ---> 2c9efa62094a 22:00:51 Step 10/24 : FROM scratch 22:00:51 ---> 22:00:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:00:51 ---> Running in cb3e91c64c0a 22:00:52 Removing intermediate container cb3e91c64c0a 22:00:52 ---> 81e87e7d03a9 22:00:52 Step 12/24 : ENV APP_PORT=49990 22:00:52 ---> Running in 023961e7e40a 22:00:52 Removing intermediate container 023961e7e40a 22:00:52 ---> 65796bfaf9c6 22:00:52 Step 13/24 : EXPOSE $APP_PORT 22:00:52 ---> Running in 7d903a375b2d 22:00:52 Removing intermediate container 7d903a375b2d 22:00:52 ---> 60d3c1625bea 22:00:52 Step 14/24 : WORKDIR / 22:00:52 ---> Running in 97817fd8feee 22:00:52 Removing intermediate container 97817fd8feee 22:00:52 ---> 8e36b739fc25 22:00:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:00:54 ---> 881fa7a5e473 22:00:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:00:54 ---> e0677511bbbb 22:00:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:00:54 ---> 62157ba8cb88 22:00:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:00:54 ---> 4fb6c4806677 22:00:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:00:55 ---> 7535fd66c530 22:00:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:00:55 ---> Running in c652c172bc03 22:00:55 Removing intermediate container c652c172bc03 22:00:55 ---> b2b018e4de2f 22:00:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:00:55 ---> Running in 6deb88fa2836 22:00:56 Removing intermediate container 6deb88fa2836 22:00:56 ---> 28811eba1a98 22:00:56 Step 22/24 : LABEL arch=amd64 22:00:56 ---> Running in 1ee0427cea82 22:00:56 Removing intermediate container 1ee0427cea82 22:00:56 ---> 0c809b137ad2 22:00:56 Step 23/24 : LABEL git_sha=9a6397b0eca9f2a31ce775436c9523ccb1920c0c 22:00:56 ---> Running in c8ceddd8617e 22:00:56 Removing intermediate container c8ceddd8617e 22:00:56 ---> fcb336265a32 22:00:56 Step 24/24 : LABEL version=0.0.0 22:00:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:00:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:00:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:00:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.111s coverage: 19.4% of statements 22:00:57 ---> Running in 0426fd4b0255 22:00:57 Removing intermediate container 0426fd4b0255 22:00:57 ---> 73833062b4a6 22:00:57 [Warning] One or more build-args [ARCH] were not consumed 22:00:57 Successfully built 73833062b4a6 22:00:57 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] } 22:00:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.298s coverage: 97.1% of statements [Pipeline] // stage [Pipeline] } 22:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements 22:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.7% of statements 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.604s coverage: 42.9% of statements 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.764s coverage: 68.9% of statements 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 53.8% of statements 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 22:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 22:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.193s coverage: 31.3% of statements 22:01:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.740s coverage: 68.9% of statements 22:01:30 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.2% of statements 22:01:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:01:30 GO111MODULE=on go vet ./... 22:02:03 gofmt -l . 22:02:03 [ "`gofmt -l .`" = "" ] 22:02:03 ./bin/test-attribution-txt.sh 22:02:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:02:03 $ docker stop --time=1 47ba273f1cd42d47c86e93842e3a89ab3e81a5903a8c5242572505ac1577f3e2 22:02:05 $ docker rm -f 47ba273f1cd42d47c86e93842e3a89ab3e81a5903a8c5242572505ac1577f3e2 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:02:07 Warning: overwriting stash ‘coverage-report’ 22:02:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:02:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:02:08 + ls -al . 22:02:08 total 252 22:02:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:02 . 22:02:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:58 .. 22:02:08 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 21:58 .dockerignore 22:02:08 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:58 .git 22:02:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:58 .github 22:02:08 -rw-rw-r-- 1 jenkins jenkins 138 Jan 11 21:58 .gitignore 22:02:08 -rw-rw-r-- 1 jenkins jenkins 949 Jan 11 21:58 Dockerfile.build 22:02:08 -rw-rw-r-- 1 jenkins jenkins 901 Jan 11 21:58 Jenkinsfile 22:02:08 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 21:58 LICENSE 22:02:08 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 11 21:58 Makefile 22:02:08 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 11 21:58 README.md 22:02:08 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 11 21:58 RELEASE-NOTES.txt 22:02:08 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:54 VERSION 22:02:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:58 bin 22:02:08 -rw-r--r-- 1 jenkins jenkins 137952 Jan 11 22:01 coverage.out 22:02:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:58 example 22:02:08 -rw-r--r-- 1 jenkins jenkins 488 Jan 11 22:02 go.mod 22:02:08 -rw-r--r-- 1 jenkins jenkins 14014 Jan 11 22:02 go.sum 22:02:08 drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 21:58 internal 22:02:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:58 openapi 22:02:08 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 21:58 pkg 22:02:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:58 snap 22:02:08 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 21:58 version.go [Pipeline] isUnix [Pipeline] sh 22:02:09 + 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=9a6397b0eca9f2a31ce775436c9523ccb1920c0c --label arch=arm64 --label version=0.0.0 . 22:02:09 Sending build context to Docker daemon 2.638MB 22:02:09 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 22:02:09 Step 2/24 : FROM ${BASE} AS builder 22:02:09 ---> f27ed8324f08 22:02:09 Step 3/24 : ARG MAKE='make build' 22:02:10 ---> Running in 35fbcc4409d9 22:02:10 Removing intermediate container 35fbcc4409d9 22:02:10 ---> c9f9d6f3fdd2 22:02:10 Step 4/24 : WORKDIR /device-sdk-go 22:02:10 ---> Running in 2d1be57bb74a 22:02:11 Removing intermediate container 2d1be57bb74a 22:02:11 ---> fe7d6fb25dd7 22:02:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:02:11 ---> Running in 1e6a483f8e02 22:02:11 Removing intermediate container 1e6a483f8e02 22:02:11 ---> 5dd3e7accf78 22:02:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:02:11 ---> Running in c5360c955a28 22:02:13 Removing intermediate container c5360c955a28 22:02:13 ---> a348137a09ed 22:02:13 Step 7/24 : RUN apk add --update --no-cache make git 22:02:14 ---> Running in db0cf1e38c2f 22:02:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:02:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:02:17 OK: 142 MiB in 39 packages 22:02:18 Removing intermediate container db0cf1e38c2f 22:02:18 ---> 15a3689845af 22:02:18 Step 8/24 : COPY . . 22:02:19 ---> 7f11d188d667 22:02:19 Step 9/24 : RUN ${MAKE} 22:02:19 ---> Running in 41a9ee19f555 22:02:20 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 22:02:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:02:47 Removing intermediate container 41a9ee19f555 22:02:47 ---> 8855a229c02c 22:02:47 Step 10/24 : FROM scratch 22:02:47 ---> 22:02:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:02:47 ---> Running in 74ad5f857f05 22:02:48 Removing intermediate container 74ad5f857f05 22:02:48 ---> 834d65f4dcad 22:02:48 Step 12/24 : ENV APP_PORT=49990 22:02:48 ---> Running in 15a06adc50f1 22:02:48 Removing intermediate container 15a06adc50f1 22:02:48 ---> 502c2f6543e6 22:02:48 Step 13/24 : EXPOSE $APP_PORT 22:02:48 ---> Running in 47a66ad87e02 22:02:48 Removing intermediate container 47a66ad87e02 22:02:48 ---> 721e7cad828a 22:02:48 Step 14/24 : WORKDIR / 22:02:49 ---> Running in a81aab095c0d 22:02:49 Removing intermediate container a81aab095c0d 22:02:49 ---> 7f3262c59e8b 22:02:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:02:50 ---> 12e55425b64c 22:02:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:02:51 ---> 274981c0fa05 22:02:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:02:52 ---> b1deadb3495d 22:02:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:02:52 ---> 38dbf5db93f0 22:02:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:02:53 ---> 4814c972b491 22:02:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:02:53 ---> Running in 30b08290bd0a 22:02:53 Removing intermediate container 30b08290bd0a 22:02:53 ---> 963832019f9b 22:02:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:02:54 ---> Running in d7bff198efb3 22:02:54 Removing intermediate container d7bff198efb3 22:02:54 ---> 19ee7fc64c92 22:02:54 Step 22/24 : LABEL arch=arm64 22:02:54 ---> Running in 3e4e6e0e88e4 22:02:55 Removing intermediate container 3e4e6e0e88e4 22:02:55 ---> d8bf3c9ffc50 22:02:55 Step 23/24 : LABEL git_sha=9a6397b0eca9f2a31ce775436c9523ccb1920c0c 22:02:55 ---> Running in 075087f1adf6 22:02:55 Removing intermediate container 075087f1adf6 22:02:55 ---> 41ef812fdb94 22:02:55 Step 24/24 : LABEL version=0.0.0 22:02:55 ---> Running in 830dee66e61d 22:02:56 Removing intermediate container 830dee66e61d 22:02:56 ---> 7c2303086d42 22:02:56 [Warning] One or more build-args [ARCH] were not consumed 22:02:56 Successfully built 7c2303086d42 22:02:56 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 22:02:58 provisioning config files... 22:02:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config6512711493601583735tmp [Pipeline] { [Pipeline] sh 22:02:58 + set +x 22:02:58 + curl -s https://codecov.io/bash 22:02:58 + bash -s -- 22:02:58 22:02:58 _____ _ 22:02:58 / ____| | | 22:02:58 | | ___ __| | ___ ___ _____ __ 22:02:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:02:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:02:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:02:58 Bash-20201231-23d4836 22:02:58 22:02:58 22:02:58 ==> git version 2.24.3 found 22:02:58 ==> 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 22:02:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:02:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:02:58 ==> Jenkins CI detected. 22:02:58 project root: . 22:02:58 --> token set from env 22:02:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:02:58 ==> Running gcov in . (disable via -X gcov) 22:02:58 ==> Python coveragepy not found 22:02:58 ==> Searching for coverage reports in: 22:02:58 + . 22:02:58 -> Found 1 reports 22:02:58 ==> Detecting git/mercurial file structure 22:02:58 ==> Reading reports 22:02:58 + ./coverage.out bytes=137952 22:02:58 ==> Appending adjustments 22:02:58 https://docs.codecov.io/docs/fixing-reports 22:02:59 + Found adjustments 22:02:59 ==> Gzipping contents 22:02:59 24K /tmp/codecov.6gJiab.gz 22:02:59 ==> Uploading reports 22:02:59 url: https://codecov.io 22:02:59 query: branch=PR-713&commit=9a6397b0eca9f2a31ce775436c9523ccb1920c0c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-713%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=713&job=&cmd_args= 22:02:59 -> Pinging Codecov 22:02:59 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-713&commit=9a6397b0eca9f2a31ce775436c9523ccb1920c0c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-713%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=713&job=&cmd_args= 22:02:59 -> Uploading to 22:02:59 https://storage.googleapis.com/codecov/v4/raw/2021-01-11/7E55EF52A471D76F132DFD9A03CDDE97/9a6397b0eca9f2a31ce775436c9523ccb1920c0c/2fc43edf-752d-4411-b73e-4546f09ad998.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T220259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6e5fa7515df334e30566eb2e146d093dba789f155c9aba6a56af7c28638fbfd 22:02:59 % Total % Received % Xferd Average Speed Time Time Time Current 22:02:59 Dload Upload Total Spent Left Speed 22:03:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22068 0 0 100 22068 0 52734 --:--:-- --:--:-- --:--:-- 52668 100 22068 0 0 100 22068 0 52712 --:--:-- --:--:-- --:--:-- 52668 22:03:00 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9a6397b0eca9f2a31ce775436c9523ccb1920c0c [Pipeline] } 22:03:00 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 22:03:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:03:03 ---> package-listing.sh 22:03:03 ++ facter osfamily 22:03:03 ++ tr '[:upper:]' '[:lower:]' 22:03:03 + OS_FAMILY=redhat 22:03:03 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-713 22:03:03 + START_PACKAGES=/tmp/packages_start.txt 22:03:03 + END_PACKAGES=/tmp/packages_end.txt 22:03:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:03:03 + PACKAGES=/tmp/packages_start.txt 22:03:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' 22:03:03 + PACKAGES=/tmp/packages_end.txt 22:03:03 + case "${OS_FAMILY}" in 22:03:03 + rpm -qa 22:03:03 + sort 22:03:08 + '[' -f /tmp/packages_start.txt ']' 22:03:08 + '[' -f /tmp/packages_end.txt ']' 22:03:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:03:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' 22:03:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ 22:03:08 + 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 22:03:08 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 22:03:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:03:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:03:09 22:03:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:03:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:03:09 alpine: Pulling from edgex-lftools-log-publisher 22:03:09 df20fa9351a1: Pulling fs layer 22:03:09 36b3adc4ff6f: Pulling fs layer 22:03:09 8ad3a11d3b57: Pulling fs layer 22:03:09 46f8f816bc3b: Pulling fs layer 22:03:09 93b61091891f: Pulling fs layer 22:03:09 93b9cdb0e59b: Pulling fs layer 22:03:09 5e14af77c1be: Pulling fs layer 22:03:09 01666e4c0597: Pulling fs layer 22:03:09 aa168da1d23b: Pulling fs layer 22:03:09 46f8f816bc3b: Waiting 22:03:09 93b61091891f: Waiting 22:03:09 93b9cdb0e59b: Waiting 22:03:09 5e14af77c1be: Waiting 22:03:09 01666e4c0597: Waiting 22:03:09 aa168da1d23b: Waiting 22:03:09 46f8f816bc3b: Verifying Checksum 22:03:09 46f8f816bc3b: Download complete 22:03:09 df20fa9351a1: Verifying Checksum 22:03:09 df20fa9351a1: Download complete 22:03:09 93b9cdb0e59b: Verifying Checksum 22:03:09 93b9cdb0e59b: Download complete 22:03:09 5e14af77c1be: Verifying Checksum 22:03:09 5e14af77c1be: Download complete 22:03:09 93b61091891f: Verifying Checksum 22:03:09 93b61091891f: Download complete 22:03:09 01666e4c0597: Verifying Checksum 22:03:09 01666e4c0597: Download complete 22:03:09 8ad3a11d3b57: Verifying Checksum 22:03:09 8ad3a11d3b57: Download complete 22:03:10 df20fa9351a1: Pull complete 22:03:10 36b3adc4ff6f: Pull complete 22:03:11 8ad3a11d3b57: Pull complete 22:03:11 46f8f816bc3b: Pull complete 22:03:11 aa168da1d23b: Verifying Checksum 22:03:11 aa168da1d23b: Download complete 22:03:11 93b61091891f: Pull complete 22:03:12 93b9cdb0e59b: Pull complete 22:03:12 5e14af77c1be: Pull complete 22:03:12 01666e4c0597: Pull complete 22:03:19 aa168da1d23b: Pull complete 22:03:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:03:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:03:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:03:19 prd-centos7-docker-4c-2g-19611 does not seem to be running inside a container 22:03:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:03:22 $ docker top e3998997094b0106ea501131bd311f0458d7fd726612fd2985115a5f51503d1a -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:23 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:23 + mkdir -p /var/log/sa [Pipeline] sh 22:03:23 + ls /var/log/sa-host 22:03:23 + sadf -c /var/log/sa-host/sa11 22:03:23 file_magic: OK 22:03:23 HZ: Using current value: 100 22:03:23 file_header: OK 22:03:23 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 22:03:23 Statistics: 22:03:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:03:23 File successfully converted to sysstat format version 12.2.1 22:03:23 + sadf -c /var/log/sa-host/sa23 22:03:23 file_magic: OK 22:03:23 HZ: Using current value: 100 22:03:23 file_header: OK 22:03:23 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 22:03:23 Statistics: 22:03:23 Hnuu...uuuununununu... 22:03:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:24 provisioning config files... 22:03:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config3691097656508971923tmp [Pipeline] { [Pipeline] echo 22:03:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:25 ---> create-netrc.sh [Pipeline] } 22:03:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:03:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:03:25 ---> python-tools-install.sh [Pipeline] echo 22:03:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:25 ---> sudo-logs.sh 22:03:25 Archiving 'sudo' log.. [Pipeline] echo 22:03:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:26 ---> job-cost.sh 22:03:26 lf-activate-venv: SKIPPING 22:03:26 INFO: No Stack... 22:03:27 INFO: Retrieving Pricing Info for: v1-standard-2 22:03:27 INFO: Archiving Costs [Pipeline] echo 22:03:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:27 ---> logs-deploy.sh 22:03:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-713/5 22:03:27 INFO: archiving workspace using pattern(s): 22:03:29 Archives upload complete. 22:03:29 INFO: archiving logs to Nexus 22:03:30 ---> uname -a: 22:03:30 Linux prd-centos7-docker-4c-2g-19611.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:03:30 22:03:30 22:03:30 ---> lscpu: 22:03:30 Architecture: x86_64 22:03:30 CPU op-mode(s): 32-bit, 64-bit 22:03:30 Byte Order: Little Endian 22:03:30 Address sizes: 40 bits physical, 48 bits virtual 22:03:30 CPU(s): 4 22:03:30 On-line CPU(s) list: 0-3 22:03:30 Thread(s) per core: 1 22:03:30 Core(s) per socket: 1 22:03:30 Socket(s): 4 22:03:30 NUMA node(s): 1 22:03:30 Vendor ID: GenuineIntel 22:03:30 CPU family: 6 22:03:30 Model: 44 22:03:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:03:30 Stepping: 1 22:03:30 CPU MHz: 2933.436 22:03:30 BogoMIPS: 5866.87 22:03:30 Virtualization: VT-x 22:03:30 Hypervisor vendor: KVM 22:03:30 Virtualization type: full 22:03:30 L1d cache: 128 KiB 22:03:30 L1i cache: 128 KiB 22:03:30 L2 cache: 16 MiB 22:03:30 L3 cache: 64 MiB 22:03:30 NUMA node0 CPU(s): 0-3 22:03:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:03:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:03:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:03:30 Vulnerability Meltdown: Mitigation; PTI 22:03:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:03:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:03:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:03:30 Vulnerability Srbds: Not affected 22:03:30 Vulnerability Tsx async abort: Not affected 22:03:30 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 22:03:30 22:03:30 22:03:30 ---> nproc: 22:03:30 4 22:03:30 22:03:30 22:03:30 ---> df -h: 22:03:30 Filesystem Size Used Available Use% Mounted on 22:03:30 overlay 50.0G 7.3G 42.7G 15% / 22:03:30 tmpfs 64.0M 0 64.0M 0% /dev 22:03:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:03:30 shm 64.0M 0 64.0M 0% /dev/shm 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-713 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:03:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:03:30 22:03:30 22:03:30 ---> free -m: 22:03:30 total used free shared buff/cache available 22:03:30 Mem: 1837 707 114 0 1015 1025 22:03:30 Swap: 1023 0 1023 22:03:30 22:03:30 22:03:30 ---> ip addr: 22:03:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:03:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:03:30 inet 127.0.0.1/8 scope host lo 22:03:30 valid_lft forever preferred_lft forever 22:03:30 inet6 ::1/128 scope host 22:03:30 valid_lft forever preferred_lft forever 22:03:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:03:30 link/ether fa:16:3e:21:2e:91 brd ff:ff:ff:ff:ff:ff 22:03:30 inet 10.30.123.185/23 brd 10.30.123.255 scope global dynamic eth0 22:03:30 valid_lft 85811sec preferred_lft 85811sec 22:03:30 inet6 fe80::f816:3eff:fe21:2e91/64 scope link 22:03:30 valid_lft forever preferred_lft forever 22:03:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:03:30 link/ether 02:42:d9:c5:8c:8a brd ff:ff:ff:ff:ff:ff 22:03:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:03:30 valid_lft forever preferred_lft forever 22:03:30 inet6 fe80::42:d9ff:fec5:8c8a/64 scope link 22:03:30 valid_lft forever preferred_lft forever 22:03:30 22:03:30 22:03:30 ---> sar -b -r -n DEV: 22:03:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 22:03:30 22:03:30 21:53:29 LINUX RESTART (4 CPU) 22:03:30 22:03:30 21:54:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:03:30 21:55:01 61.06 17.58 43.48 0.00 5320.97 3905.99 0.00 22:03:30 21:56:01 1.47 0.00 1.47 0.00 0.00 20.63 0.00 22:03:30 21:57:01 0.23 0.00 0.23 0.00 0.00 2.86 0.00 22:03:30 21:58:01 0.27 0.00 0.27 0.00 0.00 3.60 0.00 22:03:30 21:59:01 0.18 0.00 0.18 0.00 0.00 3.03 0.00 22:03:30 22:00:01 0.33 0.00 0.33 0.00 0.00 4.38 0.00 22:03:30 22:01:01 0.27 0.02 0.25 0.00 0.13 3.86 0.00 22:03:30 22:02:01 0.38 0.08 0.30 0.00 1.60 4.74 0.00 22:03:30 22:03:01 0.67 0.40 0.27 0.00 134.73 4.50 0.00 22:03:30 Average: 7.11 1.98 5.13 0.00 598.00 433.13 0.00 22:03:30 22:03:30 21:54:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:03:30 21:55:01 145424 0 608652 32.35 2620 1124848 1110260 37.89 437168 1099088 20 22:03:30 21:56:01 151724 0 602344 32.01 2620 1124856 1079872 36.85 438396 1092676 20 22:03:30 21:57:01 150200 0 603864 32.09 2620 1124860 1079908 36.86 437116 1095840 20 22:03:30 21:58:01 149728 0 604336 32.12 2620 1124860 1079932 36.86 450356 1082640 16 22:03:30 21:59:01 148032 0 606024 32.21 2620 1124868 1079932 36.86 448472 1086356 8 22:03:30 22:00:01 148296 0 605756 32.19 2620 1124872 1079944 36.86 454540 1080260 8 22:03:30 22:01:01 148724 0 605324 32.17 2620 1124876 1082120 36.93 454336 1080256 8 22:03:30 22:02:01 148952 0 604968 32.15 2620 1125004 1080284 36.87 453904 1080312 8 22:03:30 22:03:01 141032 0 608648 32.35 2620 1129244 1080620 36.88 456532 1084240 180 22:03:30 Average: 148012 0 605546 32.18 2620 1125365 1083652 36.98 447869 1086852 32 22:03:30 22:03:30 21:54:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:03:30 21:55:01 eth0 548.21 353.43 1085.63 104.11 0.00 0.00 0.00 0.00 22:03:30 21:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:55:01 docker0 12.56 9.88 1.70 21.52 0.00 0.00 0.00 0.00 22:03:30 21:56:01 eth0 2.00 0.57 0.82 0.22 0.00 0.00 0.00 0.00 22:03:30 21:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:57:01 eth0 1.45 0.43 0.38 0.21 0.00 0.00 0.00 0.00 22:03:30 21:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:58:01 eth0 1.42 0.37 0.40 0.20 0.00 0.00 0.00 0.00 22:03:30 21:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:59:01 eth0 1.17 0.58 0.56 0.36 0.00 0.00 0.00 0.00 22:03:30 21:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 21:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:00:01 eth0 0.85 0.18 0.20 0.10 0.00 0.00 0.00 0.00 22:03:30 22:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:01:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:03:30 22:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:02:01 eth0 0.62 0.08 0.06 0.01 0.00 0.00 0.00 0.00 22:03:30 22:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:03:01 eth0 5.26 3.55 5.00 2.03 0.00 0.00 0.00 0.00 22:03:30 22:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 22:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 Average: eth0 61.48 39.36 119.74 11.75 0.00 0.00 0.00 0.00 22:03:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:30 Average: docker0 1.38 1.08 0.19 2.36 0.00 0.00 0.00 0.00 22:03:30 22:03:30 22:03:30 ---> sar -P ALL: 22:03:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 22:03:30 22:03:30 21:53:29 LINUX RESTART (4 CPU) 22:03:30 22:03:30 21:54:02 CPU %user %nice %system %iowait %steal %idle 22:03:30 21:55:01 all 10.75 0.00 3.53 1.23 0.11 84.38 22:03:30 21:55:01 0 10.16 0.00 5.30 3.98 0.12 80.44 22:03:30 21:55:01 1 11.57 0.00 3.18 0.31 0.12 84.82 22:03:30 21:55:01 2 9.55 0.00 2.75 0.33 0.10 87.27 22:03:30 21:55:01 3 11.71 0.00 2.89 0.31 0.10 84.99 22:03:30 21:56:01 all 0.18 0.00 0.05 0.00 0.00 99.77 22:03:30 21:56:01 0 0.02 0.00 0.05 0.00 0.00 99.93 22:03:30 21:56:01 1 0.12 0.00 0.07 0.00 0.00 99.82 22:03:30 21:56:01 2 0.08 0.00 0.07 0.00 0.00 99.85 22:03:30 21:56:01 3 0.48 0.00 0.03 0.00 0.00 99.48 22:03:30 21:57:01 all 0.20 0.00 0.18 0.00 0.02 99.60 22:03:30 21:57:01 0 0.08 0.00 0.15 0.00 0.02 99.75 22:03:30 21:57:01 1 0.35 0.00 0.23 0.00 0.02 99.40 22:03:30 21:57:01 2 0.08 0.00 0.17 0.00 0.02 99.73 22:03:30 21:57:01 3 0.30 0.00 0.18 0.00 0.02 99.50 22:03:30 21:58:01 all 0.16 0.00 0.05 0.00 0.00 99.79 22:03:30 21:58:01 0 0.02 0.00 0.03 0.00 0.00 99.95 22:03:30 21:58:01 1 0.53 0.00 0.05 0.00 0.00 99.42 22:03:30 21:58:01 2 0.05 0.00 0.10 0.00 0.00 99.85 22:03:30 21:58:01 3 0.03 0.00 0.02 0.00 0.00 99.95 22:03:30 21:59:01 all 0.16 0.00 0.07 0.00 0.01 99.77 22:03:30 21:59:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:03:30 21:59:01 1 0.47 0.00 0.05 0.00 0.02 99.47 22:03:30 21:59:01 2 0.08 0.00 0.12 0.00 0.02 99.78 22:03:30 21:59:01 3 0.07 0.00 0.08 0.00 0.00 99.85 22:03:30 22:00:01 all 0.15 0.00 0.05 0.00 0.00 99.79 22:03:30 22:00:01 0 0.02 0.00 0.03 0.00 0.00 99.95 22:03:30 22:00:01 1 0.52 0.00 0.05 0.00 0.02 99.42 22:03:30 22:00:01 2 0.03 0.00 0.10 0.00 0.00 99.87 22:03:30 22:00:01 3 0.03 0.00 0.03 0.00 0.00 99.93 22:03:30 22:01:01 all 0.17 0.00 0.06 0.00 0.00 99.76 22:03:30 22:01:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:03:30 22:01:01 1 0.60 0.00 0.12 0.00 0.00 99.28 22:03:30 22:01:01 2 0.02 0.00 0.08 0.00 0.00 99.90 22:03:30 22:01:01 3 0.05 0.00 0.03 0.00 0.02 99.90 22:03:30 22:02:01 all 0.14 0.00 0.05 0.00 0.00 99.80 22:03:30 22:02:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:03:30 22:02:01 1 0.47 0.00 0.12 0.02 0.00 99.40 22:03:30 22:02:01 2 0.03 0.00 0.05 0.00 0.02 99.90 22:03:30 22:02:01 3 0.03 0.00 0.03 0.00 0.00 99.93 22:03:30 22:03:01 all 0.38 0.00 0.31 0.00 0.00 99.30 22:03:30 22:03:01 0 0.43 0.00 0.35 0.00 0.00 99.22 22:03:30 22:03:01 1 0.42 0.00 0.30 0.00 0.00 99.28 22:03:30 22:03:01 2 0.38 0.00 0.30 0.02 0.00 99.30 22:03:30 22:03:01 3 0.30 0.00 0.30 0.00 0.00 99.40 22:03:30 Average: all 1.33 0.00 0.47 0.13 0.02 98.04 22:03:30 Average: 0 1.16 0.00 0.65 0.43 0.01 97.74 22:03:30 Average: 1 1.64 0.00 0.45 0.04 0.02 97.85 22:03:30 Average: 2 1.12 0.00 0.41 0.04 0.02 98.42 22:03:30 Average: 3 1.41 0.00 0.39 0.03 0.01 98.15 22:03:30 22:03:30 22:03:30