Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15032 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [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-661 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Merge succeeded, producing 02761826d13a242f4f05e5d183ea2f44098b7bfd Checking out Revision 02761826d13a242f4f05e5d183ea2f44098b7bfd (PR-661) > 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/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02761826d13a242f4f05e5d183ea2f44098b7bfd # timeout=10 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" > git rev-list --no-walk 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:14 ========================================================= 02:42:14 EdgeX Global Pipelines Version Info 02:42:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:16 ------------------- 02:42:16 stable info: 02:42:16 ------------------- 02:42:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:16 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 02:42:16 Message: update stable to v1.0.171 02:42:17 ------------------- 02:42:17 experimental info: 02:42:17 ------------------- 02:42:17 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:17 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 02:42:17 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02761826d13a242f4f05e5d183ea2f44098b7bfd [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0276182 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:20 provisioning config files... 02:42:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config2753193151505615042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:21 ---> docker-login.sh 02:42:21 nexus3.edgexfoundry.org:10001 02:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:21 Configure a credential helper to remove this warning. See 02:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:21 02:42:21 Login Succeeded 02:42:21 nexus3.edgexfoundry.org:10002 02:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:21 Configure a credential helper to remove this warning. See 02:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:21 02:42:21 Login Succeeded 02:42:21 nexus3.edgexfoundry.org:10003 02:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:21 Configure a credential helper to remove this warning. See 02:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:21 02:42:21 Login Succeeded 02:42:21 nexus3.edgexfoundry.org:10004 02:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 docker.io 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 ---> docker-login.sh ends [Pipeline] } 02:42:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:23 + git log --format=format:%s -1 02761826d13a242f4f05e5d183ea2f44098b7bfd [Pipeline] echo 02:42:23 GIT_COMMIT: 02761826d13a242f4f05e5d183ea2f44098b7bfd, Commit Message: Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD [Pipeline] echo 02:42:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:24 02:42:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:24 latest: Pulling from edgex-devops/git-semver 02:42:24 31603596830f: Pulling fs layer 02:42:24 2a8b12db71e7: Pulling fs layer 02:42:24 6ca5941a6612: Pulling fs layer 02:42:24 ecc8261a40a4: Pulling fs layer 02:42:24 ecc8261a40a4: Waiting 02:42:24 2a8b12db71e7: Download complete 02:42:24 31603596830f: Verifying Checksum 02:42:24 31603596830f: Download complete 02:42:24 ecc8261a40a4: Verifying Checksum 02:42:24 ecc8261a40a4: Download complete 02:42:24 6ca5941a6612: Verifying Checksum 02:42:24 6ca5941a6612: Download complete 02:42:24 31603596830f: Pull complete 02:42:24 2a8b12db71e7: Pull complete 02:42:25 6ca5941a6612: Pull complete 02:42:25 ecc8261a40a4: Pull complete 02:42:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:26 prd-centos7-docker-4c-2g-15032 does not seem to be running inside a container 02:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:28 $ docker top 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:28 [ssh-agent] Looking for ssh-agent implementation... 02:42:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:28 $ docker exec 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent 02:42:29 SSH_AUTH_SOCK=/tmp/ssh-3Gm7cLZgG5qI/agent.11 02:42:29 SSH_AGENT_PID=16 02:42:29 Running ssh-add (command line suppressed) 02:42:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8986174282287990670.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8986174282287990670.key) 02:42:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:29 + git tag --points-at HEAD [Pipeline] } 02:42:29 $ docker exec --env ******** --env ******** 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent -k 02:42:29 unset SSH_AUTH_SOCK; 02:42:29 unset SSH_AGENT_PID; 02:42:29 echo Agent pid 16 killed; 02:42:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:29 [ssh-agent] Looking for ssh-agent implementation... 02:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:30 $ docker exec 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent 02:42:30 SSH_AUTH_SOCK=/tmp/ssh-olkKFxuIS5N4/agent.46 02:42:30 SSH_AGENT_PID=51 02:42:30 Running ssh-add (command line suppressed) 02:42:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8370866484407214845.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8370866484407214845.key) 02:42:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:30 + git semver init 02:42:30 # -> Open(): unable to determine branch for HEAD 02:42:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 02:42:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 02:42:30 # $SEMVER_REMOTE_NAME = origin 02:42:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:30 # $SEMVER_USER_NAME = edgex-jenkins 02:42:30 # $SEMVER_BRANCH = PR-661 02:42:30 # $SEMVER_TEMP = /tmp/semver-826084221 02:42:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:31 # '/tmp/semver-826084221' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 02:42:31 # -> Force: false 02:42:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 02:42:31 $ docker exec --env ******** --env ******** 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce ssh-agent -k 02:42:31 unset SSH_AUTH_SOCK; 02:42:31 unset SSH_AGENT_PID; 02:42:31 echo Agent pid 51 killed; 02:42:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:32 + git semver [Pipeline] } 02:42:32 $ docker stop --time=1 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce 02:42:33 $ docker rm -f 00871ee81e5a584fdab585fe2f06312016da82b6419713043f539ff9fba897ce [Pipeline] // withDockerContainer [Pipeline] sh 02:42:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:34 Stashed 1 file(s) [Pipeline] echo 02:42:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:42:50 Still waiting to schedule task 02:42:50 ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15034’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:50 Still waiting to schedule task 02:42:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 02:43:41 Running on prd-centos7-docker-4c-2g-15036 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 02:43:41 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:43:44 using credential edgex-jenkins-ssh 02:43:44 Cloning the remote Git repository 02:43:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:44 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:43:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:44 > git --version # timeout=10 02:43:44 > git --version # 'git version 2.24.3' 02:43:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:45 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 02:43:45 Merge succeeded, producing 6c3605beb1989f4629eaedf228ddd10999c415e7 02:43:45 Checking out Revision 6c3605beb1989f4629eaedf228ddd10999c415e7 (PR-661) 02:43:45 > git config core.sparsecheckout # timeout=10 02:43:45 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 02:43:45 > git remote # timeout=10 02:43:45 > git config --get remote.origin.url # timeout=10 02:43:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:45 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 02:43:45 > git rev-parse HEAD^{commit} # timeout=10 02:43:45 > git config core.sparsecheckout # timeout=10 02:43:45 > git checkout -f 6c3605beb1989f4629eaedf228ddd10999c415e7 # timeout=10 02:43:49 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" 02:43:49 > git rev-list --no-walk 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:51 + sudo service docker restart 02:43:51 + true 02:43:51 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:52 provisioning config files... 02:43:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3068421762311951511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:53 ---> docker-login.sh 02:43:53 nexus3.edgexfoundry.org:10001 02:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:53 Configure a credential helper to remove this warning. See 02:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:53 02:43:53 Login Succeeded 02:43:53 nexus3.edgexfoundry.org:10002 02:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:53 Configure a credential helper to remove this warning. See 02:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:53 02:43:53 Login Succeeded 02:43:53 nexus3.edgexfoundry.org:10003 02:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:54 Configure a credential helper to remove this warning. See 02:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:54 02:43:54 Login Succeeded 02:43:54 nexus3.edgexfoundry.org:10004 02:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:54 Configure a credential helper to remove this warning. See 02:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:54 02:43:54 Login Succeeded 02:43:54 docker.io 02:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:54 Configure a credential helper to remove this warning. See 02:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:54 02:43:54 Login Succeeded 02:43:54 ---> docker-login.sh ends [Pipeline] } 02:43:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:55 ========================================================= 02:43:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:55 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:43:55 Sending build context to Docker daemon 2.402MB 02:43:55 Step 1/8 : ARG BASE=golang:1.15-alpine 02:43:55 Step 2/8 : FROM ${BASE} 02:43:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:55 188c0c94c7c5: Pulling fs layer 02:43:55 0ef7d3d256c8: Pulling fs layer 02:43:55 de9db76c5a1d: Pulling fs layer 02:43:55 bca2f99d35d6: Pulling fs layer 02:43:55 93359f2a8cfa: Pulling fs layer 02:43:55 7c6f9722023f: Pulling fs layer 02:43:55 a35cf1a2eb13: Pulling fs layer 02:43:55 93359f2a8cfa: Waiting 02:43:55 7c6f9722023f: Waiting 02:43:55 a35cf1a2eb13: Waiting 02:43:55 bca2f99d35d6: Waiting 02:43:55 de9db76c5a1d: Verifying Checksum 02:43:55 de9db76c5a1d: Download complete 02:43:55 0ef7d3d256c8: Verifying Checksum 02:43:55 0ef7d3d256c8: Download complete 02:43:55 93359f2a8cfa: Download complete 02:43:55 7c6f9722023f: Verifying Checksum 02:43:55 7c6f9722023f: Download complete 02:43:55 188c0c94c7c5: Verifying Checksum 02:43:55 188c0c94c7c5: Download complete 02:43:56 188c0c94c7c5: Pull complete 02:43:56 0ef7d3d256c8: Pull complete 02:43:56 de9db76c5a1d: Pull complete 02:43:59 a35cf1a2eb13: Verifying Checksum 02:43:59 a35cf1a2eb13: Download complete 02:44:00 bca2f99d35d6: Verifying Checksum 02:44:00 bca2f99d35d6: Download complete 02:44:05 bca2f99d35d6: Pull complete 02:44:05 93359f2a8cfa: Pull complete 02:44:05 7c6f9722023f: Pull complete 02:44:12 a35cf1a2eb13: Pull complete 02:44:12 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:12 ---> a62c8e92a672 02:44:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:12 ---> Running in 15921a1210ab 02:44:12 Removing intermediate container 15921a1210ab 02:44:12 ---> 8a31cb7cca35 02:44:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:12 ---> Running in dfdd572f3585 02:44:13 Removing intermediate container dfdd572f3585 02:44:13 ---> a04da304fe90 02:44:13 Step 5/8 : RUN apk add --no-cache make git 02:44:14 ---> Running in d0504b74f35c 02:44:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:16 OK: 166 MiB in 39 packages 02:44:16 Removing intermediate container d0504b74f35c 02:44:16 ---> 3c0db5004265 02:44:16 Step 6/8 : WORKDIR /device-sdk-go 02:44:17 ---> Running in c84d305e67b7 02:44:17 Removing intermediate container c84d305e67b7 02:44:17 ---> e456c865cba8 02:44:17 Step 7/8 : COPY . . 02:44:18 ---> 80da88223c83 02:44:18 Step 8/8 : RUN go mod download 02:44:18 ---> Running in b9a204e87f05 02:44:36 Removing intermediate container b9a204e87f05 02:44:36 ---> 5d4fd6b745a3 02:44:36 Successfully built 5d4fd6b745a3 02:44:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15037 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 02:44:36 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:44:37 + docker inspect -f . ci-base-image-x86_64 02:44:37 . [Pipeline] withDockerContainer 02:44:37 prd-centos7-docker-4c-2g-15036 does not seem to be running inside a container 02:44:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-x86_64 cat 02:44:37 $ docker top 1f04f25eb923808814c1e52e04987e14ce5877dff5860e3e64a34333083ddbd0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:38 + go version 02:44:38 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:38 $ docker stop --time=1 1f04f25eb923808814c1e52e04987e14ce5877dff5860e3e64a34333083ddbd0 02:44:39 $ docker rm -f 1f04f25eb923808814c1e52e04987e14ce5877dff5860e3e64a34333083ddbd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:40 + docker inspect -f . ci-base-image-x86_64 02:44:40 . [Pipeline] withDockerContainer 02:44:41 prd-centos7-docker-4c-2g-15036 does not seem to be running inside a container 02:44:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-x86_64 cat 02:44:42 $ docker top 89eccb0243af5d80836cc68558aab3023ecfdd12750e7a60588f68b822da38f2 -eo pid,comm 02:44:42 using credential edgex-jenkins-ssh 02:44:42 Cloning the remote Git repository [Pipeline] { [Pipeline] sh 02:44:42 + make test 02:44:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:42 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:44:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:42 > git --version # timeout=10 02:44:42 > git --version # 'git version 2.17.1' 02:44:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:45 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 02:44:45 Merge succeeded, producing 45c357751ec9638b8b0418a501176f3f8f5eb9d2 02:44:45 Checking out Revision 45c357751ec9638b8b0418a501176f3f8f5eb9d2 (PR-661) 02:44:45 > git config core.sparsecheckout # timeout=10 02:44:45 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 02:44:45 > git remote # timeout=10 02:44:45 > git config --get remote.origin.url # timeout=10 02:44:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:45 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 02:44:45 > git rev-parse HEAD^{commit} # timeout=10 02:44:45 > git config core.sparsecheckout # timeout=10 02:44:45 > git checkout -f 45c357751ec9638b8b0418a501176f3f8f5eb9d2 # timeout=10 02:44:50 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" 02:44:50 > git rev-list --no-walk 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:44:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:52 + true 02:44:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:55 provisioning config files... 02:44:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3804682795505191909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:55 ---> docker-login.sh 02:44:55 nexus3.edgexfoundry.org:10001 02:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:56 Configure a credential helper to remove this warning. See 02:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:56 02:44:56 Login Succeeded 02:44:56 nexus3.edgexfoundry.org:10002 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 nexus3.edgexfoundry.org:10003 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 nexus3.edgexfoundry.org:10004 02:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:58 Configure a credential helper to remove this warning. See 02:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:58 02:44:58 Login Succeeded 02:44:58 docker.io 02:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:58 Configure a credential helper to remove this warning. See 02:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:58 02:44:58 Login Succeeded 02:44:58 ---> docker-login.sh ends [Pipeline] } 02:44:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:59 ========================================================= 02:44:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:59 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:45:00 Sending build context to Docker daemon 2.403MB 02:45:00 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:00 Step 2/8 : FROM ${BASE} 02:45:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:00 5f621e34cdf4: Pulling fs layer 02:45:00 a4357932f1b6: Pulling fs layer 02:45:00 18c013af1878: Pulling fs layer 02:45:00 00ac8860ef70: Pulling fs layer 02:45:00 63d7cb157983: Pulling fs layer 02:45:00 b116817d02f9: Pulling fs layer 02:45:00 745a02a5169b: Pulling fs layer 02:45:00 00ac8860ef70: Waiting 02:45:00 63d7cb157983: Waiting 02:45:00 b116817d02f9: Waiting 02:45:00 745a02a5169b: Waiting 02:45:00 18c013af1878: Verifying Checksum 02:45:00 18c013af1878: Download complete 02:45:00 a4357932f1b6: Verifying Checksum 02:45:00 a4357932f1b6: Download complete 02:45:00 63d7cb157983: Verifying Checksum 02:45:00 63d7cb157983: Download complete 02:45:00 b116817d02f9: Verifying Checksum 02:45:00 b116817d02f9: Download complete 02:45:00 5f621e34cdf4: Verifying Checksum 02:45:00 5f621e34cdf4: Download complete 02:45:01 5f621e34cdf4: Pull complete 02:45:01 a4357932f1b6: Pull complete 02:45:02 18c013af1878: Pull complete 02:45:03 745a02a5169b: Verifying Checksum 02:45:03 745a02a5169b: Download complete 02:45:04 00ac8860ef70: Verifying Checksum 02:45:04 00ac8860ef70: Download complete 02:45:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.073s coverage: 20.0% of statements 02:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.517s coverage: 97.1% of statements 02:45:14 00ac8860ef70: Pull complete 02:45:14 63d7cb157983: Pull complete 02:45:14 b116817d02f9: Pull complete 02:45:17 745a02a5169b: Pull complete 02:45:17 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:45:17 ---> b7e6874047d6 02:45:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:20 ---> Running in 6032f6ec2ea8 02:45:21 Removing intermediate container 6032f6ec2ea8 02:45:21 ---> 88a30373f5bb 02:45:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:21 ---> Running in ce0b9c3555ab 02:45:23 Removing intermediate container ce0b9c3555ab 02:45:23 ---> 6ddb62f77369 02:45:23 Step 5/8 : RUN apk add --no-cache make git 02:45:23 ---> Running in fff6b70fcbb5 02:45:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:26 OK: 142 MiB in 39 packages 02:45:28 Removing intermediate container fff6b70fcbb5 02:45:28 ---> 60f386ea769e 02:45:28 Step 6/8 : WORKDIR /device-sdk-go 02:45:28 ---> Running in 1b01f97ec133 02:45:28 Removing intermediate container 1b01f97ec133 02:45:28 ---> 5f2d5e7fa912 02:45:28 Step 7/8 : COPY . . 02:45:29 ---> 42a56929f15d 02:45:29 Step 8/8 : RUN go mod download 02:45:30 ---> Running in 9e12c2cb62f9 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.067s coverage: 21.9% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.217s coverage: 42.5% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.313s coverage: 68.9% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:45:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.434s coverage: 68.9% of statements 02:45:41 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements 02:45:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:45:41 GO111MODULE=on go vet ./... 02:45:48 gofmt -l . 02:45:48 [ "`gofmt -l .`" = "" ] 02:45:48 ./bin/test-attribution-txt.sh 02:45:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:45:49 $ docker stop --time=1 89eccb0243af5d80836cc68558aab3023ecfdd12750e7a60588f68b822da38f2 02:45:51 $ docker rm -f 89eccb0243af5d80836cc68558aab3023ecfdd12750e7a60588f68b822da38f2 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:52 Removing intermediate container 9e12c2cb62f9 02:45:52 ---> 683c4b869feb 02:45:52 Successfully built 683c4b869feb 02:45:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:52 + docker inspect -f . ci-base-image-arm64 02:45:52 . [Pipeline] withDockerContainer 02:45:52 Stashed 1 file(s) 02:45:52 prd-ubuntu18.04-docker-arm64-4c-16g-15037 does not seem to be running inside a container 02:45:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:54 $ docker top 4bcf4814a343e4ee81527a5a2aa055e0ca2d8ec6c7f087236be038f6f1fecc14 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:45:55 + go version 02:45:55 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:57 $ docker stop --time=1 4bcf4814a343e4ee81527a5a2aa055e0ca2d8ec6c7f087236be038f6f1fecc14 02:45:59 $ docker rm -f 4bcf4814a343e4ee81527a5a2aa055e0ca2d8ec6c7f087236be038f6f1fecc14 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 02:45:59 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:00 + ls -al . 02:46:00 total 208 02:46:00 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 8 02:45 . 02:46:00 drwxrwxr-x. 4 jenkins jenkins 28 Dec 8 02:43 .. 02:46:00 drwxrwxr-x. 2 jenkins jenkins 64 Dec 8 02:43 bin 02:46:00 -rw-r--r--. 1 jenkins jenkins 127698 Dec 8 02:45 coverage.out 02:46:00 -rw-rw-r--. 1 jenkins jenkins 936 Dec 8 02:43 Dockerfile.build 02:46:00 -rw-rw-r--. 1 jenkins jenkins 140 Dec 8 02:43 .dockerignore 02:46:00 drwxrwxr-x. 4 jenkins jenkins 48 Dec 8 02:43 example 02:46:00 drwxrwxr-x. 8 jenkins jenkins 179 Dec 8 02:43 .git 02:46:00 drwxrwxr-x. 2 jenkins jenkins 103 Dec 8 02:43 .github 02:46:00 -rw-rw-r--. 1 jenkins jenkins 138 Dec 8 02:43 .gitignore 02:46:00 -rw-r--r--. 1 jenkins jenkins 518 Dec 8 02:45 go.mod 02:46:00 -rw-r--r--. 1 jenkins jenkins 13631 Dec 8 02:45 go.sum 02:46:00 drwxrwxr-x. 15 jenkins jenkins 211 Dec 8 02:43 internal 02:46:00 -rw-rw-r--. 1 jenkins jenkins 901 Dec 8 02:43 Jenkinsfile 02:46:00 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 8 02:43 LICENSE 02:46:00 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 8 02:43 Makefile 02:46:00 drwxrwxr-x. 4 jenkins jenkins 26 Dec 8 02:43 openapi 02:46:00 drwxrwxr-x. 5 jenkins jenkins 50 Dec 8 02:43 pkg 02:46:00 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 8 02:43 README.md 02:46:00 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 8 02:43 RELEASE-NOTES.txt 02:46:00 drwxrwxr-x. 4 jenkins jenkins 54 Dec 8 02:43 snap 02:46:00 -rw-rw-r--. 1 jenkins jenkins 5 Dec 8 02:42 VERSION 02:46:00 -rw-rw-r--. 1 jenkins jenkins 222 Dec 8 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:46:00 + docker inspect -f . ci-base-image-arm64 02:46:00 . [Pipeline] withDockerContainer 02:46:00 + 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=02761826d13a242f4f05e5d183ea2f44098b7bfd --label arch=amd64 --label version=0.0.0 . 02:46:00 prd-ubuntu18.04-docker-arm64-4c-16g-15037 does not seem to be running inside a container 02:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:00 Sending build context to Docker daemon 2.531MB 02:46:01 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:01 Step 2/24 : FROM ${BASE} AS builder 02:46:01 ---> 5d4fd6b745a3 02:46:01 Step 3/24 : ARG MAKE='make build' 02:46:01 ---> Running in b9f90d0ffae1 02:46:01 Removing intermediate container b9f90d0ffae1 02:46:01 ---> ba89e661c54c 02:46:01 Step 4/24 : WORKDIR /device-sdk-go 02:46:01 ---> Running in bb7528586f78 02:46:02 Removing intermediate container bb7528586f78 02:46:02 ---> 921ea42937ab 02:46:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:02 ---> Running in 128072d81da5 02:46:02 $ docker top a4ef7912d1de238ec5c23e7916ebba351c506d9e24946fb7a0533aa1caf9055b -eo pid,comm 02:46:02 Removing intermediate container 128072d81da5 02:46:02 ---> 77286722a8db 02:46:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:02 ---> Running in 7186aadc42b9 [Pipeline] { [Pipeline] sh 02:46:03 + make test 02:46:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:03 Removing intermediate container 7186aadc42b9 02:46:03 ---> 0e0bd90d3c94 02:46:03 Step 7/24 : RUN apk add --update --no-cache make git 02:46:03 ---> Running in 3b3e6286d991 02:46:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:05 OK: 166 MiB in 39 packages 02:46:06 Removing intermediate container 3b3e6286d991 02:46:06 ---> d850d751c540 02:46:06 Step 8/24 : COPY . . 02:46:07 ---> 162aa3ce9a33 02:46:07 Step 9/24 : RUN ${MAKE} 02:46:07 ---> Running in a51b7d0e7a42 02:46:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:46:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:18 Removing intermediate container a51b7d0e7a42 02:46:18 ---> 0ac094bab7d3 02:46:18 Step 10/24 : FROM scratch 02:46:18 ---> 02:46:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:18 ---> Running in ecc0393dc20f 02:46:18 Removing intermediate container ecc0393dc20f 02:46:18 ---> a976880aa44b 02:46:18 Step 12/24 : ENV APP_PORT=49990 02:46:18 ---> Running in 7a0208864b20 02:46:18 Removing intermediate container 7a0208864b20 02:46:18 ---> acaf138d3545 02:46:18 Step 13/24 : EXPOSE $APP_PORT 02:46:18 ---> Running in f471f58b9e90 02:46:18 Removing intermediate container f471f58b9e90 02:46:18 ---> 7264d0839100 02:46:18 Step 14/24 : WORKDIR / 02:46:18 ---> Running in dd625afad89f 02:46:18 Removing intermediate container dd625afad89f 02:46:18 ---> 3334842055ed 02:46:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:19 ---> 740abb948846 02:46:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:19 ---> 4e7b806f6ff9 02:46:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:20 ---> 57a3a9fe72aa 02:46:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:20 ---> 3bf802315e14 02:46:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:20 ---> dd3c274a91b2 02:46:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:20 ---> Running in 0b4ca4d11821 02:46:20 Removing intermediate container 0b4ca4d11821 02:46:20 ---> 62ae60fed8ff 02:46:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:20 ---> Running in 142949093a34 02:46:20 Removing intermediate container 142949093a34 02:46:20 ---> 7bc403551bcb 02:46:20 Step 22/24 : LABEL arch=amd64 02:46:20 ---> Running in 061f326886c3 02:46:21 Removing intermediate container 061f326886c3 02:46:21 ---> c0e1c52590ad 02:46:21 Step 23/24 : LABEL git_sha=02761826d13a242f4f05e5d183ea2f44098b7bfd 02:46:21 ---> Running in b7f1237f15e0 02:46:21 Removing intermediate container b7f1237f15e0 02:46:21 ---> 063cec6d70b4 02:46:21 Step 24/24 : LABEL version=0.0.0 02:46:21 ---> Running in fd8b6ea054a5 02:46:21 Removing intermediate container fd8b6ea054a5 02:46:21 ---> 56ba1b37ec3e 02:46:21 [Warning] One or more build-args [ARCH] were not consumed 02:46:21 Successfully built 56ba1b37ec3e 02:46:21 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] } 02:46:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:05 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:05 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.150s coverage: 20.0% of statements 02:47:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.325s coverage: 97.1% of statements 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.593s coverage: 42.5% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.785s coverage: 68.9% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.889s coverage: 68.9% of statements 02:47:38 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.7% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:38 GO111MODULE=on go vet ./... 02:48:05 gofmt -l . 02:48:06 [ "`gofmt -l .`" = "" ] 02:48:06 ./bin/test-attribution-txt.sh 02:48:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:07 $ docker stop --time=1 a4ef7912d1de238ec5c23e7916ebba351c506d9e24946fb7a0533aa1caf9055b 02:48:10 $ docker rm -f a4ef7912d1de238ec5c23e7916ebba351c506d9e24946fb7a0533aa1caf9055b [Pipeline] // withDockerContainer [Pipeline] sh 02:48:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:11 Warning: overwriting stash ‘coverage-report’ 02:48:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:13 + ls -al . 02:48:13 total 244 02:48:13 drwxrwxr-x 10 jenkins jenkins 4096 Dec 8 02:48 . 02:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 .. 02:48:13 -rw-rw-r-- 1 jenkins jenkins 140 Dec 8 02:44 .dockerignore 02:48:13 drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 02:44 .git 02:48:13 drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:44 .github 02:48:13 -rw-rw-r-- 1 jenkins jenkins 138 Dec 8 02:44 .gitignore 02:48:13 -rw-rw-r-- 1 jenkins jenkins 936 Dec 8 02:44 Dockerfile.build 02:48:13 -rw-rw-r-- 1 jenkins jenkins 901 Dec 8 02:44 Jenkinsfile 02:48:13 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 8 02:44 LICENSE 02:48:13 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 8 02:44 Makefile 02:48:13 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 8 02:44 README.md 02:48:13 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 8 02:44 RELEASE-NOTES.txt 02:48:13 -rw-rw-r-- 1 jenkins jenkins 5 Dec 8 02:42 VERSION 02:48:13 drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 02:44 bin 02:48:13 -rw-r--r-- 1 jenkins jenkins 127698 Dec 8 02:47 coverage.out 02:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 example 02:48:13 -rw-r--r-- 1 jenkins jenkins 518 Dec 8 02:48 go.mod 02:48:13 -rw-r--r-- 1 jenkins jenkins 13631 Dec 8 02:48 go.sum 02:48:13 drwxrwxr-x 15 jenkins jenkins 4096 Dec 8 02:44 internal 02:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 openapi 02:48:13 drwxrwxr-x 5 jenkins jenkins 4096 Dec 8 02:44 pkg 02:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 02:44 snap 02:48:13 -rw-rw-r-- 1 jenkins jenkins 222 Dec 8 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:48:13 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=02761826d13a242f4f05e5d183ea2f44098b7bfd --label arch=arm64 --label version=0.0.0 . 02:48:14 Sending build context to Docker daemon 2.531MB 02:48:14 Step 1/24 : ARG BASE=golang:1.15-alpine 02:48:14 Step 2/24 : FROM ${BASE} AS builder 02:48:14 ---> 683c4b869feb 02:48:14 Step 3/24 : ARG MAKE='make build' 02:48:14 ---> Running in 636d447fe434 02:48:15 Removing intermediate container 636d447fe434 02:48:15 ---> d4a9bdd41792 02:48:15 Step 4/24 : WORKDIR /device-sdk-go 02:48:15 ---> Running in d9e3139b399e 02:48:15 Removing intermediate container d9e3139b399e 02:48:15 ---> 72027589f716 02:48:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:15 ---> Running in fdd3741be356 02:48:16 Removing intermediate container fdd3741be356 02:48:16 ---> 05716b48848c 02:48:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:16 ---> Running in de39bd84dbf0 02:48:18 Removing intermediate container de39bd84dbf0 02:48:18 ---> 800b4eb8294b 02:48:18 Step 7/24 : RUN apk add --update --no-cache make git 02:48:18 ---> Running in c084d8f3ca68 02:48:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:20 OK: 142 MiB in 39 packages 02:48:21 Removing intermediate container c084d8f3ca68 02:48:21 ---> b8224be9980f 02:48:21 Step 8/24 : COPY . . 02:48:23 ---> 24db9e57ffba 02:48:23 Step 9/24 : RUN ${MAKE} 02:48:23 ---> Running in 558983e73d0b 02:48:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:48:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:51 Removing intermediate container 558983e73d0b 02:48:51 ---> c3dd4d4fc332 02:48:51 Step 10/24 : FROM scratch 02:48:51 ---> 02:48:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:51 ---> Running in 81d233c24534 02:48:51 Removing intermediate container 81d233c24534 02:48:51 ---> 2a469dbb58e8 02:48:51 Step 12/24 : ENV APP_PORT=49990 02:48:51 ---> Running in bcea01c18625 02:48:51 Removing intermediate container bcea01c18625 02:48:51 ---> 57536385bfba 02:48:51 Step 13/24 : EXPOSE $APP_PORT 02:48:51 ---> Running in bc275fb9964f 02:48:52 Removing intermediate container bc275fb9964f 02:48:52 ---> 518919f6af40 02:48:52 Step 14/24 : WORKDIR / 02:48:52 ---> Running in 3f55c50a746f 02:48:53 Removing intermediate container 3f55c50a746f 02:48:53 ---> 95782286239d 02:48:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:54 ---> 595a152ef693 02:48:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:55 ---> 69c62414fce8 02:48:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:55 ---> 7b5a7b3fe2a9 02:48:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:56 ---> 06e2f3eb3491 02:48:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:56 ---> 15831abcd55d 02:48:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:57 ---> Running in c43e17787cf2 02:48:57 Removing intermediate container c43e17787cf2 02:48:57 ---> a52754fcd767 02:48:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:57 ---> Running in 88c7059ff74a 02:48:58 Removing intermediate container 88c7059ff74a 02:48:58 ---> 36ce0b5a16b8 02:48:58 Step 22/24 : LABEL arch=arm64 02:48:58 ---> Running in 17f2a0b9d6c4 02:48:58 Removing intermediate container 17f2a0b9d6c4 02:48:58 ---> f1bf786296a1 02:48:58 Step 23/24 : LABEL git_sha=02761826d13a242f4f05e5d183ea2f44098b7bfd 02:48:58 ---> Running in 32a8f75c63de 02:48:59 Removing intermediate container 32a8f75c63de 02:48:59 ---> 0708db13382c 02:48:59 Step 24/24 : LABEL version=0.0.0 02:48:59 ---> Running in 7be1f2b8d501 02:48:59 Removing intermediate container 7be1f2b8d501 02:48:59 ---> 6169c986fe14 02:48:59 [Warning] One or more build-args [ARCH] were not consumed 02:48:59 Successfully built 6169c986fe14 02:48:59 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:49:01 provisioning config files... 02:49:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config849677073105591757tmp [Pipeline] { [Pipeline] sh 02:49:02 + set +x 02:49:02 + bash -s -- 02:49:02 + curl -s https://codecov.io/bash 02:49:02 02:49:02 _____ _ 02:49:02 / ____| | | 02:49:02 | | ___ __| | ___ ___ _____ __ 02:49:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:02 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:02 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:02 Bash-20201130-cc6d3fe 02:49:02 02:49:02 02:49:02 ==> Jenkins CI detected. 02:49:02 project root: . 02:49:02 --> token set from env 02:49:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:02 ==> Running gcov in . (disable via -X gcov) 02:49:02 ==> Python coveragepy not found 02:49:02 ==> Searching for coverage reports in: 02:49:02 + . 02:49:02 -> Found 1 reports 02:49:02 ==> Detecting git/mercurial file structure 02:49:02 ==> Reading reports 02:49:02 + ./coverage.out bytes=127698 02:49:02 ==> Appending adjustments 02:49:02 https://docs.codecov.io/docs/fixing-reports 02:49:03 + Found adjustments 02:49:03 ==> Gzipping contents 02:49:03 24K /tmp/codecov.ujowq6.gz 02:49:03 ==> Uploading reports 02:49:03 url: https://codecov.io 02:49:03 query: branch=PR-661&commit=02761826d13a242f4f05e5d183ea2f44098b7bfd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 02:49:03 -> Pinging Codecov 02:49:03 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=02761826d13a242f4f05e5d183ea2f44098b7bfd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 02:49:03 -> Uploading to 02:49:03 https://storage.googleapis.com/codecov/v4/raw/2020-12-08/7E55EF52A471D76F132DFD9A03CDDE97/02761826d13a242f4f05e5d183ea2f44098b7bfd/a1097ea2-bf7b-4a2e-9965-093a11fddda2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201208T024903Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7afda240c3ee2954276ca2cf36d1074bfeee7cbd5f937664ac9091613f6ec687 02:49:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:03 Dload Upload Total Spent Left Speed 02:49:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20867 0 0 100 20867 0 48787 --:--:-- --:--:-- --:--:-- 48868 02:49:03 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/02761826d13a242f4f05e5d183ea2f44098b7bfd [Pipeline] } 02:49:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:49:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:49:07 ---> package-listing.sh 02:49:07 ++ facter osfamily 02:49:07 ++ tr '[:upper:]' '[:lower:]' 02:49:07 + OS_FAMILY=redhat 02:49:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 02:49:07 + START_PACKAGES=/tmp/packages_start.txt 02:49:07 + END_PACKAGES=/tmp/packages_end.txt 02:49:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:49:07 + PACKAGES=/tmp/packages_start.txt 02:49:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 02:49:07 + PACKAGES=/tmp/packages_end.txt 02:49:07 + case "${OS_FAMILY}" in 02:49:07 + rpm -qa 02:49:07 + sort 02:49:12 + '[' -f /tmp/packages_start.txt ']' 02:49:12 + '[' -f /tmp/packages_end.txt ']' 02:49:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:49:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 02:49:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 02:49:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo 02:49:12 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-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:49:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:49:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:13 02:49:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:49:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:13 alpine: Pulling from edgex-lftools-log-publisher 02:49:13 df20fa9351a1: Pulling fs layer 02:49:13 36b3adc4ff6f: Pulling fs layer 02:49:13 8ad3a11d3b57: Pulling fs layer 02:49:13 46f8f816bc3b: Pulling fs layer 02:49:13 93b61091891f: Pulling fs layer 02:49:13 93b9cdb0e59b: Pulling fs layer 02:49:13 5e14af77c1be: Pulling fs layer 02:49:13 01666e4c0597: Pulling fs layer 02:49:13 aa168da1d23b: Pulling fs layer 02:49:13 93b9cdb0e59b: Waiting 02:49:13 5e14af77c1be: Waiting 02:49:13 01666e4c0597: Waiting 02:49:13 aa168da1d23b: Waiting 02:49:13 46f8f816bc3b: Waiting 02:49:13 93b61091891f: Waiting 02:49:13 36b3adc4ff6f: Verifying Checksum 02:49:13 36b3adc4ff6f: Download complete 02:49:13 46f8f816bc3b: Verifying Checksum 02:49:13 46f8f816bc3b: Download complete 02:49:13 df20fa9351a1: Verifying Checksum 02:49:13 df20fa9351a1: Download complete 02:49:13 93b9cdb0e59b: Verifying Checksum 02:49:13 93b9cdb0e59b: Download complete 02:49:13 5e14af77c1be: Verifying Checksum 02:49:13 5e14af77c1be: Download complete 02:49:13 93b61091891f: Verifying Checksum 02:49:13 93b61091891f: Download complete 02:49:13 01666e4c0597: Verifying Checksum 02:49:13 01666e4c0597: Download complete 02:49:14 df20fa9351a1: Pull complete 02:49:14 36b3adc4ff6f: Pull complete 02:49:15 8ad3a11d3b57: Verifying Checksum 02:49:15 8ad3a11d3b57: Download complete 02:49:16 8ad3a11d3b57: Pull complete 02:49:16 46f8f816bc3b: Pull complete 02:49:16 93b61091891f: Pull complete 02:49:17 93b9cdb0e59b: Pull complete 02:49:17 5e14af77c1be: Pull complete 02:49:17 01666e4c0597: Pull complete 02:49:18 aa168da1d23b: Verifying Checksum 02:49:18 aa168da1d23b: Download complete 02:49:24 aa168da1d23b: Pull complete 02:49:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:49:24 prd-centos7-docker-4c-2g-15032 does not seem to be running inside a container 02:49:24 $ 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-661/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-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:49:29 $ docker top bfb001eed97bb34d82c45828b0d3e27781619021e45f9db7e48f4e2a3b535cd9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:30 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:30 + mkdir -p /var/log/sa [Pipeline] sh 02:49:30 + ls /var/log/sa-host 02:49:30 + sadf -c /var/log/sa-host/sa08 02:49:30 file_magic: OK 02:49:30 HZ: Using current value: 100 02:49:30 file_header: OK 02:49:30 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:49:30 Statistics: 02:49:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:49:30 File successfully converted to sysstat format version 12.2.1 02:49:30 + sadf -c /var/log/sa-host/sa23 02:49:30 file_magic: OK 02:49:30 HZ: Using current value: 100 02:49:30 file_header: OK 02:49:30 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:49:30 Statistics: 02:49:30 Hnuu...uuuununununu... 02:49:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:31 provisioning config files... 02:49:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config243898672955096301tmp [Pipeline] { [Pipeline] echo 02:49:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:31 ---> create-netrc.sh [Pipeline] } 02:49:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:32 ---> python-tools-install.sh [Pipeline] echo 02:49:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:32 ---> sudo-logs.sh 02:49:32 Archiving 'sudo' log.. [Pipeline] echo 02:49:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:32 ---> job-cost.sh 02:49:32 lf-activate-venv: SKIPPING 02:49:32 INFO: No Stack... 02:49:33 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:34 INFO: Archiving Costs [Pipeline] echo 02:49:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:34 ---> logs-deploy.sh 02:49:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/6 02:49:34 INFO: archiving workspace using pattern(s): 02:49:37 Archives upload complete. 02:49:37 INFO: archiving logs to Nexus 02:49:38 ---> uname -a: 02:49:38 Linux prd-centos7-docker-4c-2g-15032.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:49:38 02:49:38 02:49:38 ---> lscpu: 02:49:38 Architecture: x86_64 02:49:38 CPU op-mode(s): 32-bit, 64-bit 02:49:38 Byte Order: Little Endian 02:49:38 Address sizes: 40 bits physical, 48 bits virtual 02:49:38 CPU(s): 4 02:49:38 On-line CPU(s) list: 0-3 02:49:38 Thread(s) per core: 1 02:49:38 Core(s) per socket: 1 02:49:38 Socket(s): 4 02:49:38 NUMA node(s): 1 02:49:38 Vendor ID: GenuineIntel 02:49:38 CPU family: 6 02:49:38 Model: 44 02:49:38 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:38 Stepping: 1 02:49:38 CPU MHz: 2933.438 02:49:38 BogoMIPS: 5866.87 02:49:38 Virtualization: VT-x 02:49:38 Hypervisor vendor: KVM 02:49:38 Virtualization type: full 02:49:38 L1d cache: 128 KiB 02:49:38 L1i cache: 128 KiB 02:49:38 L2 cache: 16 MiB 02:49:38 L3 cache: 64 MiB 02:49:38 NUMA node0 CPU(s): 0-3 02:49:38 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:38 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:38 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:38 Vulnerability Meltdown: Mitigation; PTI 02:49:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:38 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:38 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:38 Vulnerability Srbds: Not affected 02:49:38 Vulnerability Tsx async abort: Not affected 02:49:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:49:38 02:49:38 02:49:38 ---> nproc: 02:49:38 4 02:49:38 02:49:38 02:49:38 ---> df -h: 02:49:38 Filesystem Size Used Available Use% Mounted on 02:49:38 overlay 50.0G 7.3G 42.7G 15% / 02:49:38 tmpfs 64.0M 0 64.0M 0% /dev 02:49:38 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:38 shm 64.0M 0 64.0M 0% /dev/shm 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:38 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:38 02:49:38 02:49:38 ---> free -m: 02:49:38 total used free shared buff/cache available 02:49:38 Mem: 1837 730 88 0 1018 1001 02:49:38 Swap: 1023 0 1023 02:49:38 02:49:38 02:49:38 ---> ip addr: 02:49:38 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:38 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:38 inet 127.0.0.1/8 scope host lo 02:49:38 valid_lft forever preferred_lft forever 02:49:38 inet6 ::1/128 scope host 02:49:38 valid_lft forever preferred_lft forever 02:49:38 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:38 link/ether fa:16:3e:a2:6b:f3 brd ff:ff:ff:ff:ff:ff 02:49:38 inet 10.30.123.44/23 brd 10.30.123.255 scope global dynamic eth0 02:49:38 valid_lft 85921sec preferred_lft 85921sec 02:49:38 inet6 fe80::f816:3eff:fea2:6bf3/64 scope link 02:49:38 valid_lft forever preferred_lft forever 02:49:38 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:38 link/ether 02:42:91:72:3c:48 brd ff:ff:ff:ff:ff:ff 02:49:38 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:38 valid_lft forever preferred_lft forever 02:49:38 inet6 fe80::42:91ff:fe72:3c48/64 scope link 02:49:38 valid_lft forever preferred_lft forever 02:49:38 02:49:38 02:49:38 ---> sar -b -r -n DEV: 02:49:38 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/08/20 _x86_64_ (4 CPU) 02:49:38 02:49:38 02:41:28 LINUX RESTART (4 CPU) 02:49:38 02:49:38 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:38 02:43:01 59.69 15.96 43.73 0.00 4678.83 3390.38 0.00 02:49:38 02:44:01 1.00 0.00 1.00 0.00 0.00 23.85 0.00 02:49:38 02:45:01 0.27 0.00 0.27 0.00 0.00 3.75 0.00 02:49:38 02:46:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 02:49:38 02:47:01 0.23 0.00 0.23 0.00 0.00 3.65 0.00 02:49:38 02:48:01 0.47 0.00 0.47 0.00 0.00 5.80 0.00 02:49:38 02:49:01 0.60 0.00 0.60 0.00 0.00 7.23 0.00 02:49:38 Average: 8.93 2.28 6.65 0.00 668.72 491.30 0.00 02:49:38 02:49:38 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:38 02:43:01 167500 0 619896 32.95 2620 1091528 1107448 37.80 426396 1088740 128 02:49:38 02:44:01 172160 0 615228 32.70 2620 1091536 1089540 37.18 428880 1081932 16 02:49:38 02:45:01 171068 0 616316 32.76 2620 1091540 1086444 37.08 425912 1086308 20 02:49:38 02:46:01 172052 0 615332 32.70 2620 1091540 1070168 36.52 439260 1071920 20 02:49:38 02:47:01 168384 0 618992 32.90 2620 1091548 1070264 36.53 442884 1072772 20 02:49:38 02:48:01 168028 0 619344 32.92 2620 1091552 1070276 36.53 460736 1054896 8 02:49:38 02:49:01 168040 0 619144 32.91 2620 1091740 1070424 36.53 461008 1055016 192 02:49:38 Average: 169605 0 617750 32.83 2620 1091569 1080652 36.88 440725 1073083 58 02:49:38 02:49:38 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:38 02:43:01 eth0 541.84 364.05 893.75 166.98 0.00 0.00 0.00 0.00 02:49:38 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:43:01 docker0 9.10 6.84 1.32 20.32 0.00 0.00 0.00 0.00 02:49:38 02:44:01 eth0 3.70 0.85 1.03 0.62 0.00 0.00 0.00 0.00 02:49:38 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:45:01 eth0 2.73 0.83 0.91 0.59 0.00 0.00 0.00 0.00 02:49:38 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:46:01 eth0 2.13 0.43 0.40 0.21 0.00 0.00 0.00 0.00 02:49:38 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:47:01 eth0 1.98 0.82 0.75 0.44 0.00 0.00 0.00 0.00 02:49:38 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:48:01 eth0 1.05 0.63 0.60 0.43 0.00 0.00 0.00 0.00 02:49:38 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:49:01 eth0 0.85 0.35 0.45 0.10 0.00 0.00 0.00 0.00 02:49:38 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 Average: eth0 79.22 52.59 128.33 24.21 0.00 0.00 0.00 0.00 02:49:38 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:38 Average: docker0 1.30 0.98 0.19 2.90 0.00 0.00 0.00 0.00 02:49:38 02:49:38 02:49:38 ---> sar -P ALL: 02:49:38 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/08/20 _x86_64_ (4 CPU) 02:49:38 02:49:38 02:41:28 LINUX RESTART (4 CPU) 02:49:38 02:49:38 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:49:38 02:43:01 all 7.80 0.00 3.31 1.75 0.02 87.12 02:49:38 02:43:01 0 7.63 0.00 3.56 1.13 0.02 87.65 02:49:38 02:43:01 1 8.12 0.00 3.29 1.13 0.02 87.45 02:49:38 02:43:01 2 7.15 0.00 3.25 1.51 0.03 88.05 02:49:38 02:43:01 3 8.28 0.00 3.15 3.21 0.02 85.34 02:49:38 02:44:01 all 0.08 0.00 0.06 0.00 0.00 99.86 02:49:38 02:44:01 0 0.18 0.00 0.07 0.00 0.00 99.75 02:49:38 02:44:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:49:38 02:44:01 2 0.07 0.00 0.08 0.00 0.00 99.85 02:49:38 02:44:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:49:38 02:45:01 all 0.17 0.00 0.04 0.00 0.00 99.80 02:49:38 02:45:01 0 0.47 0.00 0.05 0.00 0.00 99.48 02:49:38 02:45:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:49:38 02:45:01 2 0.10 0.00 0.03 0.00 0.00 99.87 02:49:38 02:45:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:49:38 02:46:01 all 0.16 0.00 0.04 0.00 0.00 99.80 02:49:38 02:46:01 0 0.53 0.00 0.05 0.00 0.00 99.42 02:49:38 02:46:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:49:38 02:46:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:49:38 02:46:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:49:38 02:47:01 all 0.17 0.00 0.04 0.00 0.00 99.79 02:49:38 02:47:01 0 0.52 0.00 0.05 0.00 0.00 99.43 02:49:38 02:47:01 1 0.05 0.00 0.02 0.00 0.00 99.93 02:49:38 02:47:01 2 0.07 0.00 0.05 0.00 0.00 99.88 02:49:38 02:47:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:49:38 02:48:01 all 0.16 0.00 0.05 0.00 0.00 99.78 02:49:38 02:48:01 0 0.22 0.00 0.10 0.00 0.00 99.68 02:49:38 02:48:01 1 0.23 0.00 0.03 0.00 0.00 99.73 02:49:38 02:48:01 2 0.13 0.00 0.03 0.00 0.00 99.83 02:49:38 02:48:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:49:38 02:49:01 all 0.19 0.00 0.04 0.00 0.00 99.77 02:49:38 02:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:49:38 02:49:01 1 0.60 0.00 0.02 0.00 0.00 99.38 02:49:38 02:49:01 2 0.05 0.00 0.03 0.00 0.02 99.90 02:49:38 02:49:01 3 0.07 0.00 0.07 0.00 0.00 99.87 02:49:38 Average: all 1.24 0.00 0.51 0.25 0.00 98.00 02:49:38 Average: 0 1.36 0.00 0.55 0.16 0.00 97.93 02:49:38 Average: 1 1.30 0.00 0.49 0.16 0.00 98.05 02:49:38 Average: 2 1.08 0.00 0.50 0.21 0.01 98.20 02:49:38 Average: 3 1.21 0.00 0.48 0.46 0.00 97.84 02:49:38 02:49:38 02:49:38