Pull request #650 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 tzstoyanov for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 4525aed633a2d28dffb46d50cb0e81f75e767df3 rather than e78e4a6b1226f712260dbfe942b10f61481acef9 Obtained Jenkinsfile from 4525aed633a2d28dffb46d50cb0e81f75e767df3 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16318 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [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-650 # 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 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit e78e4a6b1226f712260dbfe942b10f61481acef9 Merge succeeded, producing e78e4a6b1226f712260dbfe942b10f61481acef9 Checking out Revision e78e4a6b1226f712260dbfe942b10f61481acef9 (PR-650) > 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/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e78e4a6b1226f712260dbfe942b10f61481acef9 # 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 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e78e4a6b1226f712260dbfe942b10f61481acef9 # timeout=10 Commit message: "feat(sdk): Implement Device AutoEvents SDK APIs" First time build. Skipping changelog. > git rev-list --no-walk 1fe98612d91ad7067da65148900ec19dd95b7b76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:45:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:45:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:45:41 ========================================================= 09:45:41 EdgeX Global Pipelines Version Info 09:45:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:45:43 ------------------- 09:45:43 stable info: 09:45:43 ------------------- 09:45:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:45:43 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 09:45:43 Message: update stable to v1.0.172 09:45:44 ------------------- 09:45:44 experimental info: 09:45:44 ------------------- 09:45:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:45:44 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 09:45:44 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:45:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:45:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:45:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:45:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:45:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:45:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:45:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo 09:45:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo 09:45:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo 09:45:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e78e4a6b1226f712260dbfe942b10f61481acef9 [Pipeline] echo 09:45:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e78e4a6 [Pipeline] echo 09:45:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:45:47 provisioning config files... 09:45:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config724468205425995184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:47 ---> docker-login.sh 09:45:47 nexus3.edgexfoundry.org:10001 09:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:48 Configure a credential helper to remove this warning. See 09:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:48 09:45:48 Login Succeeded 09:45:48 nexus3.edgexfoundry.org:10002 09:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:48 Configure a credential helper to remove this warning. See 09:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:48 09:45:48 Login Succeeded 09:45:48 nexus3.edgexfoundry.org:10003 09:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:48 Configure a credential helper to remove this warning. See 09:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:48 09:45:48 Login Succeeded 09:45:48 nexus3.edgexfoundry.org:10004 09:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:49 Configure a credential helper to remove this warning. See 09:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:49 09:45:49 Login Succeeded 09:45:49 docker.io 09:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:49 Configure a credential helper to remove this warning. See 09:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:49 09:45:49 Login Succeeded 09:45:49 ---> docker-login.sh ends [Pipeline] } 09:45:49 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 09:45:50 + git log --format=format:%s -1 e78e4a6b1226f712260dbfe942b10f61481acef9 [Pipeline] echo 09:45:50 GIT_COMMIT: e78e4a6b1226f712260dbfe942b10f61481acef9, Commit Message: feat(sdk): Implement Device AutoEvents SDK APIs [Pipeline] echo 09:45:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:45:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:45:51 09:45:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:45:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:45:51 latest: Pulling from edgex-devops/git-semver 09:45:51 31603596830f: Pulling fs layer 09:45:51 2a8b12db71e7: Pulling fs layer 09:45:51 6ca5941a6612: Pulling fs layer 09:45:51 ecc8261a40a4: Pulling fs layer 09:45:51 ecc8261a40a4: Waiting 09:45:51 2a8b12db71e7: Download complete 09:45:51 31603596830f: Verifying Checksum 09:45:51 31603596830f: Download complete 09:45:51 6ca5941a6612: Verifying Checksum 09:45:51 6ca5941a6612: Download complete 09:45:51 ecc8261a40a4: Download complete 09:45:52 31603596830f: Pull complete 09:45:52 2a8b12db71e7: Pull complete 09:45:53 6ca5941a6612: Pull complete 09:45:53 ecc8261a40a4: Pull complete 09:45:53 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:45:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:45:53 prd-centos7-docker-4c-2g-16318 does not seem to be running inside a container 09:45:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:45:55 $ docker top 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:45:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:56 [ssh-agent] Looking for ssh-agent implementation... 09:45:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:56 $ docker exec 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 ssh-agent 09:45:56 SSH_AUTH_SOCK=/tmp/ssh-lHcjkZ17o4jI/agent.11 09:45:56 SSH_AGENT_PID=17 09:45:56 Running ssh-add (command line suppressed) 09:45:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_2983457202766023554.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_2983457202766023554.key) 09:45:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:57 + git tag --points-at HEAD [Pipeline] } 09:45:57 $ docker exec --env ******** --env ******** 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 ssh-agent -k 09:45:57 unset SSH_AUTH_SOCK; 09:45:57 unset SSH_AGENT_PID; 09:45:57 echo Agent pid 17 killed; 09:45:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:45:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:57 [ssh-agent] Looking for ssh-agent implementation... 09:45:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:57 $ docker exec 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 ssh-agent 09:45:57 SSH_AUTH_SOCK=/tmp/ssh-lmievoUmSdEO/agent.45 09:45:57 SSH_AGENT_PID=51 09:45:57 Running ssh-add (command line suppressed) 09:45:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3761354016773256343.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3761354016773256343.key) 09:45:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:58 + git semver init 09:45:58 # -> Open(): unable to determine branch for HEAD 09:45:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.git 09:45:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-650 09:45:58 # $SEMVER_REMOTE_NAME = origin 09:45:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:45:58 # $SEMVER_USER_NAME = edgex-jenkins 09:45:58 # $SEMVER_BRANCH = PR-650 09:45:58 # $SEMVER_TEMP = /tmp/semver-175250636 09:45:58 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:45:59 # '/tmp/semver-175250636' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver' 09:45:59 # -> Force: false 09:45:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver [Pipeline] } 09:45:59 $ docker exec --env ******** --env ******** 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 ssh-agent -k 09:45:59 unset SSH_AUTH_SOCK; 09:45:59 unset SSH_AGENT_PID; 09:45:59 echo Agent pid 51 killed; 09:45:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:59 + git semver [Pipeline] } 09:45:59 $ docker stop --time=1 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 09:46:01 $ docker rm -f 8a2a0d3ec5b1880f800bb79eed7c169ab9f683ba3f02f20409fa70da81ed1602 [Pipeline] // withDockerContainer [Pipeline] sh 09:46:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:46:02 Stashed 1 file(s) [Pipeline] echo 09:46:02 [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 09:46:17 Still waiting to schedule task 09:46:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:46:17 Still waiting to schedule task 09:46:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:48:06 Running on prd-centos7-docker-4c-2g-16322 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 09:48:07 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 09:48:09 using credential edgex-jenkins-ssh 09:48:09 Cloning the remote Git repository 09:48:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:48:09 > git init /w/workspace/device-sdk-go/11 # timeout=10 09:48:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:48:09 > git --version # timeout=10 09:48:09 > git --version # 'git version 2.24.3' 09:48:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:48:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:48:10 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit e78e4a6b1226f712260dbfe942b10f61481acef9 09:48:10 Merge succeeded, producing e78e4a6b1226f712260dbfe942b10f61481acef9 09:48:10 Checking out Revision e78e4a6b1226f712260dbfe942b10f61481acef9 (PR-650) 09:48:10 > git config core.sparsecheckout # timeout=10 09:48:10 > git checkout -f e78e4a6b1226f712260dbfe942b10f61481acef9 # timeout=10 09:48:10 > git remote # timeout=10 09:48:10 > git config --get remote.origin.url # timeout=10 09:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:10 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 09:48:10 > git rev-parse HEAD^{commit} # timeout=10 09:48:10 > git config core.sparsecheckout # timeout=10 09:48:10 > git checkout -f e78e4a6b1226f712260dbfe942b10f61481acef9 # timeout=10 09:48:14 Commit message: "feat(sdk): Implement Device AutoEvents SDK APIs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:48:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:48:16 + sudo service docker restart 09:48:16 + true 09:48:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:48:17 provisioning config files... 09:48:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config6818816805978524343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:18 ---> docker-login.sh 09:48:18 nexus3.edgexfoundry.org:10001 09:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:18 Configure a credential helper to remove this warning. See 09:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:18 09:48:18 Login Succeeded 09:48:18 nexus3.edgexfoundry.org:10002 09:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:18 Configure a credential helper to remove this warning. See 09:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:18 09:48:18 Login Succeeded 09:48:18 nexus3.edgexfoundry.org:10003 09:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:18 Configure a credential helper to remove this warning. See 09:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:18 09:48:18 Login Succeeded 09:48:18 nexus3.edgexfoundry.org:10004 09:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:19 Configure a credential helper to remove this warning. See 09:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:19 09:48:19 Login Succeeded 09:48:19 docker.io 09:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:19 Configure a credential helper to remove this warning. See 09:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:19 09:48:19 Login Succeeded 09:48:19 ---> docker-login.sh ends [Pipeline] } 09:48:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:48:19 ========================================================= 09:48:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:48:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:48:20 + 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 . 09:48:20 Sending build context to Docker daemon 2.416MB 09:48:20 Step 1/8 : ARG BASE=golang:1.15-alpine 09:48:20 Step 2/8 : FROM ${BASE} 09:48:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:48:20 188c0c94c7c5: Pulling fs layer 09:48:20 0ef7d3d256c8: Pulling fs layer 09:48:20 de9db76c5a1d: Pulling fs layer 09:48:20 bca2f99d35d6: Pulling fs layer 09:48:20 93359f2a8cfa: Pulling fs layer 09:48:20 7c6f9722023f: Pulling fs layer 09:48:20 a35cf1a2eb13: Pulling fs layer 09:48:20 93359f2a8cfa: Waiting 09:48:20 7c6f9722023f: Waiting 09:48:20 a35cf1a2eb13: Waiting 09:48:20 bca2f99d35d6: Waiting 09:48:20 de9db76c5a1d: Verifying Checksum 09:48:20 de9db76c5a1d: Download complete 09:48:20 0ef7d3d256c8: Download complete 09:48:20 93359f2a8cfa: Download complete 09:48:20 188c0c94c7c5: Verifying Checksum 09:48:20 188c0c94c7c5: Download complete 09:48:20 7c6f9722023f: Verifying Checksum 09:48:20 7c6f9722023f: Download complete 09:48:20 188c0c94c7c5: Pull complete 09:48:21 0ef7d3d256c8: Pull complete 09:48:21 de9db76c5a1d: Pull complete 09:48:22 a35cf1a2eb13: Verifying Checksum 09:48:22 a35cf1a2eb13: Download complete 09:48:23 bca2f99d35d6: Verifying Checksum 09:48:23 bca2f99d35d6: Download complete 09:48:28 bca2f99d35d6: Pull complete 09:48:28 93359f2a8cfa: Pull complete 09:48:28 7c6f9722023f: Pull complete 09:48:32 a35cf1a2eb13: Pull complete 09:48:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:48:32 ---> a62c8e92a672 09:48:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:48:32 ---> Running in d841accb6bc4 09:48:32 Removing intermediate container d841accb6bc4 09:48:32 ---> a10f482f08dc 09:48:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:32 ---> Running in fdda016f340e 09:48:33 Removing intermediate container fdda016f340e 09:48:33 ---> baf8562eb127 09:48:33 Step 5/8 : RUN apk add --no-cache make git 09:48:33 ---> Running in a16059a7cf48 09:48:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:48:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:48:35 OK: 166 MiB in 39 packages 09:48:35 Removing intermediate container a16059a7cf48 09:48:35 ---> 845e6137805a 09:48:35 Step 6/8 : WORKDIR /device-sdk-go 09:48:35 ---> Running in d4527f679295 09:48:35 Removing intermediate container d4527f679295 09:48:35 ---> 0a46b8fa2fd8 09:48:35 Step 7/8 : COPY . . 09:48:37 ---> 08359193153a 09:48:37 Step 8/8 : RUN go mod download 09:48:37 ---> Running in 853e6a50918f 09:48:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16321 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 09:48:48 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 09:48:53 using credential edgex-jenkins-ssh 09:48:53 Cloning the remote Git repository 09:48:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:48:54 > git init /w/workspace/device-sdk-go/11 # timeout=10 09:48:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:48:54 > git --version # timeout=10 09:48:54 > git --version # 'git version 2.17.1' 09:48:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:55 Removing intermediate container 853e6a50918f 09:48:55 ---> 9b63a1604298 09:48:55 Successfully built 9b63a1604298 09:48:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:48:55 + docker inspect -f . ci-base-image-x86_64 09:48:55 . [Pipeline] withDockerContainer 09:48:56 prd-centos7-docker-4c-2g-16322 does not seem to be running inside a container 09:48:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 09:48:56 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit e78e4a6b1226f712260dbfe942b10f61481acef9 09:48:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:48:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:48:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:48:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:48:56 > git config core.sparsecheckout # timeout=10 09:48:56 Merge succeeded, producing e78e4a6b1226f712260dbfe942b10f61481acef9 09:48:56 Checking out Revision e78e4a6b1226f712260dbfe942b10f61481acef9 (PR-650) 09:48:56 $ docker top a11b3943dfcc3ca2006f0aec6482f5b8ec55503790cb16fa13b48de764afe6e6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:57 + go version 09:48:57 go version go1.15.5 linux/amd64 [Pipeline] } 09:48:57 $ docker stop --time=1 a11b3943dfcc3ca2006f0aec6482f5b8ec55503790cb16fa13b48de764afe6e6 09:48:56 > git checkout -f e78e4a6b1226f712260dbfe942b10f61481acef9 # timeout=10 09:48:56 > git remote # timeout=10 09:48:56 > git config --get remote.origin.url # timeout=10 09:48:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:56 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 09:48:56 > git rev-parse HEAD^{commit} # timeout=10 09:48:56 > git config core.sparsecheckout # timeout=10 09:48:56 > git checkout -f e78e4a6b1226f712260dbfe942b10f61481acef9 # timeout=10 09:48:59 $ docker rm -f a11b3943dfcc3ca2006f0aec6482f5b8ec55503790cb16fa13b48de764afe6e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:49:00 + docker inspect -f . ci-base-image-x86_64 09:49:00 . [Pipeline] withDockerContainer 09:49:00 prd-centos7-docker-4c-2g-16322 does not seem to be running inside a container 09:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 09:49:00 $ docker top 4a5b03c057034ac0c2d253d22a08cf0d673c138d6b56a2d12f76b4412f0cff76 -eo pid,comm [Pipeline] { [Pipeline] sh 09:49:01 Commit message: "feat(sdk): Implement Device AutoEvents SDK APIs" 09:49:01 + make test 09:49:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:02 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:49:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:49:03 + sudo service docker restart 09:49:03 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:49:06 provisioning config files... 09:49:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config7129781556258042029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:06 ---> docker-login.sh 09:49:06 nexus3.edgexfoundry.org:10001 09:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:07 Configure a credential helper to remove this warning. See 09:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:07 09:49:07 Login Succeeded 09:49:07 nexus3.edgexfoundry.org:10002 09:49:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:08 Configure a credential helper to remove this warning. See 09:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:08 09:49:08 Login Succeeded 09:49:08 nexus3.edgexfoundry.org:10003 09:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:09 Configure a credential helper to remove this warning. See 09:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:09 09:49:09 Login Succeeded 09:49:09 nexus3.edgexfoundry.org:10004 09:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:09 Configure a credential helper to remove this warning. See 09:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:09 09:49:09 Login Succeeded 09:49:09 docker.io 09:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:10 Configure a credential helper to remove this warning. See 09:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:10 09:49:10 Login Succeeded 09:49:10 ---> docker-login.sh ends [Pipeline] } 09:49:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:49:11 ========================================================= 09:49:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:49:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:49:11 + 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 . 09:49:12 Sending build context to Docker daemon 2.412MB 09:49:12 Step 1/8 : ARG BASE=golang:1.15-alpine 09:49:12 Step 2/8 : FROM ${BASE} 09:49:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:49:12 5f621e34cdf4: Pulling fs layer 09:49:12 a4357932f1b6: Pulling fs layer 09:49:12 18c013af1878: Pulling fs layer 09:49:12 00ac8860ef70: Pulling fs layer 09:49:12 63d7cb157983: Pulling fs layer 09:49:12 b116817d02f9: Pulling fs layer 09:49:12 745a02a5169b: Pulling fs layer 09:49:12 00ac8860ef70: Waiting 09:49:12 63d7cb157983: Waiting 09:49:12 b116817d02f9: Waiting 09:49:12 745a02a5169b: Waiting 09:49:12 18c013af1878: Download complete 09:49:12 a4357932f1b6: Verifying Checksum 09:49:12 a4357932f1b6: Download complete 09:49:12 63d7cb157983: Verifying Checksum 09:49:12 63d7cb157983: Download complete 09:49:12 b116817d02f9: Download complete 09:49:12 5f621e34cdf4: Verifying Checksum 09:49:12 5f621e34cdf4: Download complete 09:49:13 5f621e34cdf4: Pull complete 09:49:13 a4357932f1b6: Pull complete 09:49:13 18c013af1878: Pull complete 09:49:14 745a02a5169b: Download complete 09:49:16 00ac8860ef70: Verifying Checksum 09:49:16 00ac8860ef70: Download complete 09:49:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:49:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:49:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:49:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 19.4% of statements 09:49:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.440s coverage: 97.1% of statements 09:49:26 00ac8860ef70: Pull complete 09:49:26 63d7cb157983: Pull complete 09:49:26 b116817d02f9: Pull complete 09:49:29 745a02a5169b: Pull complete 09:49:29 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:49:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:49:29 ---> b7e6874047d6 09:49:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:49:33 ---> Running in 92c846ae31fd 09:49:33 Removing intermediate container 92c846ae31fd 09:49:33 ---> 205e317c6fcb 09:49:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:49:33 ---> Running in 7ca99af0d446 09:49:35 Removing intermediate container 7ca99af0d446 09:49:35 ---> b75101b46648 09:49:35 Step 5/8 : RUN apk add --no-cache make git 09:49:35 ---> Running in 6d349ed70696 09:49:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:49:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:49:38 OK: 142 MiB in 39 packages 09:49:39 Removing intermediate container 6d349ed70696 09:49:39 ---> e6a4e27e7c90 09:49:39 Step 6/8 : WORKDIR /device-sdk-go 09:49:39 ---> Running in d51c1b09687a 09:49:40 Removing intermediate container d51c1b09687a 09:49:40 ---> c24fd5a01389 09:49:40 Step 7/8 : COPY . . 09:49:41 ---> 8a74f556e5c3 09:49:41 Step 8/8 : RUN go mod download 09:49:41 ---> Running in e78ef3ff0cfb 09:49:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements 09:49:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:49:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.254s coverage: 42.5% of statements 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:49:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.305s coverage: 68.9% of statements 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:49:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:49:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:49:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.212s coverage: 68.9% of statements 09:49:56 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.3% of statements 09:49:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:49:56 GO111MODULE=on go vet ./... 09:50:03 gofmt -l . 09:50:03 [ "`gofmt -l .`" = "" ] 09:50:03 ./bin/test-attribution-txt.sh 09:50:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:50:03 $ docker stop --time=1 4a5b03c057034ac0c2d253d22a08cf0d673c138d6b56a2d12f76b4412f0cff76 09:50:03 Removing intermediate container e78ef3ff0cfb 09:50:03 ---> bf6e2fd1b734 09:50:03 Successfully built bf6e2fd1b734 09:50:03 Successfully tagged ci-base-image-arm64:latest 09:50:05 $ docker rm -f 4a5b03c057034ac0c2d253d22a08cf0d673c138d6b56a2d12f76b4412f0cff76 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:06 + docker inspect -f . ci-base-image-arm64 09:50:06 . [Pipeline] withDockerContainer 09:50:06 prd-ubuntu18.04-docker-arm64-4c-16g-16321 does not seem to be running inside a container 09:50:06 Stashed 1 file(s) 09:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-arm64 cat 09:50:08 $ docker top f3158df2d8329cbd62102a586ddfe40134283bc008ec5f56703bb0b1dc59dd5b -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:50:09 + go version 09:50:09 go version go1.15.5 linux/arm64 [Pipeline] } 09:50:10 $ docker stop --time=1 f3158df2d8329cbd62102a586ddfe40134283bc008ec5f56703bb0b1dc59dd5b 09:50:12 $ docker rm -f f3158df2d8329cbd62102a586ddfe40134283bc008ec5f56703bb0b1dc59dd5b [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 09:50:13 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:50:13 + ls -al . 09:50:13 total 208 09:50:13 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 16 09:50 . 09:50:13 drwxrwxr-x. 4 jenkins jenkins 30 Dec 16 09:48 .. 09:50:13 drwxrwxr-x. 2 jenkins jenkins 64 Dec 16 09:48 bin 09:50:13 -rw-r--r--. 1 jenkins jenkins 130290 Dec 16 09:49 coverage.out 09:50:13 -rw-rw-r--. 1 jenkins jenkins 936 Dec 16 09:48 Dockerfile.build 09:50:13 -rw-rw-r--. 1 jenkins jenkins 140 Dec 16 09:48 .dockerignore 09:50:13 drwxrwxr-x. 4 jenkins jenkins 48 Dec 16 09:48 example 09:50:13 drwxrwxr-x. 8 jenkins jenkins 179 Dec 16 09:48 .git 09:50:13 drwxrwxr-x. 2 jenkins jenkins 103 Dec 16 09:48 .github 09:50:13 -rw-rw-r--. 1 jenkins jenkins 138 Dec 16 09:48 .gitignore 09:50:13 -rw-r--r--. 1 jenkins jenkins 488 Dec 16 09:50 go.mod 09:50:13 -rw-r--r--. 1 jenkins jenkins 13631 Dec 16 09:50 go.sum 09:50:13 drwxrwxr-x. 15 jenkins jenkins 211 Dec 16 09:48 internal 09:50:13 -rw-rw-r--. 1 jenkins jenkins 901 Dec 16 09:48 Jenkinsfile 09:50:13 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 16 09:48 LICENSE 09:50:13 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 16 09:48 Makefile 09:50:13 drwxrwxr-x. 4 jenkins jenkins 26 Dec 16 09:48 openapi 09:50:13 drwxrwxr-x. 5 jenkins jenkins 50 Dec 16 09:48 pkg 09:50:13 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 16 09:48 README.md 09:50:13 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 16 09:48 RELEASE-NOTES.txt 09:50:13 drwxrwxr-x. 4 jenkins jenkins 54 Dec 16 09:48 snap 09:50:13 -rw-rw-r--. 1 jenkins jenkins 5 Dec 16 09:46 VERSION 09:50:13 -rw-rw-r--. 1 jenkins jenkins 222 Dec 16 09:48 version.go [Pipeline] isUnix [Pipeline] sh 09:50:13 + docker inspect -f . ci-base-image-arm64 09:50:13 . [Pipeline] withDockerContainer 09:50:13 + 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=e78e4a6b1226f712260dbfe942b10f61481acef9 --label arch=amd64 --label version=0.0.0 . 09:50:13 prd-ubuntu18.04-docker-arm64-4c-16g-16321 does not seem to be running inside a container 09:50:14 Sending build context to Docker daemon 2.547MB 09:50:14 Step 1/24 : ARG BASE=golang:1.15-alpine 09:50:14 Step 2/24 : FROM ${BASE} AS builder 09:50:14 ---> 9b63a1604298 09:50:14 Step 3/24 : ARG MAKE='make build' 09:50:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-arm64 cat 09:50:14 ---> Running in 3414f25a29dc 09:50:14 Removing intermediate container 3414f25a29dc 09:50:14 ---> 9fc38294def6 09:50:14 Step 4/24 : WORKDIR /device-sdk-go 09:50:14 ---> Running in c5ef6b19b274 09:50:14 Removing intermediate container c5ef6b19b274 09:50:14 ---> 5ce7997c3b6b 09:50:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:50:14 ---> Running in 8d40432ba1ac 09:50:15 Removing intermediate container 8d40432ba1ac 09:50:15 ---> d598f01e9f14 09:50:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:15 ---> Running in b189d3aab96f 09:50:15 $ docker top 0c46711a1eeebc8a508760909f9dd1d1416c3f574becd06d887b41f7a4fce984 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:16 Removing intermediate container b189d3aab96f 09:50:16 ---> 87c7bd8783a1 09:50:16 Step 7/24 : RUN apk add --update --no-cache make git 09:50:16 ---> Running in ade445cee691 09:50:16 + make test 09:50:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:50:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:50:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:50:19 OK: 166 MiB in 39 packages 09:50:20 Removing intermediate container ade445cee691 09:50:20 ---> 3f515799472a 09:50:20 Step 8/24 : COPY . . 09:50:21 ---> d38b6d3f2163 09:50:21 Step 9/24 : RUN ${MAKE} 09:50:21 ---> Running in 6dbaabe10a9f 09:50:22 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 09:50:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:50:32 Removing intermediate container 6dbaabe10a9f 09:50:32 ---> bf2b13f7623e 09:50:32 Step 10/24 : FROM scratch 09:50:32 ---> 09:50:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:50:32 ---> Running in 831f4d63a318 09:50:32 Removing intermediate container 831f4d63a318 09:50:32 ---> 2277227a3d8f 09:50:32 Step 12/24 : ENV APP_PORT=49990 09:50:32 ---> Running in 6ec14a05d6ea 09:50:32 Removing intermediate container 6ec14a05d6ea 09:50:32 ---> ac67ab5ce3a7 09:50:32 Step 13/24 : EXPOSE $APP_PORT 09:50:32 ---> Running in 462c06c515f0 09:50:32 Removing intermediate container 462c06c515f0 09:50:32 ---> 999d3436415b 09:50:32 Step 14/24 : WORKDIR / 09:50:32 ---> Running in 70c6e997c659 09:50:32 Removing intermediate container 70c6e997c659 09:50:32 ---> cd7c884249c3 09:50:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:50:33 ---> c2e78aac5835 09:50:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:50:33 ---> 205876244019 09:50:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:50:33 ---> 99bd9387c30f 09:50:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:50:34 ---> e02fd7ef3d5b 09:50:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:50:34 ---> 0e87f93bd58b 09:50:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:50:34 ---> Running in 1cecdc1dc67a 09:50:34 Removing intermediate container 1cecdc1dc67a 09:50:34 ---> 354331494610 09:50:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:50:34 ---> Running in 9675f08ca841 09:50:34 Removing intermediate container 9675f08ca841 09:50:34 ---> eceb3f74fa13 09:50:34 Step 22/24 : LABEL arch=amd64 09:50:34 ---> Running in ba89944d4e3e 09:50:34 Removing intermediate container ba89944d4e3e 09:50:34 ---> ed65867be10c 09:50:34 Step 23/24 : LABEL git_sha=e78e4a6b1226f712260dbfe942b10f61481acef9 09:50:35 ---> Running in b941f41f6c4a 09:50:35 Removing intermediate container b941f41f6c4a 09:50:35 ---> f5bf5bf51542 09:50:35 Step 24/24 : LABEL version=0.0.0 09:50:35 ---> Running in 282645e7a2f5 09:50:35 Removing intermediate container 282645e7a2f5 09:50:35 ---> 9bf33a005262 09:50:35 [Warning] One or more build-args [ARCH] were not consumed 09:50:35 Successfully built 9bf33a005262 09:50:35 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] } 09:50:38 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:51:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:51:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:51:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:51:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.115s coverage: 19.4% of statements 09:51:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.297s coverage: 97.1% of statements 09:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements 09:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.138s coverage: 21.9% of statements 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.634s coverage: 42.5% of statements 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.834s coverage: 68.9% of statements 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 53.8% of statements 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:51:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.912s coverage: 68.9% of statements 09:51:47 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.3% of statements 09:51:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:51:48 GO111MODULE=on go vet ./... 09:52:20 gofmt -l . 09:52:20 [ "`gofmt -l .`" = "" ] 09:52:20 ./bin/test-attribution-txt.sh 09:52:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:52:20 $ docker stop --time=1 0c46711a1eeebc8a508760909f9dd1d1416c3f574becd06d887b41f7a4fce984 09:52:23 $ docker rm -f 0c46711a1eeebc8a508760909f9dd1d1416c3f574becd06d887b41f7a4fce984 [Pipeline] // withDockerContainer [Pipeline] sh 09:52:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:52:24 Warning: overwriting stash ‘coverage-report’ 09:52:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:52:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:52:26 + ls -al . 09:52:26 total 244 09:52:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 09:52 . 09:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 09:48 .. 09:52:26 -rw-rw-r-- 1 jenkins jenkins 140 Dec 16 09:48 .dockerignore 09:52:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 09:49 .git 09:52:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 09:48 .github 09:52:26 -rw-rw-r-- 1 jenkins jenkins 138 Dec 16 09:48 .gitignore 09:52:26 -rw-rw-r-- 1 jenkins jenkins 936 Dec 16 09:48 Dockerfile.build 09:52:26 -rw-rw-r-- 1 jenkins jenkins 901 Dec 16 09:48 Jenkinsfile 09:52:26 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 16 09:48 LICENSE 09:52:26 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 16 09:48 Makefile 09:52:26 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 16 09:48 README.md 09:52:26 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 16 09:48 RELEASE-NOTES.txt 09:52:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 16 09:46 VERSION 09:52:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 09:48 bin 09:52:26 -rw-r--r-- 1 jenkins jenkins 130290 Dec 16 09:51 coverage.out 09:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 09:48 example 09:52:26 -rw-r--r-- 1 jenkins jenkins 488 Dec 16 09:52 go.mod 09:52:26 -rw-r--r-- 1 jenkins jenkins 13631 Dec 16 09:52 go.sum 09:52:26 drwxrwxr-x 15 jenkins jenkins 4096 Dec 16 09:48 internal 09:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 09:48 openapi 09:52:26 drwxrwxr-x 5 jenkins jenkins 4096 Dec 16 09:48 pkg 09:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 09:48 snap 09:52:26 -rw-rw-r-- 1 jenkins jenkins 222 Dec 16 09:48 version.go [Pipeline] isUnix [Pipeline] sh 09:52:27 + 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=e78e4a6b1226f712260dbfe942b10f61481acef9 --label arch=arm64 --label version=0.0.0 . 09:52:27 Sending build context to Docker daemon 2.543MB 09:52:27 Step 1/24 : ARG BASE=golang:1.15-alpine 09:52:27 Step 2/24 : FROM ${BASE} AS builder 09:52:27 ---> bf6e2fd1b734 09:52:27 Step 3/24 : ARG MAKE='make build' 09:52:28 ---> Running in 5106c16d9468 09:52:28 Removing intermediate container 5106c16d9468 09:52:28 ---> d1f0693a564f 09:52:28 Step 4/24 : WORKDIR /device-sdk-go 09:52:28 ---> Running in f8a119d7b0a7 09:52:28 Removing intermediate container f8a119d7b0a7 09:52:28 ---> a6ef139f0005 09:52:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:52:29 ---> Running in b80fbeed1821 09:52:29 Removing intermediate container b80fbeed1821 09:52:29 ---> 6ef2511a6bed 09:52:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:29 ---> Running in d0f471688447 09:52:31 Removing intermediate container d0f471688447 09:52:31 ---> f9552a6e8a1c 09:52:31 Step 7/24 : RUN apk add --update --no-cache make git 09:52:31 ---> Running in 1cc1cfff18fa 09:52:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:52:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:52:35 OK: 142 MiB in 39 packages 09:52:36 Removing intermediate container 1cc1cfff18fa 09:52:36 ---> 269056cf7c37 09:52:36 Step 8/24 : COPY . . 09:52:37 ---> fa484934cfe4 09:52:37 Step 9/24 : RUN ${MAKE} 09:52:37 ---> Running in 694bee152fce 09:52:38 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 09:53:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:53:05 Removing intermediate container 694bee152fce 09:53:05 ---> 08e556552357 09:53:05 Step 10/24 : FROM scratch 09:53:05 ---> 09:53:05 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:53:05 ---> Running in 488728cf4ea0 09:53:06 Removing intermediate container 488728cf4ea0 09:53:06 ---> b838ac4d6367 09:53:06 Step 12/24 : ENV APP_PORT=49990 09:53:06 ---> Running in a564f387feb8 09:53:06 Removing intermediate container a564f387feb8 09:53:06 ---> ee883197bbc3 09:53:06 Step 13/24 : EXPOSE $APP_PORT 09:53:06 ---> Running in d4b5d588cef7 09:53:06 Removing intermediate container d4b5d588cef7 09:53:06 ---> 0a9f2429563a 09:53:06 Step 14/24 : WORKDIR / 09:53:07 ---> Running in d35706f6ecc3 09:53:07 Removing intermediate container d35706f6ecc3 09:53:07 ---> ae4facc2d2cd 09:53:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:53:08 ---> d4363c437234 09:53:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:53:09 ---> 319d8ce4915b 09:53:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:53:10 ---> e9bda588f4db 09:53:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:53:10 ---> 5948a1923452 09:53:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:53:11 ---> fd009c2ee008 09:53:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:53:11 ---> Running in cadd1fc7f332 09:53:11 Removing intermediate container cadd1fc7f332 09:53:11 ---> 727570d64cd0 09:53:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:53:12 ---> Running in 2ae9b35b6406 09:53:12 Removing intermediate container 2ae9b35b6406 09:53:12 ---> fa1c6f236d01 09:53:12 Step 22/24 : LABEL arch=arm64 09:53:12 ---> Running in ab6ff7e2f791 09:53:13 Removing intermediate container ab6ff7e2f791 09:53:13 ---> 4a9c15eb9821 09:53:13 Step 23/24 : LABEL git_sha=e78e4a6b1226f712260dbfe942b10f61481acef9 09:53:13 ---> Running in 27c7d5beb436 09:53:13 Removing intermediate container 27c7d5beb436 09:53:13 ---> 40b34248ea4d 09:53:13 Step 24/24 : LABEL version=0.0.0 09:53:13 ---> Running in 5e441542c8ff 09:53:14 Removing intermediate container 5e441542c8ff 09:53:14 ---> a6bce79506de 09:53:14 [Warning] One or more build-args [ARCH] were not consumed 09:53:14 Successfully built a6bce79506de 09:53:14 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 09:53:16 provisioning config files... 09:53:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config1462653359138108055tmp [Pipeline] { [Pipeline] sh 09:53:16 + set +x 09:53:16 + curl -s https://codecov.io/bash 09:53:16 + bash -s -- 09:53:16 09:53:16 _____ _ 09:53:16 / ____| | | 09:53:16 | | ___ __| | ___ ___ _____ __ 09:53:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:53:16 | |___| (_) | (_| | __/ (_| (_) \ V / 09:53:16 \_____\___/ \__,_|\___|\___\___/ \_/ 09:53:16 Bash-20201130-cc6d3fe 09:53:16 09:53:16 09:53:16 ==> Jenkins CI detected. 09:53:16 project root: . 09:53:16 --> token set from env 09:53:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:53:16 ==> Running gcov in . (disable via -X gcov) 09:53:16 ==> Python coveragepy not found 09:53:16 ==> Searching for coverage reports in: 09:53:16 + . 09:53:16 -> Found 1 reports 09:53:16 ==> Detecting git/mercurial file structure 09:53:16 ==> Reading reports 09:53:16 + ./coverage.out bytes=130290 09:53:16 ==> Appending adjustments 09:53:16 https://docs.codecov.io/docs/fixing-reports 09:53:17 + Found adjustments 09:53:17 ==> Gzipping contents 09:53:17 24K /tmp/codecov.ZqckGI.gz 09:53:17 ==> Uploading reports 09:53:17 url: https://codecov.io 09:53:17 query: branch=PR-650&commit=e78e4a6b1226f712260dbfe942b10f61481acef9&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 09:53:17 -> Pinging Codecov 09:53:17 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-650&commit=e78e4a6b1226f712260dbfe942b10f61481acef9&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 09:53:17 -> Uploading to 09:53:17 https://storage.googleapis.com/codecov/v4/raw/2020-12-16/7E55EF52A471D76F132DFD9A03CDDE97/e78e4a6b1226f712260dbfe942b10f61481acef9/befeada2-c168-41e5-bb2e-f65e6d0991c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201216T095317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd5f8fdc270c130545afce4e0a5d641c8b244b99575358d72e3df0f01271b32a 09:53:17 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:17 Dload Upload Total Spent Left Speed 09:53:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21212 0 0 100 21212 0 49150 --:--:-- --:--:-- --:--:-- 49215 09:53:18 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e78e4a6b1226f712260dbfe942b10f61481acef9 [Pipeline] } 09:53:18 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 09:53:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:53:21 ---> package-listing.sh 09:53:21 ++ facter osfamily 09:53:21 ++ tr '[:upper:]' '[:lower:]' 09:53:21 + OS_FAMILY=redhat 09:53:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-650 09:53:21 + START_PACKAGES=/tmp/packages_start.txt 09:53:21 + END_PACKAGES=/tmp/packages_end.txt 09:53:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:53:21 + PACKAGES=/tmp/packages_start.txt 09:53:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 09:53:21 + PACKAGES=/tmp/packages_end.txt 09:53:21 + case "${OS_FAMILY}" in 09:53:21 + rpm -qa 09:53:21 + sort 09:53:26 + '[' -f /tmp/packages_start.txt ']' 09:53:26 + '[' -f /tmp/packages_end.txt ']' 09:53:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:53:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 09:53:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ 09:53:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ [Pipeline] echo 09:53:26 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-650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:53:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:53:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:53:27 09:53:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:53:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:53:27 alpine: Pulling from edgex-lftools-log-publisher 09:53:27 df20fa9351a1: Pulling fs layer 09:53:27 36b3adc4ff6f: Pulling fs layer 09:53:27 8ad3a11d3b57: Pulling fs layer 09:53:27 46f8f816bc3b: Pulling fs layer 09:53:27 93b61091891f: Pulling fs layer 09:53:27 93b9cdb0e59b: Pulling fs layer 09:53:27 5e14af77c1be: Pulling fs layer 09:53:27 01666e4c0597: Pulling fs layer 09:53:27 aa168da1d23b: Pulling fs layer 09:53:27 93b9cdb0e59b: Waiting 09:53:27 5e14af77c1be: Waiting 09:53:27 01666e4c0597: Waiting 09:53:27 aa168da1d23b: Waiting 09:53:27 46f8f816bc3b: Waiting 09:53:27 93b61091891f: Waiting 09:53:27 36b3adc4ff6f: Verifying Checksum 09:53:27 36b3adc4ff6f: Download complete 09:53:27 46f8f816bc3b: Verifying Checksum 09:53:27 46f8f816bc3b: Download complete 09:53:27 df20fa9351a1: Verifying Checksum 09:53:27 93b9cdb0e59b: Verifying Checksum 09:53:27 93b9cdb0e59b: Download complete 09:53:27 5e14af77c1be: Verifying Checksum 09:53:27 5e14af77c1be: Download complete 09:53:27 01666e4c0597: Verifying Checksum 09:53:27 01666e4c0597: Download complete 09:53:27 93b61091891f: Verifying Checksum 09:53:27 93b61091891f: Download complete 09:53:27 8ad3a11d3b57: Verifying Checksum 09:53:27 8ad3a11d3b57: Download complete 09:53:28 df20fa9351a1: Pull complete 09:53:28 36b3adc4ff6f: Pull complete 09:53:29 8ad3a11d3b57: Pull complete 09:53:29 46f8f816bc3b: Pull complete 09:53:29 93b61091891f: Pull complete 09:53:30 93b9cdb0e59b: Pull complete 09:53:30 5e14af77c1be: Pull complete 09:53:30 aa168da1d23b: Verifying Checksum 09:53:30 aa168da1d23b: Download complete 09:53:30 01666e4c0597: Pull complete 09:53:37 aa168da1d23b: Pull complete 09:53:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:53:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:53:37 prd-centos7-docker-4c-2g-16318 does not seem to be running inside a container 09:53:37 $ 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-650/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-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:53:42 $ docker top 41def9ada329db3a19a0c5db32632043c8d9ed300d99152fc0aa6651aeba34b0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:42 + touch /tmp/pre-build-complete [Pipeline] sh 09:53:43 + mkdir -p /var/log/sa [Pipeline] sh 09:53:43 + ls /var/log/sa-host 09:53:43 + sadf -c /var/log/sa-host/sa16 09:53:43 file_magic: OK 09:53:43 HZ: Using current value: 100 09:53:43 file_header: OK 09:53:43 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 09:53:43 Statistics: 09:53:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:53:43 File successfully converted to sysstat format version 12.2.1 09:53:43 + sadf -c /var/log/sa-host/sa23 09:53:43 file_magic: OK 09:53:43 HZ: Using current value: 100 09:53:43 file_header: OK 09:53:43 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 09:53:43 Statistics: 09:53:43 Hnuu...uuuununununu... 09:53:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:43 provisioning config files... 09:53:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config1044287830922937781tmp [Pipeline] { [Pipeline] echo 09:53:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:53:44 ---> create-netrc.sh [Pipeline] } 09:53:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:53:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:53:44 ---> python-tools-install.sh [Pipeline] echo 09:53:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:53:44 ---> sudo-logs.sh 09:53:44 Archiving 'sudo' log.. [Pipeline] echo 09:53:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:53:45 ---> job-cost.sh 09:53:45 lf-activate-venv: SKIPPING 09:53:45 INFO: No Stack... 09:53:46 INFO: Retrieving Pricing Info for: v1-standard-2 09:53:46 INFO: Archiving Costs [Pipeline] echo 09:53:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:53:47 ---> logs-deploy.sh 09:53:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-650/11 09:53:47 INFO: archiving workspace using pattern(s): 09:53:49 Archives upload complete. 09:53:49 INFO: archiving logs to Nexus 09:53:49 ---> uname -a: 09:53:49 Linux prd-centos7-docker-4c-2g-16318.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:53:49 09:53:49 09:53:49 ---> lscpu: 09:53:49 Architecture: x86_64 09:53:49 CPU op-mode(s): 32-bit, 64-bit 09:53:49 Byte Order: Little Endian 09:53:49 Address sizes: 40 bits physical, 48 bits virtual 09:53:49 CPU(s): 4 09:53:49 On-line CPU(s) list: 0-3 09:53:49 Thread(s) per core: 1 09:53:49 Core(s) per socket: 1 09:53:49 Socket(s): 4 09:53:49 NUMA node(s): 1 09:53:49 Vendor ID: GenuineIntel 09:53:49 CPU family: 6 09:53:49 Model: 44 09:53:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:53:49 Stepping: 1 09:53:49 CPU MHz: 2933.436 09:53:49 BogoMIPS: 5866.87 09:53:49 Virtualization: VT-x 09:53:49 Hypervisor vendor: KVM 09:53:49 Virtualization type: full 09:53:49 L1d cache: 128 KiB 09:53:49 L1i cache: 128 KiB 09:53:49 L2 cache: 16 MiB 09:53:49 L3 cache: 64 MiB 09:53:49 NUMA node0 CPU(s): 0-3 09:53:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:53:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:53:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:53:49 Vulnerability Meltdown: Mitigation; PTI 09:53:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:53:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:53:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:53:49 Vulnerability Srbds: Not affected 09:53:49 Vulnerability Tsx async abort: Not affected 09:53:49 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 09:53:49 09:53:49 09:53:49 ---> nproc: 09:53:49 4 09:53:49 09:53:49 09:53:49 ---> df -h: 09:53:49 Filesystem Size Used Available Use% Mounted on 09:53:49 overlay 50.0G 7.3G 42.7G 15% / 09:53:49 tmpfs 64.0M 0 64.0M 0% /dev 09:53:49 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:53:49 shm 64.0M 0 64.0M 0% /dev/shm 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:53:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:53:49 09:53:49 09:53:49 ---> free -m: 09:53:49 total used free shared buff/cache available 09:53:49 Mem: 1837 711 96 0 1029 1021 09:53:49 Swap: 1023 1 1022 09:53:49 09:53:49 09:53:49 ---> ip addr: 09:53:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:53:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:53:49 inet 127.0.0.1/8 scope host lo 09:53:49 valid_lft forever preferred_lft forever 09:53:49 inet6 ::1/128 scope host 09:53:49 valid_lft forever preferred_lft forever 09:53:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:53:49 link/ether fa:16:3e:45:da:2f brd ff:ff:ff:ff:ff:ff 09:53:49 inet 10.30.122.222/23 brd 10.30.123.255 scope global dynamic eth0 09:53:49 valid_lft 85874sec preferred_lft 85874sec 09:53:49 inet6 fe80::f816:3eff:fe45:da2f/64 scope link 09:53:49 valid_lft forever preferred_lft forever 09:53:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:53:49 link/ether 02:42:3f:28:b2:f4 brd ff:ff:ff:ff:ff:ff 09:53:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:53:49 valid_lft forever preferred_lft forever 09:53:49 inet6 fe80::42:3fff:fe28:b2f4/64 scope link 09:53:49 valid_lft forever preferred_lft forever 09:53:49 09:53:49 09:53:49 ---> sar -b -r -n DEV: 09:53:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 09:53:49 09:53:49 09:44:51 LINUX RESTART (4 CPU) 09:53:49 09:53:49 09:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:53:49 09:47:01 4.16 0.38 3.78 0.00 31.57 116.33 0.00 09:53:49 09:48:01 0.42 0.00 0.42 0.00 0.00 6.26 0.00 09:53:49 09:49:01 0.35 0.00 0.35 0.00 0.00 3.83 0.00 09:53:49 09:50:01 0.27 0.00 0.27 0.00 0.00 3.23 0.00 09:53:49 09:51:01 0.22 0.00 0.22 0.00 0.00 3.16 0.00 09:53:49 09:52:01 0.32 0.00 0.32 0.00 0.00 3.63 0.00 09:53:49 09:53:01 0.35 0.00 0.35 0.00 0.00 4.45 0.00 09:53:49 Average: 0.87 0.05 0.81 0.00 4.51 20.13 0.00 09:53:49 09:53:49 09:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:53:49 09:47:01 145352 0 614028 32.63 2620 1119544 1128572 38.52 432428 1104684 8 09:53:49 09:48:01 149152 0 610220 32.43 2620 1119552 1088384 37.14 430376 1103324 0 09:53:49 09:49:01 147376 0 611992 32.53 2620 1119556 1088408 37.15 440800 1094824 8 09:53:49 09:50:01 148580 0 610788 32.46 2620 1119556 1088216 37.14 438164 1096256 12 09:53:49 09:51:01 146984 0 612376 32.55 2620 1119564 1088276 37.14 443324 1092876 12 09:53:49 09:52:01 147404 0 611952 32.52 2620 1119568 1088252 37.14 454952 1081124 12 09:53:49 09:53:01 147832 0 611520 32.50 2620 1119572 1088216 37.14 454636 1081124 20 09:53:49 Average: 147526 0 611839 32.52 2620 1119559 1094046 37.34 442097 1093459 10 09:53:49 09:53:49 09:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:53:49 09:47:01 eth0 5.84 3.36 5.68 1.87 0.00 0.00 0.00 0.00 09:53:49 09:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:48:01 eth0 5.54 2.93 3.74 0.55 0.00 0.00 0.00 0.00 09:53:49 09:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:49:01 eth0 1.05 0.67 0.54 0.40 0.00 0.00 0.00 0.00 09:53:49 09:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:50:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:53:49 09:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:51:01 eth0 0.23 0.15 0.08 0.07 0.00 0.00 0.00 0.00 09:53:49 09:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:52:01 eth0 0.25 0.20 0.10 0.02 0.00 0.00 0.00 0.00 09:53:49 09:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:53:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 09:53:49 09:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 Average: eth0 1.87 1.07 1.45 0.42 0.00 0.00 0.00 0.00 09:53:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:53:49 09:53:49 09:53:49 ---> sar -P ALL: 09:53:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 09:53:49 09:53:49 09:44:51 LINUX RESTART (4 CPU) 09:53:49 09:53:49 09:46:01 CPU %user %nice %system %iowait %steal %idle 09:53:49 09:47:01 all 0.41 0.00 0.11 0.02 0.01 99.45 09:53:49 09:47:01 0 0.68 0.00 0.13 0.03 0.00 99.15 09:53:49 09:47:01 1 0.23 0.00 0.10 0.02 0.02 99.63 09:53:49 09:47:01 2 0.38 0.00 0.08 0.02 0.00 99.52 09:53:49 09:47:01 3 0.34 0.00 0.13 0.00 0.02 99.51 09:53:49 09:48:01 all 0.20 0.00 0.06 0.00 0.00 99.74 09:53:49 09:48:01 0 0.07 0.00 0.05 0.00 0.00 99.88 09:53:49 09:48:01 1 0.10 0.00 0.08 0.00 0.00 99.82 09:53:49 09:48:01 2 0.05 0.00 0.08 0.00 0.00 99.87 09:53:49 09:48:01 3 0.57 0.00 0.03 0.00 0.00 99.40 09:53:49 09:49:01 all 0.16 0.00 0.05 0.00 0.00 99.79 09:53:49 09:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:53:49 09:49:01 1 0.07 0.00 0.07 0.00 0.00 99.87 09:53:49 09:49:01 2 0.05 0.00 0.07 0.00 0.00 99.88 09:53:49 09:49:01 3 0.50 0.00 0.02 0.00 0.00 99.48 09:53:49 09:50:01 all 0.15 0.00 0.03 0.00 0.01 99.81 09:53:49 09:50:01 0 0.02 0.00 0.02 0.00 0.02 99.95 09:53:49 09:50:01 1 0.05 0.00 0.03 0.00 0.02 99.90 09:53:49 09:50:01 2 0.02 0.00 0.02 0.00 0.00 99.97 09:53:49 09:50:01 3 0.52 0.00 0.07 0.00 0.00 99.42 09:53:49 09:51:01 all 0.07 0.00 0.06 0.00 0.00 99.87 09:53:49 09:51:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:53:49 09:51:01 1 0.10 0.00 0.05 0.00 0.00 99.85 09:53:49 09:51:01 2 0.05 0.00 0.10 0.00 0.00 99.85 09:53:49 09:51:01 3 0.12 0.00 0.07 0.00 0.02 99.80 09:53:49 09:52:01 all 0.13 0.00 0.05 0.00 0.00 99.82 09:53:49 09:52:01 0 0.00 0.00 0.02 0.00 0.00 99.98 09:53:49 09:52:01 1 0.08 0.00 0.07 0.00 0.00 99.85 09:53:49 09:52:01 2 0.03 0.00 0.10 0.00 0.00 99.87 09:53:49 09:52:01 3 0.38 0.00 0.03 0.00 0.00 99.58 09:53:49 09:53:01 all 0.15 0.00 0.03 0.00 0.00 99.82 09:53:49 09:53:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:53:49 09:53:01 1 0.05 0.00 0.05 0.00 0.00 99.90 09:53:49 09:53:01 2 0.03 0.00 0.03 0.00 0.00 99.93 09:53:49 09:53:01 3 0.52 0.00 0.02 0.00 0.00 99.47 09:53:49 Average: all 0.18 0.00 0.06 0.00 0.00 99.76 09:53:49 Average: 0 0.12 0.00 0.04 0.00 0.00 99.83 09:53:49 Average: 1 0.10 0.00 0.06 0.00 0.00 99.83 09:53:49 Average: 2 0.09 0.00 0.07 0.00 0.00 99.84 09:53:49 Average: 3 0.42 0.00 0.05 0.00 0.00 99.52 09:53:49 09:53:49 09:53:49