Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7bcdaa2791459547e8ca5f69299be28c2ef18f0d+d2188d43b05b3896e876a49d31725ed73587c144 (b947cbf5e14461218d432a751246efa820e634ca) 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-16022 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 7bcdaa2791459547e8ca5f69299be28c2ef18f0d Merge succeeded, producing 83a2a1d834fb0f1aea7d714730f4a32acbb20601 Checking out Revision 83a2a1d834fb0f1aea7d714730f4a32acbb20601 (PR-614) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # 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 d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83a2a1d834fb0f1aea7d714730f4a32acbb20601 # timeout=10 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk af640aef402e80263dd850f0aebbd4615f58707b # timeout=10 [Pipeline] withCredentials 02:43:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:45 ========================================================= 02:43:45 EdgeX Global Pipelines Version Info 02:43:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:46 ------------------- 02:43:46 stable info: 02:43:46 ------------------- 02:43:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:46 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:43:46 Message: update stable to v1.0.172 02:43:47 ------------------- 02:43:47 experimental info: 02:43:47 ------------------- 02:43:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:47 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:43:47 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83a2a1d834fb0f1aea7d714730f4a32acbb20601 [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83a2a1d [Pipeline] echo 02:43:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:51 provisioning config files... 02:43:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config6659618776234819525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:51 ---> docker-login.sh 02:43:51 nexus3.edgexfoundry.org:10001 02:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 nexus3.edgexfoundry.org:10002 02:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 nexus3.edgexfoundry.org:10003 02:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 nexus3.edgexfoundry.org:10004 02:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 docker.io 02:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 ---> docker-login.sh ends [Pipeline] } 02:43:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:53 + git log --format=format:%s -1 83a2a1d834fb0f1aea7d714730f4a32acbb20601 [Pipeline] echo 02:43:53 GIT_COMMIT: 83a2a1d834fb0f1aea7d714730f4a32acbb20601, Commit Message: Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD [Pipeline] echo 02:43:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:54 02:43:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:55 latest: Pulling from edgex-devops/git-semver 02:43:55 31603596830f: Pulling fs layer 02:43:55 2a8b12db71e7: Pulling fs layer 02:43:55 6ca5941a6612: Pulling fs layer 02:43:55 ecc8261a40a4: Pulling fs layer 02:43:55 ecc8261a40a4: Waiting 02:43:55 2a8b12db71e7: Verifying Checksum 02:43:55 2a8b12db71e7: Download complete 02:43:55 31603596830f: Download complete 02:43:55 ecc8261a40a4: Verifying Checksum 02:43:55 ecc8261a40a4: Download complete 02:43:55 6ca5941a6612: Verifying Checksum 02:43:55 6ca5941a6612: Download complete 02:43:55 31603596830f: Pull complete 02:43:55 2a8b12db71e7: Pull complete 02:43:56 6ca5941a6612: Pull complete 02:43:56 ecc8261a40a4: Pull complete 02:43:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:56 prd-centos7-docker-4c-2g-16022 does not seem to be running inside a container 02:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:59 $ docker top 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:59 [ssh-agent] Looking for ssh-agent implementation... 02:44:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:00 $ docker exec 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 ssh-agent 02:44:00 SSH_AUTH_SOCK=/tmp/ssh-TFMKwuSdMwRw/agent.12 02:44:00 SSH_AGENT_PID=17 02:44:00 Running ssh-add (command line suppressed) 02:44:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_8055263491567396658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_8055263491567396658.key) 02:44:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:00 + git tag --points-at HEAD [Pipeline] } 02:44:00 $ docker exec --env ******** --env ******** 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 ssh-agent -k 02:44:00 unset SSH_AUTH_SOCK; 02:44:00 unset SSH_AGENT_PID; 02:44:00 echo Agent pid 17 killed; 02:44:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:01 [ssh-agent] Looking for ssh-agent implementation... 02:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:01 $ docker exec 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 ssh-agent 02:44:01 SSH_AUTH_SOCK=/tmp/ssh-yjwUE5vQg90G/agent.45 02:44:01 SSH_AGENT_PID=51 02:44:01 Running ssh-add (command line suppressed) 02:44:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_4628089296921996691.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_4628089296921996691.key) 02:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:02 + git semver init 02:44:02 # -> Open(): unable to determine branch for HEAD 02:44:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 02:44:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 02:44:02 # $SEMVER_REMOTE_NAME = origin 02:44:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:44:02 # $SEMVER_USER_NAME = edgex-jenkins 02:44:02 # $SEMVER_BRANCH = PR-614 02:44:02 # $SEMVER_TEMP = /tmp/semver-870865952 02:44:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:44:03 # '/tmp/semver-870865952' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 02:44:03 # -> Force: false 02:44:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 02:44:04 $ docker exec --env ******** --env ******** 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 ssh-agent -k 02:44:04 unset SSH_AUTH_SOCK; 02:44:04 unset SSH_AGENT_PID; 02:44:04 echo Agent pid 51 killed; 02:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:04 + git semver [Pipeline] } 02:44:04 $ docker stop --time=1 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 02:44:06 $ docker rm -f 0b64950217a58fa0dcb7a9d0a9a21dc75c665878555c97eeeb6bc8932d3e25e8 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:07 Stashed 1 file(s) [Pipeline] echo 02:44:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:44:22 Still waiting to schedule task 02:44:22 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16023’ is offline 02:44:22 Still waiting to schedule task 02:44:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16016’ 02:45:21 Running on prd-centos7-docker-4c-2g-16026 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:45:21 Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout 02:45:24 using credential edgex-jenkins-ssh 02:45:24 Cloning the remote Git repository 02:45:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:24 > git init /w/workspace/device-sdk-go/26 # timeout=10 02:45:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:24 > git --version # timeout=10 02:45:24 > git --version # 'git version 2.24.3' 02:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:25 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 7bcdaa2791459547e8ca5f69299be28c2ef18f0d 02:45:25 Merge succeeded, producing 9cbc3365c95c5635f4da2fa853ca0544dcf32474 02:45:25 Checking out Revision 9cbc3365c95c5635f4da2fa853ca0544dcf32474 (PR-614) 02:45:25 > git config core.sparsecheckout # timeout=10 02:45:25 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 02:45:25 > git remote # timeout=10 02:45:25 > git config --get remote.origin.url # timeout=10 02:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:25 > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 02:45:25 > git rev-parse HEAD^{commit} # timeout=10 02:45:25 > git config core.sparsecheckout # timeout=10 02:45:25 > git checkout -f 9cbc3365c95c5635f4da2fa853ca0544dcf32474 # timeout=10 02:45:29 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" 02:45:29 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:45:29 > git rev-list --no-walk af640aef402e80263dd850f0aebbd4615f58707b # timeout=10 [Pipeline] sh 02:45:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:31 + sudo service docker restart 02:45:31 + true 02:45:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:33 provisioning config files... 02:45:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/26@tmp/config5915660690224555097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:33 ---> docker-login.sh 02:45:33 nexus3.edgexfoundry.org:10001 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 nexus3.edgexfoundry.org:10002 02:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:34 Configure a credential helper to remove this warning. See 02:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:34 02:45:34 Login Succeeded 02:45:34 nexus3.edgexfoundry.org:10003 02:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:34 Configure a credential helper to remove this warning. See 02:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:34 02:45:34 Login Succeeded 02:45:34 nexus3.edgexfoundry.org:10004 02:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:34 Configure a credential helper to remove this warning. See 02:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:34 02:45:34 Login Succeeded 02:45:34 docker.io 02:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 ---> docker-login.sh ends [Pipeline] } 02:45:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:35 ========================================================= 02:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:35 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:45:35 Sending build context to Docker daemon 2.38MB 02:45:36 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:36 Step 2/8 : FROM ${BASE} 02:45:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:36 188c0c94c7c5: Pulling fs layer 02:45:36 0ef7d3d256c8: Pulling fs layer 02:45:36 de9db76c5a1d: Pulling fs layer 02:45:36 bca2f99d35d6: Pulling fs layer 02:45:36 93359f2a8cfa: Pulling fs layer 02:45:36 7c6f9722023f: Pulling fs layer 02:45:36 a35cf1a2eb13: Pulling fs layer 02:45:36 93359f2a8cfa: Waiting 02:45:36 7c6f9722023f: Waiting 02:45:36 bca2f99d35d6: Waiting 02:45:36 a35cf1a2eb13: Waiting 02:45:36 de9db76c5a1d: Download complete 02:45:36 0ef7d3d256c8: Verifying Checksum 02:45:36 0ef7d3d256c8: Download complete 02:45:36 93359f2a8cfa: Verifying Checksum 02:45:36 93359f2a8cfa: Download complete 02:45:36 188c0c94c7c5: Verifying Checksum 02:45:36 188c0c94c7c5: Download complete 02:45:36 188c0c94c7c5: Pull complete 02:45:36 0ef7d3d256c8: Pull complete 02:45:36 de9db76c5a1d: Pull complete 02:45:36 7c6f9722023f: Download complete 02:45:39 a35cf1a2eb13: Verifying Checksum 02:45:39 a35cf1a2eb13: Download complete 02:45:40 bca2f99d35d6: Verifying Checksum 02:45:40 bca2f99d35d6: Download complete 02:45:45 bca2f99d35d6: Pull complete 02:45:45 93359f2a8cfa: Pull complete 02:45:45 7c6f9722023f: Pull complete 02:45:52 a35cf1a2eb13: Pull complete 02:45:52 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:52 ---> a62c8e92a672 02:45:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:52 ---> Running in 347e9f70b703 02:45:52 Removing intermediate container 347e9f70b703 02:45:52 ---> 20c3351b4811 02:45:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:52 ---> Running in c98c70689b09 02:45:53 Removing intermediate container c98c70689b09 02:45:53 ---> 5d0010dae4f0 02:45:53 Step 5/8 : RUN apk add --no-cache make git 02:45:53 ---> Running in 9a2e8b118237 02:45:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:57 OK: 166 MiB in 39 packages 02:45:58 Removing intermediate container 9a2e8b118237 02:45:58 ---> 716a398a7774 02:45:58 Step 6/8 : WORKDIR /device-sdk-go 02:45:58 ---> Running in 735fd09fad8a 02:45:58 Removing intermediate container 735fd09fad8a 02:45:58 ---> af53603c0845 02:45:58 Step 7/8 : COPY . . 02:46:00 ---> 25cc00e40965 02:46:00 Step 8/8 : RUN go mod download 02:46:00 ---> Running in 66308a402234 02:46:18 Removing intermediate container 66308a402234 02:46:18 ---> 35f8b27e7688 02:46:18 Successfully built 35f8b27e7688 02:46:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:18 + docker inspect -f . ci-base-image-x86_64 02:46:18 . [Pipeline] withDockerContainer 02:46:19 prd-centos7-docker-4c-2g-16026 does not seem to be running inside a container 02:46:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 ******** ci-base-image-x86_64 cat 02:46:19 $ docker top 8945823f0b16c4a2d2cc7401c0a90d5b220fef1722408a3db4671924562cb7d8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:20 + go version 02:46:20 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:20 $ docker stop --time=1 8945823f0b16c4a2d2cc7401c0a90d5b220fef1722408a3db4671924562cb7d8 02:46:21 $ docker rm -f 8945823f0b16c4a2d2cc7401c0a90d5b220fef1722408a3db4671924562cb7d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:22 + docker inspect -f . ci-base-image-x86_64 02:46:22 . [Pipeline] withDockerContainer 02:46:22 prd-centos7-docker-4c-2g-16026 does not seem to be running inside a container 02:46:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 ******** ci-base-image-x86_64 cat 02:46:23 $ docker top acfb023e0116a79f1bae21f6b7446b56a4060ba587794b16c170d7c0135c7311 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:24 + make test 02:46:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 20.6% of statements 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 97.1% of statements 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 9.4% of statements 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.9% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.5% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.281s coverage: 68.9% of statements 02:47:18 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:18 GO111MODULE=on go vet ./... 02:47:25 gofmt -l . 02:47:25 [ "`gofmt -l .`" = "" ] 02:47:25 ./bin/test-attribution-txt.sh 02:47:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:26 $ docker stop --time=1 acfb023e0116a79f1bae21f6b7446b56a4060ba587794b16c170d7c0135c7311 02:47:28 $ docker rm -f acfb023e0116a79f1bae21f6b7446b56a4060ba587794b16c170d7c0135c7311 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:31 + ls -al . 02:47:31 total 208 02:47:31 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 02:47 . 02:47:31 drwxrwxr-x. 4 jenkins jenkins 30 Dec 15 02:45 .. 02:47:31 drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 02:45 bin 02:47:31 -rw-r--r--. 1 jenkins jenkins 127610 Dec 15 02:47 coverage.out 02:47:31 -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 02:45 Dockerfile.build 02:47:31 -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 02:45 .dockerignore 02:47:31 drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 02:45 example 02:47:31 drwxrwxr-x. 8 jenkins jenkins 179 Dec 15 02:45 .git 02:47:31 drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 02:45 .github 02:47:31 -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 02:45 .gitignore 02:47:31 -rw-r--r--. 1 jenkins jenkins 518 Dec 15 02:47 go.mod 02:47:31 -rw-r--r--. 1 jenkins jenkins 13715 Dec 15 02:47 go.sum 02:47:31 drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 02:45 internal 02:47:31 -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 02:45 Jenkinsfile 02:47:31 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 02:45 LICENSE 02:47:31 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 02:45 Makefile 02:47:31 drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 02:45 openapi 02:47:31 drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 02:45 pkg 02:47:31 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 02:45 README.md 02:47:31 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 02:45 RELEASE-NOTES.txt 02:47:31 drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 02:45 snap 02:47:31 -rw-rw-r--. 1 jenkins jenkins 5 Dec 15 02:44 VERSION 02:47:31 -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:31 + 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=83a2a1d834fb0f1aea7d714730f4a32acbb20601 --label arch=amd64 --label version=0.0.0 . 02:47:31 Sending build context to Docker daemon 2.508MB 02:47:31 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:31 Step 2/24 : FROM ${BASE} AS builder 02:47:31 ---> 35f8b27e7688 02:47:31 Step 3/24 : ARG MAKE='make build' 02:47:32 ---> Running in 0d8517be5d7b 02:47:32 Removing intermediate container 0d8517be5d7b 02:47:32 ---> bf812437e6ab 02:47:32 Step 4/24 : WORKDIR /device-sdk-go 02:47:32 ---> Running in d5f1e792e01c 02:47:32 Removing intermediate container d5f1e792e01c 02:47:32 ---> 261fcc5c1bb3 02:47:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:32 ---> Running in f698d470219d 02:47:32 Removing intermediate container f698d470219d 02:47:32 ---> de8afa65f6f8 02:47:32 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:33 ---> Running in 73aecf897408 02:47:34 Removing intermediate container 73aecf897408 02:47:34 ---> 7cc20e9ed1b2 02:47:34 Step 7/24 : RUN apk add --update --no-cache make git 02:47:34 ---> Running in 202224a3ccb6 02:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:36 OK: 166 MiB in 39 packages 02:47:37 Removing intermediate container 202224a3ccb6 02:47:37 ---> 08bca478f6c8 02:47:37 Step 8/24 : COPY . . 02:47:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16030 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:47:37 Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout 02:47:38 ---> a974d12e1f48 02:47:38 Step 9/24 : RUN ${MAKE} 02:47:38 ---> Running in a86eeb10c861 02:47: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 02:47:43 using credential edgex-jenkins-ssh 02:47:43 Cloning the remote Git repository 02:47:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:43 > git init /w/workspace/device-sdk-go/26 # timeout=10 02:47:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:43 > git --version # timeout=10 02:47:43 > git --version # 'git version 2.17.1' 02:47:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:45 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 7bcdaa2791459547e8ca5f69299be28c2ef18f0d 02:47:45 Merge succeeded, producing 1880960ccced43bec6980cbe0c8b633da9e363f7 02:47:45 Checking out Revision 1880960ccced43bec6980cbe0c8b633da9e363f7 (PR-614) 02:47:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:45 > git config core.sparsecheckout # timeout=10 02:47:45 > git checkout -f 7bcdaa2791459547e8ca5f69299be28c2ef18f0d # timeout=10 02:47:45 > git remote # timeout=10 02:47:45 > git config --get remote.origin.url # timeout=10 02:47:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:45 > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 02:47:45 > git rev-parse HEAD^{commit} # timeout=10 02:47:45 > git config core.sparsecheckout # timeout=10 02:47:45 > git checkout -f 1880960ccced43bec6980cbe0c8b633da9e363f7 # timeout=10 02:47:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:48 Removing intermediate container a86eeb10c861 02:47:48 ---> 84abad82ecf2 02:47:48 Step 10/24 : FROM scratch 02:47:48 ---> 02:47:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:48 ---> Running in eadd03ce3e89 02:47:48 Removing intermediate container eadd03ce3e89 02:47:48 ---> 3dd101570e16 02:47:48 Step 12/24 : ENV APP_PORT=49990 02:47:48 ---> Running in bab21b84d13a 02:47:49 Removing intermediate container bab21b84d13a 02:47:49 ---> 56905d13b51a 02:47:49 Step 13/24 : EXPOSE $APP_PORT 02:47:49 ---> Running in 699901dfeb4d 02:47:49 Removing intermediate container 699901dfeb4d 02:47:49 ---> e7cc6b73159e 02:47:49 Step 14/24 : WORKDIR / 02:47:49 ---> Running in 274c1946d677 02:47:49 Removing intermediate container 274c1946d677 02:47:49 ---> f3c905f7e14d 02:47:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:50 ---> 67b209b1968d 02:47:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:50 ---> 8410704f1e86 02:47:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:50 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" 02:47:50 First time build. Skipping changelog. 02:47:50 ---> c8dea8b2f401 02:47:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:50 > git rev-list --no-walk af640aef402e80263dd850f0aebbd4615f58707b # timeout=10 02:47:50 ---> a75fde93f3e4 02:47:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:47:51 ---> 5e3f283aadd0 02:47:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:51 ---> Running in c89245fb20ae 02:47:51 Removing intermediate container c89245fb20ae 02:47:51 ---> 5e549af83900 02:47:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [Pipeline] sh 02:47:51 ---> Running in 4ab3ed0e930b 02:47:51 Removing intermediate container 4ab3ed0e930b 02:47:51 ---> cace5189aeae 02:47:51 Step 22/24 : LABEL arch=amd64 02:47:51 ---> Running in f533ba5158e5 02:47:51 Removing intermediate container f533ba5158e5 02:47:51 ---> 2a4c2cf4b594 02:47:51 Step 23/24 : LABEL git_sha=83a2a1d834fb0f1aea7d714730f4a32acbb20601 02:47:51 ---> Running in c813079727b0 02:47:51 Removing intermediate container c813079727b0 02:47:51 ---> 13c82f54bada 02:47:51 Step 24/24 : LABEL version=0.0.0 02:47:51 ---> Running in 1d1ae6ee1744 02:47:52 Removing intermediate container 1d1ae6ee1744 02:47:52 ---> 0ca4e3e9f655 02:47:52 [Warning] One or more build-args [ARCH] were not consumed 02:47:52 Successfully built 0ca4e3e9f655 02:47:52 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 02:47:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 02:47:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 02:47:53 + sudo service docker restart 02:47:53 + true [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:55 provisioning config files... 02:47:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/26@tmp/config6526303846893224159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:56 ---> docker-login.sh 02:47:56 nexus3.edgexfoundry.org:10001 02:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:57 Configure a credential helper to remove this warning. See 02:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:57 02:47:57 Login Succeeded 02:47:57 nexus3.edgexfoundry.org:10002 02:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:57 Configure a credential helper to remove this warning. See 02:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:57 02:47:57 Login Succeeded 02:47:57 nexus3.edgexfoundry.org:10003 02:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:58 Configure a credential helper to remove this warning. See 02:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:58 02:47:58 Login Succeeded 02:47:58 nexus3.edgexfoundry.org:10004 02:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:58 Configure a credential helper to remove this warning. See 02:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:58 02:47:58 Login Succeeded 02:47:58 docker.io 02:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:59 Configure a credential helper to remove this warning. See 02:47:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:59 02:47:59 Login Succeeded 02:47:59 ---> docker-login.sh ends [Pipeline] } 02:47:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:48:00 ========================================================= 02:48:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:48:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:00 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:48:01 Sending build context to Docker daemon 2.381MB 02:48:01 Step 1/8 : ARG BASE=golang:1.15-alpine 02:48:01 Step 2/8 : FROM ${BASE} 02:48:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:48:01 5f621e34cdf4: Pulling fs layer 02:48:01 a4357932f1b6: Pulling fs layer 02:48:01 18c013af1878: Pulling fs layer 02:48:01 00ac8860ef70: Pulling fs layer 02:48:01 63d7cb157983: Pulling fs layer 02:48:01 b116817d02f9: Pulling fs layer 02:48:01 745a02a5169b: Pulling fs layer 02:48:01 63d7cb157983: Waiting 02:48:01 b116817d02f9: Waiting 02:48:01 745a02a5169b: Waiting 02:48:01 00ac8860ef70: Waiting 02:48:01 18c013af1878: Verifying Checksum 02:48:01 18c013af1878: Download complete 02:48:01 a4357932f1b6: Download complete 02:48:01 63d7cb157983: Verifying Checksum 02:48:01 63d7cb157983: Download complete 02:48:01 5f621e34cdf4: Download complete 02:48:01 b116817d02f9: Verifying Checksum 02:48:01 b116817d02f9: Download complete 02:48:02 5f621e34cdf4: Pull complete 02:48:02 a4357932f1b6: Pull complete 02:48:03 18c013af1878: Pull complete 02:48:04 745a02a5169b: Download complete 02:48:05 00ac8860ef70: Verifying Checksum 02:48:05 00ac8860ef70: Download complete 02:48:15 00ac8860ef70: Pull complete 02:48:15 63d7cb157983: Pull complete 02:48:15 b116817d02f9: Pull complete 02:48:20 745a02a5169b: Pull complete 02:48:20 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:48:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:20 ---> b7e6874047d6 02:48:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:22 ---> Running in a9d136f61391 02:48:23 Removing intermediate container a9d136f61391 02:48:23 ---> 858c26ca8118 02:48:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:23 ---> Running in daa1f1bf0908 02:48:25 Removing intermediate container daa1f1bf0908 02:48:25 ---> 85b424bf826b 02:48:25 Step 5/8 : RUN apk add --no-cache make git 02:48:25 ---> Running in f115b3b652fc 02:48:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:29 OK: 142 MiB in 39 packages 02:48:30 Removing intermediate container f115b3b652fc 02:48:30 ---> 108251af0981 02:48:30 Step 6/8 : WORKDIR /device-sdk-go 02:48:30 ---> Running in d8dbb2e8712a 02:48:31 Removing intermediate container d8dbb2e8712a 02:48:31 ---> 1af519fbe7f1 02:48:31 Step 7/8 : COPY . . 02:48:32 ---> d38ad3a0350d 02:48:32 Step 8/8 : RUN go mod download 02:48:32 ---> Running in 2e3c46494933 02:48:54 Removing intermediate container 2e3c46494933 02:48:54 ---> 90251bb8b586 02:48:54 Successfully built 90251bb8b586 02:48:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:54 + docker inspect -f . ci-base-image-arm64 02:48:54 . [Pipeline] withDockerContainer 02:48:55 prd-ubuntu18.04-docker-arm64-4c-16g-16030 does not seem to be running inside a container 02:48:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 ******** ci-base-image-arm64 cat 02:48:56 $ docker top 23e73a51b2b5b4281b12e0f63529ecf3236f79bf8dbf90323ea11ea21b05b6f9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:57 + go version 02:48:57 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:57 $ docker stop --time=1 23e73a51b2b5b4281b12e0f63529ecf3236f79bf8dbf90323ea11ea21b05b6f9 02:48:59 $ docker rm -f 23e73a51b2b5b4281b12e0f63529ecf3236f79bf8dbf90323ea11ea21b05b6f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:00 + docker inspect -f . ci-base-image-arm64 02:49:00 . [Pipeline] withDockerContainer 02:49:00 prd-ubuntu18.04-docker-arm64-4c-16g-16030 does not seem to be running inside a container 02:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 ******** ci-base-image-arm64 cat 02:49:02 $ docker top 4a4ba22949cf5f5275cfb957668dd8629addf06cba1152086a92b7fc6db36a0c -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:03 + make test 02:49:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:50:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 20.6% of statements 02:50:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.290s coverage: 97.1% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.656s coverage: 42.5% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.853s coverage: 68.9% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.220s coverage: 52.6% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.853s coverage: 68.9% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.170s coverage: 4.7% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:50:39 GO111MODULE=on go vet ./... 02:51:11 gofmt -l . 02:51:11 [ "`gofmt -l .`" = "" ] 02:51:11 ./bin/test-attribution-txt.sh 02:51:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:12 $ docker stop --time=1 4a4ba22949cf5f5275cfb957668dd8629addf06cba1152086a92b7fc6db36a0c 02:51:14 $ docker rm -f 4a4ba22949cf5f5275cfb957668dd8629addf06cba1152086a92b7fc6db36a0c [Pipeline] // withDockerContainer [Pipeline] sh 02:51:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:15 Warning: overwriting stash ‘coverage-report’ 02:51:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:17 + ls -al . 02:51:17 total 244 02:51:17 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:51 . 02:51:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 .. 02:51:17 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:47 .dockerignore 02:51:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:47 .git 02:51:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:47 .github 02:51:17 -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 02:47 .gitignore 02:51:17 -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 02:47 Dockerfile.build 02:51:17 -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 02:47 Jenkinsfile 02:51:17 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 02:47 LICENSE 02:51:17 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 02:47 Makefile 02:51:17 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 02:47 README.md 02:51:17 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 02:47 RELEASE-NOTES.txt 02:51:17 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:44 VERSION 02:51:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:47 bin 02:51:17 -rw-r--r-- 1 jenkins jenkins 127610 Dec 15 02:50 coverage.out 02:51:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 example 02:51:17 -rw-r--r-- 1 jenkins jenkins 518 Dec 15 02:51 go.mod 02:51:17 -rw-r--r-- 1 jenkins jenkins 13715 Dec 15 02:51 go.sum 02:51:17 drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 02:47 internal 02:51:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 openapi 02:51:17 drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 02:47 pkg 02:51:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 snap 02:51:17 -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:17 + 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=83a2a1d834fb0f1aea7d714730f4a32acbb20601 --label arch=arm64 --label version=0.0.0 . 02:51:18 Sending build context to Docker daemon 2.509MB 02:51:18 Step 1/24 : ARG BASE=golang:1.15-alpine 02:51:18 Step 2/24 : FROM ${BASE} AS builder 02:51:18 ---> 90251bb8b586 02:51:18 Step 3/24 : ARG MAKE='make build' 02:51:18 ---> Running in 4fe4f332f929 02:51:19 Removing intermediate container 4fe4f332f929 02:51:19 ---> 332294806775 02:51:19 Step 4/24 : WORKDIR /device-sdk-go 02:51:19 ---> Running in 9c3864777ca0 02:51:19 Removing intermediate container 9c3864777ca0 02:51:19 ---> 376f4c8239a1 02:51:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:19 ---> Running in 82825b12c0c8 02:51:20 Removing intermediate container 82825b12c0c8 02:51:20 ---> c38d68ac34f9 02:51:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:20 ---> Running in aa4f7e1aee5e 02:51:22 Removing intermediate container aa4f7e1aee5e 02:51:22 ---> 95bbe0178e5b 02:51:22 Step 7/24 : RUN apk add --update --no-cache make git 02:51:22 ---> Running in fcbe3d04e85d 02:51:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:25 OK: 142 MiB in 39 packages 02:51:26 Removing intermediate container fcbe3d04e85d 02:51:26 ---> 6c458a9ec5e6 02:51:26 Step 8/24 : COPY . . 02:51:27 ---> a81334481d25 02:51:27 Step 9/24 : RUN ${MAKE} 02:51:27 ---> Running in dd67db13b64f 02:51:28 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 02:51:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:55 Removing intermediate container dd67db13b64f 02:51:55 ---> d3eb51362295 02:51:55 Step 10/24 : FROM scratch 02:51:55 ---> 02:51:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:55 ---> Running in 98070dc81e8f 02:51:55 Removing intermediate container 98070dc81e8f 02:51:55 ---> cf54c51aee7c 02:51:55 Step 12/24 : ENV APP_PORT=49990 02:51:55 ---> Running in 40216cd9efcc 02:51:56 Removing intermediate container 40216cd9efcc 02:51:56 ---> 6f8e439adfbc 02:51:56 Step 13/24 : EXPOSE $APP_PORT 02:51:56 ---> Running in 1bb78f432caa 02:51:57 Removing intermediate container 1bb78f432caa 02:51:57 ---> a60953554346 02:51:57 Step 14/24 : WORKDIR / 02:51:57 ---> Running in 6e51550fb7da 02:51:57 Removing intermediate container 6e51550fb7da 02:51:57 ---> 7beaa9e687e4 02:51:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:58 ---> c5dbc58b1588 02:51:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:59 ---> 3411016a0208 02:51:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:00 ---> 82f969c4552f 02:52:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:01 ---> 1d21bf15fb65 02:52:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:01 ---> 35938a3c208e 02:52:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:01 ---> Running in f7136d010c49 02:52:02 Removing intermediate container f7136d010c49 02:52:02 ---> 078e8e480b7d 02:52:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:02 ---> Running in 40fe1ecee5ad 02:52:02 Removing intermediate container 40fe1ecee5ad 02:52:02 ---> c923c3159218 02:52:02 Step 22/24 : LABEL arch=arm64 02:52:02 ---> Running in 3fa9338589c5 02:52:03 Removing intermediate container 3fa9338589c5 02:52:03 ---> 2f3102dc0858 02:52:03 Step 23/24 : LABEL git_sha=83a2a1d834fb0f1aea7d714730f4a32acbb20601 02:52:03 ---> Running in 8a6da175980c 02:52:04 Removing intermediate container 8a6da175980c 02:52:04 ---> 4212c4a2fcd6 02:52:04 Step 24/24 : LABEL version=0.0.0 02:52:04 ---> Running in 247e75eb3c29 02:52:04 Removing intermediate container 247e75eb3c29 02:52:04 ---> 2fe13b23dd2c 02:52:04 [Warning] One or more build-args [ARCH] were not consumed 02:52:04 Successfully built 2fe13b23dd2c 02:52:04 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:52:06 provisioning config files... 02:52:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5533387252786724427tmp [Pipeline] { [Pipeline] sh 02:52:06 + set +x 02:52:06 + curl -s https://codecov.io/bash 02:52:06 + bash -s -- 02:52:06 02:52:06 _____ _ 02:52:06 / ____| | | 02:52:06 | | ___ __| | ___ ___ _____ __ 02:52:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:06 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:06 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:06 Bash-20201130-cc6d3fe 02:52:06 02:52:06 02:52:06 ==> Jenkins CI detected. 02:52:06 project root: . 02:52:06 --> token set from env 02:52:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:06 ==> Running gcov in . (disable via -X gcov) 02:52:06 ==> Python coveragepy not found 02:52:06 ==> Searching for coverage reports in: 02:52:06 + . 02:52:06 -> Found 1 reports 02:52:06 ==> Detecting git/mercurial file structure 02:52:06 ==> Reading reports 02:52:06 + ./coverage.out bytes=127610 02:52:06 ==> Appending adjustments 02:52:06 https://docs.codecov.io/docs/fixing-reports 02:52:07 + Found adjustments 02:52:07 ==> Gzipping contents 02:52:07 24K /tmp/codecov.KdPKbA.gz 02:52:07 ==> Uploading reports 02:52:07 url: https://codecov.io 02:52:07 query: branch=PR-614&commit=83a2a1d834fb0f1aea7d714730f4a32acbb20601&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:52:07 -> Pinging Codecov 02:52:07 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-614&commit=83a2a1d834fb0f1aea7d714730f4a32acbb20601&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:52:08 -> Uploading to 02:52:08 https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/83a2a1d834fb0f1aea7d714730f4a32acbb20601/79ef7c47-ca47-4ba8-9cd0-b3effcafe209.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T025207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32c2379dfd10f7bf7e0e89fe3ac88095b08e4a7cd05290ce1d63bd001b947c7f 02:52:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:08 Dload Upload Total Spent Left Speed 02:52:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20892 0 0 100 20892 0 50795 --:--:-- --:--:-- --:--:-- 50832 02:52:08 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/83a2a1d834fb0f1aea7d714730f4a32acbb20601 [Pipeline] } 02:52:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:52:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:11 ---> package-listing.sh 02:52:11 ++ facter osfamily 02:52:11 ++ tr '[:upper:]' '[:lower:]' 02:52:11 + OS_FAMILY=redhat 02:52:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 02:52:11 + START_PACKAGES=/tmp/packages_start.txt 02:52:11 + END_PACKAGES=/tmp/packages_end.txt 02:52:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:11 + PACKAGES=/tmp/packages_start.txt 02:52:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:52:11 + PACKAGES=/tmp/packages_end.txt 02:52:11 + case "${OS_FAMILY}" in 02:52:11 + rpm -qa 02:52:11 + sort 02:52:17 + '[' -f /tmp/packages_start.txt ']' 02:52:17 + '[' -f /tmp/packages_end.txt ']' 02:52:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:52:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 02:52:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo 02:52:17 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:17 02:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:18 alpine: Pulling from edgex-lftools-log-publisher 02:52:18 df20fa9351a1: Pulling fs layer 02:52:18 36b3adc4ff6f: Pulling fs layer 02:52:18 8ad3a11d3b57: Pulling fs layer 02:52:18 46f8f816bc3b: Pulling fs layer 02:52:18 93b61091891f: Pulling fs layer 02:52:18 93b9cdb0e59b: Pulling fs layer 02:52:18 5e14af77c1be: Pulling fs layer 02:52:18 01666e4c0597: Pulling fs layer 02:52:18 aa168da1d23b: Pulling fs layer 02:52:18 93b9cdb0e59b: Waiting 02:52:18 5e14af77c1be: Waiting 02:52:18 01666e4c0597: Waiting 02:52:18 46f8f816bc3b: Waiting 02:52:18 93b61091891f: Waiting 02:52:18 aa168da1d23b: Waiting 02:52:18 36b3adc4ff6f: Verifying Checksum 02:52:18 36b3adc4ff6f: Download complete 02:52:18 46f8f816bc3b: Verifying Checksum 02:52:18 46f8f816bc3b: Download complete 02:52:18 df20fa9351a1: Download complete 02:52:18 93b9cdb0e59b: Verifying Checksum 02:52:18 93b9cdb0e59b: Download complete 02:52:18 93b61091891f: Verifying Checksum 02:52:18 93b61091891f: Download complete 02:52:18 5e14af77c1be: Verifying Checksum 02:52:18 5e14af77c1be: Download complete 02:52:18 01666e4c0597: Verifying Checksum 02:52:18 01666e4c0597: Download complete 02:52:18 8ad3a11d3b57: Verifying Checksum 02:52:18 8ad3a11d3b57: Download complete 02:52:18 df20fa9351a1: Pull complete 02:52:18 36b3adc4ff6f: Pull complete 02:52:19 8ad3a11d3b57: Pull complete 02:52:19 46f8f816bc3b: Pull complete 02:52:20 93b61091891f: Pull complete 02:52:20 aa168da1d23b: Verifying Checksum 02:52:20 aa168da1d23b: Download complete 02:52:20 93b9cdb0e59b: Pull complete 02:52:20 5e14af77c1be: Pull complete 02:52:21 01666e4c0597: Pull complete 02:52:29 aa168da1d23b: Pull complete 02:52:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:29 prd-centos7-docker-4c-2g-16022 does not seem to be running inside a container 02:52:29 $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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:10003/edgex-lftools-log-publisher:alpine cat 02:52:33 $ docker top 3db28716ddd3bdcaba01c0a76e5c48aeb67ecde1288a65f891432df7980533f7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:33 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:33 + mkdir -p /var/log/sa [Pipeline] sh 02:52:34 + ls /var/log/sa-host 02:52:34 + sadf -c /var/log/sa-host/sa15 02:52:34 file_magic: OK 02:52:34 HZ: Using current value: 100 02:52:34 file_header: OK 02:52:34 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:34 Statistics: 02:52:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:34 File successfully converted to sysstat format version 12.2.1 02:52:34 + sadf -c /var/log/sa-host/sa23 02:52:34 file_magic: OK 02:52:34 HZ: Using current value: 100 02:52:34 file_header: OK 02:52:34 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:34 Statistics: 02:52:34 Hnuu...uuuununununu... 02:52:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:34 provisioning config files... 02:52:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config2014749590231078801tmp [Pipeline] { [Pipeline] echo 02:52:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:34 ---> create-netrc.sh [Pipeline] } 02:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:35 ---> python-tools-install.sh [Pipeline] echo 02:52:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:35 ---> sudo-logs.sh 02:52:35 Archiving 'sudo' log.. [Pipeline] echo 02:52:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:35 ---> job-cost.sh 02:52:35 lf-activate-venv: SKIPPING 02:52:35 INFO: No Stack... 02:52:37 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:38 INFO: Archiving Costs [Pipeline] echo 02:52:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:38 ---> logs-deploy.sh 02:52:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/26 02:52:38 INFO: archiving workspace using pattern(s): 02:52:40 Archives upload complete. 02:52:40 INFO: archiving logs to Nexus 02:52:41 ---> uname -a: 02:52:41 Linux prd-centos7-docker-4c-2g-16022.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:52:41 02:52:41 02:52:41 ---> lscpu: 02:52:41 Architecture: x86_64 02:52:41 CPU op-mode(s): 32-bit, 64-bit 02:52:41 Byte Order: Little Endian 02:52:41 Address sizes: 40 bits physical, 48 bits virtual 02:52:41 CPU(s): 4 02:52:41 On-line CPU(s) list: 0-3 02:52:41 Thread(s) per core: 1 02:52:41 Core(s) per socket: 1 02:52:41 Socket(s): 4 02:52:41 NUMA node(s): 1 02:52:41 Vendor ID: GenuineIntel 02:52:41 CPU family: 6 02:52:41 Model: 44 02:52:41 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:41 Stepping: 1 02:52:41 CPU MHz: 2933.436 02:52:41 BogoMIPS: 5866.87 02:52:41 Virtualization: VT-x 02:52:41 Hypervisor vendor: KVM 02:52:41 Virtualization type: full 02:52:41 L1d cache: 128 KiB 02:52:41 L1i cache: 128 KiB 02:52:41 L2 cache: 16 MiB 02:52:41 L3 cache: 64 MiB 02:52:41 NUMA node0 CPU(s): 0-3 02:52:41 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:41 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:41 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:41 Vulnerability Meltdown: Mitigation; PTI 02:52:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:41 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:41 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:41 Vulnerability Srbds: Not affected 02:52:41 Vulnerability Tsx async abort: Not affected 02:52:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:52:41 02:52:41 02:52:41 ---> nproc: 02:52:41 4 02:52:41 02:52:41 02:52:41 ---> df -h: 02:52:41 Filesystem Size Used Available Use% Mounted on 02:52:41 overlay 50.0G 7.3G 42.7G 15% / 02:52:41 tmpfs 64.0M 0 64.0M 0% /dev 02:52:41 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:41 shm 64.0M 0 64.0M 0% /dev/shm 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-614 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:41 02:52:41 02:52:41 ---> free -m: 02:52:41 total used free shared buff/cache available 02:52:41 Mem: 1837 694 103 0 1039 1038 02:52:41 Swap: 1023 0 1023 02:52:41 02:52:41 02:52:41 ---> ip addr: 02:52:41 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:41 inet 127.0.0.1/8 scope host lo 02:52:41 valid_lft forever preferred_lft forever 02:52:41 inet6 ::1/128 scope host 02:52:41 valid_lft forever preferred_lft forever 02:52:41 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:41 link/ether fa:16:3e:d2:31:3b brd ff:ff:ff:ff:ff:ff 02:52:41 inet 10.30.123.38/23 brd 10.30.123.255 scope global dynamic eth0 02:52:41 valid_lft 85830sec preferred_lft 85830sec 02:52:41 inet6 fe80::f816:3eff:fed2:313b/64 scope link 02:52:41 valid_lft forever preferred_lft forever 02:52:41 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:41 link/ether 02:42:c0:05:7d:5f brd ff:ff:ff:ff:ff:ff 02:52:41 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:41 valid_lft forever preferred_lft forever 02:52:41 inet6 fe80::42:c0ff:fe05:7d5f/64 scope link 02:52:41 valid_lft forever preferred_lft forever 02:52:41 02:52:41 02:52:41 ---> sar -b -r -n DEV: 02:52:41 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/15/20 _x86_64_ (4 CPU) 02:52:41 02:52:41 02:42:59 LINUX RESTART (4 CPU) 02:52:41 02:52:41 02:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:41 02:45:01 7.77 1.65 6.13 0.00 158.35 185.93 0.00 02:52:41 02:46:01 0.43 0.00 0.43 0.00 0.00 6.99 0.00 02:52:41 02:47:01 0.23 0.00 0.23 0.00 0.00 2.86 0.00 02:52:41 02:48:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 02:52:41 02:49:01 0.23 0.00 0.23 0.00 0.00 4.15 0.00 02:52:41 02:50:01 0.30 0.00 0.30 0.00 0.00 3.31 0.00 02:52:41 02:51:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 02:52:41 02:52:01 0.20 0.00 0.20 0.00 0.00 2.58 0.00 02:52:41 Average: 1.22 0.21 1.01 0.00 19.80 26.57 0.00 02:52:41 02:52:41 02:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:41 02:45:01 140220 0 599216 31.85 2620 1139488 1109216 37.86 442400 1098572 20 02:52:41 02:46:01 145132 0 594296 31.59 2620 1139496 1094188 37.34 439580 1097232 8 02:52:41 02:47:01 143368 0 596056 31.68 2620 1139500 1094280 37.35 438512 1100376 12 02:52:41 02:48:01 144168 0 595256 31.64 2620 1139500 1089092 37.17 437892 1100064 16 02:52:41 02:49:01 144560 0 594856 31.62 2620 1139508 1089180 37.17 436536 1101612 8 02:52:41 02:50:01 145744 0 593668 31.55 2620 1139512 1079904 36.86 435652 1101428 16 02:52:41 02:51:01 145540 0 593868 31.56 2620 1139516 1079904 36.86 435616 1101472 8 02:52:41 02:52:01 145768 0 593636 31.55 2620 1139520 1079904 36.86 435500 1101472 8 02:52:41 Average: 144312 0 595106 31.63 2620 1139505 1089458 37.18 437711 1100278 12 02:52:41 02:52:41 02:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:41 02:45:01 eth0 28.30 22.56 36.28 20.43 0.00 0.00 0.00 0.00 02:52:41 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:45:01 docker0 7.42 5.64 1.24 20.29 0.00 0.00 0.00 0.00 02:52:41 02:46:01 eth0 2.70 0.57 0.69 0.39 0.00 0.00 0.00 0.00 02:52:41 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:47:01 eth0 2.35 0.73 0.87 0.55 0.00 0.00 0.00 0.00 02:52:41 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:48:01 eth0 1.47 0.30 0.36 0.23 0.00 0.00 0.00 0.00 02:52:41 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:49:01 eth0 1.00 0.40 0.44 0.26 0.00 0.00 0.00 0.00 02:52:41 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:50:01 eth0 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:51:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:41 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:52:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:41 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 Average: eth0 4.53 3.09 4.83 2.74 0.00 0.00 0.00 0.00 02:52:41 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:41 Average: docker0 0.93 0.71 0.15 2.54 0.00 0.00 0.00 0.00 02:52:41 02:52:41 02:52:41 ---> sar -P ALL: 02:52:41 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/15/20 _x86_64_ (4 CPU) 02:52:41 02:52:41 02:42:59 LINUX RESTART (4 CPU) 02:52:41 02:52:41 02:44:01 CPU %user %nice %system %iowait %steal %idle 02:52:41 02:45:01 all 0.94 0.00 0.48 0.07 0.03 98.48 02:52:41 02:45:01 0 0.90 0.00 0.45 0.22 0.02 98.41 02:52:41 02:45:01 1 1.05 0.00 0.68 0.03 0.03 98.20 02:52:41 02:45:01 2 0.73 0.00 0.35 0.00 0.02 98.90 02:52:41 02:45:01 3 1.09 0.00 0.45 0.03 0.03 98.40 02:52:41 02:46:01 all 0.15 0.00 0.05 0.00 0.00 99.80 02:52:41 02:46:01 0 0.07 0.00 0.03 0.00 0.00 99.90 02:52:41 02:46:01 1 0.43 0.00 0.03 0.00 0.02 99.52 02:52:41 02:46:01 2 0.08 0.00 0.08 0.00 0.00 99.83 02:52:41 02:46:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:52:41 02:47:01 all 0.20 0.00 0.05 0.00 0.00 99.75 02:52:41 02:47:01 0 0.05 0.00 0.03 0.00 0.00 99.92 02:52:41 02:47:01 1 0.60 0.00 0.02 0.00 0.00 99.38 02:52:41 02:47:01 2 0.08 0.00 0.10 0.00 0.02 99.80 02:52:41 02:47:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:52:41 02:48:01 all 0.08 0.00 0.05 0.00 0.00 99.87 02:52:41 02:48:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:52:41 02:48:01 1 0.22 0.00 0.10 0.00 0.02 99.67 02:52:41 02:48:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:52:41 02:48:01 3 0.05 0.00 0.02 0.00 0.00 99.93 02:52:41 02:49:01 all 0.16 0.00 0.04 0.00 0.01 99.80 02:52:41 02:49:01 0 0.05 0.00 0.07 0.00 0.02 99.87 02:52:41 02:49:01 1 0.50 0.00 0.03 0.00 0.00 99.47 02:52:41 02:49:01 2 0.07 0.00 0.03 0.00 0.00 99.90 02:52:41 02:49:01 3 0.02 0.00 0.02 0.00 0.02 99.95 02:52:41 02:50:01 all 0.15 0.00 0.03 0.00 0.00 99.81 02:52:41 02:50:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:52:41 02:50:01 1 0.52 0.00 0.03 0.00 0.00 99.45 02:52:41 02:50:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:52:41 02:50:01 3 0.05 0.00 0.07 0.00 0.02 99.87 02:52:41 02:51:01 all 0.15 0.00 0.03 0.00 0.01 99.81 02:52:41 02:51:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:52:41 02:51:01 1 0.53 0.00 0.03 0.00 0.02 99.42 02:52:41 02:51:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:52:41 02:51:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:52:41 02:52:01 all 0.15 0.00 0.02 0.00 0.00 99.82 02:52:41 02:52:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:52:41 02:52:01 1 0.53 0.00 0.02 0.00 0.00 99.45 02:52:41 02:52:01 2 0.02 0.00 0.05 0.00 0.02 99.92 02:52:41 02:52:01 3 0.02 0.00 0.00 0.00 0.00 99.98 02:52:41 Average: all 0.25 0.00 0.09 0.01 0.01 99.64 02:52:41 Average: 0 0.14 0.00 0.08 0.03 0.00 99.74 02:52:41 Average: 1 0.55 0.00 0.12 0.00 0.01 99.32 02:52:41 Average: 2 0.14 0.00 0.09 0.00 0.01 99.77 02:52:41 Average: 3 0.17 0.00 0.09 0.00 0.01 99.73 02:52:41 02:52:41 02:52:41