Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+84ea4a05cef1466ee67975698004463005cbf340 (db535eaf6e7da9f423b8bdb5b4ef81ad01247ffc) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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: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: 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-24078 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 902eccdb55cba88029b2eb6ae85bb2d22ca19633 Checking out Revision 902eccdb55cba88029b2eb6ae85bb2d22ca19633 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:51 ========================================================= 02:42:51 EdgeX Global Pipelines Version Info 02:42:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 02:42:52 ------------------- 02:42:52 stable info: 02:42:52 ------------------- 02:42:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:52 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:52 Message: update stable to v1.0.179 02:42:53 ------------------- 02:42:53 experimental info: 02:42:53 ------------------- 02:42:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:53 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:53 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902eccdb55cba88029b2eb6ae85bb2d22ca19633 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902eccd [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:57 provisioning config files... 02:42:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1531916447239358005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:57 ---> docker-login.sh 02:42:57 nexus3.edgexfoundry.org:10001 02:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:58 Configure a credential helper to remove this warning. See 02:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:58 02:42:58 Login Succeeded 02:42:58 nexus3.edgexfoundry.org:10002 02:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:58 Configure a credential helper to remove this warning. See 02:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:58 02:42:58 Login Succeeded 02:42:58 nexus3.edgexfoundry.org:10003 02:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:58 Configure a credential helper to remove this warning. See 02:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:58 02:42:58 Login Succeeded 02:42:58 nexus3.edgexfoundry.org:10004 02:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:58 Configure a credential helper to remove this warning. See 02:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:58 02:42:58 Login Succeeded 02:42:58 docker.io 02:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:59 Configure a credential helper to remove this warning. See 02:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:59 02:42:59 Login Succeeded 02:42:59 ---> docker-login.sh ends [Pipeline] } 02:42:59 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:42:59 + git log --format=format:%s -1 902eccdb55cba88029b2eb6ae85bb2d22ca19633 [Pipeline] echo 02:42:59 GIT_COMMIT: 902eccdb55cba88029b2eb6ae85bb2d22ca19633, Commit Message: Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD [Pipeline] echo 02:42:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:00 02:43:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:01 latest: Pulling from edgex-devops/git-semver 02:43:01 31603596830f: Pulling fs layer 02:43:01 2a8b12db71e7: Pulling fs layer 02:43:01 6ca5941a6612: Pulling fs layer 02:43:01 ecc8261a40a4: Pulling fs layer 02:43:01 ecc8261a40a4: Waiting 02:43:01 2a8b12db71e7: Verifying Checksum 02:43:01 2a8b12db71e7: Download complete 02:43:01 31603596830f: Verifying Checksum 02:43:01 31603596830f: Download complete 02:43:01 ecc8261a40a4: Verifying Checksum 02:43:01 ecc8261a40a4: Download complete 02:43:01 6ca5941a6612: Verifying Checksum 02:43:01 6ca5941a6612: Download complete 02:43:01 31603596830f: Pull complete 02:43:01 2a8b12db71e7: Pull complete 02:43:02 6ca5941a6612: Pull complete 02:43:02 ecc8261a40a4: Pull complete 02:43:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:03 prd-centos7-docker-4c-2g-24078 does not seem to be running inside a container 02:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:05 $ docker top 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:05 [ssh-agent] Looking for ssh-agent implementation... 02:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:05 $ docker exec 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent 02:43:05 SSH_AUTH_SOCK=/tmp/ssh-38S2r0xhBQ02/agent.11 02:43:05 SSH_AGENT_PID=16 02:43:06 Running ssh-add (command line suppressed) 02:43:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3222448591646264366.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3222448591646264366.key) 02:43:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:06 + git tag --points-at HEAD [Pipeline] } 02:43:06 $ docker exec --env ******** --env ******** 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent -k 02:43:06 unset SSH_AUTH_SOCK; 02:43:06 unset SSH_AGENT_PID; 02:43:06 echo Agent pid 16 killed; 02:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:06 [ssh-agent] Looking for ssh-agent implementation... 02:43:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:07 $ docker exec 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent 02:43:07 SSH_AUTH_SOCK=/tmp/ssh-FKMKjBl8n0uJ/agent.44 02:43:07 SSH_AGENT_PID=50 02:43:07 Running ssh-add (command line suppressed) 02:43:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3316649223751560633.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3316649223751560633.key) 02:43:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:07 + git semver init 02:43:07 # -> Open(): unable to determine branch for HEAD 02:43:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:07 # $SEMVER_REMOTE_NAME = origin 02:43:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:07 # $SEMVER_USER_NAME = edgex-jenkins 02:43:07 # $SEMVER_BRANCH = PR-725 02:43:07 # $SEMVER_TEMP = /tmp/semver-478191955 02:43:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:08 # '/tmp/semver-478191955' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:08 # -> Force: false 02:43:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:08 $ docker exec --env ******** --env ******** 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent -k 02:43:08 unset SSH_AUTH_SOCK; 02:43:08 unset SSH_AGENT_PID; 02:43:08 echo Agent pid 50 killed; 02:43:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:09 + git semver [Pipeline] } 02:43:09 $ docker stop --time=1 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db 02:43:10 $ docker rm -f 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db [Pipeline] // withDockerContainer [Pipeline] sh 02:43:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:11 Stashed 1 file(s) [Pipeline] echo 02:43:11 [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:43:27 Still waiting to schedule task 02:43:27 ‘prd-centos7-docker-4c-2g-24080’ is offline 02:43:27 Still waiting to schedule task 02:43:27 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24075’ 02:43:57 Running on prd-centos7-docker-4c-2g-24081 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:43:57 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 02:44:00 using credential edgex-jenkins-ssh 02:44:00 Cloning the remote Git repository 02:44:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:00 > git init /w/workspace/device-sdk-go/10 # timeout=10 02:44:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:00 > git --version # timeout=10 02:44:00 > git --version # 'git version 2.24.3' 02:44:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:03 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:44:03 Merge succeeded, producing 87394600a8d54e636452cd548e4a43d157c72ab2 02:44:03 Checking out Revision 87394600a8d54e636452cd548e4a43d157c72ab2 (PR-725) 02:44:03 > git config core.sparsecheckout # timeout=10 02:44:03 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:44:03 > git remote # timeout=10 02:44:03 > git config --get remote.origin.url # timeout=10 02:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:03 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 02:44:03 > git rev-parse HEAD^{commit} # timeout=10 02:44:03 > git config core.sparsecheckout # timeout=10 02:44:03 > git checkout -f 87394600a8d54e636452cd548e4a43d157c72ab2 # timeout=10 02:44:07 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" 02:44:07 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:07 > git rev-list --no-walk e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 02:44:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:09 + sudo service docker restart 02:44:09 + true 02:44:09 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:10 provisioning config files... 02:44:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config1524011554542114383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:11 ---> docker-login.sh 02:44:11 nexus3.edgexfoundry.org:10001 02:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:11 Configure a credential helper to remove this warning. See 02:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:11 02:44:11 Login Succeeded 02:44:11 nexus3.edgexfoundry.org:10002 02:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:11 Configure a credential helper to remove this warning. See 02:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:11 02:44:11 Login Succeeded 02:44:11 nexus3.edgexfoundry.org:10003 02:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 nexus3.edgexfoundry.org:10004 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 docker.io 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 ---> docker-login.sh ends [Pipeline] } 02:44:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:13 ========================================================= 02:44:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:13 + 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:44:13 Sending build context to Docker daemon 2.486MB 02:44:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:13 Step 2/8 : FROM ${BASE} 02:44:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:13 188c0c94c7c5: Pulling fs layer 02:44:13 0ef7d3d256c8: Pulling fs layer 02:44:13 de9db76c5a1d: Pulling fs layer 02:44:13 bca2f99d35d6: Pulling fs layer 02:44:13 93359f2a8cfa: Pulling fs layer 02:44:13 7c6f9722023f: Pulling fs layer 02:44:13 a35cf1a2eb13: Pulling fs layer 02:44:13 93359f2a8cfa: Waiting 02:44:13 bca2f99d35d6: Waiting 02:44:13 7c6f9722023f: Waiting 02:44:13 a35cf1a2eb13: Waiting 02:44:13 de9db76c5a1d: Verifying Checksum 02:44:13 de9db76c5a1d: Download complete 02:44:13 0ef7d3d256c8: Verifying Checksum 02:44:13 0ef7d3d256c8: Download complete 02:44:13 93359f2a8cfa: Verifying Checksum 02:44:13 93359f2a8cfa: Download complete 02:44:13 188c0c94c7c5: Download complete 02:44:13 7c6f9722023f: Verifying Checksum 02:44:13 7c6f9722023f: Download complete 02:44:13 188c0c94c7c5: Pull complete 02:44:14 0ef7d3d256c8: Pull complete 02:44:14 de9db76c5a1d: Pull complete 02:44:15 a35cf1a2eb13: Verifying Checksum 02:44:15 a35cf1a2eb13: Download complete 02:44:16 bca2f99d35d6: Verifying Checksum 02:44:16 bca2f99d35d6: Download complete 02:44:21 bca2f99d35d6: Pull complete 02:44:21 93359f2a8cfa: Pull complete 02:44:21 7c6f9722023f: Pull complete 02:44:26 a35cf1a2eb13: Pull complete 02:44:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:26 ---> a62c8e92a672 02:44:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:26 ---> Running in 2fe787125651 02:44:26 Removing intermediate container 2fe787125651 02:44:26 ---> a1431a7a177f 02:44:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:26 ---> Running in 8a79f058bd66 02:44:27 Removing intermediate container 8a79f058bd66 02:44:27 ---> 226fc6884b21 02:44:27 Step 5/8 : RUN apk add --update --no-cache make git 02:44:27 ---> Running in c8e0488c39af 02:44:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:29 OK: 166 MiB in 39 packages 02:44:30 Removing intermediate container c8e0488c39af 02:44:30 ---> 30f6ee9c30ed 02:44:30 Step 6/8 : WORKDIR /device-sdk-go 02:44:30 ---> Running in 740fc3c8cd39 02:44:30 Removing intermediate container 740fc3c8cd39 02:44:30 ---> 6424b3dcb58b 02:44:30 Step 7/8 : COPY . . 02:44:31 ---> 4356c227afb6 02:44:31 Step 8/8 : RUN go mod download 02:44:31 ---> Running in 0e4ea2959a81 02:44:50 Removing intermediate container 0e4ea2959a81 02:44:50 ---> 1e9afea3dac2 02:44:50 Successfully built 1e9afea3dac2 02:44:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:50 + docker inspect -f . ci-base-image-x86_64 02:44:50 . [Pipeline] withDockerContainer 02:44:50 prd-centos7-docker-4c-2g-24081 does not seem to be running inside a container 02:44:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:52 $ docker top 9d567d36a80f6c05422593f19eaf99672575485c46796ccb2e94dcb10663cf77 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:52 + go version 02:44:52 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:52 $ docker stop --time=1 9d567d36a80f6c05422593f19eaf99672575485c46796ccb2e94dcb10663cf77 02:44:54 $ docker rm -f 9d567d36a80f6c05422593f19eaf99672575485c46796ccb2e94dcb10663cf77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:54 + docker inspect -f . ci-base-image-x86_64 02:44:54 . [Pipeline] withDockerContainer 02:44:54 prd-centos7-docker-4c-2g-24081 does not seem to be running inside a container 02:44:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:55 $ docker top 1853462a3c1edca293f10c9e696575db8938d985a6f9abc8e78c528fee4c00d4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:56 + make test 02:44:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 19.4% of statements 02:45:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.462s coverage: 97.1% of statements 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 9.4% of statements 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 21.7% of statements 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.226s coverage: 43.6% of statements 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.311s coverage: 68.9% of statements 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 53.8% of statements 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 25.2% of statements 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.374s coverage: 83.5% of statements 02:45:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements 02:45:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:45:52 GO111MODULE=on go vet ./... 02:46:00 gofmt -l . 02:46:00 [ "`gofmt -l .`" = "" ] 02:46:00 ./bin/test-attribution-txt.sh 02:46:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:00 $ docker stop --time=1 1853462a3c1edca293f10c9e696575db8938d985a6f9abc8e78c528fee4c00d4 02:46:02 $ docker rm -f 1853462a3c1edca293f10c9e696575db8938d985a6f9abc8e78c528fee4c00d4 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:05 + ls -al . 02:46:05 total 216 02:46:05 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 30 02:46 . 02:46:05 drwxrwxr-x. 4 jenkins jenkins 30 Jan 30 02:44 .. 02:46:05 drwxrwxr-x. 2 jenkins jenkins 64 Jan 30 02:44 bin 02:46:05 -rw-r--r--. 1 jenkins jenkins 137332 Jan 30 02:45 coverage.out 02:46:05 -rw-rw-r--. 1 jenkins jenkins 949 Jan 30 02:44 Dockerfile.build 02:46:05 -rw-rw-r--. 1 jenkins jenkins 140 Jan 30 02:44 .dockerignore 02:46:05 drwxrwxr-x. 4 jenkins jenkins 48 Jan 30 02:44 example 02:46:05 drwxrwxr-x. 8 jenkins jenkins 179 Jan 30 02:44 .git 02:46:05 drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 02:44 .github 02:46:05 -rw-rw-r--. 1 jenkins jenkins 138 Jan 30 02:44 .gitignore 02:46:05 -rw-r--r--. 1 jenkins jenkins 514 Jan 30 02:46 go.mod 02:46:05 -rw-r--r--. 1 jenkins jenkins 14191 Jan 30 02:46 go.sum 02:46:05 drwxrwxr-x. 15 jenkins jenkins 211 Jan 30 02:44 internal 02:46:05 -rw-rw-r--. 1 jenkins jenkins 894 Jan 30 02:44 Jenkinsfile 02:46:05 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 30 02:44 LICENSE 02:46:05 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 30 02:44 Makefile 02:46:05 drwxrwxr-x. 4 jenkins jenkins 26 Jan 30 02:44 openapi 02:46:05 drwxrwxr-x. 5 jenkins jenkins 50 Jan 30 02:44 pkg 02:46:05 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 30 02:44 README.md 02:46:05 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 30 02:44 RELEASE-NOTES.txt 02:46:05 drwxrwxr-x. 4 jenkins jenkins 54 Jan 30 02:44 snap 02:46:05 -rw-rw-r--. 1 jenkins jenkins 5 Jan 30 02:43 VERSION 02:46:05 -rw-rw-r--. 1 jenkins jenkins 222 Jan 30 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:05 + docker build -t 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=902eccdb55cba88029b2eb6ae85bb2d22ca19633 --label arch=amd64 --label version=0.0.0 . 02:46:05 Sending build context to Docker daemon 2.625MB 02:46:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:05 Step 2/24 : FROM ${BASE} AS builder 02:46:05 ---> 1e9afea3dac2 02:46:05 Step 3/24 : ARG MAKE='make build' 02:46:06 ---> Running in a4732e371b82 02:46:06 Removing intermediate container a4732e371b82 02:46:06 ---> 413aea37d6c4 02:46:06 Step 4/24 : WORKDIR /device-sdk-go 02:46:06 ---> Running in 714ab0a9b81c 02:46:06 Removing intermediate container 714ab0a9b81c 02:46:06 ---> 01db0825cc20 02:46:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:06 ---> Running in 305abb3329a3 02:46:07 Removing intermediate container 305abb3329a3 02:46:07 ---> 597851018d5b 02:46:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:07 ---> Running in aa569cfd764d 02:46:08 Removing intermediate container aa569cfd764d 02:46:08 ---> 9d1c05f209e1 02:46:08 Step 7/24 : RUN apk add --update --no-cache make git 02:46:08 ---> Running in a293b233df4a 02:46:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:10 OK: 166 MiB in 39 packages 02:46:10 Removing intermediate container a293b233df4a 02:46:10 ---> 9291e18eab70 02:46:10 Step 8/24 : COPY . . 02:46:11 ---> 1cefb17127ed 02:46:11 Step 9/24 : RUN ${MAKE} 02:46:11 ---> Running in 30ba7582bcda 02:46:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:46:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:23 Removing intermediate container 30ba7582bcda 02:46:23 ---> c74f8abddf7e 02:46:23 Step 10/24 : FROM scratch 02:46:23 ---> 02:46:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:23 ---> Running in 4bd25d778263 02:46:23 Removing intermediate container 4bd25d778263 02:46:23 ---> b12ae9f1197b 02:46:23 Step 12/24 : ENV APP_PORT=49990 02:46:24 ---> Running in 88b9a31b3c82 02:46:24 Removing intermediate container 88b9a31b3c82 02:46:24 ---> 0d4f87fd0931 02:46:24 Step 13/24 : EXPOSE $APP_PORT 02:46:24 ---> Running in dad8cc92b5ea 02:46:24 Removing intermediate container dad8cc92b5ea 02:46:24 ---> 6051b9e7b8a6 02:46:24 Step 14/24 : WORKDIR / 02:46:24 ---> Running in 58c8d0add7ff 02:46:24 Removing intermediate container 58c8d0add7ff 02:46:24 ---> 273c53f69243 02:46:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:25 ---> 230493418867 02:46:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:25 ---> 4febbfd23782 02:46:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:25 ---> 6299e348b776 02:46:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:25 ---> ea59a15af157 02:46:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:25 ---> 196c15a997a3 02:46:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:25 ---> Running in 60521702ad9f 02:46:26 Removing intermediate container 60521702ad9f 02:46:26 ---> 25c516fe29aa 02:46:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:26 ---> Running in c0cd22846dfc 02:46:26 Removing intermediate container c0cd22846dfc 02:46:26 ---> 1a7a1352e0b0 02:46:26 Step 22/24 : LABEL arch=amd64 02:46:26 ---> Running in a4d7309d96af 02:46:26 Removing intermediate container a4d7309d96af 02:46:26 ---> 9f562886f479 02:46:26 Step 23/24 : LABEL git_sha=902eccdb55cba88029b2eb6ae85bb2d22ca19633 02:46:26 ---> Running in 1667332e00e5 02:46:27 Removing intermediate container 1667332e00e5 02:46:27 ---> c0db2dcd2810 02:46:27 Step 24/24 : LABEL version=0.0.0 02:46:27 ---> Running in e56000736fe4 02:46:27 Removing intermediate container e56000736fe4 02:46:27 ---> 916c4421318d 02:46:27 [Warning] One or more build-args [ARCH] were not consumed 02:46:27 Successfully built 916c4421318d 02:46:27 Successfully tagged 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] } 02:46:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24083 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:46:41 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 02:46:46 using credential edgex-jenkins-ssh 02:46:46 Cloning the remote Git repository 02:46:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:46 > git init /w/workspace/device-sdk-go/10 # timeout=10 02:46:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:47 > git --version # timeout=10 02:46:47 > git --version # 'git version 2.17.1' 02:46:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:49 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:49 Merge succeeded, producing cde4e4ab2ab14eb9fd5d6108ee70aad229c2e409 02:46:49 Checking out Revision cde4e4ab2ab14eb9fd5d6108ee70aad229c2e409 (PR-725) 02:46:49 > git config core.sparsecheckout # timeout=10 02:46:49 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:49 > git remote # timeout=10 02:46:49 > git config --get remote.origin.url # timeout=10 02:46:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:49 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 02:46:49 > git rev-parse HEAD^{commit} # timeout=10 02:46:49 > git config core.sparsecheckout # timeout=10 02:46:49 > git checkout -f cde4e4ab2ab14eb9fd5d6108ee70aad229c2e409 # timeout=10 02:46:54 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" 02:46:54 First time build. Skipping changelog. 02:46:54 > git rev-list --no-walk e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:56 + sudo service docker restart 02:46:56 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:59 provisioning config files... 02:46:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config2799875589850818374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:00 ---> docker-login.sh 02:47:00 nexus3.edgexfoundry.org:10001 02:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:01 Configure a credential helper to remove this warning. See 02:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:01 02:47:01 Login Succeeded 02:47:01 nexus3.edgexfoundry.org:10002 02:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:01 Configure a credential helper to remove this warning. See 02:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:01 02:47:01 Login Succeeded 02:47:01 nexus3.edgexfoundry.org:10003 02:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:02 Configure a credential helper to remove this warning. See 02:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:02 02:47:02 Login Succeeded 02:47:02 nexus3.edgexfoundry.org:10004 02:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:02 Configure a credential helper to remove this warning. See 02:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:02 02:47:02 Login Succeeded 02:47:02 docker.io 02:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:03 Configure a credential helper to remove this warning. See 02:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:03 02:47:03 Login Succeeded 02:47:03 ---> docker-login.sh ends [Pipeline] } 02:47:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:03 ========================================================= 02:47:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:04 + 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:47:04 Sending build context to Docker daemon 2.492MB 02:47:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:04 Step 2/8 : FROM ${BASE} 02:47:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:04 5f621e34cdf4: Pulling fs layer 02:47:04 a4357932f1b6: Pulling fs layer 02:47:04 18c013af1878: Pulling fs layer 02:47:04 00ac8860ef70: Pulling fs layer 02:47:04 63d7cb157983: Pulling fs layer 02:47:04 b116817d02f9: Pulling fs layer 02:47:04 745a02a5169b: Pulling fs layer 02:47:04 63d7cb157983: Waiting 02:47:04 b116817d02f9: Waiting 02:47:04 745a02a5169b: Waiting 02:47:04 00ac8860ef70: Waiting 02:47:04 18c013af1878: Verifying Checksum 02:47:04 18c013af1878: Download complete 02:47:04 a4357932f1b6: Verifying Checksum 02:47:04 a4357932f1b6: Download complete 02:47:04 63d7cb157983: Verifying Checksum 02:47:04 63d7cb157983: Download complete 02:47:05 b116817d02f9: Verifying Checksum 02:47:05 b116817d02f9: Download complete 02:47:05 5f621e34cdf4: Verifying Checksum 02:47:05 5f621e34cdf4: Download complete 02:47:05 5f621e34cdf4: Pull complete 02:47:06 a4357932f1b6: Pull complete 02:47:06 18c013af1878: Pull complete 02:47:07 745a02a5169b: Verifying Checksum 02:47:07 745a02a5169b: Download complete 02:47:08 00ac8860ef70: Verifying Checksum 02:47:08 00ac8860ef70: Download complete 02:47:18 00ac8860ef70: Pull complete 02:47:18 63d7cb157983: Pull complete 02:47:18 b116817d02f9: Pull complete 02:47:22 745a02a5169b: Pull complete 02:47:22 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:22 ---> b7e6874047d6 02:47:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:25 ---> Running in ab729da33b4d 02:47:25 Removing intermediate container ab729da33b4d 02:47:25 ---> 9aebc7150a26 02:47:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:26 ---> Running in f69ce16958bd 02:47:28 Removing intermediate container f69ce16958bd 02:47:28 ---> 5d1f83844748 02:47:28 Step 5/8 : RUN apk add --update --no-cache make git 02:47:28 ---> Running in f7388368713b 02:47:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:31 OK: 142 MiB in 39 packages 02:47:32 Removing intermediate container f7388368713b 02:47:32 ---> 813fa4bf025f 02:47:32 Step 6/8 : WORKDIR /device-sdk-go 02:47:32 ---> Running in fc96ecb62d88 02:47:33 Removing intermediate container fc96ecb62d88 02:47:33 ---> 3fc3252126f1 02:47:33 Step 7/8 : COPY . . 02:47:34 ---> cbdc0107f388 02:47:34 Step 8/8 : RUN go mod download 02:47:34 ---> Running in ff7db765e871 02:48:01 Removing intermediate container ff7db765e871 02:48:01 ---> 5db3e0109952 02:48:01 Successfully built 5db3e0109952 02:48:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:02 + docker inspect -f . ci-base-image-arm64 02:48:02 . [Pipeline] withDockerContainer 02:48:02 prd-ubuntu18.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container 02:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:04 $ docker top 4dd6138a9b373ead07427a7fc716d560dd7cd9921dfd7630b7c2631a9339f063 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:05 + go version 02:48:05 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:05 $ docker stop --time=1 4dd6138a9b373ead07427a7fc716d560dd7cd9921dfd7630b7c2631a9339f063 02:48:07 $ docker rm -f 4dd6138a9b373ead07427a7fc716d560dd7cd9921dfd7630b7c2631a9339f063 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:08 + docker inspect -f . ci-base-image-arm64 02:48:08 . [Pipeline] withDockerContainer 02:48:08 prd-ubuntu18.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container 02:48:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:10 $ docker top 0bd5d8400aaef21a90af9c544011dc6b5c4ee7c0215e7ea68d8aacb98a59f439 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:11 + make test 02:48:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 19.4% of statements 02:49:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.350s coverage: 97.1% of statements 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.152s coverage: 9.4% of statements 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.155s coverage: 21.7% of statements 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.640s coverage: 43.6% of statements 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.802s coverage: 68.9% of statements 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 53.8% of statements 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.205s coverage: 25.2% of statements 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.428s coverage: 83.5% of statements 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 4.2% of statements 02:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:54 GO111MODULE=on go vet ./... 02:50:33 gofmt -l . 02:50:33 [ "`gofmt -l .`" = "" ] 02:50:33 ./bin/test-attribution-txt.sh 02:50:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:33 $ docker stop --time=1 0bd5d8400aaef21a90af9c544011dc6b5c4ee7c0215e7ea68d8aacb98a59f439 02:50:35 $ docker rm -f 0bd5d8400aaef21a90af9c544011dc6b5c4ee7c0215e7ea68d8aacb98a59f439 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:37 Warning: overwriting stash ‘coverage-report’ 02:50:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:38 + ls -al . 02:50:38 total 252 02:50:38 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 02:50 . 02:50:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 .. 02:50:38 -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 02:46 .dockerignore 02:50:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 02:46 .git 02:50:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:46 .github 02:50:38 -rw-rw-r-- 1 jenkins jenkins 138 Jan 30 02:46 .gitignore 02:50:38 -rw-rw-r-- 1 jenkins jenkins 949 Jan 30 02:46 Dockerfile.build 02:50:38 -rw-rw-r-- 1 jenkins jenkins 894 Jan 30 02:46 Jenkinsfile 02:50:38 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 02:46 LICENSE 02:50:38 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 30 02:46 Makefile 02:50:38 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 30 02:46 README.md 02:50:38 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 30 02:46 RELEASE-NOTES.txt 02:50:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 02:43 VERSION 02:50:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:46 bin 02:50:38 -rw-r--r-- 1 jenkins jenkins 137332 Jan 30 02:49 coverage.out 02:50:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 example 02:50:38 -rw-r--r-- 1 jenkins jenkins 514 Jan 30 02:50 go.mod 02:50:38 -rw-r--r-- 1 jenkins jenkins 14191 Jan 30 02:50 go.sum 02:50:38 drwxrwxr-x 15 jenkins jenkins 4096 Jan 30 02:46 internal 02:50:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 openapi 02:50:38 drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 02:46 pkg 02:50:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 snap 02:50:38 -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:39 + docker build -t 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=902eccdb55cba88029b2eb6ae85bb2d22ca19633 --label arch=arm64 --label version=0.0.0 . 02:50:39 Sending build context to Docker daemon 2.631MB 02:50:39 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:39 Step 2/24 : FROM ${BASE} AS builder 02:50:39 ---> 5db3e0109952 02:50:39 Step 3/24 : ARG MAKE='make build' 02:50:40 ---> Running in 60a91be8424b 02:50:40 Removing intermediate container 60a91be8424b 02:50:40 ---> 00447c40ae5a 02:50:40 Step 4/24 : WORKDIR /device-sdk-go 02:50:40 ---> Running in 64c1ef833ee5 02:50:41 Removing intermediate container 64c1ef833ee5 02:50:41 ---> e730dab7764f 02:50:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:41 ---> Running in 20edad2a05c9 02:50:41 Removing intermediate container 20edad2a05c9 02:50:41 ---> f612a02fb515 02:50:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:41 ---> Running in c9662d332781 02:50:44 Removing intermediate container c9662d332781 02:50:44 ---> 968c238de2c3 02:50:44 Step 7/24 : RUN apk add --update --no-cache make git 02:50:44 ---> Running in 214154ddb67d 02:50:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:47 OK: 142 MiB in 39 packages 02:50:48 Removing intermediate container 214154ddb67d 02:50:48 ---> a68dbccaa5ac 02:50:48 Step 8/24 : COPY . . 02:50:49 ---> 56356f38e3cd 02:50:49 Step 9/24 : RUN ${MAKE} 02:50:49 ---> Running in e8c6e0d2c927 02:50:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:51:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:18 Removing intermediate container e8c6e0d2c927 02:51:18 ---> fa42bbead7df 02:51:18 Step 10/24 : FROM scratch 02:51:18 ---> 02:51:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:19 ---> Running in a10b1185858c 02:51:19 Removing intermediate container a10b1185858c 02:51:19 ---> 1a5911017a55 02:51:19 Step 12/24 : ENV APP_PORT=49990 02:51:19 ---> Running in 224ad75cbec1 02:51:20 Removing intermediate container 224ad75cbec1 02:51:20 ---> ff646a809e7e 02:51:20 Step 13/24 : EXPOSE $APP_PORT 02:51:20 ---> Running in cffe190034c6 02:51:20 Removing intermediate container cffe190034c6 02:51:20 ---> f9ac29771e14 02:51:20 Step 14/24 : WORKDIR / 02:51:20 ---> Running in 53ed23cc2ea0 02:51:21 Removing intermediate container 53ed23cc2ea0 02:51:21 ---> d31029f0f17b 02:51:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:22 ---> 0a76e2171903 02:51:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:23 ---> 208e8c783043 02:51:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:23 ---> 23dcbb923724 02:51:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:24 ---> 65c58e80d93a 02:51:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:25 ---> bbf85758517f 02:51:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:25 ---> Running in c81990dec078 02:51:25 Removing intermediate container c81990dec078 02:51:25 ---> 9ba47b01a230 02:51:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:25 ---> Running in 908ab495faf5 02:51:26 Removing intermediate container 908ab495faf5 02:51:26 ---> dea28efafa6f 02:51:26 Step 22/24 : LABEL arch=arm64 02:51:26 ---> Running in 0c85086093de 02:51:27 Removing intermediate container 0c85086093de 02:51:27 ---> 6f371ddedd9f 02:51:27 Step 23/24 : LABEL git_sha=902eccdb55cba88029b2eb6ae85bb2d22ca19633 02:51:27 ---> Running in 3d29f96687ce 02:51:27 Removing intermediate container 3d29f96687ce 02:51:27 ---> 66116607391e 02:51:27 Step 24/24 : LABEL version=0.0.0 02:51:27 ---> Running in 455214ceed53 02:51:28 Removing intermediate container 455214ceed53 02:51:28 ---> b72dfeaf1d30 02:51:28 [Warning] One or more build-args [ARCH] were not consumed 02:51:28 Successfully built b72dfeaf1d30 02:51:28 Successfully tagged 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:51:29 provisioning config files... 02:51:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config554008501486223507tmp [Pipeline] { [Pipeline] sh 02:51:30 + set +x 02:51:30 + curl -s https://codecov.io/bash 02:51:30 + bash -s -- 02:51:30 02:51:30 _____ _ 02:51:30 / ____| | | 02:51:30 | | ___ __| | ___ ___ _____ __ 02:51:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:30 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:30 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:30 Bash-20210129-7c25fce 02:51:30 02:51:30 02:51:30 ==> git version 2.24.3 found 02:51:30 ==> 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 02:51:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:30 ==> Jenkins CI detected. 02:51:30 project root: . 02:51:30 --> token set from env 02:51:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:30 ==> Running gcov in . (disable via -X gcov) 02:51:30 ==> Python coveragepy not found 02:51:30 ==> Searching for coverage reports in: 02:51:30 + . 02:51:30 -> Found 1 reports 02:51:30 ==> Detecting git/mercurial file structure 02:51:30 ==> Reading reports 02:51:30 + ./coverage.out bytes=137332 02:51:30 ==> Appending adjustments 02:51:30 https://docs.codecov.io/docs/fixing-reports 02:51:30 + Found adjustments 02:51:30 ==> Gzipping contents 02:51:30 24K /tmp/codecov.QTxnSH.gz 02:51:30 ==> Uploading reports 02:51:30 url: https://codecov.io 02:51:30 query: branch=PR-725&commit=902eccdb55cba88029b2eb6ae85bb2d22ca19633&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:30 -> Pinging Codecov 02:51:30 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-725&commit=902eccdb55cba88029b2eb6ae85bb2d22ca19633&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:31 -> Uploading to 02:51:31 https://storage.googleapis.com/codecov/v4/raw/2021-01-30/7E55EF52A471D76F132DFD9A03CDDE97/902eccdb55cba88029b2eb6ae85bb2d22ca19633/13dac9d5-d5ca-4e89-bd6b-7944c3030a82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210130T025131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f6f8a80f39bcbe45b87217f995d60699b10bbe5fea9a6027f2067c9a0eeb7a8 02:51:31 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:31 Dload Upload Total Spent Left Speed 02:51:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21623 0 0 100 21623 0 48850 --:--:-- --:--:-- --:--:-- 48920 02:51:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/902eccdb55cba88029b2eb6ae85bb2d22ca19633 [Pipeline] } 02:51:31 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:51:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:34 ---> package-listing.sh 02:51:34 ++ facter osfamily 02:51:34 ++ tr '[:upper:]' '[:lower:]' 02:51:34 + OS_FAMILY=redhat 02:51:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:51:34 + START_PACKAGES=/tmp/packages_start.txt 02:51:34 + END_PACKAGES=/tmp/packages_end.txt 02:51:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:34 + PACKAGES=/tmp/packages_start.txt 02:51:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:34 + PACKAGES=/tmp/packages_end.txt 02:51:34 + case "${OS_FAMILY}" in 02:51:34 + rpm -qa 02:51:34 + sort 02:51:39 + '[' -f /tmp/packages_start.txt ']' 02:51:39 + '[' -f /tmp/packages_end.txt ']' 02:51:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:51:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:51:39 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:40 02:51:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:40 alpine: Pulling from edgex-lftools-log-publisher 02:51:40 df20fa9351a1: Pulling fs layer 02:51:40 36b3adc4ff6f: Pulling fs layer 02:51:40 8ad3a11d3b57: Pulling fs layer 02:51:40 46f8f816bc3b: Pulling fs layer 02:51:40 93b61091891f: Pulling fs layer 02:51:40 93b9cdb0e59b: Pulling fs layer 02:51:40 5e14af77c1be: Pulling fs layer 02:51:40 01666e4c0597: Pulling fs layer 02:51:40 aa168da1d23b: Pulling fs layer 02:51:40 93b9cdb0e59b: Waiting 02:51:40 5e14af77c1be: Waiting 02:51:40 46f8f816bc3b: Waiting 02:51:40 01666e4c0597: Waiting 02:51:40 93b61091891f: Waiting 02:51:40 aa168da1d23b: Waiting 02:51:40 36b3adc4ff6f: Verifying Checksum 02:51:40 36b3adc4ff6f: Download complete 02:51:40 46f8f816bc3b: Verifying Checksum 02:51:40 46f8f816bc3b: Download complete 02:51:41 df20fa9351a1: Verifying Checksum 02:51:41 df20fa9351a1: Download complete 02:51:41 93b9cdb0e59b: Download complete 02:51:41 5e14af77c1be: Download complete 02:51:41 93b61091891f: Download complete 02:51:41 01666e4c0597: Verifying Checksum 02:51:41 01666e4c0597: Download complete 02:51:41 df20fa9351a1: Pull complete 02:51:41 36b3adc4ff6f: Pull complete 02:51:41 8ad3a11d3b57: Verifying Checksum 02:51:41 8ad3a11d3b57: Download complete 02:51:42 8ad3a11d3b57: Pull complete 02:51:42 46f8f816bc3b: Pull complete 02:51:43 93b61091891f: Pull complete 02:51:43 aa168da1d23b: Verifying Checksum 02:51:43 aa168da1d23b: Download complete 02:51:43 93b9cdb0e59b: Pull complete 02:51:43 5e14af77c1be: Pull complete 02:51:43 01666e4c0597: Pull complete 02:51:50 aa168da1d23b: Pull complete 02:51:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:50 prd-centos7-docker-4c-2g-24078 does not seem to be running inside a container 02:51:50 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:54 $ docker top a236de46f1ab85f73fd4f2f8e18377ed6d509edda48a0e15b4a93de81c66906b -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:54 + mkdir -p /var/log/sa [Pipeline] sh 02:51:55 + ls /var/log/sa-host 02:51:55 + sadf -c /var/log/sa-host/sa23 02:51:55 file_magic: OK 02:51:55 HZ: Using current value: 100 02:51:55 file_header: OK 02:51:55 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:51:55 Statistics: 02:51:55 Hnuu...uuuununununu... 02:51:55 File successfully converted to sysstat format version 12.2.1 02:51:55 + sadf -c /var/log/sa-host/sa30 02:51:55 file_magic: OK 02:51:55 HZ: Using current value: 100 02:51:55 file_header: OK 02:51:55 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:51:55 Statistics: 02:51:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:55 provisioning config files... 02:51:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1303364302731844763tmp [Pipeline] { [Pipeline] echo 02:51:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:55 ---> create-netrc.sh [Pipeline] } 02:51:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:56 ---> python-tools-install.sh [Pipeline] echo 02:51:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:56 ---> sudo-logs.sh 02:51:56 Archiving 'sudo' log.. [Pipeline] echo 02:51:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:56 ---> job-cost.sh 02:51:56 lf-activate-venv: SKIPPING 02:51:56 INFO: No Stack... 02:51:57 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:58 INFO: Archiving Costs [Pipeline] echo 02:51:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:58 ---> logs-deploy.sh 02:51:58 lf-activate-venv: SKIPPING 02:51:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/10 02:51:58 INFO: archiving workspace using pattern(s): 02:52:00 Archives upload complete. 02:52:00 INFO: archiving logs to Nexus 02:52:01 ---> uname -a: 02:52:01 Linux prd-centos7-docker-4c-2g-24078.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:01 02:52:01 02:52:01 ---> lscpu: 02:52:01 Architecture: x86_64 02:52:01 CPU op-mode(s): 32-bit, 64-bit 02:52:01 Byte Order: Little Endian 02:52:01 Address sizes: 40 bits physical, 48 bits virtual 02:52:01 CPU(s): 4 02:52:01 On-line CPU(s) list: 0-3 02:52:01 Thread(s) per core: 1 02:52:01 Core(s) per socket: 1 02:52:01 Socket(s): 4 02:52:01 NUMA node(s): 1 02:52:01 Vendor ID: GenuineIntel 02:52:01 CPU family: 6 02:52:01 Model: 44 02:52:01 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:01 Stepping: 1 02:52:01 CPU MHz: 2933.442 02:52:01 BogoMIPS: 5866.88 02:52:01 Virtualization: VT-x 02:52:01 Hypervisor vendor: KVM 02:52:01 Virtualization type: full 02:52:01 L1d cache: 128 KiB 02:52:01 L1i cache: 128 KiB 02:52:01 L2 cache: 16 MiB 02:52:01 L3 cache: 64 MiB 02:52:01 NUMA node0 CPU(s): 0-3 02:52:01 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:01 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:01 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:01 Vulnerability Meltdown: Mitigation; PTI 02:52:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:01 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:01 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:01 Vulnerability Srbds: Not affected 02:52:01 Vulnerability Tsx async abort: Not affected 02:52:01 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:01 02:52:01 02:52:01 ---> nproc: 02:52:01 4 02:52:01 02:52:01 02:52:01 ---> df -h: 02:52:01 Filesystem Size Used Available Use% Mounted on 02:52:01 overlay 50.0G 7.3G 42.7G 15% / 02:52:01 tmpfs 64.0M 0 64.0M 0% /dev 02:52:01 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:01 shm 64.0M 0 64.0M 0% /dev/shm 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:01 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:01 02:52:01 02:52:01 ---> free -m: 02:52:01 total used free shared buff/cache available 02:52:01 Mem: 1837 688 110 0 1037 1044 02:52:01 Swap: 1023 1 1022 02:52:01 02:52:01 02:52:01 ---> ip addr: 02:52:01 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:01 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:01 inet 127.0.0.1/8 scope host lo 02:52:01 valid_lft forever preferred_lft forever 02:52:01 inet6 ::1/128 scope host 02:52:01 valid_lft forever preferred_lft forever 02:52:01 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:01 link/ether fa:16:3e:d7:2b:9c brd ff:ff:ff:ff:ff:ff 02:52:01 inet 10.30.123.221/23 brd 10.30.123.255 scope global dynamic eth0 02:52:01 valid_lft 85817sec preferred_lft 85817sec 02:52:01 inet6 fe80::f816:3eff:fed7:2b9c/64 scope link 02:52:01 valid_lft forever preferred_lft forever 02:52:01 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:01 link/ether 02:42:72:b3:21:e2 brd ff:ff:ff:ff:ff:ff 02:52:01 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:01 valid_lft forever preferred_lft forever 02:52:01 inet6 fe80::42:72ff:feb3:21e2/64 scope link 02:52:01 valid_lft forever preferred_lft forever 02:52:01 02:52:01 02:52:01 ---> sar -b -r -n DEV: 02:52:01 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/30/21 _x86_64_ (4 CPU) 02:52:01 02:52:01 02:42:06 LINUX RESTART (4 CPU) 02:52:01 02:52:01 02:43:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:01 02:44:01 21.15 4.87 16.28 0.00 1152.60 3104.17 0.00 02:52:01 02:45:01 1.93 0.00 1.93 0.00 0.00 38.57 0.00 02:52:01 02:46:01 0.32 0.00 0.32 0.00 0.00 4.43 0.00 02:52:01 02:47:01 0.22 0.00 0.22 0.00 0.00 2.96 0.00 02:52:01 02:48:01 0.23 0.00 0.23 0.00 0.00 3.51 0.00 02:52:01 02:49:01 0.32 0.00 0.32 0.00 0.00 4.35 0.00 02:52:01 02:50:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 02:52:01 02:51:01 0.28 0.00 0.28 0.00 0.00 4.56 0.00 02:52:01 Average: 3.02 0.59 2.42 0.00 139.89 384.49 0.00 02:52:01 02:52:01 02:43:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:01 02:44:01 152336 0 580796 30.87 2620 1145792 1084492 37.01 441676 1087752 24 02:52:01 02:45:01 156340 0 576788 30.66 2620 1145796 1060188 36.18 438620 1087444 12 02:52:01 02:46:01 156176 0 576944 30.66 2620 1145804 1060372 36.19 442960 1083852 8 02:52:01 02:47:01 154852 0 578268 30.73 2620 1145804 1060432 36.19 446680 1081496 20 02:52:01 02:48:01 154988 0 578124 30.73 2620 1145812 1060408 36.19 450552 1077420 12 02:52:01 02:49:01 154956 0 578152 30.73 2620 1145816 1060432 36.19 450812 1077420 12 02:52:01 02:50:01 155932 0 577172 30.68 2620 1145820 1060252 36.18 449696 1077416 20 02:52:01 02:51:01 156088 0 577012 30.67 2620 1145824 1060252 36.18 449948 1077416 8 02:52:01 Average: 155208 0 577907 30.71 2620 1145808 1063354 36.29 446368 1081277 14 02:52:01 02:52:01 02:43:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:01 02:44:01 eth0 39.99 32.66 50.84 31.74 0.00 0.00 0.00 0.00 02:52:01 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:44:01 docker0 9.03 7.23 1.35 22.66 0.00 0.00 0.00 0.00 02:52:01 02:45:01 eth0 0.73 0.08 0.06 0.01 0.00 0.00 0.00 0.00 02:52:01 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:46:01 eth0 1.87 0.37 0.38 0.20 0.00 0.00 0.00 0.00 02:52:01 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:47:01 eth0 0.97 0.57 0.54 0.40 0.00 0.00 0.00 0.00 02:52:01 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:48:01 eth0 0.72 0.13 0.13 0.07 0.00 0.00 0.00 0.00 02:52:01 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:49:01 eth0 0.60 0.30 0.33 0.17 0.00 0.00 0.00 0.00 02:52:01 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:50:01 eth0 0.08 0.08 0.01 0.04 0.00 0.00 0.00 0.00 02:52:01 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:51:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:01 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 Average: eth0 5.49 4.17 6.35 3.96 0.00 0.00 0.00 0.00 02:52:01 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:01 Average: docker0 1.10 0.88 0.16 2.75 0.00 0.00 0.00 0.00 02:52:01 02:52:01 02:52:01 ---> sar -P ALL: 02:52:01 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/30/21 _x86_64_ (4 CPU) 02:52:01 02:52:01 02:42:06 LINUX RESTART (4 CPU) 02:52:01 02:52:01 02:43:03 CPU %user %nice %system %iowait %steal %idle 02:52:01 02:44:01 all 1.71 0.00 1.18 0.29 0.02 96.80 02:52:01 02:44:01 0 1.56 0.00 0.97 0.03 0.02 97.42 02:52:01 02:44:01 1 1.99 0.00 1.18 0.38 0.02 96.44 02:52:01 02:44:01 2 1.90 0.00 1.54 0.71 0.03 95.82 02:52:01 02:44:01 3 1.38 0.00 1.04 0.05 0.02 97.51 02:52:01 02:45:01 all 0.14 0.00 0.05 0.00 0.00 99.81 02:52:01 02:45:01 0 0.05 0.00 0.05 0.00 0.00 99.90 02:52:01 02:45:01 1 0.43 0.00 0.07 0.00 0.00 99.50 02:52:01 02:45:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:52:01 02:45:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:52:01 02:46:01 all 0.23 0.00 0.30 0.00 0.01 99.46 02:52:01 02:46:01 0 0.12 0.00 0.30 0.00 0.00 99.58 02:52:01 02:46:01 1 0.58 0.00 0.27 0.00 0.02 99.14 02:52:01 02:46:01 2 0.15 0.00 0.40 0.00 0.00 99.45 02:52:01 02:46:01 3 0.08 0.00 0.23 0.00 0.03 99.65 02:52:01 02:47:01 all 0.19 0.00 0.05 0.00 0.00 99.76 02:52:01 02:47:01 0 0.03 0.00 0.07 0.00 0.00 99.90 02:52:01 02:47:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:52:01 02:47:01 2 0.12 0.00 0.05 0.00 0.00 99.83 02:52:01 02:47:01 3 0.07 0.00 0.05 0.00 0.00 99.88 02:52:01 02:48:01 all 0.17 0.00 0.05 0.00 0.00 99.77 02:52:01 02:48:01 0 0.05 0.00 0.08 0.00 0.00 99.87 02:52:01 02:48:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:52:01 02:48:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:52:01 02:48:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:52:01 02:49:01 all 0.15 0.00 0.03 0.00 0.00 99.81 02:52:01 02:49:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:52:01 02:49:01 1 0.50 0.00 0.02 0.00 0.00 99.48 02:52:01 02:49:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:52:01 02:49:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:52:01 02:50:01 all 0.16 0.00 0.03 0.00 0.00 99.80 02:52:01 02:50:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:52:01 02:50:01 1 0.53 0.00 0.02 0.00 0.00 99.45 02:52:01 02:50:01 2 0.05 0.00 0.05 0.00 0.02 99.88 02:52:01 02:50:01 3 0.03 0.00 0.05 0.00 0.00 99.92 02:52:01 02:51:01 all 0.16 0.00 0.03 0.00 0.00 99.81 02:52:01 02:51:01 0 0.02 0.00 0.00 0.00 0.02 99.97 02:52:01 02:51:01 1 0.52 0.00 0.03 0.00 0.00 99.45 02:52:01 02:51:01 2 0.08 0.00 0.05 0.00 0.00 99.87 02:52:01 02:51:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:52:01 Average: all 0.36 0.00 0.21 0.04 0.01 99.39 02:52:01 Average: 0 0.23 0.00 0.19 0.00 0.00 99.58 02:52:01 Average: 1 0.70 0.00 0.20 0.05 0.00 99.05 02:52:01 Average: 2 0.30 0.00 0.27 0.09 0.01 99.34 02:52:01 Average: 3 0.21 0.00 0.18 0.01 0.01 99.59 02:52:01 02:52:01 02:52:01