Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (07d8318f853f12152c98e72e810ff6b9413a426b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23654 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing e30a7378f0ab6bb06199e456d0048cf1f5d3005d Checking out Revision e30a7378f0ab6bb06199e456d0048cf1f5d3005d (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:03 ========================================================= 02:43:03 EdgeX Global Pipelines Version Info 02:43:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:05 ------------------- 02:43:05 stable info: 02:43:05 ------------------- 02:43:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:05 Message: update stable to v1.0.179 02:43:06 ------------------- 02:43:06 experimental info: 02:43:06 ------------------- 02:43:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:06 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e30a7378f0ab6bb06199e456d0048cf1f5d3005d [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e30a737 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:09 provisioning config files... 02:43:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5770753703970574380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:10 ---> docker-login.sh 02:43:10 nexus3.edgexfoundry.org:10001 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:10 Configure a credential helper to remove this warning. See 02:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:10 02:43:10 Login Succeeded 02:43:10 nexus3.edgexfoundry.org:10002 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:10 Configure a credential helper to remove this warning. See 02:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:10 02:43:10 Login Succeeded 02:43:10 nexus3.edgexfoundry.org:10003 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:10 Configure a credential helper to remove this warning. See 02:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:10 02:43:10 Login Succeeded 02:43:10 nexus3.edgexfoundry.org:10004 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:10 Configure a credential helper to remove this warning. See 02:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:10 02:43:10 Login Succeeded 02:43:10 docker.io 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 ---> docker-login.sh ends [Pipeline] } 02:43:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:12 + git log --format=format:%s -1 e30a7378f0ab6bb06199e456d0048cf1f5d3005d [Pipeline] echo 02:43:12 GIT_COMMIT: e30a7378f0ab6bb06199e456d0048cf1f5d3005d, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo 02:43:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:12 02:43:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:13 latest: Pulling from edgex-devops/git-semver 02:43:13 31603596830f: Pulling fs layer 02:43:13 2a8b12db71e7: Pulling fs layer 02:43:13 6ca5941a6612: Pulling fs layer 02:43:13 ecc8261a40a4: Pulling fs layer 02:43:13 ecc8261a40a4: Waiting 02:43:13 2a8b12db71e7: Verifying Checksum 02:43:13 2a8b12db71e7: Download complete 02:43:13 31603596830f: Verifying Checksum 02:43:13 31603596830f: Download complete 02:43:13 ecc8261a40a4: Verifying Checksum 02:43:13 ecc8261a40a4: Download complete 02:43:13 6ca5941a6612: Verifying Checksum 02:43:13 6ca5941a6612: Download complete 02:43:13 31603596830f: Pull complete 02:43:13 2a8b12db71e7: Pull complete 02:43:14 6ca5941a6612: Pull complete 02:43:14 ecc8261a40a4: Pull complete 02:43:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:14 prd-centos7-docker-4c-2g-23654 does not seem to be running inside a container 02:43:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:16 $ docker top a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:16 [ssh-agent] Looking for ssh-agent implementation... 02:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:16 $ docker exec a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent 02:43:17 SSH_AUTH_SOCK=/tmp/ssh-oypz8VgrQHTK/agent.12 02:43:17 SSH_AGENT_PID=17 02:43:17 Running ssh-add (command line suppressed) 02:43:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2842134944147577398.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2842134944147577398.key) 02:43:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:17 + git tag --points-at HEAD [Pipeline] } 02:43:17 $ docker exec --env ******** --env ******** a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent -k 02:43:17 unset SSH_AUTH_SOCK; 02:43:17 unset SSH_AGENT_PID; 02:43:17 echo Agent pid 17 killed; 02:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:17 [ssh-agent] Looking for ssh-agent implementation... 02:43:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:18 $ docker exec a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent 02:43:18 SSH_AUTH_SOCK=/tmp/ssh-FTlLyTRYmG4D/agent.45 02:43:18 SSH_AGENT_PID=51 02:43:18 Running ssh-add (command line suppressed) 02:43:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2702748668337873502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_2702748668337873502.key) 02:43:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:18 + git semver init 02:43:18 # -> Open(): unable to determine branch for HEAD 02:43:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:18 # $SEMVER_REMOTE_NAME = origin 02:43:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:18 # $SEMVER_USER_NAME = edgex-jenkins 02:43:18 # $SEMVER_BRANCH = PR-725 02:43:18 # $SEMVER_TEMP = /tmp/semver-469797463 02:43:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:19 # '/tmp/semver-469797463' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:19 # -> Force: false 02:43:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:19 $ docker exec --env ******** --env ******** a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 ssh-agent -k 02:43:19 unset SSH_AUTH_SOCK; 02:43:19 unset SSH_AGENT_PID; 02:43:19 echo Agent pid 51 killed; 02:43:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:20 + git semver [Pipeline] } 02:43:20 $ docker stop --time=1 a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 02:43:21 $ docker rm -f a7a58cccddb8ad344d3e6d5f36ffe93e60ee8ddc64e4f6f285158d2dfaba5461 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:23 Stashed 1 file(s) [Pipeline] echo 02:43: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:43:38 Still waiting to schedule task 02:43:38 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23657’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23649’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:38 Still waiting to schedule task 02:43:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:44:39 Running on prd-centos7-docker-4c-2g-23661 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:44:39 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:44:42 using credential edgex-jenkins-ssh 02:44:43 Cloning the remote Git repository 02:44:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:43 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:44:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:43 > git --version # timeout=10 02:44:43 > git --version # 'git version 2.24.3' 02:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:44 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:44:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:44 > git config core.sparsecheckout # timeout=10 02:44:44 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:44:44 > git remote # timeout=10 02:44:44 > git config --get remote.origin.url # timeout=10 02:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:44 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:44:44 Merge succeeded, producing faba9a0be271fc27c446a99f25d9e25382d2a2cd 02:44:44 Checking out Revision faba9a0be271fc27c446a99f25d9e25382d2a2cd (PR-725) 02:44:44 > git rev-parse HEAD^{commit} # timeout=10 02:44:44 > git config core.sparsecheckout # timeout=10 02:44:45 > git checkout -f faba9a0be271fc27c446a99f25d9e25382d2a2cd # timeout=10 02:44:48 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:44:48 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:48 > git rev-list --no-walk 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 02:44:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:50 + sudo service docker restart 02:44:50 + true 02:44:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:51 provisioning config files... 02:44:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config1918451086922963067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:51 ---> docker-login.sh 02:44:51 nexus3.edgexfoundry.org:10001 02:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:52 Configure a credential helper to remove this warning. See 02:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:52 02:44:52 Login Succeeded 02:44:52 nexus3.edgexfoundry.org:10002 02:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:52 Configure a credential helper to remove this warning. See 02:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:52 02:44:52 Login Succeeded 02:44:52 nexus3.edgexfoundry.org:10003 02:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:52 Configure a credential helper to remove this warning. See 02:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:52 02:44:52 Login Succeeded 02:44:52 nexus3.edgexfoundry.org:10004 02:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:53 Configure a credential helper to remove this warning. See 02:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:53 02:44:53 Login Succeeded 02:44:53 docker.io 02:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:53 Configure a credential helper to remove this warning. See 02:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:53 02:44:53 Login Succeeded 02:44:53 ---> docker-login.sh ends [Pipeline] } 02:44:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:53 ========================================================= 02:44:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:44:54 Sending build context to Docker daemon 2.575MB 02:44:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:54 Step 2/8 : FROM ${BASE} 02:44:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:54 188c0c94c7c5: Pulling fs layer 02:44:54 0ef7d3d256c8: Pulling fs layer 02:44:54 de9db76c5a1d: Pulling fs layer 02:44:54 bca2f99d35d6: Pulling fs layer 02:44:54 93359f2a8cfa: Pulling fs layer 02:44:54 7c6f9722023f: Pulling fs layer 02:44:54 a35cf1a2eb13: Pulling fs layer 02:44:54 93359f2a8cfa: Waiting 02:44:54 7c6f9722023f: Waiting 02:44:54 a35cf1a2eb13: Waiting 02:44:54 bca2f99d35d6: Waiting 02:44:54 de9db76c5a1d: Verifying Checksum 02:44:54 de9db76c5a1d: Download complete 02:44:54 0ef7d3d256c8: Verifying Checksum 02:44:54 0ef7d3d256c8: Download complete 02:44:54 93359f2a8cfa: Verifying Checksum 02:44:54 93359f2a8cfa: Download complete 02:44:54 7c6f9722023f: Verifying Checksum 02:44:54 7c6f9722023f: Download complete 02:44:54 188c0c94c7c5: Verifying Checksum 02:44:54 188c0c94c7c5: Download complete 02:44:55 188c0c94c7c5: Pull complete 02:44:55 0ef7d3d256c8: Pull complete 02:44:55 de9db76c5a1d: Pull complete 02:44:57 a35cf1a2eb13: Verifying Checksum 02:44:57 a35cf1a2eb13: Download complete 02:44:59 bca2f99d35d6: Verifying Checksum 02:44:59 bca2f99d35d6: Download complete 02:45:04 bca2f99d35d6: Pull complete 02:45:04 93359f2a8cfa: Pull complete 02:45:05 7c6f9722023f: Pull complete 02:45:15 a35cf1a2eb13: Pull complete 02:45:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:15 ---> a62c8e92a672 02:45:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:15 ---> Running in e389876584ec 02:45:15 Removing intermediate container e389876584ec 02:45:15 ---> f676574eabd4 02:45:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:15 ---> Running in b541e5c6edfc 02:45:15 Removing intermediate container b541e5c6edfc 02:45:15 ---> 8c5a0e9b6d04 02:45:15 Step 5/8 : RUN apk add --update --no-cache make git 02:45:15 ---> Running in 038fb3dfc67a 02:45:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:19 OK: 166 MiB in 39 packages 02:45:19 Removing intermediate container 038fb3dfc67a 02:45:19 ---> eccd5ff906f5 02:45:19 Step 6/8 : WORKDIR /device-sdk-go 02:45:19 ---> Running in d41f6a9aa7ba 02:45:19 Removing intermediate container d41f6a9aa7ba 02:45:19 ---> cf7c67fe26bf 02:45:19 Step 7/8 : COPY . . 02:45:21 ---> f816e75b6cc3 02:45:21 Step 8/8 : RUN go mod download 02:45:21 ---> Running in b4af6b4ab718 02:45:43 Removing intermediate container b4af6b4ab718 02:45:43 ---> 6edb4ed1e657 02:45:43 Successfully built 6edb4ed1e657 02:45:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:43 + docker inspect -f . ci-base-image-x86_64 02:45:43 . [Pipeline] withDockerContainer 02:45:43 prd-centos7-docker-4c-2g-23661 does not seem to be running inside a container 02:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:44 $ docker top f3e31ef94066febfe13d2b61a11eb9b895137b62063b8dea4128465d71e7540e -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:45 + go version 02:45:45 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:45 $ docker stop --time=1 f3e31ef94066febfe13d2b61a11eb9b895137b62063b8dea4128465d71e7540e 02:45:46 $ docker rm -f f3e31ef94066febfe13d2b61a11eb9b895137b62063b8dea4128465d71e7540e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:47 + docker inspect -f . ci-base-image-x86_64 02:45:47 . [Pipeline] withDockerContainer 02:45:47 prd-centos7-docker-4c-2g-23661 does not seem to be running inside a container 02:45:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:48 $ docker top fdc9399ce575c6ade9f416aaf1e74176f5d73686f9abb0dc3d90fd355db62c57 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:48 + make test 02:45:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements 02:46:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.533s coverage: 97.1% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.069s coverage: 9.4% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.319s coverage: 43.2% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.338s coverage: 68.9% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 53.8% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 26.8% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.828s coverage: 83.5% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.082s coverage: 4.2% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:43 GO111MODULE=on go vet ./... 02:46:56 gofmt -l . 02:46:56 [ "`gofmt -l .`" = "" ] 02:46:56 ./bin/test-attribution-txt.sh 02:46:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:56 $ docker stop --time=1 fdc9399ce575c6ade9f416aaf1e74176f5d73686f9abb0dc3d90fd355db62c57 02:46:58 $ docker rm -f fdc9399ce575c6ade9f416aaf1e74176f5d73686f9abb0dc3d90fd355db62c57 02:46:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23664 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws 02:46:58 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:46:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:02 + ls -al . 02:47:02 total 216 02:47:02 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:46 . 02:47:02 drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:44 .. 02:47:02 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:44 bin 02:47:02 -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 02:46 coverage.out 02:47:02 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:44 Dockerfile.build 02:47:02 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:44 .dockerignore 02:47:02 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:44 example 02:47:02 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:44 .git 02:47:02 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:44 .github 02:47:02 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:44 .gitignore 02:47:02 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 02:46 go.mod 02:47:02 -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 02:46 go.sum 02:47:02 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 02:44 internal 02:47:02 -rw-rw-r--. 1 jenkins jenkins 894 Jan 28 02:44 Jenkinsfile 02:47:02 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:44 LICENSE 02:47:02 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:44 Makefile 02:47:02 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:44 openapi 02:47:02 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:44 pkg 02:47:02 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:44 README.md 02:47:02 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:44 RELEASE-NOTES.txt 02:47:02 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:44 snap 02:47:02 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:43 VERSION 02:47:02 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:03 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e30a7378f0ab6bb06199e456d0048cf1f5d3005d --label arch=amd64 --label version=0.0.0 . 02:47:03 Sending build context to Docker daemon 2.713MB 02:47:03 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:03 Step 2/24 : FROM ${BASE} AS builder 02:47:03 ---> 6edb4ed1e657 02:47:03 Step 3/24 : ARG MAKE='make build' 02:47:03 ---> Running in 8b7273d22aed 02:47:03 Removing intermediate container 8b7273d22aed 02:47:03 ---> 42d823924ade 02:47:03 Step 4/24 : WORKDIR /device-sdk-go 02:47:04 ---> Running in f90c5843e678 02:47:04 Removing intermediate container f90c5843e678 02:47:04 ---> 2445f99a50bc 02:47:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:04 ---> Running in 3463a93cb54c 02:47:04 Removing intermediate container 3463a93cb54c 02:47:04 ---> d241b111e587 02:47:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:04 ---> Running in 4030a11efbf2 02:47:05 Removing intermediate container 4030a11efbf2 02:47:05 ---> 6f586fa568de 02:47:05 Step 7/24 : RUN apk add --update --no-cache make git 02:47:05 ---> Running in bc0c1315ca14 02:47:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:06 using credential edgex-jenkins-ssh 02:47:06 Cloning the remote Git repository 02:47:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:06 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:47:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:06 > git --version # timeout=10 02:47:07 > git --version # 'git version 2.17.1' 02:47:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:09 OK: 166 MiB in 39 packages 02:47:09 Removing intermediate container bc0c1315ca14 02:47:09 ---> 22ddfaa305d5 02:47:09 Step 8/24 : COPY . . 02:47:10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:47:10 Merge succeeded, producing cb34ad71e52921d99d90ae215712b12a0d015ca8 02:47:10 Checking out Revision cb34ad71e52921d99d90ae215712b12a0d015ca8 (PR-725) 02:47:10 ---> 1c24a833bcad 02:47:10 Step 9/24 : RUN ${MAKE} 02:47:10 ---> Running in fe216d44b624 02:47:10 > git config core.sparsecheckout # timeout=10 02:47:10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:47:10 > git remote # timeout=10 02:47:10 > git config --get remote.origin.url # timeout=10 02:47:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:10 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:47:10 > git rev-parse HEAD^{commit} # timeout=10 02:47:10 > git config core.sparsecheckout # timeout=10 02:47:10 > git checkout -f cb34ad71e52921d99d90ae215712b12a0d015ca8 # timeout=10 02:47:11 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:47:15 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:47:15 First time build. Skipping changelog. 02:47:15 > git rev-list --no-walk 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:18 + true 02:47:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:20 provisioning config files... 02:47:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config4824207563525283340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:21 ---> docker-login.sh 02:47:21 nexus3.edgexfoundry.org:10001 02:47:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:22 Removing intermediate container fe216d44b624 02:47:22 ---> aa3384996a8f 02:47:22 Step 10/24 : FROM scratch 02:47:22 ---> 02:47:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:22 ---> Running in 6d44f0ba5466 02:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:22 Configure a credential helper to remove this warning. See 02:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:22 02:47:22 Login Succeeded 02:47:22 nexus3.edgexfoundry.org:10002 02:47:22 Removing intermediate container 6d44f0ba5466 02:47:22 ---> 3e298d212449 02:47:22 Step 12/24 : ENV APP_PORT=49990 02:47:22 ---> Running in f699ae3a9652 02:47:22 Removing intermediate container f699ae3a9652 02:47:22 ---> 32dbd4f9f65b 02:47:22 Step 13/24 : EXPOSE $APP_PORT 02:47:23 ---> Running in faf089c994f4 02:47:23 Removing intermediate container faf089c994f4 02:47:23 ---> 8bef38a84cfc 02:47:23 Step 14/24 : WORKDIR / 02:47:23 ---> Running in 7325aba4018d 02:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:23 Configure a credential helper to remove this warning. See 02:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:23 02:47:23 Login Succeeded 02:47:23 nexus3.edgexfoundry.org:10003 02:47:23 Removing intermediate container 7325aba4018d 02:47:23 ---> fa0f0b1498d3 02:47:23 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:23 ---> dc96c7c56a89 02:47:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:24 Configure a credential helper to remove this warning. See 02:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:24 02:47:24 Login Succeeded 02:47:24 nexus3.edgexfoundry.org:10004 02:47:24 ---> a4810358fd1d 02:47:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:24 ---> 56d2bf53a6fe 02:47:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:24 ---> 3a460fd688a0 02:47:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:24 Configure a credential helper to remove this warning. See 02:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:24 02:47:24 Login Succeeded 02:47:24 docker.io 02:47:24 ---> 2a670e20a091 02:47:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:24 ---> Running in 598f06a9f0a9 02:47:24 Removing intermediate container 598f06a9f0a9 02:47:24 ---> e3921bf8fb11 02:47:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:25 ---> Running in 5fcff3a73266 02:47:25 Removing intermediate container 5fcff3a73266 02:47:25 ---> d7260c931766 02:47:25 Step 22/24 : LABEL arch=amd64 02:47:25 ---> Running in 772da946621f 02:47:25 Removing intermediate container 772da946621f 02:47:25 ---> 6e822ca96ad7 02:47:25 Step 23/24 : LABEL git_sha=e30a7378f0ab6bb06199e456d0048cf1f5d3005d 02:47:25 ---> Running in 94c1d0a7f89f 02:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:25 Configure a credential helper to remove this warning. See 02:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:25 02:47:25 Login Succeeded 02:47:25 ---> docker-login.sh ends [Pipeline] } 02:47:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 02:47:25 Removing intermediate container 94c1d0a7f89f 02:47:25 ---> a755e199acee 02:47:25 Step 24/24 : LABEL version=0.0.0 02:47:25 ---> Running in bae76a75078f [Pipeline] unstash 02:47:26 Removing intermediate container bae76a75078f 02:47:26 ---> e9830cb9e11c 02:47:26 [Warning] One or more build-args [ARCH] were not consumed 02:47:26 Successfully built e9830cb9e11c 02:47:26 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] echo 02:47:26 ========================================================= 02:47:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:26 ========================================================= [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 02:47:26 + 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 . Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 02:47:27 Sending build context to Docker daemon 2.583MB 02:47:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:27 Step 2/8 : FROM ${BASE} 02:47:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:27 5f621e34cdf4: Pulling fs layer 02:47:27 a4357932f1b6: Pulling fs layer 02:47:27 18c013af1878: Pulling fs layer 02:47:27 00ac8860ef70: Pulling fs layer 02:47:27 63d7cb157983: Pulling fs layer 02:47:27 b116817d02f9: Pulling fs layer 02:47:27 745a02a5169b: Pulling fs layer 02:47:27 63d7cb157983: Waiting 02:47:27 b116817d02f9: Waiting 02:47:27 745a02a5169b: Waiting 02:47:27 00ac8860ef70: Waiting 02:47:27 18c013af1878: Download complete 02:47:27 a4357932f1b6: Verifying Checksum 02:47:27 a4357932f1b6: Download complete 02:47:27 63d7cb157983: Verifying Checksum 02:47:27 63d7cb157983: Download complete [Pipeline] // stage [Pipeline] } 02:47:27 b116817d02f9: Verifying Checksum 02:47:27 b116817d02f9: Download complete 02:47:27 5f621e34cdf4: Verifying Checksum 02:47:27 5f621e34cdf4: Download complete 02:47:28 5f621e34cdf4: Pull complete 02:47:29 a4357932f1b6: Pull complete 02:47:29 18c013af1878: Pull complete 02:47:30 745a02a5169b: Verifying Checksum 02:47:30 745a02a5169b: Download complete 02:47:32 00ac8860ef70: Verifying Checksum 02:47:32 00ac8860ef70: Download complete 02:47:42 00ac8860ef70: Pull complete 02:47:42 63d7cb157983: Pull complete 02:47:42 b116817d02f9: Pull complete 02:47:45 745a02a5169b: Pull complete 02:47:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:45 ---> b7e6874047d6 02:47:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:49 ---> Running in e382d0ce1875 02:47:49 Removing intermediate container e382d0ce1875 02:47:49 ---> 03620fb8f635 02:47:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:49 ---> Running in 58d305bd2c29 02:47:52 Removing intermediate container 58d305bd2c29 02:47:52 ---> dcf223570002 02:47:52 Step 5/8 : RUN apk add --update --no-cache make git 02:47:52 ---> Running in 7f79526d1e6a 02:47:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:56 OK: 142 MiB in 39 packages 02:47:57 Removing intermediate container 7f79526d1e6a 02:47:57 ---> d3ba52063ca7 02:47:57 Step 6/8 : WORKDIR /device-sdk-go 02:47:57 ---> Running in 201f1323fabe 02:47:58 Removing intermediate container 201f1323fabe 02:47:58 ---> a36083419d8c 02:47:58 Step 7/8 : COPY . . 02:47:59 ---> d3a35c9b324d 02:47:59 Step 8/8 : RUN go mod download 02:47:59 ---> Running in aadcaa605ca7 02:48:26 Removing intermediate container aadcaa605ca7 02:48:26 ---> fd005ed3c1d3 02:48:26 Successfully built fd005ed3c1d3 02:48:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:26 + docker inspect -f . ci-base-image-arm64 02:48:26 . [Pipeline] withDockerContainer 02:48:27 prd-ubuntu18.04-docker-arm64-4c-16g-23664 does not seem to be running inside a container 02:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:28 $ docker top 65502e0b47c81335b3bbe667c64e195772f5d07c1b4111af7c3534cb3f6993ff -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:30 + go version 02:48:30 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:30 $ docker stop --time=1 65502e0b47c81335b3bbe667c64e195772f5d07c1b4111af7c3534cb3f6993ff 02:48:32 $ docker rm -f 65502e0b47c81335b3bbe667c64e195772f5d07c1b4111af7c3534cb3f6993ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:33 + docker inspect -f . ci-base-image-arm64 02:48:33 . [Pipeline] withDockerContainer 02:48:33 prd-ubuntu18.04-docker-arm64-4c-16g-23664 does not seem to be running inside a container 02:48:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:35 $ docker top f7a94ddaedfd58b9a8458a871b5891fd91feb0c95353e4d62d33807db746c82a -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:36 + make test 02:48:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.224s coverage: 19.4% of statements 02:49:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.287s coverage: 97.1% of statements 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.207s coverage: 9.4% of statements 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.165s coverage: 21.7% of statements 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.611s coverage: 43.2% of statements 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.753s coverage: 68.9% of statements 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.178s coverage: 26.8% of statements 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.921s coverage: 83.5% of statements 02:50:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 4.2% of statements 02:50:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:20 GO111MODULE=on go vet ./... 02:50:53 gofmt -l . 02:50:53 [ "`gofmt -l .`" = "" ] 02:50:53 ./bin/test-attribution-txt.sh 02:50:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:53 $ docker stop --time=1 f7a94ddaedfd58b9a8458a871b5891fd91feb0c95353e4d62d33807db746c82a 02:50:55 $ docker rm -f f7a94ddaedfd58b9a8458a871b5891fd91feb0c95353e4d62d33807db746c82a [Pipeline] // withDockerContainer [Pipeline] sh 02:50:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:56 Warning: overwriting stash ‘coverage-report’ 02:50:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:58 + ls -al . 02:50:58 total 252 02:50:58 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:50 . 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 .. 02:50:58 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:47 .dockerignore 02:50:58 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:47 .git 02:50:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:47 .github 02:50:58 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:47 .gitignore 02:50:58 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:47 Dockerfile.build 02:50:58 -rw-rw-r-- 1 jenkins jenkins 894 Jan 28 02:47 Jenkinsfile 02:50:58 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:47 LICENSE 02:50:58 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:47 Makefile 02:50:58 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:47 README.md 02:50:58 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:47 RELEASE-NOTES.txt 02:50:58 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:43 VERSION 02:50:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:47 bin 02:50:58 -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 02:50 coverage.out 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 example 02:50:58 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 02:50 go.mod 02:50:58 -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 02:50 go.sum 02:50:58 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 02:47 internal 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 openapi 02:50:58 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:47 pkg 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:47 snap 02:50:58 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:59 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e30a7378f0ab6bb06199e456d0048cf1f5d3005d --label arch=arm64 --label version=0.0.0 . 02:50:59 Sending build context to Docker daemon 2.72MB 02:50:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:59 Step 2/24 : FROM ${BASE} AS builder 02:50:59 ---> fd005ed3c1d3 02:50:59 Step 3/24 : ARG MAKE='make build' 02:50:59 ---> Running in f639a9edbffb 02:51:00 Removing intermediate container f639a9edbffb 02:51:00 ---> 9007e7315bc5 02:51:00 Step 4/24 : WORKDIR /device-sdk-go 02:51:00 ---> Running in fd974f001376 02:51:00 Removing intermediate container fd974f001376 02:51:00 ---> f0cc4a5ac202 02:51:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:00 ---> Running in e0e4ae9d07c3 02:51:01 Removing intermediate container e0e4ae9d07c3 02:51:01 ---> ad53e537147f 02:51:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:01 ---> Running in 83740c7622fa 02:51:03 Removing intermediate container 83740c7622fa 02:51:03 ---> d6cee35fd0f6 02:51:03 Step 7/24 : RUN apk add --update --no-cache make git 02:51:03 ---> Running in 848cc042eef1 02:51:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:06 OK: 142 MiB in 39 packages 02:51:07 Removing intermediate container 848cc042eef1 02:51:07 ---> 3ef2c9914d25 02:51:07 Step 8/24 : COPY . . 02:51:08 ---> 61598831f7db 02:51:08 Step 9/24 : RUN ${MAKE} 02:51:08 ---> Running in 4127d8bb56c1 02:51:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:51:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:36 Removing intermediate container 4127d8bb56c1 02:51:36 ---> 4f242b7e7c5e 02:51:36 Step 10/24 : FROM scratch 02:51:36 ---> 02:51:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:36 ---> Running in de5ae8a398fa 02:51:36 Removing intermediate container de5ae8a398fa 02:51:36 ---> 543ffb6aae18 02:51:36 Step 12/24 : ENV APP_PORT=49990 02:51:36 ---> Running in fde34669a9e6 02:51:37 Removing intermediate container fde34669a9e6 02:51:37 ---> 6be03e466229 02:51:37 Step 13/24 : EXPOSE $APP_PORT 02:51:37 ---> Running in d0e1a7dd073b 02:51:37 Removing intermediate container d0e1a7dd073b 02:51:37 ---> 72754b1c8a8d 02:51:37 Step 14/24 : WORKDIR / 02:51:38 ---> Running in 578d537d0ca9 02:51:38 Removing intermediate container 578d537d0ca9 02:51:38 ---> ce70d760c250 02:51:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:39 ---> 4bb5774e7c07 02:51:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:40 ---> 46cd57e9f065 02:51:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:41 ---> 5b71e800af3f 02:51:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:41 ---> 8db9187f4ed6 02:51:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:42 ---> f7ad3aa30eab 02:51:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:42 ---> Running in 9f5190f146ed 02:51:42 Removing intermediate container 9f5190f146ed 02:51:42 ---> bb3353a67076 02:51:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:43 ---> Running in cbf6e6b92804 02:51:43 Removing intermediate container cbf6e6b92804 02:51:43 ---> e5e72c05b6c4 02:51:43 Step 22/24 : LABEL arch=arm64 02:51:43 ---> Running in ca41bc243504 02:51:43 Removing intermediate container ca41bc243504 02:51:43 ---> f2ff42cd3525 02:51:43 Step 23/24 : LABEL git_sha=e30a7378f0ab6bb06199e456d0048cf1f5d3005d 02:51:44 ---> Running in fd828c7717fb 02:51:44 Removing intermediate container fd828c7717fb 02:51:44 ---> e4b3fb5b23dd 02:51:44 Step 24/24 : LABEL version=0.0.0 02:51:44 ---> Running in 941dff780000 02:51:44 Removing intermediate container 941dff780000 02:51:44 ---> d02e288d0e6b 02:51:44 [Warning] One or more build-args [ARCH] were not consumed 02:51:44 Successfully built d02e288d0e6b 02:51:44 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:51:46 provisioning config files... 02:51:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5771593515249142254tmp [Pipeline] { [Pipeline] sh 02:51:46 + set +x 02:51:46 + curl -s https://codecov.io/bash 02:51:46 + bash -s -- 02:51:46 02:51:46 _____ _ 02:51:46 / ____| | | 02:51:46 | | ___ __| | ___ ___ _____ __ 02:51:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:46 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:46 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:46 Bash-20210128-d4071a2 02:51:46 02:51:46 02:51:46 ==> git version 2.24.3 found 02:51:46 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:51:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:46 ==> Jenkins CI detected. 02:51:46 project root: . 02:51:46 --> token set from env 02:51:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:46 ==> Running gcov in . (disable via -X gcov) 02:51:46 ==> Python coveragepy not found 02:51:46 ==> Searching for coverage reports in: 02:51:46 + . 02:51:46 -> Found 1 reports 02:51:46 ==> Detecting git/mercurial file structure 02:51:46 ==> Reading reports 02:51:46 + ./coverage.out bytes=136842 02:51:46 ==> Appending adjustments 02:51:46 https://docs.codecov.io/docs/fixing-reports 02:51:47 + Found adjustments 02:51:47 ==> Gzipping contents 02:51:47 24K /tmp/codecov.H6pVRt.gz 02:51:47 ==> Uploading reports 02:51:47 url: https://codecov.io 02:51:47 query: branch=PR-725&commit=e30a7378f0ab6bb06199e456d0048cf1f5d3005d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:47 -> Pinging Codecov 02:51:47 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-725&commit=e30a7378f0ab6bb06199e456d0048cf1f5d3005d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:47 -> Uploading to 02:51:47 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/e30a7378f0ab6bb06199e456d0048cf1f5d3005d/74cc6fca-e3de-40cf-af54-ceebd601e47a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=702e80cf654325b058ad37c08958ee270d0390b2990e50dcbc6cc2ebb182239c 02:51:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:47 Dload Upload Total Spent Left Speed 02:51:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21550 0 0 100 21550 0 53886 --:--:-- --:--:-- --:--:-- 53875 02:51:48 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e30a7378f0ab6bb06199e456d0048cf1f5d3005d [Pipeline] } 02:51:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:51:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:50 ---> package-listing.sh 02:51:50 ++ facter osfamily 02:51:50 ++ tr '[:upper:]' '[:lower:]' 02:51:50 + OS_FAMILY=redhat 02:51:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:51:50 + START_PACKAGES=/tmp/packages_start.txt 02:51:50 + END_PACKAGES=/tmp/packages_end.txt 02:51:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:50 + PACKAGES=/tmp/packages_start.txt 02:51:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:50 + PACKAGES=/tmp/packages_end.txt 02:51:50 + case "${OS_FAMILY}" in 02:51:50 + rpm -qa 02:51:50 + sort 02:51:56 + '[' -f /tmp/packages_start.txt ']' 02:51:56 + '[' -f /tmp/packages_end.txt ']' 02:51:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:51:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:51:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:56 02:51:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:57 alpine: Pulling from edgex-lftools-log-publisher 02:51:57 df20fa9351a1: Pulling fs layer 02:51:57 36b3adc4ff6f: Pulling fs layer 02:51:57 8ad3a11d3b57: Pulling fs layer 02:51:57 46f8f816bc3b: Pulling fs layer 02:51:57 93b61091891f: Pulling fs layer 02:51:57 93b9cdb0e59b: Pulling fs layer 02:51:57 5e14af77c1be: Pulling fs layer 02:51:57 01666e4c0597: Pulling fs layer 02:51:57 aa168da1d23b: Pulling fs layer 02:51:57 93b61091891f: Waiting 02:51:57 5e14af77c1be: Waiting 02:51:57 93b9cdb0e59b: Waiting 02:51:57 46f8f816bc3b: Waiting 02:51:57 aa168da1d23b: Waiting 02:51:57 36b3adc4ff6f: Verifying Checksum 02:51:57 36b3adc4ff6f: Download complete 02:51:57 46f8f816bc3b: Verifying Checksum 02:51:57 46f8f816bc3b: Download complete 02:51:57 df20fa9351a1: Verifying Checksum 02:51:57 df20fa9351a1: Download complete 02:51:57 93b9cdb0e59b: Verifying Checksum 02:51:57 93b9cdb0e59b: Download complete 02:51:57 93b61091891f: Verifying Checksum 02:51:57 93b61091891f: Download complete 02:51:57 5e14af77c1be: Verifying Checksum 02:51:57 5e14af77c1be: Download complete 02:51:57 01666e4c0597: Verifying Checksum 02:51:57 01666e4c0597: Download complete 02:51:57 df20fa9351a1: Pull complete 02:51:57 36b3adc4ff6f: Pull complete 02:51:57 8ad3a11d3b57: Verifying Checksum 02:51:57 8ad3a11d3b57: Download complete 02:51:58 8ad3a11d3b57: Pull complete 02:51:58 46f8f816bc3b: Pull complete 02:51:59 93b61091891f: Pull complete 02:51:59 93b9cdb0e59b: Pull complete 02:51:59 5e14af77c1be: Pull complete 02:51:59 aa168da1d23b: Verifying Checksum 02:51:59 aa168da1d23b: Download complete 02:52:00 01666e4c0597: Pull complete 02:52:06 aa168da1d23b: Pull complete 02:52:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:06 prd-centos7-docker-4c-2g-23654 does not seem to be running inside a container 02:52:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:10 $ docker top 252ac6f62b20dffa192dd0ec96db0721b7518eb3a58b7b2d8cd8adea9eda8e96 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:10 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:10 + mkdir -p /var/log/sa [Pipeline] sh 02:52:11 + ls /var/log/sa-host 02:52:11 + sadf -c /var/log/sa-host/sa23 02:52:11 file_magic: OK 02:52:11 HZ: Using current value: 100 02:52:11 file_header: OK 02:52:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:11 Statistics: 02:52:11 Hnuu...uuuununununu... 02:52:11 File successfully converted to sysstat format version 12.2.1 02:52:11 + sadf -c /var/log/sa-host/sa28 02:52:11 file_magic: OK 02:52:11 HZ: Using current value: 100 02:52:11 file_header: OK 02:52:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:11 Statistics: 02:52:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:11 provisioning config files... 02:52:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1339467210728255642tmp [Pipeline] { [Pipeline] echo 02:52:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:11 ---> create-netrc.sh [Pipeline] } 02:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:12 ---> python-tools-install.sh [Pipeline] echo 02:52:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:12 ---> sudo-logs.sh 02:52:12 Archiving 'sudo' log.. [Pipeline] echo 02:52:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:12 ---> job-cost.sh 02:52:12 lf-activate-venv: SKIPPING 02:52:12 INFO: No Stack... 02:52:13 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:14 INFO: Archiving Costs [Pipeline] echo 02:52:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:14 ---> logs-deploy.sh 02:52:14 lf-activate-venv: SKIPPING 02:52:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/9 02:52:14 INFO: archiving workspace using pattern(s): 02:52:16 Archives upload complete. 02:52:16 INFO: archiving logs to Nexus 02:52:17 ---> uname -a: 02:52:17 Linux prd-centos7-docker-4c-2g-23654.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:52:17 02:52:17 02:52:17 ---> lscpu: 02:52:17 Architecture: x86_64 02:52:17 CPU op-mode(s): 32-bit, 64-bit 02:52:17 Byte Order: Little Endian 02:52:17 Address sizes: 40 bits physical, 48 bits virtual 02:52:17 CPU(s): 4 02:52:17 On-line CPU(s) list: 0-3 02:52:17 Thread(s) per core: 1 02:52:17 Core(s) per socket: 1 02:52:17 Socket(s): 4 02:52:17 NUMA node(s): 1 02:52:17 Vendor ID: GenuineIntel 02:52:17 CPU family: 6 02:52:17 Model: 44 02:52:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:17 Stepping: 1 02:52:17 CPU MHz: 2933.442 02:52:17 BogoMIPS: 5866.88 02:52:17 Virtualization: VT-x 02:52:17 Hypervisor vendor: KVM 02:52:17 Virtualization type: full 02:52:17 L1d cache: 128 KiB 02:52:17 L1i cache: 128 KiB 02:52:17 L2 cache: 16 MiB 02:52:17 L3 cache: 64 MiB 02:52:17 NUMA node0 CPU(s): 0-3 02:52:17 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:17 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:17 Vulnerability Meltdown: Mitigation; PTI 02:52:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:17 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:17 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:17 Vulnerability Srbds: Not affected 02:52:17 Vulnerability Tsx async abort: Not affected 02:52:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:52:17 02:52:17 02:52:17 ---> nproc: 02:52:17 4 02:52:17 02:52:17 02:52:17 ---> df -h: 02:52:17 Filesystem Size Used Available Use% Mounted on 02:52:17 overlay 50.0G 7.3G 42.7G 15% / 02:52:17 tmpfs 64.0M 0 64.0M 0% /dev 02:52:17 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:17 shm 64.0M 0 64.0M 0% /dev/shm 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:52:17 02:52:17 02:52:17 ---> free -m: 02:52:17 total used free shared buff/cache available 02:52:17 Mem: 1837 687 96 0 1053 1045 02:52:17 Swap: 1023 1 1022 02:52:17 02:52:17 02:52:17 ---> ip addr: 02:52:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:17 inet 127.0.0.1/8 scope host lo 02:52:17 valid_lft forever preferred_lft forever 02:52:17 inet6 ::1/128 scope host 02:52:17 valid_lft forever preferred_lft forever 02:52:17 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:17 link/ether fa:16:3e:0d:cc:2f brd ff:ff:ff:ff:ff:ff 02:52:17 inet 10.30.123.39/23 brd 10.30.123.255 scope global dynamic eth0 02:52:17 valid_lft 85813sec preferred_lft 85813sec 02:52:17 inet6 fe80::f816:3eff:fe0d:cc2f/64 scope link 02:52:17 valid_lft forever preferred_lft forever 02:52:17 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:17 link/ether 02:42:80:b8:ff:a2 brd ff:ff:ff:ff:ff:ff 02:52:17 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:17 valid_lft forever preferred_lft forever 02:52:17 inet6 fe80::42:80ff:feb8:ffa2/64 scope link 02:52:17 valid_lft forever preferred_lft forever 02:52:17 02:52:17 02:52:17 ---> sar -b -r -n DEV: 02:52:17 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:52:17 02:52:17 02:42:19 LINUX RESTART (4 CPU) 02:52:17 02:52:17 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:17 02:44:01 36.77 12.39 24.39 0.00 4421.24 3148.03 0.00 02:52:17 02:45:01 1.72 0.00 1.72 0.00 0.00 35.89 0.00 02:52:17 02:46:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 02:52:17 02:47:01 0.22 0.00 0.22 0.00 0.00 3.10 0.00 02:52:17 02:48:01 0.17 0.00 0.17 0.00 0.00 2.38 0.00 02:52:17 02:49:01 0.75 0.00 0.75 0.00 0.00 9.44 0.00 02:52:17 02:50:01 0.55 0.00 0.55 0.00 0.00 5.70 0.00 02:52:17 02:51:01 0.70 0.00 0.70 0.00 0.00 7.56 0.00 02:52:17 02:52:02 70.83 48.13 22.69 0.00 4181.16 7258.81 0.00 02:52:17 Average: 12.46 6.74 5.72 0.00 956.89 1165.62 0.00 02:52:17 02:52:17 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:17 02:44:01 149476 0 583632 31.02 2620 1145816 1095048 37.37 368248 1164288 12 02:52:17 02:45:01 151528 0 581572 30.91 2620 1145824 1089020 37.17 368648 1162076 8 02:52:17 02:46:01 153472 0 579624 30.81 2620 1145828 1073624 36.64 375400 1154188 8 02:52:17 02:47:01 152296 0 580796 30.87 2620 1145832 1073904 36.65 377080 1153676 8 02:52:17 02:48:01 152164 0 580924 30.87 2620 1145836 1073916 36.65 383776 1147664 16 02:52:17 02:49:01 152780 0 580300 30.84 2620 1145844 1072828 36.61 383576 1147388 8 02:52:17 02:50:01 153348 0 579732 30.81 2620 1145844 1064604 36.33 383220 1147056 8 02:52:17 02:51:01 153292 0 579784 30.81 2620 1145848 1064604 36.33 383224 1147056 8 02:52:17 02:52:02 79176 0 685600 36.44 2620 1114148 1492316 50.93 543480 1029084 69308 02:52:17 Average: 144170 0 592440 31.49 2620 1142313 1122207 38.30 396295 1139164 7709 02:52:17 02:52:17 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:17 02:44:01 eth0 182.07 136.42 477.18 50.01 0.00 0.00 0.00 0.00 02:52:17 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:44:01 docker0 10.47 7.92 1.37 23.73 0.00 0.00 0.00 0.00 02:52:17 02:45:01 eth0 2.78 0.62 0.72 0.40 0.00 0.00 0.00 0.00 02:52:17 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:46:01 eth0 2.45 0.57 0.66 0.40 0.00 0.00 0.00 0.00 02:52:17 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:47:01 eth0 1.12 0.35 0.33 0.17 0.00 0.00 0.00 0.00 02:52:17 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:48:01 eth0 1.25 0.68 0.73 0.49 0.00 0.00 0.00 0.00 02:52:17 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:49:01 eth0 0.20 0.10 0.07 0.01 0.00 0.00 0.00 0.00 02:52:17 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:50:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:17 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:51:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:17 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:52:02 eth0 219.59 179.56 2166.69 18.30 0.00 0.00 0.00 0.00 02:52:17 02:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 02:52:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 Average: eth0 45.58 35.43 294.57 7.76 0.00 0.00 0.00 0.00 02:52:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:17 Average: docker0 1.16 0.88 0.15 2.64 0.00 0.00 0.00 0.00 02:52:17 02:52:17 02:52:17 ---> sar -P ALL: 02:52:17 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:52:17 02:52:17 02:42:19 LINUX RESTART (4 CPU) 02:52:17 02:52:17 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:52:17 02:44:01 all 3.39 0.00 2.02 0.65 0.03 93.91 02:52:17 02:44:01 0 3.46 0.00 2.23 1.95 0.03 92.33 02:52:17 02:44:01 1 3.57 0.00 2.04 0.22 0.05 94.12 02:52:17 02:44:01 2 2.98 0.00 2.28 0.25 0.03 94.45 02:52:17 02:44:01 3 3.55 0.00 1.51 0.20 0.02 94.73 02:52:17 02:45:01 all 0.15 0.00 0.05 0.00 0.00 99.80 02:52:17 02:45:01 0 0.07 0.00 0.07 0.00 0.00 99.87 02:52:17 02:45:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:52:17 02:45:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:52:17 02:45:01 3 0.45 0.00 0.03 0.00 0.00 99.52 02:52:17 02:46:01 all 0.15 0.00 0.05 0.00 0.00 99.80 02:52:17 02:46:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:52:17 02:46:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:52:17 02:46:01 2 0.07 0.00 0.03 0.00 0.00 99.90 02:52:17 02:46:01 3 0.48 0.00 0.07 0.00 0.00 99.45 02:52:17 02:47:01 all 0.17 0.00 0.02 0.00 0.00 99.81 02:52:17 02:47:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:52:17 02:47:01 1 0.05 0.00 0.02 0.00 0.00 99.93 02:52:17 02:47:01 2 0.27 0.00 0.02 0.00 0.00 99.72 02:52:17 02:47:01 3 0.32 0.00 0.03 0.00 0.00 99.65 02:52:17 02:48:01 all 0.24 0.00 0.04 0.00 0.00 99.72 02:52:17 02:48:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:52:17 02:48:01 1 0.05 0.00 0.07 0.00 0.00 99.88 02:52:17 02:48:01 2 0.85 0.00 0.03 0.00 0.00 99.12 02:52:17 02:48:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:52:17 02:49:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:52:17 02:49:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:52:17 02:49:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:52:17 02:49:01 2 0.53 0.00 0.05 0.00 0.00 99.42 02:52:17 02:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:52:17 02:50:01 all 0.10 0.00 0.04 0.00 0.00 99.86 02:52:17 02:50:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:52:17 02:50:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:52:17 02:50:01 2 0.32 0.00 0.07 0.00 0.00 99.62 02:52:17 02:50:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:52:17 02:51:01 all 0.03 0.00 0.03 0.00 0.00 99.94 02:52:17 02:51:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:52:17 02:51:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:52:17 02:51:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:52:17 02:51:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:52:17 02:52:02 all 3.50 0.00 1.89 1.40 0.02 93.19 02:52:17 02:52:02 0 3.45 0.00 2.08 1.63 0.02 92.83 02:52:17 02:52:02 1 3.38 0.00 1.74 2.72 0.02 92.14 02:52:17 02:52:02 2 4.46 0.00 2.00 1.16 0.02 92.37 02:52:17 02:52:02 3 2.71 0.00 1.76 0.08 0.03 95.42 02:52:17 Average: all 0.87 0.00 0.46 0.23 0.01 98.43 02:52:17 Average: 0 0.79 0.00 0.50 0.40 0.01 98.31 02:52:17 Average: 1 0.80 0.00 0.45 0.33 0.01 98.42 02:52:17 Average: 2 1.06 0.00 0.50 0.16 0.01 98.28 02:52:17 Average: 3 0.85 0.00 0.39 0.03 0.01 98.73 02:52:17 02:52:17 02:52:17