Pull request #715 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48+3c425af093304cd635dd4d13aa8de6855cdd3d8b (ab31bd563a3c87f1f7d5a1ed8786c98773daf119) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19250 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [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-715 # 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 3c425af093304cd635dd4d13aa8de6855cdd3d8b into PR head commit 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 > 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/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 # 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 3c425af093304cd635dd4d13aa8de6855cdd3d8b # timeout=10 Merge succeeded, producing 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 Checking out Revision 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 (PR-715) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" First time build. Skipping changelog. > git rev-list --no-walk d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:08:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:08:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:08:55 ========================================================= 13:08:55 EdgeX Global Pipelines Version Info 13:08:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:08:56 ------------------- 13:08:56 stable info: 13:08:56 ------------------- 13:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:08:56 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:08:56 Message: update stable to v1.0.173 13:08:57 ------------------- 13:08:57 experimental info: 13:08:57 ------------------- 13:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 13:08:57 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:08:57 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:08:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-715 [Pipeline] echo 13:09:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-715 [Pipeline] echo 13:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-715 [Pipeline] echo 13:09:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 [Pipeline] echo 13:09:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68c9dfc [Pipeline] echo 13:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:09:01 provisioning config files... 13:09:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config8250252445958597733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:02 ---> docker-login.sh 13:09:02 nexus3.edgexfoundry.org:10001 13:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:02 Configure a credential helper to remove this warning. See 13:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:02 13:09:02 Login Succeeded 13:09:02 nexus3.edgexfoundry.org:10002 13:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:02 Configure a credential helper to remove this warning. See 13:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:02 13:09:02 Login Succeeded 13:09:02 nexus3.edgexfoundry.org:10003 13:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:02 Configure a credential helper to remove this warning. See 13:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:02 13:09:02 Login Succeeded 13:09:02 nexus3.edgexfoundry.org:10004 13:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:03 Configure a credential helper to remove this warning. See 13:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:03 13:09:03 Login Succeeded 13:09:03 docker.io 13:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:03 Configure a credential helper to remove this warning. See 13:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:03 13:09:03 Login Succeeded 13:09:03 ---> docker-login.sh ends [Pipeline] } 13:09:03 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 13:09:04 + git log --format=format:%s -1 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 [Pipeline] echo 13:09:04 GIT_COMMIT: 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48, Commit Message: build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4 [Pipeline] echo 13:09:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:09:05 13:09:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:09:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:09:05 latest: Pulling from edgex-devops/git-semver 13:09:05 31603596830f: Pulling fs layer 13:09:05 2a8b12db71e7: Pulling fs layer 13:09:05 6ca5941a6612: Pulling fs layer 13:09:05 ecc8261a40a4: Pulling fs layer 13:09:05 ecc8261a40a4: Waiting 13:09:05 2a8b12db71e7: Verifying Checksum 13:09:05 2a8b12db71e7: Download complete 13:09:05 ecc8261a40a4: Verifying Checksum 13:09:05 ecc8261a40a4: Download complete 13:09:05 6ca5941a6612: Verifying Checksum 13:09:05 6ca5941a6612: Download complete 13:09:05 31603596830f: Download complete 13:09:06 31603596830f: Pull complete 13:09:06 2a8b12db71e7: Pull complete 13:09:07 6ca5941a6612: Pull complete 13:09:07 ecc8261a40a4: Pull complete 13:09:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:09:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:09:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:09:07 prd-centos7-docker-4c-2g-19250 does not seem to be running inside a container 13:09:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-715 -v /w/workspace/dgexfoundry_device-sdk-go_PR-715:/w/workspace/dgexfoundry_device-sdk-go_PR-715:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-715@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 13:09:09 $ docker top c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:09:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:09:10 [ssh-agent] Looking for ssh-agent implementation... 13:09:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:09:10 $ docker exec c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc ssh-agent 13:09:10 SSH_AUTH_SOCK=/tmp/ssh-CyIyYlavKnGV/agent.13 13:09:10 SSH_AGENT_PID=18 13:09:10 Running ssh-add (command line suppressed) 13:09:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_7260180979960607183.key (/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_7260180979960607183.key) 13:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:09:11 + git tag --points-at HEAD [Pipeline] } 13:09:11 $ docker exec --env ******** --env ******** c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc ssh-agent -k 13:09:11 unset SSH_AUTH_SOCK; 13:09:11 unset SSH_AGENT_PID; 13:09:11 echo Agent pid 18 killed; 13:09:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:09:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:09:11 [ssh-agent] Looking for ssh-agent implementation... 13:09:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:09:11 $ docker exec c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc ssh-agent 13:09:11 SSH_AUTH_SOCK=/tmp/ssh-mhR7B7BR6XAG/agent.47 13:09:11 SSH_AGENT_PID=53 13:09:11 Running ssh-add (command line suppressed) 13:09:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_8945321058223076187.key (/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_8945321058223076187.key) 13:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:09:12 + git semver init 13:09:12 # -> Open(): unable to determine branch for HEAD 13:09:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-715/.git 13:09:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-715 13:09:12 # $SEMVER_REMOTE_NAME = origin 13:09:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:09:12 # $SEMVER_USER_NAME = edgex-jenkins 13:09:12 # $SEMVER_BRANCH = PR-715 13:09:12 # $SEMVER_TEMP = /tmp/semver-249256744 13:09:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 13:09:13 # '/tmp/semver-249256744' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-715/.semver' 13:09:13 # -> Force: false 13:09:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-715/.semver [Pipeline] } 13:09:13 $ docker exec --env ******** --env ******** c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc ssh-agent -k 13:09:13 unset SSH_AUTH_SOCK; 13:09:13 unset SSH_AGENT_PID; 13:09:13 echo Agent pid 53 killed; 13:09:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:09:14 + git semver [Pipeline] } 13:09:14 $ docker stop --time=1 c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc 13:09:15 $ docker rm -f c499780e6d9fc1e82249bed65f2516a3f4feee45a24a41fc46565ae2cc0167fc [Pipeline] // withDockerContainer [Pipeline] sh 13:09:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:09:16 Stashed 1 file(s) [Pipeline] echo 13:09:16 [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 13:09:32 Still waiting to schedule task 13:09:32 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-19245’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19247’ is offline; ‘prd-centos7-docker-4c-2g-19249’ is offline; ‘prd-centos7-docker-4c-2g-19252’ is offline; ‘prd-centos7-docker-4c-2g-19253’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 13:09:32 Still waiting to schedule task 13:09:32 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 13:09:48 Running on prd-centos7-docker-4c-2g-19253 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] ws 13:09:48 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 13:09:50 using credential edgex-jenkins-ssh 13:09:50 Cloning the remote Git repository 13:09:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:09:50 > git init /w/workspace/device-sdk-go/3 # timeout=10 13:09:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:09:50 > git --version # timeout=10 13:09:50 > git --version # 'git version 2.24.3' 13:09:50 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:09:52 Merging remotes/origin/master commit 3c425af093304cd635dd4d13aa8de6855cdd3d8b into PR head commit 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 13:09:52 Merge succeeded, producing 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 13:09:52 Checking out Revision 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 (PR-715) 13:09:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:09:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:09:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:09:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:09:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:09:52 > git config core.sparsecheckout # timeout=10 13:09:52 > git checkout -f 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 # timeout=10 13:09:52 > git remote # timeout=10 13:09:52 > git config --get remote.origin.url # timeout=10 13:09:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:52 > git merge 3c425af093304cd635dd4d13aa8de6855cdd3d8b # timeout=10 13:09:52 > git rev-parse HEAD^{commit} # timeout=10 13:09:52 > git config core.sparsecheckout # timeout=10 13:09:52 > git checkout -f 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 # timeout=10 13:09:56 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:09:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:09:58 + sudo service docker restart 13:09:58 + true 13:09:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:09:59 provisioning config files... 13:09:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5683620231544600607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:59 ---> docker-login.sh 13:09:59 nexus3.edgexfoundry.org:10001 13:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:00 Configure a credential helper to remove this warning. See 13:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:00 13:10:00 Login Succeeded 13:10:00 nexus3.edgexfoundry.org:10002 13:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:00 Configure a credential helper to remove this warning. See 13:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:00 13:10:00 Login Succeeded 13:10:00 nexus3.edgexfoundry.org:10003 13:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:00 Configure a credential helper to remove this warning. See 13:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:00 13:10:00 Login Succeeded 13:10:00 nexus3.edgexfoundry.org:10004 13:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:00 Configure a credential helper to remove this warning. See 13:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:00 13:10:00 Login Succeeded 13:10:00 docker.io 13:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:01 Configure a credential helper to remove this warning. See 13:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:01 13:10:01 Login Succeeded 13:10:01 ---> docker-login.sh ends [Pipeline] } 13:10:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:10:01 ========================================================= 13:10:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:10:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:10:01 + 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 . 13:10:02 Sending build context to Docker daemon 2.44MB 13:10:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:10:02 Step 2/8 : FROM ${BASE} 13:10:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:10:02 188c0c94c7c5: Pulling fs layer 13:10:02 0ef7d3d256c8: Pulling fs layer 13:10:02 de9db76c5a1d: Pulling fs layer 13:10:02 bca2f99d35d6: Pulling fs layer 13:10:02 93359f2a8cfa: Pulling fs layer 13:10:02 7c6f9722023f: Pulling fs layer 13:10:02 a35cf1a2eb13: Pulling fs layer 13:10:02 7c6f9722023f: Waiting 13:10:02 93359f2a8cfa: Waiting 13:10:02 a35cf1a2eb13: Waiting 13:10:02 bca2f99d35d6: Waiting 13:10:02 de9db76c5a1d: Verifying Checksum 13:10:02 de9db76c5a1d: Download complete 13:10:02 0ef7d3d256c8: Download complete 13:10:02 93359f2a8cfa: Verifying Checksum 13:10:02 93359f2a8cfa: Download complete 13:10:02 188c0c94c7c5: Verifying Checksum 13:10:02 188c0c94c7c5: Download complete 13:10:02 7c6f9722023f: Verifying Checksum 13:10:02 7c6f9722023f: Download complete 13:10:02 188c0c94c7c5: Pull complete 13:10:02 0ef7d3d256c8: Pull complete 13:10:02 de9db76c5a1d: Pull complete 13:10:04 a35cf1a2eb13: Verifying Checksum 13:10:04 a35cf1a2eb13: Download complete 13:10:04 bca2f99d35d6: Verifying Checksum 13:10:04 bca2f99d35d6: Download complete 13:10:10 bca2f99d35d6: Pull complete 13:10:10 93359f2a8cfa: Pull complete 13:10:10 7c6f9722023f: Pull complete 13:10:15 a35cf1a2eb13: Pull complete 13:10:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 13:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:10:15 ---> a62c8e92a672 13:10:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:10:15 ---> Running in 75408f360db1 13:10:15 Removing intermediate container 75408f360db1 13:10:15 ---> 8cb9eeff4bf9 13:10:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:15 ---> Running in d4bc2e5bb08d 13:10:16 Removing intermediate container d4bc2e5bb08d 13:10:16 ---> dc72fbbbf6f9 13:10:16 Step 5/8 : RUN apk add --update --no-cache make git 13:10:16 ---> Running in 5da4d992bab6 13:10:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:10:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:10:19 OK: 166 MiB in 39 packages 13:10:20 Removing intermediate container 5da4d992bab6 13:10:20 ---> c25ecf590404 13:10:20 Step 6/8 : WORKDIR /device-sdk-go 13:10:20 ---> Running in 858415641bf1 13:10:20 Removing intermediate container 858415641bf1 13:10:20 ---> 7e22574bd82e 13:10:20 Step 7/8 : COPY . . 13:10:21 ---> c52997b21ae8 13:10:21 Step 8/8 : RUN go mod download 13:10:21 ---> Running in 7da27f721b66 13:10:40 Removing intermediate container 7da27f721b66 13:10:40 ---> b1a32ad3b5ce 13:10:40 Successfully built b1a32ad3b5ce 13:10:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:10:40 + docker inspect -f . ci-base-image-x86_64 13:10:40 . [Pipeline] withDockerContainer 13:10:40 prd-centos7-docker-4c-2g-19253 does not seem to be running inside a container 13:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 13:10:42 $ docker top f0f4326da5fe3b149f38b06a813f82b107808f3b68ae7e4da6e0cf620fc0656d -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:42 + go version 13:10:42 go version go1.15.5 linux/amd64 [Pipeline] } 13:10:42 $ docker stop --time=1 f0f4326da5fe3b149f38b06a813f82b107808f3b68ae7e4da6e0cf620fc0656d 13:10:44 $ docker rm -f f0f4326da5fe3b149f38b06a813f82b107808f3b68ae7e4da6e0cf620fc0656d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:10:44 + docker inspect -f . ci-base-image-x86_64 13:10:44 . [Pipeline] withDockerContainer 13:10:45 prd-centos7-docker-4c-2g-19253 does not seem to be running inside a container 13:10:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 13:10:45 $ docker top b53f863cc96d0f9a6023f8f30e3aafec77d623ae6ac162ee1f2e8edc7d72e23f -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:46 + make test 13:10:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:10:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 13:11:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 13:11:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 13:11:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 13:11:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.074s coverage: 19.4% of statements 13:11:15 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.525s coverage: 97.1% of statements 13:11:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements 13:11:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.7% of statements 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 13:11:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.257s coverage: 42.5% of statements 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 13:11:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 68.9% of statements 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 13:11:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 53.8% of statements 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 13:11:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 13:11:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.518s coverage: 68.9% of statements 13:11:41 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.056s coverage: 4.2% of statements 13:11:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 13:11:42 GO111MODULE=on go vet ./... 13:11:54 gofmt -l . 13:11:54 [ "`gofmt -l .`" = "" ] 13:11:54 ./bin/test-attribution-txt.sh 13:11:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:11:54 $ docker stop --time=1 b53f863cc96d0f9a6023f8f30e3aafec77d623ae6ac162ee1f2e8edc7d72e23f 13:11:56 $ docker rm -f b53f863cc96d0f9a6023f8f30e3aafec77d623ae6ac162ee1f2e8edc7d72e23f [Pipeline] // withDockerContainer [Pipeline] sh 13:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:11:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:11:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:11:59 + ls -al . 13:11:59 total 208 13:11:59 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 9 13:11 . 13:11:59 drwxrwxr-x. 4 jenkins jenkins 28 Jan 9 13:09 .. 13:11:59 drwxrwxr-x. 2 jenkins jenkins 64 Jan 9 13:09 bin 13:11:59 -rw-r--r--. 1 jenkins jenkins 130605 Jan 9 13:11 coverage.out 13:11:59 -rw-rw-r--. 1 jenkins jenkins 949 Jan 9 13:09 Dockerfile.build 13:11:59 -rw-rw-r--. 1 jenkins jenkins 140 Jan 9 13:09 .dockerignore 13:11:59 drwxrwxr-x. 4 jenkins jenkins 48 Jan 9 13:09 example 13:11:59 drwxrwxr-x. 8 jenkins jenkins 179 Jan 9 13:09 .git 13:11:59 drwxrwxr-x. 2 jenkins jenkins 103 Jan 9 13:09 .github 13:11:59 -rw-rw-r--. 1 jenkins jenkins 138 Jan 9 13:09 .gitignore 13:11:59 -rw-r--r--. 1 jenkins jenkins 488 Jan 9 13:11 go.mod 13:11:59 -rw-r--r--. 1 jenkins jenkins 14014 Jan 9 13:11 go.sum 13:11:59 drwxrwxr-x. 15 jenkins jenkins 211 Jan 9 13:09 internal 13:11:59 -rw-rw-r--. 1 jenkins jenkins 901 Jan 9 13:09 Jenkinsfile 13:11:59 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 9 13:09 LICENSE 13:11:59 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 9 13:09 Makefile 13:11:59 drwxrwxr-x. 4 jenkins jenkins 26 Jan 9 13:09 openapi 13:11:59 drwxrwxr-x. 5 jenkins jenkins 50 Jan 9 13:09 pkg 13:11:59 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 9 13:09 README.md 13:11:59 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 9 13:09 RELEASE-NOTES.txt 13:11:59 drwxrwxr-x. 4 jenkins jenkins 54 Jan 9 13:09 snap 13:11:59 -rw-rw-r--. 1 jenkins jenkins 5 Jan 9 13:09 VERSION 13:11:59 -rw-rw-r--. 1 jenkins jenkins 222 Jan 9 13:09 version.go [Pipeline] isUnix [Pipeline] sh 13:11:59 + 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=68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 --label arch=amd64 --label version=0.0.0 . 13:11:59 Sending build context to Docker daemon 2.572MB 13:11:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 13:11:59 Step 2/24 : FROM ${BASE} AS builder 13:11:59 ---> b1a32ad3b5ce 13:11:59 Step 3/24 : ARG MAKE='make build' 13:12:00 ---> Running in 5cff78478c7c 13:12:00 Removing intermediate container 5cff78478c7c 13:12:00 ---> d6e8b7de0744 13:12:00 Step 4/24 : WORKDIR /device-sdk-go 13:12:00 ---> Running in c0e3315278a2 13:12:00 Removing intermediate container c0e3315278a2 13:12:00 ---> eb1dbada82d7 13:12:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:12:00 ---> Running in 44cd907f5f32 13:12:01 Removing intermediate container 44cd907f5f32 13:12:01 ---> a8bc84678e13 13:12:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:12:01 ---> Running in e444cb72bc80 13:12:02 Removing intermediate container e444cb72bc80 13:12:02 ---> 5e834593b218 13:12:02 Step 7/24 : RUN apk add --update --no-cache make git 13:12:02 ---> Running in 491fcef68b50 13:12:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:12:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:12:05 OK: 166 MiB in 39 packages 13:12:05 Removing intermediate container 491fcef68b50 13:12:05 ---> 581ca9646046 13:12:05 Step 8/24 : COPY . . 13:12:06 ---> 7e74b5afed52 13:12:06 Step 9/24 : RUN ${MAKE} 13:12:06 ---> Running in 2e575deabdf0 13:12:07 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 13:12:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:12:18 Removing intermediate container 2e575deabdf0 13:12:18 ---> cc2e13e78bb6 13:12:18 Step 10/24 : FROM scratch 13:12:18 ---> 13:12:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:12:18 ---> Running in dda0866fda3c 13:12:18 Removing intermediate container dda0866fda3c 13:12:18 ---> 68cbcb825e90 13:12:18 Step 12/24 : ENV APP_PORT=49990 13:12:18 ---> Running in 9f077604ad7f 13:12:18 Removing intermediate container 9f077604ad7f 13:12:18 ---> b94afab45977 13:12:18 Step 13/24 : EXPOSE $APP_PORT 13:12:18 ---> Running in 447d822038d0 13:12:18 Removing intermediate container 447d822038d0 13:12:18 ---> 32fb8eb65c76 13:12:18 Step 14/24 : WORKDIR / 13:12:18 ---> Running in f055d31026bd 13:12:18 Removing intermediate container f055d31026bd 13:12:18 ---> 08378143986d 13:12:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:12:19 ---> b7a34e690dc0 13:12:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:12:19 ---> 0847f055804c 13:12:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:12:20 ---> c2c1826070e2 13:12:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:12:20 ---> 47532a6ccf7f 13:12:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:12:20 ---> e2340f0d74d6 13:12:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:12:20 ---> Running in 305822fc5406 13:12:20 Removing intermediate container 305822fc5406 13:12:20 ---> a5848af00fee 13:12:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:12:20 ---> Running in ed507a2d776f 13:12:21 Removing intermediate container ed507a2d776f 13:12:21 ---> d91036d109e9 13:12:21 Step 22/24 : LABEL arch=amd64 13:12:21 ---> Running in 5f97041ab757 13:12:21 Removing intermediate container 5f97041ab757 13:12:21 ---> 2ddaaee52a18 13:12:21 Step 23/24 : LABEL git_sha=68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 13:12:21 ---> Running in c2775a64bf91 13:12:21 Removing intermediate container c2775a64bf91 13:12:21 ---> da588b17dfb9 13:12:21 Step 24/24 : LABEL version=0.0.0 13:12:21 ---> Running in 2e6cfddb5fc5 13:12:21 Removing intermediate container 2e6cfddb5fc5 13:12:21 ---> ad7fe34201b9 13:12:21 [Warning] One or more build-args [ARCH] were not consumed 13:12:21 Successfully built ad7fe34201b9 13:12:21 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] } 13:12:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19255 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] ws 13:12:31 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 13:12:36 using credential edgex-jenkins-ssh 13:12:36 Cloning the remote Git repository 13:12:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:12:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 13:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:12:36 > git --version # timeout=10 13:12:36 > git --version # 'git version 2.17.1' 13:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 13:12:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:12:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:12:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:12:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:12:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:12:38 Merging remotes/origin/master commit 3c425af093304cd635dd4d13aa8de6855cdd3d8b into PR head commit 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 13:12:39 Merge succeeded, producing 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 13:12:39 Checking out Revision 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 (PR-715) 13:12:38 > git config core.sparsecheckout # timeout=10 13:12:38 > git checkout -f 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 # timeout=10 13:12:38 > git remote # timeout=10 13:12:38 > git config --get remote.origin.url # timeout=10 13:12:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:12:38 > git merge 3c425af093304cd635dd4d13aa8de6855cdd3d8b # timeout=10 13:12:39 > git rev-parse HEAD^{commit} # timeout=10 13:12:39 > git config core.sparsecheckout # timeout=10 13:12:39 > git checkout -f 68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 # timeout=10 13:12:43 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:12:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:12:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:12:45 + sudo service docker restart 13:12:45 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:12:48 provisioning config files... 13:12:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1644464858020305634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:48 ---> docker-login.sh 13:12:48 nexus3.edgexfoundry.org:10001 13:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:50 Configure a credential helper to remove this warning. See 13:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:50 13:12:50 Login Succeeded 13:12:50 nexus3.edgexfoundry.org:10002 13:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:50 Configure a credential helper to remove this warning. See 13:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:50 13:12:50 Login Succeeded 13:12:50 nexus3.edgexfoundry.org:10003 13:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:51 Configure a credential helper to remove this warning. See 13:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:51 13:12:51 Login Succeeded 13:12:51 nexus3.edgexfoundry.org:10004 13:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:51 Configure a credential helper to remove this warning. See 13:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:51 13:12:51 Login Succeeded 13:12:51 docker.io 13:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:52 Configure a credential helper to remove this warning. See 13:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:52 13:12:52 Login Succeeded 13:12:52 ---> docker-login.sh ends [Pipeline] } 13:12:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:12:53 ========================================================= 13:12:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:12:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:12:53 + 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 . 13:12:54 Sending build context to Docker daemon 2.44MB 13:12:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:12:54 Step 2/8 : FROM ${BASE} 13:12:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:12:54 5f621e34cdf4: Pulling fs layer 13:12:54 a4357932f1b6: Pulling fs layer 13:12:54 18c013af1878: Pulling fs layer 13:12:54 00ac8860ef70: Pulling fs layer 13:12:54 63d7cb157983: Pulling fs layer 13:12:54 b116817d02f9: Pulling fs layer 13:12:54 745a02a5169b: Pulling fs layer 13:12:54 63d7cb157983: Waiting 13:12:54 b116817d02f9: Waiting 13:12:54 745a02a5169b: Waiting 13:12:54 00ac8860ef70: Waiting 13:12:54 18c013af1878: Verifying Checksum 13:12:54 18c013af1878: Download complete 13:12:54 a4357932f1b6: Verifying Checksum 13:12:54 a4357932f1b6: Download complete 13:12:54 63d7cb157983: Download complete 13:12:54 5f621e34cdf4: Verifying Checksum 13:12:54 5f621e34cdf4: Download complete 13:12:54 b116817d02f9: Verifying Checksum 13:12:54 b116817d02f9: Download complete 13:12:55 5f621e34cdf4: Pull complete 13:12:55 a4357932f1b6: Pull complete 13:12:56 18c013af1878: Pull complete 13:12:56 745a02a5169b: Download complete 13:12:57 00ac8860ef70: Verifying Checksum 13:12:57 00ac8860ef70: Download complete 13:13:08 00ac8860ef70: Pull complete 13:13:08 63d7cb157983: Pull complete 13:13:08 b116817d02f9: Pull complete 13:13:13 745a02a5169b: Pull complete 13:13:13 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 13:13:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:13:13 ---> b7e6874047d6 13:13:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:13:15 ---> Running in ffa700227da0 13:13:15 Removing intermediate container ffa700227da0 13:13:15 ---> 77254115cfb4 13:13:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:13:15 ---> Running in 18a29e57d8d7 13:13:18 Removing intermediate container 18a29e57d8d7 13:13:18 ---> 856bea1509a9 13:13:18 Step 5/8 : RUN apk add --update --no-cache make git 13:13:18 ---> Running in 1e48d7b1323a 13:13:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:13:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:13:22 OK: 142 MiB in 39 packages 13:13:23 Removing intermediate container 1e48d7b1323a 13:13:23 ---> f0b0f686977c 13:13:23 Step 6/8 : WORKDIR /device-sdk-go 13:13:24 ---> Running in fa4c2ab00a10 13:13:24 Removing intermediate container fa4c2ab00a10 13:13:24 ---> 317a8fc5b895 13:13:24 Step 7/8 : COPY . . 13:13:26 ---> ca1622cdb2ab 13:13:26 Step 8/8 : RUN go mod download 13:13:26 ---> Running in ffcc3fb6d1f1 13:13:48 Removing intermediate container ffcc3fb6d1f1 13:13:48 ---> 0082acf2d425 13:13:48 Successfully built 0082acf2d425 13:13:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:13:48 + docker inspect -f . ci-base-image-arm64 13:13:48 . [Pipeline] withDockerContainer 13:13:48 prd-ubuntu18.04-docker-arm64-4c-16g-19255 does not seem to be running inside a container 13:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 13:13:50 $ docker top 59a9f9f84378c318c8e997c64daa2e6fdab440e71134daef9863ae3e07176f37 -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:51 + go version 13:13:51 go version go1.15.5 linux/arm64 [Pipeline] } 13:13:51 $ docker stop --time=1 59a9f9f84378c318c8e997c64daa2e6fdab440e71134daef9863ae3e07176f37 13:13:53 $ docker rm -f 59a9f9f84378c318c8e997c64daa2e6fdab440e71134daef9863ae3e07176f37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:13:54 + docker inspect -f . ci-base-image-arm64 13:13:54 . [Pipeline] withDockerContainer 13:13:54 prd-ubuntu18.04-docker-arm64-4c-16g-19255 does not seem to be running inside a container 13:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 13:13:56 $ docker top c0a39cd8d6030e3d899c1f618274abcd038433c5798eb3a941e36ab6def5f672 -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:57 + make test 13:13:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:14:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 13:14:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 13:14:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 13:14:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 13:14:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.129s coverage: 19.4% of statements 13:15:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.237s coverage: 97.1% of statements 13:15:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.160s coverage: 9.4% of statements 13:15:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.7% of statements 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 13:15:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.604s coverage: 42.5% of statements 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 13:15:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.697s coverage: 68.9% of statements 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 13:15:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 53.8% of statements 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 13:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 13:15:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.736s coverage: 68.9% of statements 13:15:30 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.135s coverage: 4.2% of statements 13:15:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 13:15:30 GO111MODULE=on go vet ./... 13:16:03 gofmt -l . 13:16:03 [ "`gofmt -l .`" = "" ] 13:16:03 ./bin/test-attribution-txt.sh 13:16:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:16:03 $ docker stop --time=1 c0a39cd8d6030e3d899c1f618274abcd038433c5798eb3a941e36ab6def5f672 13:16:05 $ docker rm -f c0a39cd8d6030e3d899c1f618274abcd038433c5798eb3a941e36ab6def5f672 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:16:06 Warning: overwriting stash ‘coverage-report’ 13:16:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:16:08 + ls -al . 13:16:08 total 244 13:16:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:16 . 13:16:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:12 .. 13:16:08 -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 13:12 .dockerignore 13:16:08 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:12 .git 13:16:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:12 .github 13:16:08 -rw-rw-r-- 1 jenkins jenkins 138 Jan 9 13:12 .gitignore 13:16:08 -rw-rw-r-- 1 jenkins jenkins 949 Jan 9 13:12 Dockerfile.build 13:16:08 -rw-rw-r-- 1 jenkins jenkins 901 Jan 9 13:12 Jenkinsfile 13:16:08 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 13:12 LICENSE 13:16:08 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 9 13:12 Makefile 13:16:08 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 9 13:12 README.md 13:16:08 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 9 13:12 RELEASE-NOTES.txt 13:16:08 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:09 VERSION 13:16:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:12 bin 13:16:08 -rw-r--r-- 1 jenkins jenkins 130605 Jan 9 13:15 coverage.out 13:16:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:12 example 13:16:08 -rw-r--r-- 1 jenkins jenkins 488 Jan 9 13:16 go.mod 13:16:08 -rw-r--r-- 1 jenkins jenkins 14014 Jan 9 13:16 go.sum 13:16:08 drwxrwxr-x 15 jenkins jenkins 4096 Jan 9 13:12 internal 13:16:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:12 openapi 13:16:08 drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 13:12 pkg 13:16:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:12 snap 13:16:08 -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 13:12 version.go [Pipeline] isUnix [Pipeline] sh 13:16:09 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 --label arch=arm64 --label version=0.0.0 . 13:16:09 Sending build context to Docker daemon 2.571MB 13:16:09 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 13:16:09 Step 2/24 : FROM ${BASE} AS builder 13:16:09 ---> 0082acf2d425 13:16:09 Step 3/24 : ARG MAKE='make build' 13:16:09 ---> Running in 98c21af4e24c 13:16:10 Removing intermediate container 98c21af4e24c 13:16:10 ---> b64d25ff3680 13:16:10 Step 4/24 : WORKDIR /device-sdk-go 13:16:10 ---> Running in eaf8f7014cff 13:16:11 Removing intermediate container eaf8f7014cff 13:16:11 ---> 558f94eee662 13:16:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:16:11 ---> Running in 40cd86ce25dc 13:16:11 Removing intermediate container 40cd86ce25dc 13:16:11 ---> 9a844ca9ac2a 13:16:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:16:11 ---> Running in e79e0c1ef09b 13:16:13 Removing intermediate container e79e0c1ef09b 13:16:13 ---> fa360760effb 13:16:13 Step 7/24 : RUN apk add --update --no-cache make git 13:16:13 ---> Running in 7bf82f6d2808 13:16:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:16:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:16:16 OK: 142 MiB in 39 packages 13:16:18 Removing intermediate container 7bf82f6d2808 13:16:18 ---> 7fb4827d299f 13:16:18 Step 8/24 : COPY . . 13:16:19 ---> b29dfa71f0bb 13:16:19 Step 9/24 : RUN ${MAKE} 13:16:19 ---> Running in 2da7fc449a1b 13:16:20 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:16:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:16:47 Removing intermediate container 2da7fc449a1b 13:16:47 ---> eb4a6ac13e66 13:16:47 Step 10/24 : FROM scratch 13:16:47 ---> 13:16:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:16:47 ---> Running in 63fefff8fa50 13:16:47 Removing intermediate container 63fefff8fa50 13:16:47 ---> 52fd1f107bf4 13:16:47 Step 12/24 : ENV APP_PORT=49990 13:16:47 ---> Running in 8f31b3e34347 13:16:48 Removing intermediate container 8f31b3e34347 13:16:48 ---> ce2d5e9ea266 13:16:48 Step 13/24 : EXPOSE $APP_PORT 13:16:48 ---> Running in 0ad472e3dba3 13:16:48 Removing intermediate container 0ad472e3dba3 13:16:48 ---> b9994af2c6ce 13:16:48 Step 14/24 : WORKDIR / 13:16:48 ---> Running in aee2ec2febe4 13:16:49 Removing intermediate container aee2ec2febe4 13:16:49 ---> 74a6d87a0ce9 13:16:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:16:50 ---> 784a56fc9f28 13:16:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:16:51 ---> de2dd1a80bac 13:16:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:16:51 ---> 2187ec197e9b 13:16:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:16:52 ---> ca75b1e1dada 13:16:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:16:53 ---> c930598ef4da 13:16:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:16:53 ---> Running in 5de8956674ce 13:16:53 Removing intermediate container 5de8956674ce 13:16:53 ---> d5374cc8fe46 13:16:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:16:54 ---> Running in 2d3e37fb0109 13:16:54 Removing intermediate container 2d3e37fb0109 13:16:54 ---> 21896db11ae9 13:16:54 Step 22/24 : LABEL arch=arm64 13:16:54 ---> Running in 92159d7e916e 13:16:55 Removing intermediate container 92159d7e916e 13:16:55 ---> c0af909eae02 13:16:55 Step 23/24 : LABEL git_sha=68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 13:16:55 ---> Running in f32a5245cc46 13:16:55 Removing intermediate container f32a5245cc46 13:16:55 ---> c46c394c2a27 13:16:55 Step 24/24 : LABEL version=0.0.0 13:16:55 ---> Running in 87594dbc7fa9 13:16:56 Removing intermediate container 87594dbc7fa9 13:16:56 ---> c6a62fc8c570 13:16:56 [Warning] One or more build-args [ARCH] were not consumed 13:16:56 Successfully built c6a62fc8c570 13:16:56 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 13:16:57 provisioning config files... 13:16:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config2059777343012416270tmp [Pipeline] { [Pipeline] sh 13:16:58 + set +x 13:16:58 + curl -s https://codecov.io/bash 13:16:58 + bash -s -- 13:16:58 13:16:58 _____ _ 13:16:58 / ____| | | 13:16:58 | | ___ __| | ___ ___ _____ __ 13:16:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:16:58 | |___| (_) | (_| | __/ (_| (_) \ V / 13:16:58 \_____\___/ \__,_|\___|\___\___/ \_/ 13:16:58 Bash-20201231-23d4836 13:16:58 13:16:58 13:16:58 ==> git version 2.24.3 found 13:16:58 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 13:16:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:16:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:16:58 ==> Jenkins CI detected. 13:16:58 project root: . 13:16:58 --> token set from env 13:16:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:16:58 ==> Running gcov in . (disable via -X gcov) 13:16:58 ==> Python coveragepy not found 13:16:58 ==> Searching for coverage reports in: 13:16:58 + . 13:16:58 -> Found 1 reports 13:16:58 ==> Detecting git/mercurial file structure 13:16:58 ==> Reading reports 13:16:58 + ./coverage.out bytes=130605 13:16:58 ==> Appending adjustments 13:16:58 https://docs.codecov.io/docs/fixing-reports 13:16:59 + Found adjustments 13:16:59 ==> Gzipping contents 13:16:59 24K /tmp/codecov.In1sOE.gz 13:16:59 ==> Uploading reports 13:16:59 url: https://codecov.io 13:16:59 query: branch=PR-715&commit=68c9dfc860650a0b4aec057cd1c9b80bd4be5c48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-715%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=715&job=&cmd_args= 13:16:59 -> Pinging Codecov 13:16:59 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-715&commit=68c9dfc860650a0b4aec057cd1c9b80bd4be5c48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-715%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=715&job=&cmd_args= 13:16:59 -> Uploading to 13:16:59 https://storage.googleapis.com/codecov/v4/raw/2021-01-09/7E55EF52A471D76F132DFD9A03CDDE97/68c9dfc860650a0b4aec057cd1c9b80bd4be5c48/0e38a3f4-30c4-4ac3-bc50-58926231258a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210109T131659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b331bd80d3380eeadc42fe79967f4a87332bccffce81a0525321ea210539bda7 13:16:59 % Total % Received % Xferd Average Speed Time Time Time Current 13:16:59 Dload Upload Total Spent Left Speed 13:16:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21285 0 0 100 21285 0 51121 --:--:-- --:--:-- --:--:-- 51043 100 21285 0 0 100 21285 0 51095 --:--:-- --:--:-- --:--:-- 51043 13:16:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/68c9dfc860650a0b4aec057cd1c9b80bd4be5c48 [Pipeline] } 13:16:59 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 13:17:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:17:02 ---> package-listing.sh 13:17:02 ++ facter osfamily 13:17:02 ++ tr '[:upper:]' '[:lower:]' 13:17:02 + OS_FAMILY=redhat 13:17:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-715 13:17:02 + START_PACKAGES=/tmp/packages_start.txt 13:17:02 + END_PACKAGES=/tmp/packages_end.txt 13:17:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:17:02 + PACKAGES=/tmp/packages_start.txt 13:17:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-715 ']' 13:17:02 + PACKAGES=/tmp/packages_end.txt 13:17:02 + case "${OS_FAMILY}" in 13:17:02 + rpm -qa 13:17:02 + sort 13:17:08 + '[' -f /tmp/packages_start.txt ']' 13:17:08 + '[' -f /tmp/packages_end.txt ']' 13:17:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:17:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-715 ']' 13:17:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-715/archives/ 13:17:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-715/archives/ [Pipeline] echo 13:17:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-715/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:17:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:17:08 13:17:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:17:09 alpine: Pulling from edgex-lftools-log-publisher 13:17:09 df20fa9351a1: Pulling fs layer 13:17:09 36b3adc4ff6f: Pulling fs layer 13:17:09 8ad3a11d3b57: Pulling fs layer 13:17:09 46f8f816bc3b: Pulling fs layer 13:17:09 93b61091891f: Pulling fs layer 13:17:09 93b9cdb0e59b: Pulling fs layer 13:17:09 5e14af77c1be: Pulling fs layer 13:17:09 01666e4c0597: Pulling fs layer 13:17:09 aa168da1d23b: Pulling fs layer 13:17:09 93b9cdb0e59b: Waiting 13:17:09 46f8f816bc3b: Waiting 13:17:09 5e14af77c1be: Waiting 13:17:09 aa168da1d23b: Waiting 13:17:09 01666e4c0597: Waiting 13:17:09 93b61091891f: Waiting 13:17:09 36b3adc4ff6f: Verifying Checksum 13:17:09 36b3adc4ff6f: Download complete 13:17:09 46f8f816bc3b: Verifying Checksum 13:17:09 46f8f816bc3b: Download complete 13:17:09 df20fa9351a1: Verifying Checksum 13:17:09 df20fa9351a1: Download complete 13:17:09 93b9cdb0e59b: Verifying Checksum 13:17:09 93b9cdb0e59b: Download complete 13:17:09 5e14af77c1be: Verifying Checksum 13:17:09 5e14af77c1be: Download complete 13:17:09 93b61091891f: Download complete 13:17:09 01666e4c0597: Verifying Checksum 13:17:09 01666e4c0597: Download complete 13:17:09 8ad3a11d3b57: Verifying Checksum 13:17:09 8ad3a11d3b57: Download complete 13:17:09 df20fa9351a1: Pull complete 13:17:09 36b3adc4ff6f: Pull complete 13:17:10 8ad3a11d3b57: Pull complete 13:17:11 46f8f816bc3b: Pull complete 13:17:11 aa168da1d23b: Verifying Checksum 13:17:11 aa168da1d23b: Download complete 13:17:11 93b61091891f: Pull complete 13:17:11 93b9cdb0e59b: Pull complete 13:17:11 5e14af77c1be: Pull complete 13:17:12 01666e4c0597: Pull complete 13:17:20 aa168da1d23b: Pull complete 13:17:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:17:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:17:20 prd-centos7-docker-4c-2g-19250 does not seem to be running inside a container 13:17:20 $ 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-715/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-715 -v /w/workspace/dgexfoundry_device-sdk-go_PR-715:/w/workspace/dgexfoundry_device-sdk-go_PR-715:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-715@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 13:17:24 $ docker top 4d502fb5baab63f23f14eee0c1976a38773af93cbfee073852df094594c24b17 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:24 + touch /tmp/pre-build-complete [Pipeline] sh 13:17:24 + mkdir -p /var/log/sa [Pipeline] sh 13:17:25 + ls /var/log/sa-host 13:17:25 + sadf -c /var/log/sa-host/sa09 13:17:25 file_magic: OK 13:17:25 HZ: Using current value: 100 13:17:25 file_header: OK 13:17:25 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 13:17:25 Statistics: 13:17:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:17:25 File successfully converted to sysstat format version 12.2.1 13:17:25 + sadf -c /var/log/sa-host/sa23 13:17:25 file_magic: OK 13:17:25 HZ: Using current value: 100 13:17:25 file_header: OK 13:17:25 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 13:17:25 Statistics: 13:17:25 Hnuu...uuuununununu... 13:17:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:25 provisioning config files... 13:17:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config7482426690062348733tmp [Pipeline] { [Pipeline] echo 13:17:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:17:25 ---> create-netrc.sh [Pipeline] } 13:17:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:17:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:17:26 ---> python-tools-install.sh [Pipeline] echo 13:17:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:17:26 ---> sudo-logs.sh 13:17:26 Archiving 'sudo' log.. [Pipeline] echo 13:17:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:17:26 ---> job-cost.sh 13:17:26 lf-activate-venv: SKIPPING 13:17:26 INFO: No Stack... 13:17:27 INFO: Retrieving Pricing Info for: v1-standard-2 13:17:28 INFO: Archiving Costs [Pipeline] echo 13:17:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:17:28 ---> logs-deploy.sh 13:17:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-715/3 13:17:28 INFO: archiving workspace using pattern(s): 13:17:30 Archives upload complete. 13:17:30 INFO: archiving logs to Nexus 13:17:31 ---> uname -a: 13:17:31 Linux prd-centos7-docker-4c-2g-19250.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:17:31 13:17:31 13:17:31 ---> lscpu: 13:17:31 Architecture: x86_64 13:17:31 CPU op-mode(s): 32-bit, 64-bit 13:17:31 Byte Order: Little Endian 13:17:31 Address sizes: 40 bits physical, 48 bits virtual 13:17:31 CPU(s): 4 13:17:31 On-line CPU(s) list: 0-3 13:17:31 Thread(s) per core: 1 13:17:31 Core(s) per socket: 1 13:17:31 Socket(s): 4 13:17:31 NUMA node(s): 1 13:17:31 Vendor ID: GenuineIntel 13:17:31 CPU family: 6 13:17:31 Model: 44 13:17:31 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:17:31 Stepping: 1 13:17:31 CPU MHz: 2933.438 13:17:31 BogoMIPS: 5866.87 13:17:31 Virtualization: VT-x 13:17:31 Hypervisor vendor: KVM 13:17:31 Virtualization type: full 13:17:31 L1d cache: 128 KiB 13:17:31 L1i cache: 128 KiB 13:17:31 L2 cache: 16 MiB 13:17:31 L3 cache: 64 MiB 13:17:31 NUMA node0 CPU(s): 0-3 13:17:31 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:17:31 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:17:31 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:17:31 Vulnerability Meltdown: Mitigation; PTI 13:17:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:17:31 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:17:31 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:17:31 Vulnerability Srbds: Not affected 13:17:31 Vulnerability Tsx async abort: Not affected 13:17:31 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 13:17:31 13:17:31 13:17:31 ---> nproc: 13:17:31 4 13:17:31 13:17:31 13:17:31 ---> df -h: 13:17:31 Filesystem Size Used Available Use% Mounted on 13:17:31 overlay 50.0G 7.3G 42.7G 15% / 13:17:31 tmpfs 64.0M 0 64.0M 0% /dev 13:17:31 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:17:31 shm 64.0M 0 64.0M 0% /dev/shm 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-715 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:17:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:17:31 13:17:31 13:17:31 ---> free -m: 13:17:31 total used free shared buff/cache available 13:17:31 Mem: 1837 691 113 0 1031 1040 13:17:31 Swap: 1023 1 1022 13:17:31 13:17:31 13:17:31 ---> ip addr: 13:17:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:17:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:17:31 inet 127.0.0.1/8 scope host lo 13:17:31 valid_lft forever preferred_lft forever 13:17:31 inet6 ::1/128 scope host 13:17:31 valid_lft forever preferred_lft forever 13:17:31 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:17:31 link/ether fa:16:3e:29:17:50 brd ff:ff:ff:ff:ff:ff 13:17:31 inet 10.30.123.1/23 brd 10.30.123.255 scope global dynamic eth0 13:17:31 valid_lft 85847sec preferred_lft 85847sec 13:17:31 inet6 fe80::f816:3eff:fe29:1750/64 scope link 13:17:31 valid_lft forever preferred_lft forever 13:17:31 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:17:31 link/ether 02:42:32:c2:ff:66 brd ff:ff:ff:ff:ff:ff 13:17:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:17:31 valid_lft forever preferred_lft forever 13:17:31 inet6 fe80::42:32ff:fec2:ff66/64 scope link 13:17:31 valid_lft forever preferred_lft forever 13:17:31 13:17:31 13:17:31 ---> sar -b -r -n DEV: 13:17:31 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 13:17:31 13:17:31 13:08:08 LINUX RESTART (4 CPU) 13:17:31 13:17:31 13:09:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:17:31 13:10:01 32.24 11.28 20.96 0.00 4363.12 3112.78 0.00 13:17:31 13:11:01 0.47 0.02 0.45 0.00 0.53 9.21 0.00 13:17:31 13:12:01 0.28 0.00 0.28 0.00 0.00 3.75 0.00 13:17:31 13:13:01 0.25 0.00 0.25 0.00 0.00 2.56 0.00 13:17:31 13:14:01 0.27 0.00 0.27 0.00 0.00 3.71 0.00 13:17:31 13:15:01 0.37 0.00 0.37 0.00 0.00 5.11 0.00 13:17:31 13:16:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 13:17:31 13:17:02 0.37 0.08 0.28 0.00 7.33 8.93 0.00 13:17:31 Average: 4.31 1.42 2.88 0.00 546.66 393.68 0.00 13:17:31 13:17:31 13:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:17:31 13:10:01 157436 0 592840 31.51 2620 1128648 1112612 37.97 375936 1148704 20 13:17:31 13:11:01 162192 0 588076 31.25 2620 1128656 1082460 36.94 377680 1143076 16 13:17:31 13:12:01 161508 0 588756 31.29 2620 1128660 1082604 36.95 381728 1139844 8 13:17:31 13:13:01 160088 0 590176 31.37 2620 1128660 1082656 36.95 383388 1139288 20 13:17:31 13:14:01 160408 0 589848 31.35 2620 1128668 1082668 36.95 394872 1127924 16 13:17:31 13:15:01 161336 0 588916 31.30 2620 1128672 1082524 36.94 394080 1127920 12 13:17:31 13:16:01 161148 0 589100 31.31 2620 1128676 1082524 36.94 394084 1127920 8 13:17:31 13:17:02 158416 0 591456 31.43 2620 1129052 1083020 36.96 396472 1127944 8 13:17:31 Average: 160316 0 589896 31.35 2620 1128712 1086384 37.08 387280 1135328 14 13:17:31 13:17:31 13:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:17:31 13:10:01 eth0 85.47 69.26 362.32 34.35 0.00 0.00 0.00 0.00 13:17:31 13:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:10:01 docker0 7.27 5.49 1.27 20.76 0.00 0.00 0.00 0.00 13:17:31 13:11:01 eth0 0.87 0.08 0.07 0.04 0.00 0.00 0.00 0.00 13:17:31 13:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:12:01 eth0 1.72 0.38 0.36 0.20 0.00 0.00 0.00 0.00 13:17:31 13:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:13:01 eth0 1.10 0.53 0.56 0.39 0.00 0.00 0.00 0.00 13:17:31 13:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:14:01 eth0 1.33 0.40 0.46 0.23 0.00 0.00 0.00 0.00 13:17:31 13:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:15:01 eth0 0.08 0.07 0.01 0.04 0.00 0.00 0.00 0.00 13:17:31 13:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:16:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:17:31 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:17:02 eth0 5.40 3.45 5.07 2.01 0.00 0.00 0.00 0.00 13:17:31 13:17:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 13:17:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 Average: eth0 12.01 9.29 46.13 4.66 0.00 0.00 0.00 0.00 13:17:31 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:31 Average: docker0 0.91 0.69 0.16 2.60 0.00 0.00 0.00 0.00 13:17:31 13:17:31 13:17:31 ---> sar -P ALL: 13:17:31 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 13:17:31 13:17:31 13:08:08 LINUX RESTART (4 CPU) 13:17:31 13:17:31 13:09:01 CPU %user %nice %system %iowait %steal %idle 13:17:31 13:10:01 all 2.95 0.00 2.02 0.44 0.09 94.50 13:17:31 13:10:01 0 3.04 0.00 2.22 0.45 0.07 94.22 13:17:31 13:10:01 1 2.77 0.00 1.94 0.96 0.12 94.22 13:17:31 13:10:01 2 3.16 0.00 1.91 0.13 0.05 94.74 13:17:31 13:10:01 3 2.85 0.00 2.00 0.20 0.12 94.83 13:17:31 13:11:01 all 0.15 0.00 0.05 0.00 0.00 99.80 13:17:31 13:11:01 0 0.03 0.00 0.02 0.00 0.00 99.95 13:17:31 13:11:01 1 0.03 0.00 0.07 0.00 0.00 99.90 13:17:31 13:11:01 2 0.05 0.00 0.05 0.00 0.00 99.90 13:17:31 13:11:01 3 0.50 0.00 0.07 0.00 0.00 99.43 13:17:31 13:12:01 all 0.20 0.00 0.15 0.00 0.00 99.65 13:17:31 13:12:01 0 0.05 0.00 0.13 0.00 0.00 99.82 13:17:31 13:12:01 1 0.10 0.00 0.20 0.00 0.00 99.70 13:17:31 13:12:01 2 0.10 0.00 0.23 0.00 0.02 99.65 13:17:31 13:12:01 3 0.53 0.00 0.05 0.00 0.00 99.42 13:17:31 13:13:01 all 0.17 0.00 0.04 0.00 0.00 99.79 13:17:31 13:13:01 0 0.02 0.00 0.02 0.00 0.00 99.97 13:17:31 13:13:01 1 0.10 0.00 0.07 0.00 0.00 99.83 13:17:31 13:13:01 2 0.05 0.00 0.03 0.00 0.00 99.92 13:17:31 13:13:01 3 0.53 0.00 0.03 0.00 0.00 99.43 13:17:31 13:14:01 all 0.16 0.00 0.06 0.00 0.01 99.77 13:17:31 13:14:01 0 0.02 0.00 0.02 0.00 0.02 99.95 13:17:31 13:14:01 1 0.03 0.00 0.03 0.00 0.00 99.93 13:17:31 13:14:01 2 0.20 0.00 0.03 0.00 0.00 99.77 13:17:31 13:14:01 3 0.38 0.00 0.15 0.00 0.02 99.45 13:17:31 13:15:01 all 0.06 0.00 0.05 0.00 0.00 99.89 13:17:31 13:15:01 0 0.02 0.00 0.02 0.00 0.00 99.97 13:17:31 13:15:01 1 0.00 0.00 0.03 0.00 0.00 99.97 13:17:31 13:15:01 2 0.20 0.00 0.08 0.00 0.02 99.70 13:17:31 13:15:01 3 0.03 0.00 0.05 0.00 0.00 99.92 13:17:31 13:16:01 all 0.04 0.00 0.04 0.00 0.00 99.92 13:17:31 13:16:01 0 0.02 0.00 0.03 0.00 0.00 99.95 13:17:31 13:16:01 1 0.03 0.00 0.03 0.00 0.00 99.93 13:17:31 13:16:01 2 0.07 0.00 0.07 0.00 0.00 99.87 13:17:31 13:16:01 3 0.03 0.00 0.03 0.00 0.00 99.93 13:17:31 13:17:02 all 0.43 0.00 0.30 0.01 0.00 99.27 13:17:31 13:17:02 0 0.52 0.00 0.47 0.02 0.00 99.00 13:17:31 13:17:02 1 0.32 0.00 0.32 0.02 0.00 99.35 13:17:31 13:17:02 2 0.67 0.00 0.18 0.00 0.00 99.15 13:17:31 13:17:02 3 0.20 0.00 0.23 0.00 0.00 99.57 13:17:31 Average: all 0.52 0.00 0.34 0.06 0.01 99.08 13:17:31 Average: 0 0.46 0.00 0.36 0.06 0.01 99.11 13:17:31 Average: 1 0.42 0.00 0.34 0.12 0.01 99.11 13:17:31 Average: 2 0.56 0.00 0.32 0.02 0.01 99.09 13:17:31 Average: 3 0.63 0.00 0.33 0.03 0.02 99.00 13:17:31 13:17:31 13:17:31