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+3aea893206dfece0cb943228d650ae216607898f (20ffa600fe1a9e59c2c28db45705beb5e6e6a7f4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24261 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 3aea893206dfece0cb943228d650ae216607898f into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 7c02c64c2daf04df6211f93624a24cb3be82836f Checking out Revision 7c02c64c2daf04df6211f93624a24cb3be82836f (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 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c02c64c2daf04df6211f93624a24cb3be82836f # timeout=10 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 [Pipeline] timeout 02:42:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:46 ========================================================= 02:42:46 EdgeX Global Pipelines Version Info 02:42:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:48 ------------------- 02:42:48 stable info: 02:42:48 ------------------- 02:42:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:48 Message: update stable to v1.0.179 02:42:49 ------------------- 02:42:49 experimental info: 02:42:49 ------------------- 02:42:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:49 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:49 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c02c64c2daf04df6211f93624a24cb3be82836f [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c02c64 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:54 provisioning config files... 02:42:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8948805817012915459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:54 ---> docker-login.sh 02:42:54 nexus3.edgexfoundry.org:10001 02:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:55 Configure a credential helper to remove this warning. See 02:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:55 02:42:55 Login Succeeded 02:42:55 nexus3.edgexfoundry.org:10002 02:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:55 Configure a credential helper to remove this warning. See 02:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:55 02:42:55 Login Succeeded 02:42:55 nexus3.edgexfoundry.org:10003 02:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:55 Configure a credential helper to remove this warning. See 02:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:55 02:42:55 Login Succeeded 02:42:55 nexus3.edgexfoundry.org:10004 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 docker.io 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 ---> docker-login.sh ends [Pipeline] } 02:42:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:57 + git log --format=format:%s -1 7c02c64c2daf04df6211f93624a24cb3be82836f [Pipeline] echo 02:42:57 GIT_COMMIT: 7c02c64c2daf04df6211f93624a24cb3be82836f, Commit Message: Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD [Pipeline] echo 02:42:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:58 02:42:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:58 latest: Pulling from edgex-devops/git-semver 02:42:58 31603596830f: Pulling fs layer 02:42:58 2a8b12db71e7: Pulling fs layer 02:42:58 6ca5941a6612: Pulling fs layer 02:42:58 ecc8261a40a4: Pulling fs layer 02:42:58 ecc8261a40a4: Waiting 02:42:58 2a8b12db71e7: Verifying Checksum 02:42:58 2a8b12db71e7: Download complete 02:42:58 31603596830f: Verifying Checksum 02:42:58 31603596830f: Download complete 02:42:58 ecc8261a40a4: Verifying Checksum 02:42:58 ecc8261a40a4: Download complete 02:42:58 6ca5941a6612: Download complete 02:42:58 31603596830f: Pull complete 02:42:59 2a8b12db71e7: Pull complete 02:42:59 6ca5941a6612: Pull complete 02:43:00 ecc8261a40a4: Pull complete 02:43:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:00 prd-centos7-docker-4c-2g-24261 does not seem to be running inside a container 02:43:00 $ 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:02 $ docker top ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:03 [ssh-agent] Looking for ssh-agent implementation... 02:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:03 $ docker exec ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent 02:43:03 SSH_AUTH_SOCK=/tmp/ssh-DW7N4PqK7vUz/agent.11 02:43:03 SSH_AGENT_PID=16 02:43:03 Running ssh-add (command line suppressed) 02:43:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8923623653627025833.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8923623653627025833.key) 02:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:04 + git tag --points-at HEAD [Pipeline] } 02:43:04 $ docker exec --env ******** --env ******** ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent -k 02:43:04 unset SSH_AUTH_SOCK; 02:43:04 unset SSH_AGENT_PID; 02:43:04 echo Agent pid 16 killed; 02:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:04 [ssh-agent] Looking for ssh-agent implementation... 02:43:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:04 $ docker exec ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent 02:43:04 SSH_AUTH_SOCK=/tmp/ssh-iT4cLCyd92QB/agent.46 02:43:04 SSH_AGENT_PID=51 02:43:04 Running ssh-add (command line suppressed) 02:43:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1486096487582772152.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1486096487582772152.key) 02:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:05 + git semver init 02:43:05 # -> Open(): unable to determine branch for HEAD 02:43:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:05 # $SEMVER_REMOTE_NAME = origin 02:43:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:05 # $SEMVER_USER_NAME = edgex-jenkins 02:43:05 # $SEMVER_BRANCH = PR-725 02:43:05 # $SEMVER_TEMP = /tmp/semver-608454802 02:43:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:05 # '/tmp/semver-608454802' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:05 # -> Force: false 02:43:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:05 $ docker exec --env ******** --env ******** ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 ssh-agent -k 02:43:06 unset SSH_AUTH_SOCK; 02:43:06 unset SSH_AGENT_PID; 02:43:06 echo Agent pid 51 killed; 02:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:06 + git semver [Pipeline] } 02:43:06 $ docker stop --time=1 ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 02:43:08 $ docker rm -f ae46d95842f5d4fe04119b190c0c4499e348b15f503479fe4a6cb71394df5982 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:09 Stashed 1 file(s) [Pipeline] echo 02:43:09 [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:24 Still waiting to schedule task 02:43:24 ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24264’ is offline 02:43:24 Still waiting to schedule task 02:43:24 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24257’ 02:46:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24269 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:46:23 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 02:46:28 using credential edgex-jenkins-ssh 02:46:28 Cloning the remote Git repository 02:46:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:28 > git init /w/workspace/device-sdk-go/11 # timeout=10 02:46:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:28 > git --version # timeout=10 02:46:28 > git --version # 'git version 2.17.1' 02:46:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:30 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:30 > git config core.sparsecheckout # timeout=10 02:46:30 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:30 > git remote # timeout=10 02:46:31 Merge succeeded, producing 543eef2e2f4ed6f901abb74cbc3592275be45a9a 02:46:31 Checking out Revision 543eef2e2f4ed6f901abb74cbc3592275be45a9a (PR-725) 02:46:30 > git config --get remote.origin.url # timeout=10 02:46:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:30 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 02:46:31 > git rev-parse HEAD^{commit} # timeout=10 02:46:31 > git config core.sparsecheckout # timeout=10 02:46:31 > git checkout -f 543eef2e2f4ed6f901abb74cbc3592275be45a9a # timeout=10 02:46:35 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" 02:46:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:35 > git rev-list --no-walk 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 02:46:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:37 + sudo service docker restart 02:46:37 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:39 provisioning config files... 02:46:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config2351719038522581090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:40 ---> docker-login.sh 02:46:40 nexus3.edgexfoundry.org:10001 02:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:41 Configure a credential helper to remove this warning. See 02:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:41 02:46:41 Login Succeeded 02:46:41 nexus3.edgexfoundry.org:10002 02:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:42 Configure a credential helper to remove this warning. See 02:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:42 02:46:42 Login Succeeded 02:46:42 nexus3.edgexfoundry.org:10003 02:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:42 Configure a credential helper to remove this warning. See 02:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:42 02:46:42 Login Succeeded 02:46:42 nexus3.edgexfoundry.org:10004 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 docker.io 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:44 ---> docker-login.sh ends [Pipeline] } 02:46:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:44 ========================================================= 02:46:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:45 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:46:45 Sending build context to Docker daemon 2.51MB 02:46:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:45 Step 2/8 : FROM ${BASE} 02:46:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:45 5f621e34cdf4: Pulling fs layer 02:46:45 a4357932f1b6: Pulling fs layer 02:46:45 18c013af1878: Pulling fs layer 02:46:45 00ac8860ef70: Pulling fs layer 02:46:45 63d7cb157983: Pulling fs layer 02:46:45 b116817d02f9: Pulling fs layer 02:46:45 745a02a5169b: Pulling fs layer 02:46:45 00ac8860ef70: Waiting 02:46:45 63d7cb157983: Waiting 02:46:45 b116817d02f9: Waiting 02:46:45 745a02a5169b: Waiting 02:46:45 18c013af1878: Verifying Checksum 02:46:45 18c013af1878: Download complete 02:46:45 a4357932f1b6: Verifying Checksum 02:46:45 a4357932f1b6: Download complete 02:46:45 63d7cb157983: Verifying Checksum 02:46:45 63d7cb157983: Download complete 02:46:45 b116817d02f9: Verifying Checksum 02:46:45 b116817d02f9: Download complete 02:46:45 5f621e34cdf4: Verifying Checksum 02:46:45 5f621e34cdf4: Download complete 02:46:46 5f621e34cdf4: Pull complete 02:46:47 a4357932f1b6: Pull complete 02:46:47 745a02a5169b: Download complete 02:46:47 18c013af1878: Pull complete 02:46:49 00ac8860ef70: Verifying Checksum 02:46:49 00ac8860ef70: Download complete 02:47:00 00ac8860ef70: Pull complete 02:47:00 63d7cb157983: Pull complete 02:47:00 b116817d02f9: Pull complete 02:47:03 745a02a5169b: Pull complete 02:47:03 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:03 ---> b7e6874047d6 02:47:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:06 ---> Running in d92be7fcfbdb 02:47:06 Removing intermediate container d92be7fcfbdb 02:47:06 ---> e29800bf57cf 02:47:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:06 ---> Running in 3f9b3e87aaf8 02:47:09 Removing intermediate container 3f9b3e87aaf8 02:47:09 ---> 1e863f5570bf 02:47:09 Step 5/8 : RUN apk add --update --no-cache make git 02:47:09 ---> Running in 6991a851baf3 02:47:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:17 OK: 142 MiB in 39 packages 02:47:17 Removing intermediate container 6991a851baf3 02:47:17 ---> 74d92c1a6e00 02:47:17 Step 6/8 : WORKDIR /device-sdk-go 02:47:18 ---> Running in 385954686f82 02:47:18 Removing intermediate container 385954686f82 02:47:18 ---> e1e8fe30bf1d 02:47:18 Step 7/8 : COPY . . 02:47:20 ---> dc6541c6ba13 02:47:20 Step 8/8 : RUN go mod download 02:47:20 ---> Running in c2f430ff9a6c 02:47:47 Removing intermediate container c2f430ff9a6c 02:47:47 ---> 55d17ba36e4c 02:47:47 Successfully built 55d17ba36e4c 02:47:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:47 + docker inspect -f . ci-base-image-arm64 02:47:47 . [Pipeline] withDockerContainer 02:47:47 prd-ubuntu18.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container 02:47:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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:47:49 $ docker top 00da0b8c574b7c3cab308443190c3b286fd2a8a7c9cc5efce976c8313b710e1d -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:50 + go version 02:47:50 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:50 $ docker stop --time=1 00da0b8c574b7c3cab308443190c3b286fd2a8a7c9cc5efce976c8313b710e1d 02:47:52 $ docker rm -f 00da0b8c574b7c3cab308443190c3b286fd2a8a7c9cc5efce976c8313b710e1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:53 + docker inspect -f . ci-base-image-arm64 02:47:53 . [Pipeline] withDockerContainer 02:47:54 prd-ubuntu18.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container 02:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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:47:55 $ docker top 53b9403db4128acca314bcbb684fae5206359f1709b6c5161430c667bf3474f4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:56 + make test 02:47:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 19.4% of statements 02:49:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.215s coverage: 97.1% of statements 02:49:12 Running on prd-centos7-docker-4c-2g-24270 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:49:12 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 02:49:15 using credential edgex-jenkins-ssh 02:49:15 Cloning the remote Git repository 02:49:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:49:15 > git init /w/workspace/device-sdk-go/11 # timeout=10 02:49:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:15 > git --version # timeout=10 02:49:15 > git --version # 'git version 2.24.3' 02:49:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:16 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:49:17 Merge succeeded, producing 267ce53eecf1fc02c7954d697c9f9c7da405952e 02:49:17 Checking out Revision 267ce53eecf1fc02c7954d697c9f9c7da405952e (PR-725) 02:49:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:16 > 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:49:16 > git config core.sparsecheckout # timeout=10 02:49:16 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:49:16 > git remote # timeout=10 02:49:16 > git config --get remote.origin.url # timeout=10 02:49:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:16 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 02:49:16 > git rev-parse HEAD^{commit} # timeout=10 02:49:16 > git config core.sparsecheckout # timeout=10 02:49:16 > git checkout -f 267ce53eecf1fc02c7954d697c9f9c7da405952e # timeout=10 02:49:20 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" 02:49:20 First time build. Skipping changelog. 02:49:20 > git rev-list --no-walk 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:49:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:49:22 + sudo service docker restart 02:49:22 + true 02:49:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:49:23 provisioning config files... 02:49:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config8869808812390281723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:23 ---> docker-login.sh 02:49:23 nexus3.edgexfoundry.org:10001 02:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:24 Configure a credential helper to remove this warning. See 02:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:24 02:49:24 Login Succeeded 02:49:24 nexus3.edgexfoundry.org:10002 02:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:24 Configure a credential helper to remove this warning. See 02:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:24 02:49:24 Login Succeeded 02:49:24 nexus3.edgexfoundry.org:10003 02:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:24 Configure a credential helper to remove this warning. See 02:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:24 02:49:24 Login Succeeded 02:49:24 nexus3.edgexfoundry.org:10004 02:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:25 Configure a credential helper to remove this warning. See 02:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:25 02:49:25 Login Succeeded 02:49:25 docker.io 02:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:25 Configure a credential helper to remove this warning. See 02:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:25 02:49:25 Login Succeeded 02:49:25 ---> docker-login.sh ends [Pipeline] } 02:49:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:49:25 ========================================================= 02:49:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:49:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:49:26 + 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:49:26 Sending build context to Docker daemon 2.511MB 02:49:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:49:26 Step 2/8 : FROM ${BASE} 02:49:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:49:26 188c0c94c7c5: Pulling fs layer 02:49:26 0ef7d3d256c8: Pulling fs layer 02:49:26 de9db76c5a1d: Pulling fs layer 02:49:26 bca2f99d35d6: Pulling fs layer 02:49:26 93359f2a8cfa: Pulling fs layer 02:49:26 7c6f9722023f: Pulling fs layer 02:49:26 a35cf1a2eb13: Pulling fs layer 02:49:26 7c6f9722023f: Waiting 02:49:26 bca2f99d35d6: Waiting 02:49:26 a35cf1a2eb13: Waiting 02:49:26 93359f2a8cfa: Waiting 02:49:26 de9db76c5a1d: Verifying Checksum 02:49:26 de9db76c5a1d: Download complete 02:49:26 0ef7d3d256c8: Verifying Checksum 02:49:26 0ef7d3d256c8: Download complete 02:49:26 188c0c94c7c5: Verifying Checksum 02:49:26 188c0c94c7c5: Download complete 02:49:26 7c6f9722023f: Verifying Checksum 02:49:26 7c6f9722023f: Download complete 02:49:26 188c0c94c7c5: Pull complete 02:49:26 0ef7d3d256c8: Pull complete 02:49:26 de9db76c5a1d: Pull complete 02:49:27 93359f2a8cfa: Download complete 02:49:28 a35cf1a2eb13: Verifying Checksum 02:49:28 a35cf1a2eb13: Download complete 02:49:29 bca2f99d35d6: Verifying Checksum 02:49:29 bca2f99d35d6: Download complete 02:49:35 bca2f99d35d6: Pull complete 02:49:35 93359f2a8cfa: Pull complete 02:49:35 7c6f9722023f: Pull complete 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 9.4% of statements 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.178s coverage: 21.7% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.659s coverage: 43.6% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.775s coverage: 68.9% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.197s coverage: 53.8% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.168s coverage: 25.2% of statements 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.952s coverage: 83.5% of statements 02:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 4.2% of statements 02:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:37 GO111MODULE=on go vet ./... 02:49:41 a35cf1a2eb13: Pull complete 02:49:41 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:49:41 ---> a62c8e92a672 02:49:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:41 ---> Running in 09ad1a096d55 02:49:41 Removing intermediate container 09ad1a096d55 02:49:41 ---> b0a0e4014d69 02:49:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:41 ---> Running in c71fcd9defb3 02:49:42 Removing intermediate container c71fcd9defb3 02:49:42 ---> 491c438fd2e8 02:49:42 Step 5/8 : RUN apk add --update --no-cache make git 02:49:42 ---> Running in c925c0db95eb 02:49:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:44 OK: 166 MiB in 39 packages 02:49:45 Removing intermediate container c925c0db95eb 02:49:45 ---> 50903c0ea495 02:49:45 Step 6/8 : WORKDIR /device-sdk-go 02:49:45 ---> Running in 5c8fc191ea0a 02:49:45 Removing intermediate container 5c8fc191ea0a 02:49:45 ---> 4cf3c3af8f47 02:49:45 Step 7/8 : COPY . . 02:49:46 ---> 178a5eb257ce 02:49:46 Step 8/8 : RUN go mod download 02:49:46 ---> Running in dba79b462bb7 02:50:08 Removing intermediate container dba79b462bb7 02:50:08 ---> 46e24b2a6de2 02:50:08 Successfully built 46e24b2a6de2 02:50:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:50:09 + docker inspect -f . ci-base-image-x86_64 02:50:09 . [Pipeline] withDockerContainer 02:50:09 prd-centos7-docker-4c-2g-24270 does not seem to be running inside a container 02:50:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:50:10 $ docker top 028f56e270a2ceb7e77c261fc384fbde1bd16ba456dd176c2164072a38ca6a6e -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:11 + go version 02:50:11 go version go1.15.5 linux/amd64 [Pipeline] } 02:50:11 $ docker stop --time=1 028f56e270a2ceb7e77c261fc384fbde1bd16ba456dd176c2164072a38ca6a6e 02:50:13 $ docker rm -f 028f56e270a2ceb7e77c261fc384fbde1bd16ba456dd176c2164072a38ca6a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:14 + docker inspect -f . ci-base-image-x86_64 02:50:14 . [Pipeline] withDockerContainer 02:50:14 prd-centos7-docker-4c-2g-24270 does not seem to be running inside a container 02:50:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:50:14 $ docker top e3502325bf4d66d2d46eec86599914a6ce2cdc98331acf61a5755d1d089a7c6b -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:15 + make test 02:50:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:50:16 gofmt -l . 02:50:16 [ "`gofmt -l .`" = "" ] 02:50:16 ./bin/test-attribution-txt.sh 02:50:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:16 $ docker stop --time=1 53b9403db4128acca314bcbb684fae5206359f1709b6c5161430c667bf3474f4 02:50:19 $ docker rm -f 53b9403db4128acca314bcbb684fae5206359f1709b6c5161430c667bf3474f4 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:23 + ls -al . 02:50:23 total 252 02:50:23 drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 02:50 . 02:50:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 .. 02:50:23 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 02:46 .dockerignore 02:50:23 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 02:46 .git 02:50:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:46 .github 02:50:23 -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 02:46 .gitignore 02:50:23 -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 02:46 Dockerfile.build 02:50:23 -rw-rw-r-- 1 jenkins jenkins 894 Feb 1 02:46 Jenkinsfile 02:50:23 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 02:46 LICENSE 02:50:23 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 02:46 Makefile 02:50:23 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 02:46 README.md 02:50:23 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 02:46 RELEASE-NOTES.txt 02:50:23 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 02:43 VERSION 02:50:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:46 bin 02:50:23 -rw-r--r-- 1 jenkins jenkins 137332 Feb 1 02:49 coverage.out 02:50:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 example 02:50:23 -rw-r--r-- 1 jenkins jenkins 514 Feb 1 02:50 go.mod 02:50:23 -rw-r--r-- 1 jenkins jenkins 14191 Feb 1 02:50 go.sum 02:50:23 drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 02:46 internal 02:50:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 openapi 02:50:23 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 02:46 pkg 02:50:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:46 snap 02:50:23 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:23 + 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=7c02c64c2daf04df6211f93624a24cb3be82836f --label arch=arm64 --label version=0.0.0 . 02:50:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:24 Sending build context to Docker daemon 2.649MB 02:50:24 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:24 Step 2/24 : FROM ${BASE} AS builder 02:50:24 ---> 55d17ba36e4c 02:50:24 Step 3/24 : ARG MAKE='make build' 02:50:24 ---> Running in a1c513e29ac4 02:50:25 Removing intermediate container a1c513e29ac4 02:50:25 ---> cf00a7be804a 02:50:25 Step 4/24 : WORKDIR /device-sdk-go 02:50:25 ---> Running in dac7d05ce729 02:50:25 Removing intermediate container dac7d05ce729 02:50:25 ---> 72d073dfb135 02:50:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:25 ---> Running in bb9ff37c8aec 02:50:26 Removing intermediate container bb9ff37c8aec 02:50:26 ---> 771f70e9bca2 02:50:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:26 ---> Running in db93b63f02c0 02:50:28 Removing intermediate container db93b63f02c0 02:50:28 ---> d5597d3cdb6e 02:50:28 Step 7/24 : RUN apk add --update --no-cache make git 02:50:28 ---> Running in 594ba54d0646 02:50:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:31 OK: 142 MiB in 39 packages 02:50:32 Removing intermediate container 594ba54d0646 02:50:32 ---> 9c42298904b3 02:50:32 Step 8/24 : COPY . . 02:50:33 ---> 94ebec82b7a7 02:50:33 Step 9/24 : RUN ${MAKE} 02:50:33 ---> Running in 149897c1ae38 02:50:34 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:50:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 19.4% of statements 02:50:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.469s coverage: 97.1% of statements 02:51:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:03 Removing intermediate container 149897c1ae38 02:51:03 ---> b875400b9cdd 02:51:03 Step 10/24 : FROM scratch 02:51:03 ---> 02:51:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:03 ---> Running in 01098581a518 02:51:03 Removing intermediate container 01098581a518 02:51:03 ---> 450521c7076d 02:51:03 Step 12/24 : ENV APP_PORT=49990 02:51:03 ---> Running in a9bdc37cfa06 02:51:04 Removing intermediate container a9bdc37cfa06 02:51:04 ---> d5b2b7ff9f8d 02:51:04 Step 13/24 : EXPOSE $APP_PORT 02:51:04 ---> Running in fe420194f4cc 02:51:04 Removing intermediate container fe420194f4cc 02:51:04 ---> 7bf8c8a8c815 02:51:04 Step 14/24 : WORKDIR / 02:51:04 ---> Running in f83c3a6099e1 02:51:05 Removing intermediate container f83c3a6099e1 02:51:05 ---> a56408db30cb 02:51:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:06 ---> 0d173f73d67a 02:51:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:07 ---> bf8e70c9d07d 02:51:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:07 ---> 4a91ff3848cd 02:51:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:08 ---> 834a430d7cfe 02:51:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:09 ---> 9f6c34b73625 02:51:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:09 ---> Running in 0bbda7fadbdf 02:51:10 Removing intermediate container 0bbda7fadbdf 02:51:10 ---> 8b6167cfec52 02:51:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:10 ---> Running in 0dbd9d1be833 02:51:10 Removing intermediate container 0dbd9d1be833 02:51:10 ---> 35fc26240b99 02:51:10 Step 22/24 : LABEL arch=arm64 02:51:10 ---> Running in 559b34245f74 02:51:11 Removing intermediate container 559b34245f74 02:51:11 ---> 3a7eaca5fd58 02:51:11 Step 23/24 : LABEL git_sha=7c02c64c2daf04df6211f93624a24cb3be82836f 02:51:11 ---> Running in f3a2205e4ffc 02:51:11 Removing intermediate container f3a2205e4ffc 02:51:11 ---> c21daf8a1c3c 02:51:11 Step 24/24 : LABEL version=0.0.0 02:51:11 ---> Running in 4304f1a83b8c 02:51:12 Removing intermediate container 4304f1a83b8c 02:51:12 ---> e4d185be3f2f 02:51:12 [Warning] One or more build-args [ARCH] were not consumed 02:51:12 Successfully built e4d185be3f2f 02:51:12 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] } 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.079s coverage: 9.4% of statements 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 21.7% of statements 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.251s coverage: 43.6% of statements 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.272s coverage: 68.9% of statements 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 53.8% of statements 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 25.2% of statements 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.965s coverage: 83.5% of statements 02:51:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.2% of statements 02:51:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:51:14 GO111MODULE=on go vet ./... 02:51:22 gofmt -l . 02:51:22 [ "`gofmt -l .`" = "" ] 02:51:22 ./bin/test-attribution-txt.sh 02:51:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:23 $ docker stop --time=1 e3502325bf4d66d2d46eec86599914a6ce2cdc98331acf61a5755d1d089a7c6b 02:51:25 $ docker rm -f e3502325bf4d66d2d46eec86599914a6ce2cdc98331acf61a5755d1d089a7c6b [Pipeline] // withDockerContainer [Pipeline] sh 02:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:25 Warning: overwriting stash ‘coverage-report’ 02:51:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:51:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:27 + ls -al . 02:51:27 total 216 02:51:27 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 02:51 . 02:51:27 drwxrwxr-x. 4 jenkins jenkins 30 Feb 1 02:49 .. 02:51:27 drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 02:49 bin 02:51:27 -rw-r--r--. 1 jenkins jenkins 137332 Feb 1 02:51 coverage.out 02:51:27 -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 02:49 Dockerfile.build 02:51:27 -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 02:49 .dockerignore 02:51:27 drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 02:49 example 02:51:27 drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 02:49 .git 02:51:27 drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 02:49 .github 02:51:27 -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 02:49 .gitignore 02:51:27 -rw-r--r--. 1 jenkins jenkins 514 Feb 1 02:51 go.mod 02:51:27 -rw-r--r--. 1 jenkins jenkins 14191 Feb 1 02:51 go.sum 02:51:27 drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 02:49 internal 02:51:27 -rw-rw-r--. 1 jenkins jenkins 894 Feb 1 02:49 Jenkinsfile 02:51:27 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 02:49 LICENSE 02:51:27 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 02:49 Makefile 02:51:27 drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 02:49 openapi 02:51:27 drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 02:49 pkg 02:51:27 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 02:49 README.md 02:51:27 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 02:49 RELEASE-NOTES.txt 02:51:27 drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 02:49 snap 02:51:27 -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 02:43 VERSION 02:51:27 -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 02:49 version.go [Pipeline] isUnix [Pipeline] sh 02:51:27 + 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=7c02c64c2daf04df6211f93624a24cb3be82836f --label arch=amd64 --label version=0.0.0 . 02:51:27 Sending build context to Docker daemon 2.65MB 02:51:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:51:27 Step 2/24 : FROM ${BASE} AS builder 02:51:27 ---> 46e24b2a6de2 02:51:27 Step 3/24 : ARG MAKE='make build' 02:51:28 ---> Running in 5933b5749033 02:51:28 Removing intermediate container 5933b5749033 02:51:28 ---> a9658ad05ff0 02:51:28 Step 4/24 : WORKDIR /device-sdk-go 02:51:28 ---> Running in c6ae001064d2 02:51:28 Removing intermediate container c6ae001064d2 02:51:28 ---> 92f0ae0912d9 02:51:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:28 ---> Running in b4edf0835741 02:51:29 Removing intermediate container b4edf0835741 02:51:29 ---> ecd1fb43316b 02:51:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:29 ---> Running in b12b33d159ef 02:51:30 Removing intermediate container b12b33d159ef 02:51:30 ---> edb906730c8e 02:51:30 Step 7/24 : RUN apk add --update --no-cache make git 02:51:30 ---> Running in d0f31e8a2db7 02:51:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:51:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:51:32 OK: 166 MiB in 39 packages 02:51:32 Removing intermediate container d0f31e8a2db7 02:51:32 ---> b5d1344cd965 02:51:32 Step 8/24 : COPY . . 02:51:33 ---> 8e4244db9d97 02:51:33 Step 9/24 : RUN ${MAKE} 02:51:33 ---> Running in 4aefd1c93df0 02:51:34 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:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:45 Removing intermediate container 4aefd1c93df0 02:51:45 ---> 74961b93da64 02:51:45 Step 10/24 : FROM scratch 02:51:45 ---> 02:51:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:45 ---> Running in 494cc091b517 02:51:45 Removing intermediate container 494cc091b517 02:51:45 ---> 7eada0208e33 02:51:45 Step 12/24 : ENV APP_PORT=49990 02:51:45 ---> Running in 6a56a9c8c9f5 02:51:45 Removing intermediate container 6a56a9c8c9f5 02:51:45 ---> f424e5dff9e2 02:51:45 Step 13/24 : EXPOSE $APP_PORT 02:51:45 ---> Running in 8d289bf1edcc 02:51:46 Removing intermediate container 8d289bf1edcc 02:51:46 ---> 67e9a12e6c9d 02:51:46 Step 14/24 : WORKDIR / 02:51:46 ---> Running in 3bc1116bb886 02:51:46 Removing intermediate container 3bc1116bb886 02:51:46 ---> 960a7dccb107 02:51:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:46 ---> 0bc6507352f3 02:51:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:46 ---> a0425a70dfe2 02:51:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:47 ---> 165ac607ade5 02:51:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:47 ---> ba923b818315 02:51:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:47 ---> 9bc4522eb269 02:51:47 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:47 ---> Running in d84111bef6f7 02:51:47 Removing intermediate container d84111bef6f7 02:51:47 ---> 6a3a137ddc41 02:51:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:47 ---> Running in 91dfe88ad71b 02:51:48 Removing intermediate container 91dfe88ad71b 02:51:48 ---> 345c33fef8a0 02:51:48 Step 22/24 : LABEL arch=amd64 02:51:48 ---> Running in e82f9bec6344 02:51:48 Removing intermediate container e82f9bec6344 02:51:48 ---> 8f91ee88c0f1 02:51:48 Step 23/24 : LABEL git_sha=7c02c64c2daf04df6211f93624a24cb3be82836f 02:51:48 ---> Running in f3aa377c083a 02:51:48 Removing intermediate container f3aa377c083a 02:51:48 ---> 1dbc137c1f91 02:51:48 Step 24/24 : LABEL version=0.0.0 02:51:48 ---> Running in a6e3f382cbbe 02:51:48 Removing intermediate container a6e3f382cbbe 02:51:48 ---> 48cd5fd780ce 02:51:48 [Warning] One or more build-args [ARCH] were not consumed 02:51:48 Successfully built 48cd5fd780ce 02:51:49 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:51:50 provisioning config files... 02:51:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4845981412917862436tmp [Pipeline] { [Pipeline] sh 02:51:50 + set +x 02:51:50 + bash -s -- 02:51:50 + curl -s https://codecov.io/bash 02:51:51 02:51:51 _____ _ 02:51:51 / ____| | | 02:51:51 | | ___ __| | ___ ___ _____ __ 02:51:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:51 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:51 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:51 Bash-20210129-7c25fce 02:51:51 02:51:51 02:51:51 ==> git version 2.24.3 found 02:51:51 ==> 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:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:51 ==> Jenkins CI detected. 02:51:51 project root: . 02:51:51 --> token set from env 02:51:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:51 ==> Running gcov in . (disable via -X gcov) 02:51:51 ==> Python coveragepy not found 02:51:51 ==> Searching for coverage reports in: 02:51:51 + . 02:51:51 -> Found 1 reports 02:51:51 ==> Detecting git/mercurial file structure 02:51:51 ==> Reading reports 02:51:51 + ./coverage.out bytes=137332 02:51:51 ==> Appending adjustments 02:51:51 https://docs.codecov.io/docs/fixing-reports 02:51:51 + Found adjustments 02:51:51 ==> Gzipping contents 02:51:51 24K /tmp/codecov.Mwe6hx.gz 02:51:51 ==> Uploading reports 02:51:51 url: https://codecov.io 02:51:51 query: branch=PR-725&commit=7c02c64c2daf04df6211f93624a24cb3be82836f&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:51 -> Pinging Codecov 02:51:51 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-725&commit=7c02c64c2daf04df6211f93624a24cb3be82836f&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:52 -> Uploading to 02:51:52 https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/7c02c64c2daf04df6211f93624a24cb3be82836f/2532c557-4d72-4421-b143-bcdeac29055b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T025152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3755054de176a646e97fa579ef1dd8a88941309a25d94a6cad2dd32763d1a7f2 02:51:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:52 Dload Upload Total Spent Left Speed 02:51:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21631 0 0 100 21631 0 41420 --:--:-- --:--:-- --:--:-- 41359 02:51:53 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7c02c64c2daf04df6211f93624a24cb3be82836f [Pipeline] } 02:51:53 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:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:55 ---> package-listing.sh 02:51:55 ++ facter osfamily 02:51:55 ++ tr '[:upper:]' '[:lower:]' 02:51:55 + OS_FAMILY=redhat 02:51:55 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:51:55 + START_PACKAGES=/tmp/packages_start.txt 02:51:55 + END_PACKAGES=/tmp/packages_end.txt 02:51:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:55 + PACKAGES=/tmp/packages_start.txt 02:51:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:55 + PACKAGES=/tmp/packages_end.txt 02:51:55 + case "${OS_FAMILY}" in 02:51:55 + rpm -qa 02:51:55 + sort 02:52:01 + '[' -f /tmp/packages_start.txt ']' 02:52:01 + '[' -f /tmp/packages_end.txt ']' 02:52:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:52:01 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:52:01 + 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:52:01 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:52:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:01 02:52:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:02 alpine: Pulling from edgex-lftools-log-publisher 02:52:02 df20fa9351a1: Pulling fs layer 02:52:02 36b3adc4ff6f: Pulling fs layer 02:52:02 8ad3a11d3b57: Pulling fs layer 02:52:02 46f8f816bc3b: Pulling fs layer 02:52:02 93b61091891f: Pulling fs layer 02:52:02 93b9cdb0e59b: Pulling fs layer 02:52:02 5e14af77c1be: Pulling fs layer 02:52:02 01666e4c0597: Pulling fs layer 02:52:02 aa168da1d23b: Pulling fs layer 02:52:02 93b9cdb0e59b: Waiting 02:52:02 01666e4c0597: Waiting 02:52:02 aa168da1d23b: Waiting 02:52:02 46f8f816bc3b: Waiting 02:52:02 93b61091891f: Waiting 02:52:02 5e14af77c1be: Waiting 02:52:02 36b3adc4ff6f: Verifying Checksum 02:52:02 36b3adc4ff6f: Download complete 02:52:02 46f8f816bc3b: Verifying Checksum 02:52:02 46f8f816bc3b: Download complete 02:52:02 df20fa9351a1: Verifying Checksum 02:52:02 df20fa9351a1: Download complete 02:52:02 93b9cdb0e59b: Verifying Checksum 02:52:02 93b9cdb0e59b: Download complete 02:52:02 5e14af77c1be: Verifying Checksum 02:52:02 5e14af77c1be: Download complete 02:52:02 93b61091891f: Verifying Checksum 02:52:02 93b61091891f: Download complete 02:52:02 01666e4c0597: Download complete 02:52:02 8ad3a11d3b57: Verifying Checksum 02:52:02 8ad3a11d3b57: Download complete 02:52:02 df20fa9351a1: Pull complete 02:52:02 36b3adc4ff6f: Pull complete 02:52:03 8ad3a11d3b57: Pull complete 02:52:03 46f8f816bc3b: Pull complete 02:52:05 aa168da1d23b: Verifying Checksum 02:52:05 aa168da1d23b: Download complete 02:52:05 93b61091891f: Pull complete 02:52:05 93b9cdb0e59b: Pull complete 02:52:05 5e14af77c1be: Pull complete 02:52:05 01666e4c0597: Pull complete 02:52:13 aa168da1d23b: Pull complete 02:52:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:14 prd-centos7-docker-4c-2g-24261 does not seem to be running inside a container 02:52:14 $ 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:17 $ docker top f146044be79e67f93ae9f8017b6ed92c389cf3d21c60b78e83359b7127825519 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:18 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:18 + mkdir -p /var/log/sa [Pipeline] sh 02:52:18 + ls /var/log/sa-host 02:52:18 + sadf -c /var/log/sa-host/sa01 02:52:18 file_magic: OK 02:52:18 HZ: Using current value: 100 02:52:18 file_header: OK 02:52:18 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:18 Statistics: 02:52:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:18 File successfully converted to sysstat format version 12.2.1 02:52:18 + sadf -c /var/log/sa-host/sa23 02:52:18 file_magic: OK 02:52:18 HZ: Using current value: 100 02:52:18 file_header: OK 02:52:18 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:18 Statistics: 02:52:18 Hnuu...uuuununununu... 02:52:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:19 provisioning config files... 02:52:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4703750330363989088tmp [Pipeline] { [Pipeline] echo 02:52:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:19 ---> create-netrc.sh [Pipeline] } 02:52:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:19 ---> python-tools-install.sh [Pipeline] echo 02:52:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:20 ---> sudo-logs.sh 02:52:20 Archiving 'sudo' log.. [Pipeline] echo 02:52:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:20 ---> job-cost.sh 02:52:20 lf-activate-venv: SKIPPING 02:52:20 INFO: No Stack... 02:52:21 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:21 INFO: Archiving Costs [Pipeline] echo 02:52:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:22 ---> logs-deploy.sh 02:52:22 lf-activate-venv: SKIPPING 02:52:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/11 02:52:22 INFO: archiving workspace using pattern(s): 02:52:24 Archives upload complete. 02:52:24 INFO: archiving logs to Nexus 02:52:25 ---> uname -a: 02:52:25 Linux prd-centos7-docker-4c-2g-24261.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:25 02:52:25 02:52:25 ---> lscpu: 02:52:25 Architecture: x86_64 02:52:25 CPU op-mode(s): 32-bit, 64-bit 02:52:25 Byte Order: Little Endian 02:52:25 Address sizes: 40 bits physical, 48 bits virtual 02:52:25 CPU(s): 4 02:52:25 On-line CPU(s) list: 0-3 02:52:25 Thread(s) per core: 1 02:52:25 Core(s) per socket: 1 02:52:25 Socket(s): 4 02:52:25 NUMA node(s): 1 02:52:25 Vendor ID: GenuineIntel 02:52:25 CPU family: 6 02:52:25 Model: 44 02:52:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:25 Stepping: 1 02:52:25 CPU MHz: 2933.438 02:52:25 BogoMIPS: 5866.87 02:52:25 Virtualization: VT-x 02:52:25 Hypervisor vendor: KVM 02:52:25 Virtualization type: full 02:52:25 L1d cache: 128 KiB 02:52:25 L1i cache: 128 KiB 02:52:25 L2 cache: 16 MiB 02:52:25 L3 cache: 64 MiB 02:52:25 NUMA node0 CPU(s): 0-3 02:52:25 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:25 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:25 Vulnerability Meltdown: Mitigation; PTI 02:52:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:25 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:25 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:25 Vulnerability Srbds: Not affected 02:52:25 Vulnerability Tsx async abort: Not affected 02:52:25 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:25 02:52:25 02:52:25 ---> nproc: 02:52:25 4 02:52:25 02:52:25 02:52:25 ---> df -h: 02:52:25 Filesystem Size Used Available Use% Mounted on 02:52:25 overlay 50.0G 7.3G 42.7G 15% / 02:52:25 tmpfs 64.0M 0 64.0M 0% /dev 02:52:25 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:25 shm 64.0M 0 64.0M 0% /dev/shm 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:25 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:25 02:52:25 02:52:25 ---> free -m: 02:52:25 total used free shared buff/cache available 02:52:25 Mem: 1837 717 112 0 1007 1015 02:52:25 Swap: 1023 1 1022 02:52:25 02:52:25 02:52:25 ---> ip addr: 02:52:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:25 inet 127.0.0.1/8 scope host lo 02:52:25 valid_lft forever preferred_lft forever 02:52:25 inet6 ::1/128 scope host 02:52:25 valid_lft forever preferred_lft forever 02:52:25 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:25 link/ether fa:16:3e:76:f2:bb brd ff:ff:ff:ff:ff:ff 02:52:25 inet 10.30.122.175/23 brd 10.30.123.255 scope global dynamic eth0 02:52:25 valid_lft 85788sec preferred_lft 85788sec 02:52:25 inet6 fe80::f816:3eff:fe76:f2bb/64 scope link 02:52:25 valid_lft forever preferred_lft forever 02:52:25 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:25 link/ether 02:42:0e:a4:a7:cf brd ff:ff:ff:ff:ff:ff 02:52:25 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:25 valid_lft forever preferred_lft forever 02:52:25 inet6 fe80::42:eff:fea4:a7cf/64 scope link 02:52:25 valid_lft forever preferred_lft forever 02:52:25 02:52:25 02:52:25 ---> sar -b -r -n DEV: 02:52:25 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/01/21 _x86_64_ (4 CPU) 02:52:25 02:52:25 02:42:02 LINUX RESTART (4 CPU) 02:52:25 02:52:25 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:25 02:44:01 11.87 5.34 6.53 0.00 1091.13 229.80 0.00 02:52:25 02:45:02 0.38 0.00 0.38 0.00 0.00 5.95 0.00 02:52:25 02:46:01 0.20 0.00 0.20 0.00 0.00 2.32 0.00 02:52:25 02:47:01 0.38 0.00 0.38 0.00 0.00 6.14 0.00 02:52:25 02:48:01 0.22 0.00 0.22 0.00 0.00 4.01 0.00 02:52:25 02:49:01 0.40 0.00 0.40 0.00 0.00 6.38 0.00 02:52:25 02:50:01 0.30 0.00 0.30 0.00 0.00 4.45 0.00 02:52:25 02:51:01 0.30 0.00 0.30 0.00 0.00 4.73 0.00 02:52:25 02:52:01 47.52 46.69 0.83 0.00 3773.83 20.40 0.00 02:52:25 Average: 6.85 5.79 1.06 0.00 541.62 31.64 0.00 02:52:25 02:52:25 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:25 02:44:01 143324 0 622740 33.10 2620 1112860 1133612 38.69 462808 1075704 20 02:52:25 02:45:02 150968 0 615088 32.69 2620 1112868 1093888 37.33 458120 1074024 20 02:52:25 02:46:01 149384 0 616668 32.77 2620 1112872 1091832 37.26 471572 1062200 20 02:52:25 02:47:01 149856 0 616196 32.75 2620 1112872 1089776 37.19 475376 1058184 20 02:52:25 02:48:01 149380 0 616608 32.77 2620 1112936 1080596 36.88 479172 1055064 24 02:52:25 02:49:01 149840 0 616200 32.75 2620 1112884 1080524 36.88 478776 1055048 12 02:52:25 02:50:01 149216 0 616820 32.78 2620 1112888 1080632 36.88 479316 1055116 8 02:52:25 02:51:01 149028 0 617004 32.79 2620 1112892 1080724 36.88 479516 1055116 16 02:52:25 02:52:01 96816 0 618116 32.85 2620 1163992 1083828 36.99 472920 1115084 172 02:52:25 Average: 143090 0 617271 32.81 2620 1118563 1090601 37.22 473064 1067282 35 02:52:25 02:52:25 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:25 02:44:01 eth0 41.73 33.36 46.18 32.55 0.00 0.00 0.00 0.00 02:52:25 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:44:01 docker0 7.67 7.09 1.20 22.01 0.00 0.00 0.00 0.00 02:52:25 02:45:02 eth0 3.10 0.52 0.73 0.36 0.00 0.00 0.00 0.00 02:52:25 02:45:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:45:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:46:01 eth0 1.24 0.37 0.36 0.24 0.00 0.00 0.00 0.00 02:52:25 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:47:01 eth0 0.63 0.43 0.30 0.22 0.00 0.00 0.00 0.00 02:52:25 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:48:01 eth0 0.30 0.17 0.14 0.07 0.00 0.00 0.00 0.00 02:52:25 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:49:01 eth0 0.57 0.03 0.05 0.00 0.00 0.00 0.00 0.00 02:52:25 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:50:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 02:52:25 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:51:01 eth0 1.03 0.40 0.32 0.21 0.00 0.00 0.00 0.00 02:52:25 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:52:01 eth0 12.15 7.41 11.67 4.60 0.00 0.00 0.00 0.00 02:52:25 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 Average: eth0 6.82 4.79 6.68 4.28 0.00 0.00 0.00 0.00 02:52:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:25 Average: docker0 0.85 0.79 0.13 2.45 0.00 0.00 0.00 0.00 02:52:25 02:52:25 02:52:25 ---> sar -P ALL: 02:52:25 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/01/21 _x86_64_ (4 CPU) 02:52:25 02:52:25 02:42:02 LINUX RESTART (4 CPU) 02:52:25 02:52:25 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:52:25 02:44:01 all 1.64 0.00 1.01 0.12 0.02 97.20 02:52:25 02:44:01 0 1.49 0.00 1.10 0.05 0.03 97.32 02:52:25 02:44:01 1 1.67 0.00 0.94 0.33 0.02 97.04 02:52:25 02:44:01 2 1.78 0.00 0.99 0.03 0.00 97.20 02:52:25 02:44:01 3 1.64 0.00 1.02 0.07 0.02 97.26 02:52:25 02:45:02 all 0.14 0.00 0.05 0.00 0.00 99.80 02:52:25 02:45:02 0 0.02 0.00 0.05 0.00 0.00 99.93 02:52:25 02:45:02 1 0.08 0.00 0.07 0.00 0.00 99.85 02:52:25 02:45:02 2 0.38 0.00 0.05 0.00 0.02 99.55 02:52:25 02:45:02 3 0.07 0.00 0.05 0.00 0.00 99.88 02:52:25 02:46:01 all 0.15 0.00 0.08 0.00 0.01 99.76 02:52:25 02:46:01 0 0.07 0.00 0.03 0.00 0.00 99.90 02:52:25 02:46:01 1 0.14 0.00 0.08 0.00 0.02 99.76 02:52:25 02:46:01 2 0.32 0.00 0.07 0.00 0.02 99.59 02:52:25 02:46:01 3 0.08 0.00 0.12 0.00 0.02 99.78 02:52:25 02:47:01 all 0.09 0.00 0.04 0.00 0.00 99.87 02:52:25 02:47:01 0 0.23 0.00 0.05 0.00 0.00 99.72 02:52:25 02:47:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:52:25 02:47:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:52:25 02:47:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:52:25 02:48:01 all 0.11 0.00 0.07 0.00 0.00 99.82 02:52:25 02:48:01 0 0.28 0.00 0.03 0.00 0.00 99.68 02:52:25 02:48:01 1 0.07 0.00 0.07 0.00 0.02 99.85 02:52:25 02:48:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:52:25 02:48:01 3 0.05 0.00 0.13 0.00 0.00 99.82 02:52:25 02:49:01 all 0.15 0.00 0.03 0.00 0.00 99.81 02:52:25 02:49:01 0 0.50 0.00 0.02 0.00 0.02 99.47 02:52:25 02:49:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:52:25 02:49:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:52:25 02:49:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:52:25 02:50:01 all 0.18 0.00 0.04 0.00 0.00 99.78 02:52:25 02:50:01 0 0.52 0.00 0.02 0.00 0.00 99.47 02:52:25 02:50:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:52:25 02:50:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:52:25 02:50:01 3 0.12 0.00 0.08 0.00 0.02 99.78 02:52:25 02:51:01 all 0.17 0.00 0.04 0.00 0.02 99.77 02:52:25 02:51:01 0 0.53 0.00 0.05 0.00 0.03 99.38 02:52:25 02:51:01 1 0.05 0.00 0.02 0.00 0.02 99.92 02:52:25 02:51:01 2 0.02 0.00 0.03 0.00 0.02 99.93 02:52:25 02:51:01 3 0.07 0.00 0.07 0.00 0.02 99.85 02:52:25 02:52:01 all 1.31 0.00 0.65 1.29 0.01 96.74 02:52:25 02:52:01 0 1.94 0.00 0.62 1.28 0.02 96.15 02:52:25 02:52:01 1 0.78 0.00 0.60 0.02 0.02 98.58 02:52:25 02:52:01 2 1.47 0.00 0.72 3.01 0.02 94.79 02:52:25 02:52:01 3 1.05 0.00 0.65 0.85 0.00 97.44 02:52:25 Average: all 0.44 0.00 0.22 0.16 0.01 99.17 02:52:25 Average: 0 0.62 0.00 0.22 0.15 0.01 99.00 02:52:25 Average: 1 0.32 0.00 0.21 0.04 0.01 99.42 02:52:25 Average: 2 0.46 0.00 0.22 0.34 0.01 98.97 02:52:25 Average: 3 0.35 0.00 0.24 0.10 0.01 99.30 02:52:25 02:52:25 02:52:25