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 judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 84ea4a05cef1466ee67975698004463005cbf340 rather than 36433b781bb2ee003898b57ec7acf2c0b8aebae6 Obtained Jenkinsfile from 84ea4a05cef1466ee67975698004463005cbf340 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: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-24077 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [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-753 # 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/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 Merge succeeded, producing 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 Checking out Revision 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 (PR-753) > git config core.sparsecheckout # timeout=10 > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # 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 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 # 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:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 02:42:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:02 ========================================================= 02:42:02 EdgeX Global Pipelines Version Info 02:42:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:04 ------------------- 02:42:04 stable info: 02:42:04 ------------------- 02:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:04 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:04 Message: update stable to v1.0.179 02:42:05 ------------------- 02:42:05 experimental info: 02:42:05 ------------------- 02:42:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:05 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f4f88d [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:09 provisioning config files... 02:42:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config750441434527763395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:09 ---> docker-login.sh 02:42:09 nexus3.edgexfoundry.org:10001 02:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 nexus3.edgexfoundry.org:10002 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 nexus3.edgexfoundry.org:10003 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 nexus3.edgexfoundry.org:10004 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 docker.io 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 ---> docker-login.sh ends [Pipeline] } 02:42:10 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:11 + git log --format=format:%s -1 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [Pipeline] echo 02:42:11 GIT_COMMIT: 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3, Commit Message: Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD [Pipeline] echo 02:42:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:13 02:42:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:13 latest: Pulling from edgex-devops/git-semver 02:42:13 31603596830f: Pulling fs layer 02:42:13 2a8b12db71e7: Pulling fs layer 02:42:13 6ca5941a6612: Pulling fs layer 02:42:13 ecc8261a40a4: Pulling fs layer 02:42:13 ecc8261a40a4: Waiting 02:42:13 2a8b12db71e7: Verifying Checksum 02:42:13 2a8b12db71e7: Download complete 02:42:13 31603596830f: Verifying Checksum 02:42:13 31603596830f: Download complete 02:42:13 6ca5941a6612: Verifying Checksum 02:42:13 6ca5941a6612: Download complete 02:42:13 ecc8261a40a4: Verifying Checksum 02:42:13 ecc8261a40a4: Download complete 02:42:13 31603596830f: Pull complete 02:42:14 2a8b12db71e7: Pull complete 02:42:14 6ca5941a6612: Pull complete 02:42:14 ecc8261a40a4: Pull complete 02:42:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:15 prd-centos7-docker-4c-2g-24077 does not seem to be running inside a container 02:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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:10004/edgex-devops/git-semver:latest cat 02:42:17 $ docker top 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:17 [ssh-agent] Looking for ssh-agent implementation... 02:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:17 $ docker exec 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent 02:42:18 SSH_AUTH_SOCK=/tmp/ssh-GIYZJEYi6TWH/agent.12 02:42:18 SSH_AGENT_PID=17 02:42:18 Running ssh-add (command line suppressed) 02:42:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3881350946061279982.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_3881350946061279982.key) 02:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:18 + git tag --points-at HEAD [Pipeline] } 02:42:18 $ docker exec --env ******** --env ******** 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent -k 02:42:18 unset SSH_AUTH_SOCK; 02:42:18 unset SSH_AGENT_PID; 02:42:18 echo Agent pid 17 killed; 02:42:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:19 [ssh-agent] Looking for ssh-agent implementation... 02:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:19 $ docker exec 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent 02:42:19 SSH_AUTH_SOCK=/tmp/ssh-85wXRuMSPAD5/agent.47 02:42:19 SSH_AGENT_PID=52 02:42:19 Running ssh-add (command line suppressed) 02:42:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8747965353156955994.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8747965353156955994.key) 02:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:19 + git semver init 02:42:19 # -> Open(): unable to determine branch for HEAD 02:42:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git 02:42:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 02:42:19 # $SEMVER_REMOTE_NAME = origin 02:42:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:19 # $SEMVER_USER_NAME = edgex-jenkins 02:42:19 # $SEMVER_BRANCH = PR-753 02:42:19 # $SEMVER_TEMP = /tmp/semver-715434837 02:42:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:20 # '/tmp/semver-715434837' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' 02:42:20 # -> Force: false 02:42:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } 02:42:20 $ docker exec --env ******** --env ******** 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 ssh-agent -k 02:42:20 unset SSH_AUTH_SOCK; 02:42:20 unset SSH_AGENT_PID; 02:42:20 echo Agent pid 52 killed; 02:42:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:21 + git semver [Pipeline] } 02:42:21 $ docker stop --time=1 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 02:42:22 $ docker rm -f 62c0c84183edb665633500025e61556cc3d9dbae859cc464817919775f414030 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:23 Stashed 1 file(s) [Pipeline] echo 02:42:23 [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:42:38 Still waiting to schedule task 02:42:38 ‘prd-centos7-docker-4c-2g-24072’ is offline; ‘prd-centos7-docker-4c-2g-24078’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-24076’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24073’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:38 Still waiting to schedule task 02:42:38 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:43:34 Running on prd-centos7-docker-4c-2g-24080 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 02:43:34 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:43:37 using credential edgex-jenkins-ssh 02:43:37 Cloning the remote Git repository 02:43:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:37 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:43:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:37 > git --version # timeout=10 02:43:37 > git --version # 'git version 2.24.3' 02:43:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:38 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 02:43:38 Merge succeeded, producing f40303f9a04ee1f5d55fcdd537089f300ce8bcd1 02:43:38 Checking out Revision f40303f9a04ee1f5d55fcdd537089f300ce8bcd1 (PR-753) 02:43:38 > git config core.sparsecheckout # timeout=10 02:43:38 > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # timeout=10 02:43:38 > git remote # timeout=10 02:43:38 > git config --get remote.origin.url # timeout=10 02:43:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:38 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 02:43:38 > git rev-parse HEAD^{commit} # timeout=10 02:43:38 > git config core.sparsecheckout # timeout=10 02:43:38 > git checkout -f f40303f9a04ee1f5d55fcdd537089f300ce8bcd1 # timeout=10 02:43:42 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" 02:43:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:42 > git rev-list --no-walk 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 02:43:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:44 + sudo service docker restart 02:43:44 + true 02:43:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:45 provisioning config files... 02:43:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config9074083440008020450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:46 ---> docker-login.sh 02:43:46 nexus3.edgexfoundry.org:10001 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 nexus3.edgexfoundry.org:10002 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 nexus3.edgexfoundry.org:10003 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 nexus3.edgexfoundry.org:10004 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 docker.io 02:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:47 Configure a credential helper to remove this warning. See 02:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:47 02:43:47 Login Succeeded 02:43:47 ---> docker-login.sh ends [Pipeline] } 02:43:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:47 ========================================================= 02:43:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:48 + 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:43:48 Sending build context to Docker daemon 2.523MB 02:43:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:43:48 Step 2/8 : FROM ${BASE} 02:43:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:48 188c0c94c7c5: Pulling fs layer 02:43:48 0ef7d3d256c8: Pulling fs layer 02:43:48 de9db76c5a1d: Pulling fs layer 02:43:48 bca2f99d35d6: Pulling fs layer 02:43:48 93359f2a8cfa: Pulling fs layer 02:43:48 7c6f9722023f: Pulling fs layer 02:43:48 a35cf1a2eb13: Pulling fs layer 02:43:48 bca2f99d35d6: Waiting 02:43:48 93359f2a8cfa: Waiting 02:43:48 7c6f9722023f: Waiting 02:43:48 a35cf1a2eb13: Waiting 02:43:48 0ef7d3d256c8: Verifying Checksum 02:43:48 0ef7d3d256c8: Download complete 02:43:48 de9db76c5a1d: Verifying Checksum 02:43:48 de9db76c5a1d: Download complete 02:43:48 93359f2a8cfa: Verifying Checksum 02:43:48 93359f2a8cfa: Download complete 02:43:48 7c6f9722023f: Verifying Checksum 02:43:48 7c6f9722023f: Download complete 02:43:48 188c0c94c7c5: Verifying Checksum 02:43:48 188c0c94c7c5: Download complete 02:43:48 188c0c94c7c5: Pull complete 02:43:48 0ef7d3d256c8: Pull complete 02:43:48 de9db76c5a1d: Pull complete 02:43:51 a35cf1a2eb13: Verifying Checksum 02:43:51 a35cf1a2eb13: Download complete 02:43:51 bca2f99d35d6: Verifying Checksum 02:43:51 bca2f99d35d6: Download complete 02:43:56 bca2f99d35d6: Pull complete 02:43:56 93359f2a8cfa: Pull complete 02:43:56 7c6f9722023f: Pull complete 02:44:03 a35cf1a2eb13: Pull complete 02:44:03 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:03 ---> a62c8e92a672 02:44:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:03 ---> Running in 5cc445b72cc5 02:44:03 Removing intermediate container 5cc445b72cc5 02:44:03 ---> 5674ae82bc07 02:44:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:04 ---> Running in 48ce028f58ca 02:44:04 Removing intermediate container 48ce028f58ca 02:44:04 ---> 7c9dc60d504e 02:44:04 Step 5/8 : RUN apk add --update --no-cache make git 02:44:04 ---> Running in 58ce0205f7e4 02:44:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:07 OK: 166 MiB in 39 packages 02:44:07 Removing intermediate container 58ce0205f7e4 02:44:07 ---> e42d32b4b6ff 02:44:07 Step 6/8 : WORKDIR /device-sdk-go 02:44:07 ---> Running in c74be52f1ce2 02:44:07 Removing intermediate container c74be52f1ce2 02:44:07 ---> 9b828754da29 02:44:07 Step 7/8 : COPY . . 02:44:09 ---> 0b0703ea00e1 02:44:09 Step 8/8 : RUN go mod download 02:44:09 ---> Running in 6439d89ca002 02:44:27 Removing intermediate container 6439d89ca002 02:44:27 ---> df5247c304f6 02:44:27 Successfully built df5247c304f6 02:44:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:27 + docker inspect -f . ci-base-image-x86_64 02:44:27 . [Pipeline] withDockerContainer 02:44:28 prd-centos7-docker-4c-2g-24080 does not seem to be running inside a container 02:44:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 02:44:29 $ docker top e1a083bd1c8d51864b831564458a7fcb0b9981dfce61ba446b6ff61d075fc773 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:29 + go version 02:44:29 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:29 $ docker stop --time=1 e1a083bd1c8d51864b831564458a7fcb0b9981dfce61ba446b6ff61d075fc773 02:44:31 $ docker rm -f e1a083bd1c8d51864b831564458a7fcb0b9981dfce61ba446b6ff61d075fc773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:32 + docker inspect -f . ci-base-image-x86_64 02:44:32 . [Pipeline] withDockerContainer 02:44:32 prd-centos7-docker-4c-2g-24080 does not seem to be running inside a container 02:44:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 02:44:32 $ docker top e608f6e83aac340cc1674fdf3ab8658de164d9bd856f32338bc9b54f54a0efba -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:33 + make test 02:44:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:44:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:44:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:44:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:44:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 19.4% of statements 02:44:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.444s coverage: 97.1% of statements 02:45:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24082 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 02:45:24 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 9.4% of statements 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 21.7% of statements 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.222s coverage: 43.6% of statements 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.262s coverage: 68.9% of statements 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.062s coverage: 53.8% of statements 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 25.2% of statements 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.347s coverage: 83.5% of statements 02:45:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.2% of statements 02:45:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:45:29 GO111MODULE=on go vet ./... 02:45:30 using credential edgex-jenkins-ssh 02:45:30 Cloning the remote Git repository 02:45:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:30 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:45:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:30 > git --version # timeout=10 02:45:30 > git --version # 'git version 2.17.1' 02:45:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:32 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 36433b781bb2ee003898b57ec7acf2c0b8aebae6 02:45:32 Merge succeeded, producing 1efe6e8afd44d0df808da98545ea6a5cd4aa1423 02:45:32 Checking out Revision 1efe6e8afd44d0df808da98545ea6a5cd4aa1423 (PR-753) 02:45:32 > git config core.sparsecheckout # timeout=10 02:45:32 > git checkout -f 36433b781bb2ee003898b57ec7acf2c0b8aebae6 # timeout=10 02:45:32 > git remote # timeout=10 02:45:32 > git config --get remote.origin.url # timeout=10 02:45:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:32 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 02:45:32 > git rev-parse HEAD^{commit} # timeout=10 02:45:32 > git config core.sparsecheckout # timeout=10 02:45:32 > git checkout -f 1efe6e8afd44d0df808da98545ea6a5cd4aa1423 # timeout=10 02:45:36 gofmt -l . 02:45:36 [ "`gofmt -l .`" = "" ] 02:45:36 ./bin/test-attribution-txt.sh 02:45:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:45:36 $ docker stop --time=1 e608f6e83aac340cc1674fdf3ab8658de164d9bd856f32338bc9b54f54a0efba 02:45:37 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" 02:45:37 First time build. Skipping changelog. 02:45:37 > git rev-list --no-walk 0c99c0bf9d0355358eea2d22ef532bc0f34a76ee # timeout=10 02:45:38 $ docker rm -f e608f6e83aac340cc1674fdf3ab8658de164d9bd856f32338bc9b54f54a0efba [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:45:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:45:39 Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:45:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 02:45:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:44 + sudo service docker restart 02:45:44 + true 02:45:44 + ls -al . 02:45:44 total 216 02:45:44 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 30 02:45 . 02:45:44 drwxrwxr-x. 4 jenkins jenkins 28 Jan 30 02:43 .. 02:45:44 drwxrwxr-x. 2 jenkins jenkins 64 Jan 30 02:43 bin 02:45:44 -rw-r--r--. 1 jenkins jenkins 137332 Jan 30 02:45 coverage.out 02:45:44 -rw-rw-r--. 1 jenkins jenkins 949 Jan 30 02:43 Dockerfile.build 02:45:44 -rw-rw-r--. 1 jenkins jenkins 140 Jan 30 02:43 .dockerignore 02:45:44 drwxrwxr-x. 4 jenkins jenkins 48 Jan 30 02:43 example 02:45:44 drwxrwxr-x. 8 jenkins jenkins 179 Jan 30 02:43 .git 02:45:44 drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 02:43 .github 02:45:44 -rw-rw-r--. 1 jenkins jenkins 138 Jan 30 02:43 .gitignore 02:45:44 -rw-r--r--. 1 jenkins jenkins 514 Jan 30 02:45 go.mod 02:45:44 -rw-r--r--. 1 jenkins jenkins 14191 Jan 30 02:45 go.sum 02:45:44 drwxrwxr-x. 15 jenkins jenkins 211 Jan 30 02:43 internal 02:45:44 -rw-rw-r--. 1 jenkins jenkins 901 Jan 30 02:43 Jenkinsfile 02:45:44 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 30 02:43 LICENSE 02:45:44 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 30 02:43 Makefile 02:45:44 drwxrwxr-x. 4 jenkins jenkins 26 Jan 30 02:43 openapi 02:45:44 drwxrwxr-x. 5 jenkins jenkins 50 Jan 30 02:43 pkg 02:45:44 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 30 02:43 README.md 02:45:44 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 30 02:43 RELEASE-NOTES.txt 02:45:44 drwxrwxr-x. 4 jenkins jenkins 54 Jan 30 02:43 snap 02:45:44 -rw-rw-r--. 1 jenkins jenkins 5 Jan 30 02:42 VERSION 02:45:44 -rw-rw-r--. 1 jenkins jenkins 222 Jan 30 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:45:44 + 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=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 --label arch=amd64 --label version=0.0.0 . 02:45:44 Sending build context to Docker daemon 2.661MB 02:45:44 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:45:44 Step 2/24 : FROM ${BASE} AS builder 02:45:44 ---> df5247c304f6 02:45:44 Step 3/24 : ARG MAKE='make build' 02:45:45 ---> Running in 05e2ed83a094 02:45:45 Removing intermediate container 05e2ed83a094 02:45:45 ---> 7089dc45b9fc 02:45:45 Step 4/24 : WORKDIR /device-sdk-go 02:45:45 ---> Running in 474212744b1e 02:45:45 Removing intermediate container 474212744b1e 02:45:45 ---> 13245aa2b70c 02:45:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:45 ---> Running in 16fdca98534f 02:45:46 Removing intermediate container 16fdca98534f 02:45:46 ---> 7b656e7a56d6 02:45:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:46 ---> Running in f73c105c7852 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:46 provisioning config files... 02:45:46 Removing intermediate container f73c105c7852 02:45:46 ---> 27ee323c05fa 02:45:46 Step 7/24 : RUN apk add --update --no-cache make git 02:45:46 ---> Running in 59ede575da9c 02:45:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8597414127845336413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:47 ---> docker-login.sh 02:45:47 nexus3.edgexfoundry.org:10001 02:45:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:48 Configure a credential helper to remove this warning. See 02:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:48 02:45:48 Login Succeeded 02:45:48 nexus3.edgexfoundry.org:10002 02:45:48 OK: 166 MiB in 39 packages 02:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:49 Configure a credential helper to remove this warning. See 02:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:49 02:45:49 Login Succeeded 02:45:49 nexus3.edgexfoundry.org:10003 02:45:49 Removing intermediate container 59ede575da9c 02:45:49 ---> 9295d649ac8c 02:45:49 Step 8/24 : COPY . . 02:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:49 Configure a credential helper to remove this warning. See 02:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:49 02:45:49 Login Succeeded 02:45:49 nexus3.edgexfoundry.org:10004 02:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:50 Configure a credential helper to remove this warning. See 02:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:50 02:45:50 Login Succeeded 02:45:50 docker.io 02:45:50 ---> 099e4dd86164 02:45:50 Step 9/24 : RUN ${MAKE} 02:45:50 ---> Running in 2a922b356014 02:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:50 Configure a credential helper to remove this warning. See 02:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:50 02:45:50 Login Succeeded 02:45:50 ---> docker-login.sh ends [Pipeline] } 02:45:50 Deleting 1 temporary files [Pipeline] // wrap 02:45: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 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:51 ========================================================= 02:45:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:51 + 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:45:51 Sending build context to Docker daemon 2.522MB 02:45:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:51 Step 2/8 : FROM ${BASE} 02:45:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:52 5f621e34cdf4: Pulling fs layer 02:45:52 a4357932f1b6: Pulling fs layer 02:45:52 18c013af1878: Pulling fs layer 02:45:52 00ac8860ef70: Pulling fs layer 02:45:52 63d7cb157983: Pulling fs layer 02:45:52 b116817d02f9: Pulling fs layer 02:45:52 745a02a5169b: Pulling fs layer 02:45:52 00ac8860ef70: Waiting 02:45:52 63d7cb157983: Waiting 02:45:52 b116817d02f9: Waiting 02:45:52 745a02a5169b: Waiting 02:45:52 18c013af1878: Verifying Checksum 02:45:52 18c013af1878: Download complete 02:45:52 a4357932f1b6: Verifying Checksum 02:45:52 a4357932f1b6: Download complete 02:45:52 63d7cb157983: Verifying Checksum 02:45:52 63d7cb157983: Download complete 02:45:52 b116817d02f9: Verifying Checksum 02:45:52 b116817d02f9: Download complete 02:45:52 5f621e34cdf4: Verifying Checksum 02:45:52 5f621e34cdf4: Download complete 02:45:53 5f621e34cdf4: Pull complete 02:45:53 a4357932f1b6: Pull complete 02:45:54 18c013af1878: Pull complete 02:45:54 745a02a5169b: Verifying Checksum 02:45:54 745a02a5169b: Download complete 02:45:55 00ac8860ef70: Verifying Checksum 02:45:55 00ac8860ef70: Download complete 02:45:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:00 Removing intermediate container 2a922b356014 02:46:00 ---> 38fa4a3514ec 02:46:00 Step 10/24 : FROM scratch 02:46:00 ---> 02:46:00 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:01 ---> Running in dbc9e295ef7f 02:46:01 Removing intermediate container dbc9e295ef7f 02:46:01 ---> 2037ba111e90 02:46:01 Step 12/24 : ENV APP_PORT=49990 02:46:01 ---> Running in 49d3b0ec11be 02:46:01 Removing intermediate container 49d3b0ec11be 02:46:01 ---> 3ad0a1b5e4cb 02:46:01 Step 13/24 : EXPOSE $APP_PORT 02:46:01 ---> Running in 5d297ff0d461 02:46:01 Removing intermediate container 5d297ff0d461 02:46:01 ---> 48e6286cec88 02:46:01 Step 14/24 : WORKDIR / 02:46:01 ---> Running in 481236ea4a7b 02:46:01 Removing intermediate container 481236ea4a7b 02:46:01 ---> a62ca20252c9 02:46:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:02 ---> 451d6f3b7492 02:46:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:02 ---> 92e2b5a084a8 02:46:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:02 ---> 22ecbb0a6d98 02:46:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:03 ---> e4bdbc04e9ae 02:46:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:03 ---> 8f988aa49ad9 02:46:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:03 ---> Running in ddd88d6332d9 02:46:03 Removing intermediate container ddd88d6332d9 02:46:03 ---> 2e258a76d624 02:46:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:03 ---> Running in 294c0fd07d45 02:46:03 Removing intermediate container 294c0fd07d45 02:46:03 ---> 1f7b77491ca0 02:46:03 Step 22/24 : LABEL arch=amd64 02:46:03 ---> Running in f5423fc3e158 02:46:04 Removing intermediate container f5423fc3e158 02:46:04 ---> 27d5ef77a0b0 02:46:04 Step 23/24 : LABEL git_sha=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 02:46:04 ---> Running in 2eaad036bb9b 02:46:04 Removing intermediate container 2eaad036bb9b 02:46:04 ---> fb34ded8cf20 02:46:04 Step 24/24 : LABEL version=0.0.0 02:46:04 ---> Running in 97c82fb3a03e 02:46:04 Removing intermediate container 97c82fb3a03e 02:46:04 ---> e7a11fdbd8dc 02:46:04 [Warning] One or more build-args [ARCH] were not consumed 02:46:04 Successfully built e7a11fdbd8dc 02:46:04 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 02:46:05 00ac8860ef70: Pull complete 02:46:05 63d7cb157983: Pull complete 02:46:05 b116817d02f9: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] } 02:46:09 745a02a5169b: Pull complete 02:46:09 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:09 ---> b7e6874047d6 02:46:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:12 ---> Running in 0f24c9c54c6a 02:46:12 Removing intermediate container 0f24c9c54c6a 02:46:12 ---> bb7ebdcdde3e 02:46:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:12 ---> Running in 8fdf982b3cf1 02:46:14 Removing intermediate container 8fdf982b3cf1 02:46:14 ---> 54c9dea57ff4 02:46:14 Step 5/8 : RUN apk add --update --no-cache make git 02:46:14 ---> Running in a58b144d4eab 02:46:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:17 OK: 142 MiB in 39 packages 02:46:18 Removing intermediate container a58b144d4eab 02:46:18 ---> 3241862583ce 02:46:18 Step 6/8 : WORKDIR /device-sdk-go 02:46:18 ---> Running in 35cc20aa830f 02:46:18 Removing intermediate container 35cc20aa830f 02:46:18 ---> df845e89e101 02:46:18 Step 7/8 : COPY . . 02:46:20 ---> 5e13de0896a8 02:46:20 Step 8/8 : RUN go mod download 02:46:20 ---> Running in 96dd2368ce22 02:46:42 Removing intermediate container 96dd2368ce22 02:46:42 ---> 41954786506c 02:46:42 Successfully built 41954786506c 02:46:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:42 + docker inspect -f . ci-base-image-arm64 02:46:42 . [Pipeline] withDockerContainer 02:46:43 prd-ubuntu18.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container 02:46:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:44 $ docker top f3bde348b7ff891305f92ba3be6d7836911c14bf030d91e68b5e0df14189973a -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:45 + go version 02:46:45 go version go1.15.5 linux/arm64 [Pipeline] } 02:46:45 $ docker stop --time=1 f3bde348b7ff891305f92ba3be6d7836911c14bf030d91e68b5e0df14189973a 02:46:47 $ docker rm -f f3bde348b7ff891305f92ba3be6d7836911c14bf030d91e68b5e0df14189973a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker inspect -f . ci-base-image-arm64 02:46:48 . [Pipeline] withDockerContainer 02:46:48 prd-ubuntu18.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container 02:46:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:50 $ docker top ea2d2e67624937bdb1698de63440ed58d981b99fd25e0e4353602d9145700975 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:51 + make test 02:46:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 19.4% of statements 02:48:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.442s coverage: 97.1% of statements 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.139s coverage: 9.4% of statements 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.137s coverage: 21.7% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.648s coverage: 43.6% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.850s coverage: 68.9% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.235s coverage: 53.8% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.191s coverage: 25.2% of statements 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.274s coverage: 83.5% of statements 02:48:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 4.2% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:34 GO111MODULE=on go vet ./... 02:49:06 gofmt -l . 02:49:06 [ "`gofmt -l .`" = "" ] 02:49:06 ./bin/test-attribution-txt.sh 02:49:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:07 $ docker stop --time=1 ea2d2e67624937bdb1698de63440ed58d981b99fd25e0e4353602d9145700975 02:49:09 $ docker rm -f ea2d2e67624937bdb1698de63440ed58d981b99fd25e0e4353602d9145700975 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:10 Warning: overwriting stash ‘coverage-report’ 02:49:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:13 + ls -al . 02:49:13 total 252 02:49:13 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 02:49 . 02:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 .. 02:49:13 -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 02:45 .dockerignore 02:49:13 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 02:45 .git 02:49:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:45 .github 02:49:13 -rw-rw-r-- 1 jenkins jenkins 138 Jan 30 02:45 .gitignore 02:49:13 -rw-rw-r-- 1 jenkins jenkins 949 Jan 30 02:45 Dockerfile.build 02:49:13 -rw-rw-r-- 1 jenkins jenkins 901 Jan 30 02:45 Jenkinsfile 02:49:13 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 02:45 LICENSE 02:49:13 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 30 02:45 Makefile 02:49:13 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 30 02:45 README.md 02:49:13 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 30 02:45 RELEASE-NOTES.txt 02:49:13 -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 02:42 VERSION 02:49:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:45 bin 02:49:13 -rw-r--r-- 1 jenkins jenkins 137333 Jan 30 02:48 coverage.out 02:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 example 02:49:13 -rw-r--r-- 1 jenkins jenkins 514 Jan 30 02:49 go.mod 02:49:13 -rw-r--r-- 1 jenkins jenkins 14191 Jan 30 02:49 go.sum 02:49:13 drwxrwxr-x 15 jenkins jenkins 4096 Jan 30 02:45 internal 02:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 openapi 02:49:13 drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 02:45 pkg 02:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:45 snap 02:49:13 -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:13 + 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=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 --label arch=arm64 --label version=0.0.0 . 02:49:13 Sending build context to Docker daemon 2.66MB 02:49:13 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:13 Step 2/24 : FROM ${BASE} AS builder 02:49:13 ---> 41954786506c 02:49:13 Step 3/24 : ARG MAKE='make build' 02:49:14 ---> Running in d168508c4e30 02:49:14 Removing intermediate container d168508c4e30 02:49:14 ---> 09575d5420f9 02:49:14 Step 4/24 : WORKDIR /device-sdk-go 02:49:14 ---> Running in d748333ac3df 02:49:15 Removing intermediate container d748333ac3df 02:49:15 ---> 6fa95a494233 02:49:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:15 ---> Running in 61b39e6a2a35 02:49:16 Removing intermediate container 61b39e6a2a35 02:49:16 ---> 8cd9fa70a8fe 02:49:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:16 ---> Running in d7b299115f5e 02:49:18 Removing intermediate container d7b299115f5e 02:49:18 ---> b5df24589227 02:49:18 Step 7/24 : RUN apk add --update --no-cache make git 02:49:18 ---> Running in c154c373e34d 02:49:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:21 OK: 142 MiB in 39 packages 02:49:22 Removing intermediate container c154c373e34d 02:49:22 ---> 628d452b4948 02:49:22 Step 8/24 : COPY . . 02:49:24 ---> f6a45da333ff 02:49:24 Step 9/24 : RUN ${MAKE} 02:49:24 ---> Running in a211875268b0 02:49:25 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:49:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:55 Removing intermediate container a211875268b0 02:49:55 ---> 3d10a8eee477 02:49:55 Step 10/24 : FROM scratch 02:49:55 ---> 02:49:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:55 ---> Running in f42abc4efae5 02:49:55 Removing intermediate container f42abc4efae5 02:49:55 ---> 73bd8e9ee872 02:49:55 Step 12/24 : ENV APP_PORT=49990 02:49:55 ---> Running in 634eed132255 02:49:56 Removing intermediate container 634eed132255 02:49:56 ---> 52172f36575c 02:49:56 Step 13/24 : EXPOSE $APP_PORT 02:49:56 ---> Running in 658d38a975a5 02:49:56 Removing intermediate container 658d38a975a5 02:49:56 ---> 07a93545db8c 02:49:56 Step 14/24 : WORKDIR / 02:49:57 ---> Running in 6e54846d56bc 02:49:57 Removing intermediate container 6e54846d56bc 02:49:57 ---> d48d5012bf9b 02:49:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:58 ---> 466103e1b082 02:49:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:59 ---> 1d2c2b4bbc78 02:49:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:00 ---> 82e255b5553f 02:50:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:00 ---> a817248e2287 02:50:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:01 ---> b4665ba268cc 02:50:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:02 ---> Running in 7ac5b43549d3 02:50:02 Removing intermediate container 7ac5b43549d3 02:50:02 ---> 1e4645b46303 02:50:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:02 ---> Running in d7dc08d77de8 02:50:03 Removing intermediate container d7dc08d77de8 02:50:03 ---> 1875e9bf6034 02:50:03 Step 22/24 : LABEL arch=arm64 02:50:03 ---> Running in 7d27acc6476d 02:50:03 Removing intermediate container 7d27acc6476d 02:50:03 ---> 98a47a2d5760 02:50:03 Step 23/24 : LABEL git_sha=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 02:50:03 ---> Running in c82e9a2eae2b 02:50:04 Removing intermediate container c82e9a2eae2b 02:50:04 ---> 634169ba0a94 02:50:04 Step 24/24 : LABEL version=0.0.0 02:50:04 ---> Running in 851c61a376e5 02:50:05 Removing intermediate container 851c61a376e5 02:50:05 ---> b6e2e6f7f9d1 02:50:05 [Warning] One or more build-args [ARCH] were not consumed 02:50:05 Successfully built b6e2e6f7f9d1 02:50:05 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:50:06 provisioning config files... 02:50:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config8789048800340475813tmp [Pipeline] { [Pipeline] sh 02:50:07 + set +x 02:50:07 + curl -s https://codecov.io/bash 02:50:07 + bash -s -- 02:50:07 02:50:07 _____ _ 02:50:07 / ____| | | 02:50:07 | | ___ __| | ___ ___ _____ __ 02:50:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:07 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:07 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:07 Bash-20210129-7c25fce 02:50:07 02:50:07 02:50:07 ==> git version 2.24.3 found 02:50:07 ==> 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:50:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:07 ==> Jenkins CI detected. 02:50:07 project root: . 02:50:07 --> token set from env 02:50:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:07 ==> Running gcov in . (disable via -X gcov) 02:50:07 ==> Python coveragepy not found 02:50:07 ==> Searching for coverage reports in: 02:50:07 + . 02:50:07 -> Found 1 reports 02:50:07 ==> Detecting git/mercurial file structure 02:50:07 ==> Reading reports 02:50:07 + ./coverage.out bytes=137333 02:50:07 ==> Appending adjustments 02:50:07 https://docs.codecov.io/docs/fixing-reports 02:50:07 + Found adjustments 02:50:07 ==> Gzipping contents 02:50:08 24K /tmp/codecov.DNsdz5.gz 02:50:08 ==> Uploading reports 02:50:08 url: https://codecov.io 02:50:08 query: branch=PR-753&commit=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 02:50:08 -> Pinging Codecov 02:50:08 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-753&commit=0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 02:50:08 -> Uploading to 02:50:08 https://storage.googleapis.com/codecov/v4/raw/2021-01-30/7E55EF52A471D76F132DFD9A03CDDE97/0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3/6117ab4e-2ab8-4172-aa7a-c9a6f5ffa22c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210130T025008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c94802883f9a68c43e886ee7c1f23b4785a503659d306e1b568bf3278be0f596 02:50:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:08 Dload Upload Total Spent Left Speed 02:50:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21656 0 0 100 21656 0 45706 --:--:-- --:--:-- --:--:-- 45784 02:50:08 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 [Pipeline] } 02:50:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:50:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:12 ---> package-listing.sh 02:50:12 ++ facter osfamily 02:50:12 ++ tr '[:upper:]' '[:lower:]' 02:50:12 + OS_FAMILY=redhat 02:50:12 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 02:50:12 + START_PACKAGES=/tmp/packages_start.txt 02:50:12 + END_PACKAGES=/tmp/packages_end.txt 02:50:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:12 + PACKAGES=/tmp/packages_start.txt 02:50:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' 02:50:12 + PACKAGES=/tmp/packages_end.txt 02:50:12 + case "${OS_FAMILY}" in 02:50:12 + rpm -qa 02:50:12 + sort 02:50:17 + '[' -f /tmp/packages_start.txt ']' 02:50:17 + '[' -f /tmp/packages_end.txt ']' 02:50:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' 02:50:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ 02:50:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [Pipeline] echo 02:50:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:18 02:50:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:18 alpine: Pulling from edgex-lftools-log-publisher 02:50:18 df20fa9351a1: Pulling fs layer 02:50:18 36b3adc4ff6f: Pulling fs layer 02:50:18 8ad3a11d3b57: Pulling fs layer 02:50:18 46f8f816bc3b: Pulling fs layer 02:50:18 93b61091891f: Pulling fs layer 02:50:18 93b9cdb0e59b: Pulling fs layer 02:50:18 5e14af77c1be: Pulling fs layer 02:50:18 01666e4c0597: Pulling fs layer 02:50:18 aa168da1d23b: Pulling fs layer 02:50:18 46f8f816bc3b: Waiting 02:50:18 93b61091891f: Waiting 02:50:18 93b9cdb0e59b: Waiting 02:50:18 5e14af77c1be: Waiting 02:50:18 01666e4c0597: Waiting 02:50:18 aa168da1d23b: Waiting 02:50:18 36b3adc4ff6f: Download complete 02:50:18 46f8f816bc3b: Verifying Checksum 02:50:18 46f8f816bc3b: Download complete 02:50:18 df20fa9351a1: Verifying Checksum 02:50:18 93b9cdb0e59b: Verifying Checksum 02:50:18 93b9cdb0e59b: Download complete 02:50:18 5e14af77c1be: Verifying Checksum 02:50:18 5e14af77c1be: Download complete 02:50:18 01666e4c0597: Verifying Checksum 02:50:18 01666e4c0597: Download complete 02:50:18 8ad3a11d3b57: Verifying Checksum 02:50:18 8ad3a11d3b57: Download complete 02:50:18 93b61091891f: Download complete 02:50:18 df20fa9351a1: Pull complete 02:50:19 36b3adc4ff6f: Pull complete 02:50:20 aa168da1d23b: Verifying Checksum 02:50:20 aa168da1d23b: Download complete 02:50:21 8ad3a11d3b57: Pull complete 02:50:21 46f8f816bc3b: Pull complete 02:50:21 93b61091891f: Pull complete 02:50:21 93b9cdb0e59b: Pull complete 02:50:21 5e14af77c1be: Pull complete 02:50:21 01666e4c0597: Pull complete 02:50:28 aa168da1d23b: Pull complete 02:50:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:28 prd-centos7-docker-4c-2g-24077 does not seem to be running inside a container 02:50:28 $ 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-753/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-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:31 $ docker top 8230efbe61ae8e7bb1b356a1ed973e1a854532b5f8950d4480fb9e5b3c1e0ab2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:32 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:32 + mkdir -p /var/log/sa [Pipeline] sh 02:50:33 + ls /var/log/sa-host 02:50:33 + sadf -c /var/log/sa-host/sa23 02:50:33 file_magic: OK 02:50:33 HZ: Using current value: 100 02:50:33 file_header: OK 02:50:33 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:50:33 Statistics: 02:50:33 Hnuu...uuuununununu... 02:50:33 File successfully converted to sysstat format version 12.2.1 02:50:33 + sadf -c /var/log/sa-host/sa30 02:50:33 file_magic: OK 02:50:33 HZ: Using current value: 100 02:50:33 file_header: OK 02:50:33 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:50:33 Statistics: 02:50:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:33 provisioning config files... 02:50:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config3169600645706072911tmp [Pipeline] { [Pipeline] echo 02:50:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> create-netrc.sh [Pipeline] } 02:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> python-tools-install.sh [Pipeline] echo 02:50:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:34 ---> sudo-logs.sh 02:50:34 Archiving 'sudo' log.. [Pipeline] echo 02:50:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:35 ---> job-cost.sh 02:50:35 lf-activate-venv: SKIPPING 02:50:35 INFO: No Stack... 02:50:36 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:36 INFO: Archiving Costs [Pipeline] echo 02:50:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:36 ---> logs-deploy.sh 02:50:36 lf-activate-venv: SKIPPING 02:50:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/4 02:50:36 INFO: archiving workspace using pattern(s): 02:50:37 Archives upload complete. 02:50:38 INFO: archiving logs to Nexus 02:50:39 ---> uname -a: 02:50:39 Linux prd-centos7-docker-4c-2g-24077.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:50:39 02:50:39 02:50:39 ---> lscpu: 02:50:39 Architecture: x86_64 02:50:39 CPU op-mode(s): 32-bit, 64-bit 02:50:39 Byte Order: Little Endian 02:50:39 Address sizes: 40 bits physical, 48 bits virtual 02:50:39 CPU(s): 4 02:50:39 On-line CPU(s) list: 0-3 02:50:39 Thread(s) per core: 1 02:50:39 Core(s) per socket: 1 02:50:39 Socket(s): 4 02:50:39 NUMA node(s): 1 02:50:39 Vendor ID: GenuineIntel 02:50:39 CPU family: 6 02:50:39 Model: 44 02:50:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:50:39 Stepping: 1 02:50:39 CPU MHz: 2933.442 02:50:39 BogoMIPS: 5866.88 02:50:39 Virtualization: VT-x 02:50:39 Hypervisor vendor: KVM 02:50:39 Virtualization type: full 02:50:39 L1d cache: 128 KiB 02:50:39 L1i cache: 128 KiB 02:50:39 L2 cache: 16 MiB 02:50:39 L3 cache: 64 MiB 02:50:39 NUMA node0 CPU(s): 0-3 02:50:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:50:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:50:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:50:39 Vulnerability Meltdown: Mitigation; PTI 02:50:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:50:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:50:39 Vulnerability Srbds: Not affected 02:50:39 Vulnerability Tsx async abort: Not affected 02:50:39 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:50:39 02:50:39 02:50:39 ---> nproc: 02:50:39 4 02:50:39 02:50:39 02:50:39 ---> df -h: 02:50:39 Filesystem Size Used Available Use% Mounted on 02:50:39 overlay 50.0G 7.3G 42.7G 15% / 02:50:39 tmpfs 64.0M 0 64.0M 0% /dev 02:50:39 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:50:39 shm 64.0M 0 64.0M 0% /dev/shm 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-753 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:50:39 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:50:39 02:50:39 02:50:39 ---> free -m: 02:50:39 total used free shared buff/cache available 02:50:39 Mem: 1837 717 96 0 1023 1015 02:50:39 Swap: 1023 1 1022 02:50:39 02:50:39 02:50:39 ---> ip addr: 02:50:39 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:50:39 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:50:39 inet 127.0.0.1/8 scope host lo 02:50:39 valid_lft forever preferred_lft forever 02:50:39 inet6 ::1/128 scope host 02:50:39 valid_lft forever preferred_lft forever 02:50:39 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:50:39 link/ether fa:16:3e:bb:1c:35 brd ff:ff:ff:ff:ff:ff 02:50:39 inet 10.30.123.225/23 brd 10.30.123.255 scope global dynamic eth0 02:50:39 valid_lft 85851sec preferred_lft 85851sec 02:50:39 inet6 fe80::f816:3eff:febb:1c35/64 scope link 02:50:39 valid_lft forever preferred_lft forever 02:50:39 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:50:39 link/ether 02:42:67:0b:35:3a brd ff:ff:ff:ff:ff:ff 02:50:39 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:50:39 valid_lft forever preferred_lft forever 02:50:39 inet6 fe80::42:67ff:fe0b:353a/64 scope link 02:50:39 valid_lft forever preferred_lft forever 02:50:39 02:50:39 02:50:39 ---> sar -b -r -n DEV: 02:50:39 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:50:39 02:50:39 02:41:19 LINUX RESTART (4 CPU) 02:50:39 02:50:39 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:39 02:43:01 41.63 11.98 29.64 0.00 4468.84 3245.97 0.00 02:50:39 02:44:01 0.42 0.00 0.42 0.00 0.00 7.26 0.00 02:50:39 02:45:01 0.32 0.00 0.32 0.00 0.00 3.63 0.00 02:50:39 02:46:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 02:50:39 02:47:01 0.25 0.00 0.25 0.00 0.00 3.27 0.00 02:50:39 02:48:01 0.32 0.00 0.32 0.00 0.00 4.21 0.00 02:50:39 02:49:01 0.22 0.00 0.22 0.00 0.00 2.20 0.00 02:50:39 02:50:01 0.25 0.00 0.25 0.00 0.00 2.93 0.00 02:50:39 Average: 5.46 1.50 3.96 0.00 558.97 409.30 0.00 02:50:39 02:50:39 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:39 02:43:01 156952 0 616736 32.78 2620 1105236 1112268 37.96 454552 1071320 24 02:50:39 02:44:01 162308 0 611372 32.49 2620 1105244 1094120 37.34 452712 1068460 8 02:50:39 02:45:01 162228 0 611448 32.50 2620 1105248 1077672 36.78 453100 1068556 12 02:50:39 02:46:01 162100 0 611576 32.50 2620 1105248 1077792 36.78 467044 1055216 8 02:50:39 02:47:01 157932 0 615736 32.73 2620 1105256 1077816 36.78 463328 1063264 24 02:50:39 02:48:01 158352 0 615312 32.70 2620 1105260 1077672 36.78 471240 1054652 12 02:50:39 02:49:01 157860 0 615800 32.73 2620 1105264 1077816 36.78 471784 1054648 8 02:50:39 02:50:01 158524 0 615132 32.69 2620 1105268 1077672 36.78 471176 1054648 8 02:50:39 Average: 159532 0 614139 32.64 2620 1105253 1084104 37.00 463117 1061346 13 02:50:39 02:50:39 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:39 02:43:01 eth0 300.35 216.03 576.71 141.15 0.00 0.00 0.00 0.00 02:50:39 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:43:01 docker0 7.87 5.83 1.20 21.82 0.00 0.00 0.00 0.00 02:50:39 02:44:01 eth0 2.08 0.93 1.02 0.63 0.00 0.00 0.00 0.00 02:50:39 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:45:01 eth0 0.70 0.07 0.06 0.01 0.00 0.00 0.00 0.00 02:50:39 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:46:01 eth0 1.88 0.33 0.38 0.20 0.00 0.00 0.00 0.00 02:50:39 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:47:01 eth0 1.17 0.70 0.67 0.43 0.00 0.00 0.00 0.00 02:50:39 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:48:01 eth0 0.62 0.07 0.06 0.04 0.00 0.00 0.00 0.00 02:50:39 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:49:01 eth0 0.53 0.28 0.27 0.20 0.00 0.00 0.00 0.00 02:50:39 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:50:01 eth0 0.07 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:39 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 Average: eth0 38.45 27.33 72.44 17.84 0.00 0.00 0.00 0.00 02:50:39 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:39 Average: docker0 0.98 0.73 0.15 2.73 0.00 0.00 0.00 0.00 02:50:39 02:50:39 02:50:39 ---> sar -P ALL: 02:50:39 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:50:39 02:50:39 02:41:19 LINUX RESTART (4 CPU) 02:50:39 02:50:39 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:50:39 02:43:01 all 4.42 0.00 2.18 0.89 0.03 92.47 02:50:39 02:43:01 0 4.71 0.00 2.79 0.87 0.03 91.59 02:50:39 02:43:01 1 3.34 0.00 2.00 1.11 0.03 93.52 02:50:39 02:43:01 2 4.87 0.00 2.05 0.92 0.03 92.12 02:50:39 02:43:01 3 4.77 0.00 1.86 0.67 0.03 92.66 02:50:39 02:44:01 all 0.18 0.00 0.04 0.00 0.00 99.78 02:50:39 02:44:01 0 0.10 0.00 0.03 0.00 0.00 99.87 02:50:39 02:44:01 1 0.55 0.00 0.03 0.00 0.00 99.42 02:50:39 02:44:01 2 0.03 0.00 0.05 0.00 0.00 99.92 02:50:39 02:44:01 3 0.03 0.00 0.05 0.00 0.00 99.92 02:50:39 02:45:01 all 0.15 0.00 0.04 0.00 0.00 99.81 02:50:39 02:45:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:50:39 02:45:01 1 0.48 0.00 0.05 0.00 0.00 99.47 02:50:39 02:45:01 2 0.07 0.00 0.03 0.00 0.00 99.90 02:50:39 02:45:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:50:39 02:46:01 all 0.17 0.00 0.03 0.00 0.00 99.80 02:50:39 02:46:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:50:39 02:46:01 1 0.60 0.00 0.03 0.00 0.00 99.37 02:50:39 02:46:01 2 0.03 0.00 0.07 0.00 0.00 99.90 02:50:39 02:46:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:50:39 02:47:01 all 0.10 0.00 0.05 0.00 0.00 99.85 02:50:39 02:47:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:50:39 02:47:01 1 0.32 0.00 0.08 0.00 0.00 99.60 02:50:39 02:47:01 2 0.03 0.00 0.05 0.00 0.02 99.90 02:50:39 02:47:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:50:39 02:48:01 all 0.15 0.00 0.03 0.00 0.00 99.81 02:50:39 02:48:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:50:39 02:48:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:50:39 02:48:01 2 0.05 0.00 0.08 0.00 0.00 99.87 02:50:39 02:48:01 3 0.02 0.00 0.00 0.00 0.02 99.97 02:50:39 02:49:01 all 0.15 0.00 0.04 0.00 0.00 99.80 02:50:39 02:49:01 0 0.07 0.00 0.02 0.00 0.00 99.92 02:50:39 02:49:01 1 0.47 0.00 0.07 0.00 0.00 99.47 02:50:39 02:49:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:50:39 02:49:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:50:39 02:50:01 all 0.05 0.00 0.04 0.00 0.00 99.90 02:50:39 02:50:01 0 0.00 0.00 0.00 0.00 0.00 100.00 02:50:39 02:50:01 1 0.18 0.00 0.07 0.00 0.02 99.73 02:50:39 02:50:01 2 0.02 0.00 0.03 0.00 0.00 99.95 02:50:39 02:50:01 3 0.02 0.00 0.05 0.00 0.00 99.93 02:50:39 Average: all 0.67 0.00 0.30 0.11 0.01 98.91 02:50:39 Average: 0 0.61 0.00 0.36 0.11 0.00 98.91 02:50:39 Average: 1 0.81 0.00 0.29 0.14 0.01 98.75 02:50:39 Average: 2 0.64 0.00 0.30 0.11 0.01 98.94 02:50:39 Average: 3 0.62 0.00 0.26 0.08 0.01 99.04 02:50:39 02:50:39 02:50:39