Pull request #790 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1c5dcca774fd26141df6ad0ee83293992d973ff5+24bd13d414fb94824a4c7d4031bbe24e258abd9f (28fdaa2b8fcb1de50fd8747b196909b5baceb9fa) 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27102 in /w/workspace/dgexfoundry_device-sdk-go_PR-790 [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-790 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 1c5dcca774fd26141df6ad0ee83293992d973ff5 Merge succeeded, producing 1c5dcca774fd26141df6ad0ee83293992d973ff5 Checking out Revision 1c5dcca774fd26141df6ad0ee83293992d973ff5 (PR-790) > 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/790/head:refs/remotes/origin/PR-790 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c5dcca774fd26141df6ad0ee83293992d973ff5 # 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 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c5dcca774fd26141df6ad0ee83293992d973ff5 # timeout=10 Commit message: "refactor: update logging message of simpledriver" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:17:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # timeout=10 04:17:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:17:57 ========================================================= 04:17:57 EdgeX Global Pipelines Version Info 04:17:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:17:58 ------------------- 04:17:58 stable info: 04:17:58 ------------------- 04:17:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:17:58 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 04:17:58 Message: update stable to v1.0.179 04:17:59 ------------------- 04:17:59 experimental info: 04:17:59 ------------------- 04:17:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:17:59 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 04:17:59 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:17:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 04:18:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-790 [Pipeline] echo 04:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-790 [Pipeline] echo 04:18:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-790 [Pipeline] echo 04:18:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c5dcca774fd26141df6ad0ee83293992d973ff5 [Pipeline] echo 04:18:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c5dcca [Pipeline] echo 04:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:18:03 provisioning config files... 04:18:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/config7445850883827183232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:04 ---> docker-login.sh 04:18:04 nexus3.edgexfoundry.org:10001 04:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:04 Configure a credential helper to remove this warning. See 04:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:04 04:18:04 Login Succeeded 04:18:04 nexus3.edgexfoundry.org:10002 04:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:04 Configure a credential helper to remove this warning. See 04:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:04 04:18:04 Login Succeeded 04:18:04 nexus3.edgexfoundry.org:10003 04:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:04 Configure a credential helper to remove this warning. See 04:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:04 04:18:04 Login Succeeded 04:18:04 nexus3.edgexfoundry.org:10004 04:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:05 Configure a credential helper to remove this warning. See 04:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:05 04:18:05 Login Succeeded 04:18:05 docker.io 04:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:05 Configure a credential helper to remove this warning. See 04:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:05 04:18:05 Login Succeeded 04:18:05 ---> docker-login.sh ends [Pipeline] } 04:18:05 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 04:18:06 + git log --format=format:%s -1 1c5dcca774fd26141df6ad0ee83293992d973ff5 [Pipeline] echo 04:18:06 GIT_COMMIT: 1c5dcca774fd26141df6ad0ee83293992d973ff5, Commit Message: refactor: update logging message of simpledriver [Pipeline] echo 04:18:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:18:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:18:07 04:18:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:18:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:18:08 latest: Pulling from edgex-devops/git-semver 04:18:08 31603596830f: Pulling fs layer 04:18:08 2a8b12db71e7: Pulling fs layer 04:18:08 6ca5941a6612: Pulling fs layer 04:18:08 ecc8261a40a4: Pulling fs layer 04:18:08 ecc8261a40a4: Waiting 04:18:08 2a8b12db71e7: Verifying Checksum 04:18:08 2a8b12db71e7: Download complete 04:18:08 31603596830f: Verifying Checksum 04:18:08 31603596830f: Download complete 04:18:08 6ca5941a6612: Verifying Checksum 04:18:08 6ca5941a6612: Download complete 04:18:08 ecc8261a40a4: Download complete 04:18:08 31603596830f: Pull complete 04:18:08 2a8b12db71e7: Pull complete 04:18:09 6ca5941a6612: Pull complete 04:18:10 ecc8261a40a4: Pull complete 04:18:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:18:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:18:10 prd-centos7-docker-4c-2g-27102 does not seem to be running inside a container 04:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-790 -v /w/workspace/dgexfoundry_device-sdk-go_PR-790:/w/workspace/dgexfoundry_device-sdk-go_PR-790:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-790@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 04:18:12 $ docker top 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:18:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:12 [ssh-agent] Looking for ssh-agent implementation... 04:18:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:12 $ docker exec 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 ssh-agent 04:18:12 SSH_AUTH_SOCK=/tmp/ssh-JMkGkCWj4PLC/agent.11 04:18:12 SSH_AGENT_PID=16 04:18:12 Running ssh-add (command line suppressed) 04:18:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_4172111330299132673.key (/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_4172111330299132673.key) 04:18:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:13 + git tag --points-at HEAD [Pipeline] } 04:18:13 $ docker exec --env ******** --env ******** 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 ssh-agent -k 04:18:13 unset SSH_AUTH_SOCK; 04:18:13 unset SSH_AGENT_PID; 04:18:13 echo Agent pid 16 killed; 04:18:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:18:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:13 [ssh-agent] Looking for ssh-agent implementation... 04:18:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:14 $ docker exec 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 ssh-agent 04:18:14 SSH_AUTH_SOCK=/tmp/ssh-yudTdGmHuk55/agent.44 04:18:14 SSH_AGENT_PID=49 04:18:14 Running ssh-add (command line suppressed) 04:18:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_6387610631900143314.key (/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_6387610631900143314.key) 04:18:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:14 + git semver init 04:18:14 # -> Open(): unable to determine branch for HEAD 04:18:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-790/.git 04:18:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-790 04:18:14 # $SEMVER_REMOTE_NAME = origin 04:18:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:18:14 # $SEMVER_USER_NAME = edgex-jenkins 04:18:14 # $SEMVER_BRANCH = PR-790 04:18:14 # $SEMVER_TEMP = /tmp/semver-791143090 04:18:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:18:15 # '/tmp/semver-791143090' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-790/.semver' 04:18:15 # -> Force: false 04:18:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-790/.semver [Pipeline] } 04:18:15 $ docker exec --env ******** --env ******** 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 ssh-agent -k 04:18:15 unset SSH_AUTH_SOCK; 04:18:15 unset SSH_AGENT_PID; 04:18:15 echo Agent pid 49 killed; 04:18:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:18:15 + git semver [Pipeline] } 04:18:15 $ docker stop --time=1 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 04:18:17 $ docker rm -f 34499a1542041b1f2b1caabcba5527b2aff5651a242d99b292d56654ebb3bfa4 [Pipeline] // withDockerContainer [Pipeline] sh 04:18:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:18:18 Stashed 1 file(s) [Pipeline] echo 04:18:18 [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 04:18:33 Still waiting to schedule task 04:18:33 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27102’ 04:18:33 Still waiting to schedule task 04:18:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 04:20:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27103 in /w/workspace/dgexfoundry_device-sdk-go_PR-790 [Pipeline] { [Pipeline] ws 04:20:21 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:20:27 using credential edgex-jenkins-ssh 04:20:27 Cloning the remote Git repository 04:20:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:20:27 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:20:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:20:27 > git --version # timeout=10 04:20:27 > git --version # 'git version 2.17.1' 04:20:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:20:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:20:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:20:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/790/head:refs/remotes/origin/PR-790 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:20:29 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 1c5dcca774fd26141df6ad0ee83293992d973ff5 04:20:29 Merge succeeded, producing 1c5dcca774fd26141df6ad0ee83293992d973ff5 04:20:29 Checking out Revision 1c5dcca774fd26141df6ad0ee83293992d973ff5 (PR-790) 04:20:29 > git config core.sparsecheckout # timeout=10 04:20:29 > git checkout -f 1c5dcca774fd26141df6ad0ee83293992d973ff5 # timeout=10 04:20:29 > git remote # timeout=10 04:20:29 > git config --get remote.origin.url # timeout=10 04:20:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:29 > git merge 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 04:20:29 > git rev-parse HEAD^{commit} # timeout=10 04:20:29 > git config core.sparsecheckout # timeout=10 04:20:29 > git checkout -f 1c5dcca774fd26141df6ad0ee83293992d973ff5 # timeout=10 04:20:34 Commit message: "refactor: update logging message of simpledriver" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:20:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:20:36 + + sudotrue service 04:20:36 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:20:38 provisioning config files... 04:20:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8610208004123268062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:39 ---> docker-login.sh 04:20:39 nexus3.edgexfoundry.org:10001 04:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:40 Configure a credential helper to remove this warning. See 04:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:40 04:20:40 Login Succeeded 04:20:40 nexus3.edgexfoundry.org:10002 04:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:41 Configure a credential helper to remove this warning. See 04:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:41 04:20:41 Login Succeeded 04:20:41 nexus3.edgexfoundry.org:10003 04:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:41 Configure a credential helper to remove this warning. See 04:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:41 04:20:41 Login Succeeded 04:20:41 nexus3.edgexfoundry.org:10004 04:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:42 Configure a credential helper to remove this warning. See 04:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:42 04:20:42 Login Succeeded 04:20:42 docker.io 04:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:43 Configure a credential helper to remove this warning. See 04:20:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:43 04:20:43 Login Succeeded 04:20:43 ---> docker-login.sh ends [Pipeline] } 04:20:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:43 ========================================================= 04:20:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:20:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:20:44 + 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 . 04:20:44 Sending build context to Docker daemon 2.408MB 04:20:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:20:44 Step 2/8 : FROM ${BASE} 04:20:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:20:44 5f621e34cdf4: Pulling fs layer 04:20:44 a4357932f1b6: Pulling fs layer 04:20:44 18c013af1878: Pulling fs layer 04:20:44 00ac8860ef70: Pulling fs layer 04:20:44 63d7cb157983: Pulling fs layer 04:20:44 b116817d02f9: Pulling fs layer 04:20:44 745a02a5169b: Pulling fs layer 04:20:44 00ac8860ef70: Waiting 04:20:44 63d7cb157983: Waiting 04:20:44 b116817d02f9: Waiting 04:20:44 745a02a5169b: Waiting 04:20:44 18c013af1878: Download complete 04:20:44 a4357932f1b6: Verifying Checksum 04:20:44 a4357932f1b6: Download complete 04:20:44 63d7cb157983: Verifying Checksum 04:20:44 63d7cb157983: Download complete 04:20:44 b116817d02f9: Download complete 04:20:44 5f621e34cdf4: Verifying Checksum 04:20:44 5f621e34cdf4: Download complete 04:20:45 5f621e34cdf4: Pull complete 04:20:46 a4357932f1b6: Pull complete 04:20:46 18c013af1878: Pull complete 04:20:47 745a02a5169b: Verifying Checksum 04:20:47 745a02a5169b: Download complete 04:20:48 00ac8860ef70: Verifying Checksum 04:20:48 00ac8860ef70: Download complete 04:20:59 00ac8860ef70: Pull complete 04:20:59 63d7cb157983: Pull complete 04:20:59 b116817d02f9: Pull complete 04:21:02 745a02a5169b: Pull complete 04:21:02 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:21:02 ---> b7e6874047d6 04:21:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:05 ---> Running in 2ed424309374 04:21:05 Removing intermediate container 2ed424309374 04:21:05 ---> a5e66bd297f7 04:21:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:05 ---> Running in ec1633737d78 04:21:08 Removing intermediate container ec1633737d78 04:21:08 ---> 3d1089c526ca 04:21:08 Step 5/8 : RUN apk add --update --no-cache make git 04:21:08 ---> Running in 288c69c689ed 04:21:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:21:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:21:11 OK: 142 MiB in 39 packages 04:21:12 Removing intermediate container 288c69c689ed 04:21:12 ---> 876ac7463746 04:21:12 Step 6/8 : WORKDIR /device-sdk-go 04:21:12 ---> Running in bf28f931ca24 04:21:13 Removing intermediate container bf28f931ca24 04:21:13 ---> e4cf990bfcb4 04:21:13 Step 7/8 : COPY . . 04:21:14 ---> d4e5c2d01cba 04:21:14 Step 8/8 : RUN go mod download 04:21:14 ---> Running in 25c0de11c3da 04:21:41 Removing intermediate container 25c0de11c3da 04:21:41 ---> 8316d31b1cd0 04:21:41 Successfully built 8316d31b1cd0 04:21:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:21:41 + docker inspect -f . ci-base-image-arm64 04:21:41 . [Pipeline] withDockerContainer 04:21:41 prd-ubuntu18.04-docker-arm64-4c-16g-27103 does not seem to be running inside a container 04:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:21:43 $ docker top ab452d3ea38b43732234808b1bead2f9a1dae050a6a54b1ff6fecd1d41ed7abd -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:44 + go version 04:21:44 go version go1.15.5 linux/arm64 [Pipeline] } 04:21:44 $ docker stop --time=1 ab452d3ea38b43732234808b1bead2f9a1dae050a6a54b1ff6fecd1d41ed7abd 04:21:46 $ docker rm -f ab452d3ea38b43732234808b1bead2f9a1dae050a6a54b1ff6fecd1d41ed7abd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:21:47 + docker inspect -f . ci-base-image-arm64 04:21:47 . [Pipeline] withDockerContainer 04:21:47 prd-ubuntu18.04-docker-arm64-4c-16g-27103 does not seem to be running inside a container 04:21:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:21:49 $ docker top c31d5eb1491c27cc9eb81b92f78366a0d989d8bd5f3a54389556146d3e00c76f -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:50 + make test 04:21:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:22:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:22:38 Running on prd-centos7-docker-4c-2g-27104 in /w/workspace/dgexfoundry_device-sdk-go_PR-790 [Pipeline] { [Pipeline] ws 04:22:38 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:22:47 using credential edgex-jenkins-ssh 04:22:47 Cloning the remote Git repository 04:22:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:22:48 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:22:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:48 > git --version # timeout=10 04:22:48 > git --version # 'git version 2.24.3' 04:22:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:50 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 1c5dcca774fd26141df6ad0ee83293992d973ff5 04:22:50 Merge succeeded, producing 1c5dcca774fd26141df6ad0ee83293992d973ff5 04:22:50 Checking out Revision 1c5dcca774fd26141df6ad0ee83293992d973ff5 (PR-790) 04:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/790/head:refs/remotes/origin/PR-790 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:50 > git config core.sparsecheckout # timeout=10 04:22:50 > git checkout -f 1c5dcca774fd26141df6ad0ee83293992d973ff5 # timeout=10 04:22:50 > git remote # timeout=10 04:22:50 > git config --get remote.origin.url # timeout=10 04:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:50 > git merge 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 04:22:50 > git rev-parse HEAD^{commit} # timeout=10 04:22:50 > git config core.sparsecheckout # timeout=10 04:22:50 > git checkout -f 1c5dcca774fd26141df6ad0ee83293992d973ff5 # timeout=10 04:22:56 Commit message: "refactor: update logging message of simpledriver" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:22:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:22:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:22:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:22:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 25.5% of statements 04:22:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:23:00 + sudo service docker restart 04:23:00 + true 04:23:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:23:03 provisioning config files... 04:23:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7579018195552436067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:04 ---> docker-login.sh 04:23:04 nexus3.edgexfoundry.org:10001 04:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:07 Configure a credential helper to remove this warning. See 04:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:07 04:23:07 Login Succeeded 04:23:07 nexus3.edgexfoundry.org:10002 04:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:07 Configure a credential helper to remove this warning. See 04:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:07 04:23:07 Login Succeeded 04:23:07 nexus3.edgexfoundry.org:10003 04:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:08 Configure a credential helper to remove this warning. See 04:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:08 04:23:08 Login Succeeded 04:23:08 nexus3.edgexfoundry.org:10004 04:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:08 Configure a credential helper to remove this warning. See 04:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:08 04:23:08 Login Succeeded 04:23:08 docker.io 04:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:09 Configure a credential helper to remove this warning. See 04:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:09 04:23:09 Login Succeeded 04:23:09 ---> docker-login.sh ends [Pipeline] } 04:23:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:10 ========================================================= 04:23:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:23:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:23:11 + 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 . 04:23:11 Sending build context to Docker daemon 2.418MB 04:23:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:23:11 Step 2/8 : FROM ${BASE} 04:23:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:23:12 188c0c94c7c5: Pulling fs layer 04:23:12 0ef7d3d256c8: Pulling fs layer 04:23:12 de9db76c5a1d: Pulling fs layer 04:23:12 bca2f99d35d6: Pulling fs layer 04:23:12 93359f2a8cfa: Pulling fs layer 04:23:12 7c6f9722023f: Pulling fs layer 04:23:12 a35cf1a2eb13: Pulling fs layer 04:23:12 bca2f99d35d6: Waiting 04:23:12 93359f2a8cfa: Waiting 04:23:12 7c6f9722023f: Waiting 04:23:12 a35cf1a2eb13: Waiting 04:23:12 de9db76c5a1d: Verifying Checksum 04:23:12 de9db76c5a1d: Download complete 04:23:13 0ef7d3d256c8: Verifying Checksum 04:23:13 0ef7d3d256c8: Download complete 04:23:13 93359f2a8cfa: Verifying Checksum 04:23:13 93359f2a8cfa: Download complete 04:23:13 7c6f9722023f: Download complete 04:23:14 188c0c94c7c5: Verifying Checksum 04:23:14 188c0c94c7c5: Download complete 04:23:15 188c0c94c7c5: Pull complete 04:23:16 0ef7d3d256c8: Pull complete 04:23:16 de9db76c5a1d: Pull complete 04:23:26 a35cf1a2eb13: Verifying Checksum 04:23:26 a35cf1a2eb13: Download complete 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.124s coverage: 10.1% of statements 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 12.5% of statements 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.154s coverage: 84.8% of statements 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.222s coverage: 49.2% of statements 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.152s coverage: 81.3% of statements 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 24.8% of statements 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.721s coverage: 83.5% of statements 04:23:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.3% of statements 04:23:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:23:26 GO111MODULE=on go vet ./... 04:23:27 bca2f99d35d6: Verifying Checksum 04:23:27 bca2f99d35d6: Download complete 04:23:44 bca2f99d35d6: Pull complete 04:23:44 93359f2a8cfa: Pull complete 04:23:44 7c6f9722023f: Pull complete 04:23:57 a35cf1a2eb13: Pull complete 04:23:57 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:23:57 ---> a62c8e92a672 04:23:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:23:57 ---> Running in aa91c3e8a633 04:23:57 Removing intermediate container aa91c3e8a633 04:23:57 ---> d33019194d37 04:23:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:57 ---> Running in cacc42313487 04:24:01 Removing intermediate container cacc42313487 04:24:01 ---> 5030e49e7c30 04:24:01 Step 5/8 : RUN apk add --update --no-cache make git 04:24:01 ---> Running in 68b434b918b5 04:24:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:24:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:24:05 OK: 166 MiB in 39 packages 04:24:05 gofmt -l . 04:24:05 [ "`gofmt -l .`" = "" ] 04:24:05 ./bin/test-attribution-txt.sh 04:24:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:24:05 $ docker stop --time=1 c31d5eb1491c27cc9eb81b92f78366a0d989d8bd5f3a54389556146d3e00c76f 04:24:06 Removing intermediate container 68b434b918b5 04:24:06 ---> bbf9151cc276 04:24:06 Step 6/8 : WORKDIR /device-sdk-go 04:24:06 ---> Running in 9a54d3872323 04:24:07 Removing intermediate container 9a54d3872323 04:24:07 ---> d814c2ce9da3 04:24:07 Step 7/8 : COPY . . 04:24:08 $ docker rm -f c31d5eb1491c27cc9eb81b92f78366a0d989d8bd5f3a54389556146d3e00c76f [Pipeline] // withDockerContainer [Pipeline] sh 04:24:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:09 ---> 3c408c6d26e4 04:24:09 Step 8/8 : RUN go mod download 04:24:09 ---> Running in fe98ac60a17f 04:24:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:14 + ls -al . 04:24:14 total 220 04:24:14 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 04:24 . 04:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:20 .. 04:24:14 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:20 .dockerignore 04:24:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:20 .git 04:24:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:20 .github 04:24:14 -rw-rw-r-- 1 jenkins jenkins 138 Feb 22 04:20 .gitignore 04:24:14 -rw-rw-r-- 1 jenkins jenkins 949 Feb 22 04:20 Dockerfile.build 04:24:14 -rw-rw-r-- 1 jenkins jenkins 901 Feb 22 04:20 Jenkinsfile 04:24:14 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:20 LICENSE 04:24:14 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 22 04:20 Makefile 04:24:14 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 22 04:20 README.md 04:24:14 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 22 04:20 RELEASE-NOTES.txt 04:24:14 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:18 VERSION 04:24:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:20 bin 04:24:14 -rw-r--r-- 1 jenkins jenkins 101757 Feb 22 04:23 coverage.out 04:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:20 example 04:24:14 -rw-r--r-- 1 jenkins jenkins 515 Feb 22 04:24 go.mod 04:24:14 -rw-r--r-- 1 jenkins jenkins 19062 Feb 22 04:24 go.sum 04:24:14 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:20 internal 04:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:20 openapi 04:24:14 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:20 pkg 04:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:20 snap 04:24:14 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:20 version.go [Pipeline] isUnix [Pipeline] sh 04:24:14 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1c5dcca774fd26141df6ad0ee83293992d973ff5 --label arch=arm64 --label version=0.0.0 . 04:24:15 Sending build context to Docker daemon 2.511MB 04:24:15 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:24:15 Step 2/24 : FROM ${BASE} AS builder 04:24:15 ---> 8316d31b1cd0 04:24:15 Step 3/24 : ARG MAKE='make build' 04:24:15 ---> Running in 1c6de77b742d 04:24:15 Removing intermediate container 1c6de77b742d 04:24:15 ---> c7134d034bb3 04:24:15 Step 4/24 : WORKDIR /device-sdk-go 04:24:15 ---> Running in 3ccb08f863f2 04:24:16 Removing intermediate container 3ccb08f863f2 04:24:16 ---> e7fa05f7fd8b 04:24:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:16 ---> Running in cc5902b19625 04:24:17 Removing intermediate container cc5902b19625 04:24:17 ---> d158345e3ccb 04:24:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:17 ---> Running in d111a7411aea 04:24:19 Removing intermediate container d111a7411aea 04:24:19 ---> a37a4e917e68 04:24:19 Step 7/24 : RUN apk add --update --no-cache make git 04:24:19 ---> Running in ed938db165be 04:24:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:24:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:24:22 OK: 142 MiB in 39 packages 04:24:23 Removing intermediate container ed938db165be 04:24:23 ---> 863cb2a9ca77 04:24:23 Step 8/24 : COPY . . 04:24:24 ---> 3fbaf217c88e 04:24:24 Step 9/24 : RUN ${MAKE} 04:24:24 ---> Running in e18948ebf0ba 04:24:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:24:51 Removing intermediate container fe98ac60a17f 04:24:51 ---> 47755a19139f 04:24:51 Successfully built 47755a19139f 04:24:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:24:51 + docker inspect -f . ci-base-image-x86_64 04:24:52 . [Pipeline] withDockerContainer 04:24:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:24:52 prd-centos7-docker-4c-2g-27104 does not seem to be running inside a container 04:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:53 Removing intermediate container e18948ebf0ba 04:24:53 ---> aa1c45db185a 04:24:53 Step 10/24 : FROM scratch 04:24:53 ---> 04:24:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:53 ---> Running in 88ab311e2b38 04:24:54 Removing intermediate container 88ab311e2b38 04:24:54 ---> 2d77c3a9032a 04:24:54 Step 12/24 : ENV APP_PORT=49990 04:24:54 ---> Running in e5c59058d4a1 04:24:54 Removing intermediate container e5c59058d4a1 04:24:54 ---> 87c3a9d0f0d6 04:24:54 Step 13/24 : EXPOSE $APP_PORT 04:24:54 ---> Running in 3e7c13f9f19b 04:24:55 Removing intermediate container 3e7c13f9f19b 04:24:55 ---> 46c9c4008af2 04:24:55 Step 14/24 : WORKDIR / 04:24:55 ---> Running in 5b0b3d8ed60e 04:24:55 $ docker top 0e627d1b543e888a2a5fcd318077f766b2ce8109a4d385fe5f7bc9844e5ceed5 -eo pid,comm 04:24:55 Removing intermediate container 5b0b3d8ed60e 04:24:55 ---> 35d2c333c66e 04:24:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] { [Pipeline] sh 04:24:56 + go version 04:24:56 go version go1.15.5 linux/amd64 [Pipeline] } 04:24:56 $ docker stop --time=1 0e627d1b543e888a2a5fcd318077f766b2ce8109a4d385fe5f7bc9844e5ceed5 04:24:57 ---> 06fed03c1e28 04:24:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:24:57 ---> 042f03e86a1c 04:24:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:24:58 $ docker rm -f 0e627d1b543e888a2a5fcd318077f766b2ce8109a4d385fe5f7bc9844e5ceed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 04:24:58 ---> d72c433f45c9 04:24:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:24:59 + docker inspect -f . ci-base-image-x86_64 04:24:59 . [Pipeline] withDockerContainer 04:24:59 ---> aa88107253be 04:24:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:25:00 ---> ffe27a5ac643 04:25:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:25:00 prd-centos7-docker-4c-2g-27104 does not seem to be running inside a container 04:25:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:25:00 ---> Running in e223afaf87cc 04:25:00 Removing intermediate container e223afaf87cc 04:25:00 ---> 4cfb8235ffb6 04:25:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:25:00 ---> Running in add6e3d98377 04:25:01 Removing intermediate container add6e3d98377 04:25:01 ---> 1f032a981962 04:25:01 Step 22/24 : LABEL arch=arm64 04:25:01 ---> Running in baecb27a5605 04:25:01 $ docker top fc5fd9aa2873087249003a45596b73bd8b86f203636ca3ef6f28674e56894ea2 -eo pid,comm 04:25:01 Removing intermediate container baecb27a5605 04:25:01 ---> 01b83e49699e 04:25:01 Step 23/24 : LABEL git_sha=1c5dcca774fd26141df6ad0ee83293992d973ff5 [Pipeline] { [Pipeline] sh 04:25:01 ---> Running in ba4681335d1b 04:25:02 Removing intermediate container ba4681335d1b 04:25:02 ---> f4ecd7270e17 04:25:02 Step 24/24 : LABEL version=0.0.0 04:25:02 ---> Running in 5db3aab4858e 04:25:02 + make test 04:25:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:25:03 Removing intermediate container 5db3aab4858e 04:25:03 ---> 5e7e3a43170c 04:25:03 [Warning] One or more build-args [ARCH] were not consumed 04:25:03 Successfully built 5e7e3a43170c 04:25:03 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:25:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:26:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:26:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:26:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:26:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.205s coverage: 25.5% of statements 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.291s coverage: 10.1% of statements 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 12.5% of statements 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.196s coverage: 84.8% of statements 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 49.2% of statements 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.099s coverage: 81.3% of statements 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.151s coverage: 24.8% of statements 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.876s coverage: 83.5% of statements 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.3% of statements 04:26:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:26:42 GO111MODULE=on go vet ./... 04:27:23 gofmt -l . 04:27:23 [ "`gofmt -l .`" = "" ] 04:27:23 ./bin/test-attribution-txt.sh 04:27:24 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:27:26 $ docker stop --time=1 fc5fd9aa2873087249003a45596b73bd8b86f203636ca3ef6f28674e56894ea2 04:27:28 $ docker rm -f fc5fd9aa2873087249003a45596b73bd8b86f203636ca3ef6f28674e56894ea2 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:30 Warning: overwriting stash ‘coverage-report’ 04:27:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:27:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:32 + ls -al . 04:27:32 total 184 04:27:32 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 22 04:27 . 04:27:32 drwxrwxr-x. 4 jenkins jenkins 28 Feb 22 04:22 .. 04:27:32 drwxrwxr-x. 2 jenkins jenkins 64 Feb 22 04:22 bin 04:27:32 -rw-r--r--. 1 jenkins jenkins 101757 Feb 22 04:26 coverage.out 04:27:32 -rw-rw-r--. 1 jenkins jenkins 949 Feb 22 04:22 Dockerfile.build 04:27:32 -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 04:22 .dockerignore 04:27:32 drwxrwxr-x. 4 jenkins jenkins 48 Feb 22 04:22 example 04:27:32 drwxrwxr-x. 8 jenkins jenkins 179 Feb 22 04:22 .git 04:27:32 drwxrwxr-x. 2 jenkins jenkins 103 Feb 22 04:22 .github 04:27:32 -rw-rw-r--. 1 jenkins jenkins 138 Feb 22 04:22 .gitignore 04:27:32 -rw-r--r--. 1 jenkins jenkins 515 Feb 22 04:27 go.mod 04:27:32 -rw-r--r--. 1 jenkins jenkins 19062 Feb 22 04:27 go.sum 04:27:32 drwxrwxr-x. 13 jenkins jenkins 183 Feb 22 04:22 internal 04:27:32 -rw-rw-r--. 1 jenkins jenkins 901 Feb 22 04:22 Jenkinsfile 04:27:32 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 04:22 LICENSE 04:27:32 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 22 04:22 Makefile 04:27:32 drwxrwxr-x. 4 jenkins jenkins 26 Feb 22 04:22 openapi 04:27:32 drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 04:22 pkg 04:27:32 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 22 04:22 README.md 04:27:32 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 22 04:22 RELEASE-NOTES.txt 04:27:32 drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 04:22 snap 04:27:32 -rw-rw-r--. 1 jenkins jenkins 5 Feb 22 04:18 VERSION 04:27:32 -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:27:32 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1c5dcca774fd26141df6ad0ee83293992d973ff5 --label arch=amd64 --label version=0.0.0 . 04:27:34 Sending build context to Docker daemon 2.521MB 04:27:34 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:27:34 Step 2/24 : FROM ${BASE} AS builder 04:27:34 ---> 47755a19139f 04:27:34 Step 3/24 : ARG MAKE='make build' 04:27:34 ---> Running in 02c90549fff4 04:27:34 Removing intermediate container 02c90549fff4 04:27:34 ---> 5a395134593f 04:27:34 Step 4/24 : WORKDIR /device-sdk-go 04:27:34 ---> Running in 58b9edd0c327 04:27:35 Removing intermediate container 58b9edd0c327 04:27:35 ---> f501886c52cd 04:27:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:27:35 ---> Running in 723b345cd899 04:27:35 Removing intermediate container 723b345cd899 04:27:35 ---> be810f76de46 04:27:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:35 ---> Running in 2564560ea1e1 04:27:38 Removing intermediate container 2564560ea1e1 04:27:38 ---> bde9c10e4775 04:27:38 Step 7/24 : RUN apk add --update --no-cache make git 04:27:38 ---> Running in 590c5b2cb1aa 04:27:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:27:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:27:43 OK: 166 MiB in 39 packages 04:27:44 Removing intermediate container 590c5b2cb1aa 04:27:44 ---> 3a4450ec0472 04:27:44 Step 8/24 : COPY . . 04:27:46 ---> 863d3b4db15d 04:27:46 Step 9/24 : RUN ${MAKE} 04:27:46 ---> Running in 2cd88bee2723 04:27:47 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 04:28:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:28:20 Removing intermediate container 2cd88bee2723 04:28:20 ---> 9f8f3a5c05b1 04:28:20 Step 10/24 : FROM scratch 04:28:20 ---> 04:28:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:28:20 ---> Running in 292e6c24b50f 04:28:20 Removing intermediate container 292e6c24b50f 04:28:20 ---> e35207c74377 04:28:20 Step 12/24 : ENV APP_PORT=49990 04:28:20 ---> Running in a42d1c841cbf 04:28:20 Removing intermediate container a42d1c841cbf 04:28:20 ---> f92b2e7cd4be 04:28:20 Step 13/24 : EXPOSE $APP_PORT 04:28:20 ---> Running in afbcda7a68a8 04:28:21 Removing intermediate container afbcda7a68a8 04:28:21 ---> 087c7c21b564 04:28:21 Step 14/24 : WORKDIR / 04:28:21 ---> Running in c79a825e857a 04:28:22 Removing intermediate container c79a825e857a 04:28:22 ---> 8a5c20f81746 04:28:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:28:23 ---> 925cb50f4db9 04:28:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:28:24 ---> c77a3a91d985 04:28:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:28:25 ---> 07641a6bb038 04:28:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:28:26 ---> 68789310a5ae 04:28:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:28:27 ---> ec9403c22a71 04:28:27 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:28:28 ---> Running in a53269e33759 04:28:28 Removing intermediate container a53269e33759 04:28:28 ---> 2e5ce76ea000 04:28:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:28:28 ---> Running in a8716f465a3d 04:28:29 Removing intermediate container a8716f465a3d 04:28:29 ---> 45691d9b9680 04:28:29 Step 22/24 : LABEL arch=amd64 04:28:29 ---> Running in 9f933b27d7a4 04:28:30 Removing intermediate container 9f933b27d7a4 04:28:30 ---> 27fd9fd6f501 04:28:30 Step 23/24 : LABEL git_sha=1c5dcca774fd26141df6ad0ee83293992d973ff5 04:28:30 ---> Running in 864d2c507398 04:28:30 Removing intermediate container 864d2c507398 04:28:30 ---> c8873aa3940b 04:28:30 Step 24/24 : LABEL version=0.0.0 04:28:30 ---> Running in d97a99dd2d3c 04:28:31 Removing intermediate container d97a99dd2d3c 04:28:31 ---> 93a505c861af 04:28:31 [Warning] One or more build-args [ARCH] were not consumed 04:28:31 Successfully built 93a505c861af 04:28:31 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:28:33 provisioning config files... 04:28:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/config8939247787653516324tmp [Pipeline] { [Pipeline] sh 04:28:34 + set +x 04:28:34 + bash -s -- 04:28:34 + curl -s https://codecov.io/bash 04:28:34 04:28:34 _____ _ 04:28:34 / ____| | | 04:28:34 | | ___ __| | ___ ___ _____ __ 04:28:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:34 Bash-20210129-7c25fce 04:28:34 04:28:34 04:28:34 ==> git version 2.24.3 found 04:28:34 ==> 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 04:28:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:28:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:28:34 ==> Jenkins CI detected. 04:28:34 project root: . 04:28:34 --> token set from env 04:28:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:34 ==> Running gcov in . (disable via -X gcov) 04:28:34 ==> Python coveragepy not found 04:28:34 ==> Searching for coverage reports in: 04:28:34 + . 04:28:34 -> Found 1 reports 04:28:34 ==> Detecting git/mercurial file structure 04:28:34 ==> Reading reports 04:28:34 + ./coverage.out bytes=101757 04:28:34 ==> Appending adjustments 04:28:34 https://docs.codecov.io/docs/fixing-reports 04:28:35 + Found adjustments 04:28:35 ==> Gzipping contents 04:28:35 20K /tmp/codecov.ZPr0y3.gz 04:28:35 ==> Uploading reports 04:28:35 url: https://codecov.io 04:28:35 query: branch=PR-790&commit=1c5dcca774fd26141df6ad0ee83293992d973ff5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-790%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=790&job=&cmd_args= 04:28:35 -> Pinging Codecov 04:28:35 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-790&commit=1c5dcca774fd26141df6ad0ee83293992d973ff5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-790%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=790&job=&cmd_args= 04:28:35 -> Uploading to 04:28:35 https://storage.googleapis.com/codecov/v4/raw/2021-02-22/7E55EF52A471D76F132DFD9A03CDDE97/1c5dcca774fd26141df6ad0ee83293992d973ff5/6a1f1523-5df9-496d-acf3-8a8a44d8e054.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210222T042835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5a7300c1546b88388575d3a9414c5bb5f8e7bced0083e8d28f034fa698fb330 04:28:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:35 Dload Upload Total Spent Left Speed 04:28:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16494 0 0 100 16494 0 35744 --:--:-- --:--:-- --:--:-- 35701 100 16494 0 0 100 16494 0 35732 --:--:-- --:--:-- --:--:-- 35701 04:28:35 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1c5dcca774fd26141df6ad0ee83293992d973ff5 [Pipeline] } 04:28:35 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 04:28:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:39 ---> package-listing.sh 04:28:39 ++ facter osfamily 04:28:39 ++ tr '[:upper:]' '[:lower:]' 04:28:39 + OS_FAMILY=redhat 04:28:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-790 04:28:39 + START_PACKAGES=/tmp/packages_start.txt 04:28:39 + END_PACKAGES=/tmp/packages_end.txt 04:28:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:39 + PACKAGES=/tmp/packages_start.txt 04:28:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-790 ']' 04:28:39 + PACKAGES=/tmp/packages_end.txt 04:28:39 + case "${OS_FAMILY}" in 04:28:39 + rpm -qa 04:28:39 + sort 04:28:44 + '[' -f /tmp/packages_start.txt ']' 04:28:44 + '[' -f /tmp/packages_end.txt ']' 04:28:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-790 ']' 04:28:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-790/archives/ 04:28:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-790/archives/ [Pipeline] echo 04:28:44 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-790/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:28:45 04:28:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:28:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:28:45 alpine: Pulling from edgex-lftools-log-publisher 04:28:45 df20fa9351a1: Pulling fs layer 04:28:45 36b3adc4ff6f: Pulling fs layer 04:28:45 8ad3a11d3b57: Pulling fs layer 04:28:45 46f8f816bc3b: Pulling fs layer 04:28:45 93b61091891f: Pulling fs layer 04:28:45 93b9cdb0e59b: Pulling fs layer 04:28:45 5e14af77c1be: Pulling fs layer 04:28:45 01666e4c0597: Pulling fs layer 04:28:45 aa168da1d23b: Pulling fs layer 04:28:45 46f8f816bc3b: Waiting 04:28:45 93b61091891f: Waiting 04:28:45 93b9cdb0e59b: Waiting 04:28:45 5e14af77c1be: Waiting 04:28:45 aa168da1d23b: Waiting 04:28:45 36b3adc4ff6f: Verifying Checksum 04:28:45 36b3adc4ff6f: Download complete 04:28:45 46f8f816bc3b: Verifying Checksum 04:28:45 46f8f816bc3b: Download complete 04:28:45 df20fa9351a1: Verifying Checksum 04:28:45 df20fa9351a1: Download complete 04:28:45 93b9cdb0e59b: Verifying Checksum 04:28:45 93b9cdb0e59b: Download complete 04:28:45 5e14af77c1be: Verifying Checksum 04:28:45 5e14af77c1be: Download complete 04:28:45 01666e4c0597: Verifying Checksum 04:28:45 01666e4c0597: Download complete 04:28:45 93b61091891f: Verifying Checksum 04:28:45 93b61091891f: Download complete 04:28:45 8ad3a11d3b57: Verifying Checksum 04:28:45 8ad3a11d3b57: Download complete 04:28:46 df20fa9351a1: Pull complete 04:28:46 36b3adc4ff6f: Pull complete 04:28:47 8ad3a11d3b57: Pull complete 04:28:47 46f8f816bc3b: Pull complete 04:28:47 aa168da1d23b: Verifying Checksum 04:28:47 aa168da1d23b: Download complete 04:28:47 93b61091891f: Pull complete 04:28:48 93b9cdb0e59b: Pull complete 04:28:48 5e14af77c1be: Pull complete 04:28:48 01666e4c0597: Pull complete 04:28:55 aa168da1d23b: Pull complete 04:28:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:28:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:28:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:28:55 prd-centos7-docker-4c-2g-27102 does not seem to be running inside a container 04:28:55 $ 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-790/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-790 -v /w/workspace/dgexfoundry_device-sdk-go_PR-790:/w/workspace/dgexfoundry_device-sdk-go_PR-790:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-790@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 04:28:58 $ docker top a4efae052ff1bcffe6035e8a9bb3cafaacc1a695797b661903bb6cb700a50936 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:59 + mkdir -p /var/log/sa [Pipeline] sh 04:28:59 + ls /var/log/sa-host 04:28:59 + sadf -c /var/log/sa-host/sa22 04:28:59 file_magic: OK 04:28:59 HZ: Using current value: 100 04:28:59 file_header: OK 04:28:59 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 04:28:59 Statistics: 04:28:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:28:59 File successfully converted to sysstat format version 12.2.1 04:28:59 + sadf -c /var/log/sa-host/sa23 04:28:59 file_magic: OK 04:28:59 HZ: Using current value: 100 04:28:59 file_header: OK 04:28:59 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 04:28:59 Statistics: 04:28:59 Hnuu...uuuununununu... 04:28:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:00 provisioning config files... 04:29:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/config7563871681071336131tmp [Pipeline] { [Pipeline] echo 04:29:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:00 ---> create-netrc.sh [Pipeline] } 04:29:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:29:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:29:01 ---> python-tools-install.sh [Pipeline] echo 04:29:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:01 ---> sudo-logs.sh 04:29:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:02 ---> job-cost.sh 04:29:02 lf-activate-venv: SKIPPING 04:29:02 INFO: No Stack... 04:29:02 INFO: Retrieving Pricing Info for: v1-standard-2 04:29:03 INFO: Archiving Costs [Pipeline] echo 04:29:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:03 ---> logs-deploy.sh 04:29:03 lf-activate-venv: SKIPPING 04:29:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-790/3 04:29:03 INFO: archiving workspace using pattern(s): 04:29:05 Archives upload complete. 04:29:05 INFO: archiving logs to Nexus 04:29:06 ---> uname -a: 04:29:06 Linux prd-centos7-docker-4c-2g-27102.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:29:06 04:29:06 04:29:06 ---> lscpu: 04:29:06 Architecture: x86_64 04:29:06 CPU op-mode(s): 32-bit, 64-bit 04:29:06 Byte Order: Little Endian 04:29:06 Address sizes: 40 bits physical, 48 bits virtual 04:29:06 CPU(s): 4 04:29:06 On-line CPU(s) list: 0-3 04:29:06 Thread(s) per core: 1 04:29:06 Core(s) per socket: 1 04:29:06 Socket(s): 4 04:29:06 NUMA node(s): 1 04:29:06 Vendor ID: GenuineIntel 04:29:06 CPU family: 6 04:29:06 Model: 44 04:29:06 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:29:06 Stepping: 1 04:29:06 CPU MHz: 2933.442 04:29:06 BogoMIPS: 5866.88 04:29:06 Virtualization: VT-x 04:29:06 Hypervisor vendor: KVM 04:29:06 Virtualization type: full 04:29:06 L1d cache: 128 KiB 04:29:06 L1i cache: 128 KiB 04:29:06 L2 cache: 16 MiB 04:29:06 L3 cache: 64 MiB 04:29:06 NUMA node0 CPU(s): 0-3 04:29:06 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:29:06 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:29:06 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:29:06 Vulnerability Meltdown: Mitigation; PTI 04:29:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:29:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:29:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:29:06 Vulnerability Srbds: Not affected 04:29:06 Vulnerability Tsx async abort: Not affected 04:29:06 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 04:29:06 04:29:06 04:29:06 ---> nproc: 04:29:06 4 04:29:06 04:29:06 04:29:06 ---> df -h: 04:29:06 Filesystem Size Used Available Use% Mounted on 04:29:06 overlay 50.0G 7.3G 42.7G 15% / 04:29:06 tmpfs 64.0M 0 64.0M 0% /dev 04:29:06 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:29:06 shm 64.0M 0 64.0M 0% /dev/shm 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-790 04:29:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp 04:29:06 04:29:06 04:29:06 ---> free -m: 04:29:06 total used free shared buff/cache available 04:29:06 Mem: 1837 713 113 0 1010 1019 04:29:06 Swap: 1023 1 1022 04:29:06 04:29:06 04:29:06 ---> ip addr: 04:29:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:29:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:29:06 inet 127.0.0.1/8 scope host lo 04:29:06 valid_lft forever preferred_lft forever 04:29:06 inet6 ::1/128 scope host 04:29:06 valid_lft forever preferred_lft forever 04:29:06 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:29:06 link/ether fa:16:3e:f4:b3:8e brd ff:ff:ff:ff:ff:ff 04:29:06 inet 10.30.122.73/23 brd 10.30.123.255 scope global dynamic eth0 04:29:06 valid_lft 85694sec preferred_lft 85694sec 04:29:06 inet6 fe80::f816:3eff:fef4:b38e/64 scope link 04:29:06 valid_lft forever preferred_lft forever 04:29:06 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:29:06 link/ether 02:42:5c:68:24:93 brd ff:ff:ff:ff:ff:ff 04:29:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:29:06 valid_lft forever preferred_lft forever 04:29:06 inet6 fe80::42:5cff:fe68:2493/64 scope link 04:29:06 valid_lft forever preferred_lft forever 04:29:06 04:29:06 04:29:06 ---> sar -b -r -n DEV: 04:29:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/22/21 _x86_64_ (4 CPU) 04:29:06 04:29:06 04:17:10 LINUX RESTART (4 CPU) 04:29:06 04:29:06 04:18:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:29:06 04:19:01 31.39 11.12 20.26 0.00 4458.17 3138.68 0.00 04:29:06 04:20:01 1.60 0.00 1.60 0.00 0.00 27.29 0.00 04:29:06 04:21:01 0.23 0.00 0.23 0.00 0.00 2.86 0.00 04:29:06 04:22:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 04:29:06 04:23:01 0.25 0.00 0.25 0.00 0.00 2.95 0.00 04:29:06 04:24:01 0.30 0.00 0.30 0.00 0.00 4.18 0.00 04:29:06 04:25:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 04:29:06 04:26:01 0.20 0.00 0.20 0.00 0.00 2.58 0.00 04:29:06 04:27:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 04:29:06 04:28:01 0.25 0.00 0.25 0.00 0.00 2.73 0.00 04:29:06 Average: 3.46 1.10 2.36 0.00 439.29 314.53 0.00 04:29:06 04:29:06 04:18:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:29:06 04:19:01 152120 0 615468 32.71 2620 1111336 1096588 37.42 454036 1077456 20 04:29:06 04:20:01 157044 0 610536 32.45 2620 1111344 1077652 36.78 451356 1075444 8 04:29:06 04:21:01 154312 0 613264 32.59 2620 1111348 1077856 36.79 455072 1074584 8 04:29:06 04:22:01 155488 0 612088 32.53 2620 1111348 1077652 36.78 463052 1065412 8 04:29:06 04:23:01 153332 0 614236 32.65 2620 1111356 1077820 36.78 458472 1072576 8 04:29:06 04:24:01 153968 0 613536 32.61 2620 1111420 1077688 36.78 468112 1062348 32 04:29:06 04:25:01 154156 0 613404 32.60 2620 1111364 1077652 36.78 467908 1062332 8 04:29:06 04:26:01 154512 0 613044 32.58 2620 1111368 1077652 36.78 467812 1062332 8 04:29:06 04:27:01 154372 0 613176 32.59 2620 1111376 1077652 36.78 467796 1062380 8 04:29:06 04:28:01 153996 0 613548 32.61 2620 1111380 1077736 36.78 468368 1062380 8 04:29:06 Average: 154330 0 613230 32.59 2620 1111364 1079595 36.84 462198 1067724 12 04:29:06 04:29:06 04:18:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:29:06 04:19:01 eth0 91.81 78.25 369.72 40.11 0.00 0.00 0.00 0.00 04:29:06 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:19:01 docker0 13.42 10.68 1.71 23.11 0.00 0.00 0.00 0.00 04:29:06 04:20:01 eth0 0.72 0.08 0.06 0.01 0.00 0.00 0.00 0.00 04:29:06 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:21:01 eth0 1.15 0.40 0.31 0.20 0.00 0.00 0.00 0.00 04:29:06 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:22:01 eth0 0.23 0.02 0.03 0.00 0.00 0.00 0.00 0.00 04:29:06 04:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:23:01 eth0 0.57 0.47 0.34 0.24 0.00 0.00 0.00 0.00 04:29:06 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:24:01 eth0 0.18 0.17 0.07 0.04 0.00 0.00 0.00 0.00 04:29:06 04:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:25:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:29:06 04:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:26:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:29:06 04:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:27:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:29:06 04:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:28:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 04:29:06 04:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 04:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 Average: eth0 9.38 7.87 36.52 4.01 0.00 0.00 0.00 0.00 04:29:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:29:06 Average: docker0 1.32 1.05 0.17 2.28 0.00 0.00 0.00 0.00 04:29:06 04:29:06 04:29:06 ---> sar -P ALL: 04:29:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/22/21 _x86_64_ (4 CPU) 04:29:06 04:29:06 04:17:10 LINUX RESTART (4 CPU) 04:29:06 04:29:06 04:18:02 CPU %user %nice %system %iowait %steal %idle 04:29:06 04:19:01 all 2.75 0.00 2.00 0.45 0.03 94.78 04:29:06 04:19:01 0 2.54 0.00 2.15 0.29 0.03 94.99 04:29:06 04:19:01 1 2.60 0.00 2.13 0.92 0.02 94.33 04:29:06 04:19:01 2 3.21 0.00 2.01 0.32 0.03 94.42 04:29:06 04:19:01 3 2.64 0.00 1.71 0.26 0.03 95.36 04:29:06 04:20:01 all 0.13 0.00 0.05 0.00 0.00 99.82 04:29:06 04:20:01 0 0.00 0.00 0.03 0.00 0.00 99.97 04:29:06 04:20:01 1 0.07 0.00 0.03 0.00 0.00 99.90 04:29:06 04:20:01 2 0.27 0.00 0.05 0.00 0.00 99.68 04:29:06 04:20:01 3 0.17 0.00 0.08 0.00 0.00 99.75 04:29:06 04:21:01 all 0.18 0.00 0.04 0.00 0.00 99.78 04:29:06 04:21:01 0 0.05 0.00 0.02 0.00 0.00 99.93 04:29:06 04:21:01 1 0.05 0.00 0.05 0.00 0.00 99.90 04:29:06 04:21:01 2 0.55 0.00 0.03 0.00 0.00 99.42 04:29:06 04:21:01 3 0.08 0.00 0.05 0.00 0.00 99.87 04:29:06 04:22:01 all 0.06 0.00 0.05 0.00 0.00 99.90 04:29:06 04:22:01 0 0.00 0.00 0.02 0.00 0.00 99.98 04:29:06 04:22:01 1 0.03 0.00 0.07 0.00 0.00 99.90 04:29:06 04:22:01 2 0.13 0.00 0.05 0.00 0.00 99.82 04:29:06 04:22:01 3 0.07 0.00 0.05 0.00 0.00 99.88 04:29:06 04:23:01 all 0.13 0.00 0.05 0.00 0.00 99.82 04:29:06 04:23:01 0 0.05 0.00 0.05 0.00 0.00 99.90 04:29:06 04:23:01 1 0.05 0.00 0.07 0.00 0.00 99.88 04:29:06 04:23:01 2 0.33 0.00 0.05 0.00 0.00 99.62 04:29:06 04:23:01 3 0.07 0.00 0.05 0.00 0.00 99.88 04:29:06 04:24:01 all 0.15 0.00 0.06 0.00 0.00 99.78 04:29:06 04:24:01 0 0.00 0.00 0.03 0.00 0.00 99.97 04:29:06 04:24:01 1 0.07 0.00 0.15 0.00 0.00 99.78 04:29:06 04:24:01 2 0.52 0.00 0.02 0.00 0.02 99.45 04:29:06 04:24:01 3 0.03 0.00 0.05 0.00 0.00 99.92 04:29:06 04:25:01 all 0.15 0.00 0.03 0.00 0.00 99.82 04:29:06 04:25:01 0 0.02 0.00 0.02 0.00 0.00 99.97 04:29:06 04:25:01 1 0.05 0.00 0.05 0.00 0.00 99.90 04:29:06 04:25:01 2 0.47 0.00 0.03 0.00 0.00 99.50 04:29:06 04:25:01 3 0.05 0.00 0.02 0.00 0.00 99.93 04:29:06 04:26:01 all 0.12 0.00 0.05 0.00 0.01 99.82 04:29:06 04:26:01 0 0.02 0.00 0.02 0.00 0.00 99.97 04:29:06 04:26:01 1 0.33 0.00 0.07 0.00 0.02 99.58 04:29:06 04:26:01 2 0.07 0.00 0.05 0.00 0.00 99.88 04:29:06 04:26:01 3 0.08 0.00 0.07 0.00 0.02 99.83 04:29:06 04:27:01 all 0.16 0.00 0.03 0.00 0.00 99.81 04:29:06 04:27:01 0 0.03 0.00 0.02 0.00 0.00 99.95 04:29:06 04:27:01 1 0.53 0.00 0.05 0.00 0.00 99.42 04:29:06 04:27:01 2 0.02 0.00 0.03 0.00 0.00 99.95 04:29:06 04:27:01 3 0.05 0.00 0.02 0.00 0.00 99.93 04:29:06 04:28:01 all 0.15 0.00 0.03 0.00 0.00 99.82 04:29:06 04:28:01 0 0.00 0.00 0.02 0.00 0.00 99.98 04:29:06 04:28:01 1 0.05 0.00 0.05 0.00 0.00 99.90 04:29:06 04:28:01 2 0.52 0.00 0.03 0.00 0.00 99.45 04:29:06 04:28:01 3 0.03 0.00 0.03 0.00 0.00 99.93 04:29:06 Average: all 0.39 0.00 0.24 0.04 0.00 99.32 04:29:06 Average: 0 0.27 0.00 0.23 0.03 0.00 99.47 04:29:06 Average: 1 0.38 0.00 0.27 0.09 0.00 99.26 04:29:06 Average: 2 0.60 0.00 0.23 0.03 0.01 99.13 04:29:06 Average: 3 0.32 0.00 0.21 0.03 0.01 99.44 04:29:06 04:29:06 04:29:06