Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 826dc4388710d346dfdba9485e6d47cfaa06628a+848c16ec05d796c9e5a16abafab7aa79fc4967e4 (198e03b1af7d6a453186a9e58613fdad2dddc349) 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-27265 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [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-784 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a Merge succeeded, producing 53956855b65d5cee2eb48441d32bcabb85c4b68d Checking out Revision 53956855b65d5cee2eb48441d32bcabb85c4b68d (PR-784) > git config core.sparsecheckout # timeout=10 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53956855b65d5cee2eb48441d32bcabb85c4b68d # timeout=10 Commit message: "Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:37 ========================================================= 02:41:37 EdgeX Global Pipelines Version Info 02:41:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 12393217a74ef032b594879f10007a2519e4cc92 # timeout=10 02:41:39 ------------------- 02:41:39 stable info: 02:41:39 ------------------- 02:41:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:39 Message: update stable to v1.0.179 02:41:40 ------------------- 02:41:40 experimental info: 02:41:40 ------------------- 02:41:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:40 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:40 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-784 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-784 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-784 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53956855b65d5cee2eb48441d32bcabb85c4b68d [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5395685 [Pipeline] echo 02:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:44 provisioning config files... 02:41:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config8897835086244416687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:44 ---> docker-login.sh 02:41:44 nexus3.edgexfoundry.org:10001 02:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 nexus3.edgexfoundry.org:10002 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 nexus3.edgexfoundry.org:10003 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 nexus3.edgexfoundry.org:10004 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 docker.io 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:46 Configure a credential helper to remove this warning. See 02:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:46 02:41:46 Login Succeeded 02:41:46 ---> docker-login.sh ends [Pipeline] } 02:41:46 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:41:47 + git log --format=format:%s -1 53956855b65d5cee2eb48441d32bcabb85c4b68d [Pipeline] echo 02:41:47 GIT_COMMIT: 53956855b65d5cee2eb48441d32bcabb85c4b68d, Commit Message: Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD [Pipeline] echo 02:41:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:48 02:41:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:48 latest: Pulling from edgex-devops/git-semver 02:41:48 31603596830f: Pulling fs layer 02:41:48 2a8b12db71e7: Pulling fs layer 02:41:48 6ca5941a6612: Pulling fs layer 02:41:48 ecc8261a40a4: Pulling fs layer 02:41:48 ecc8261a40a4: Waiting 02:41:48 2a8b12db71e7: Download complete 02:41:48 31603596830f: Verifying Checksum 02:41:48 31603596830f: Download complete 02:41:48 ecc8261a40a4: Verifying Checksum 02:41:48 ecc8261a40a4: Download complete 02:41:48 6ca5941a6612: Verifying Checksum 02:41:48 6ca5941a6612: Download complete 02:41:49 31603596830f: Pull complete 02:41:49 2a8b12db71e7: Pull complete 02:41:49 6ca5941a6612: Pull complete 02:41:50 ecc8261a40a4: Pull complete 02:41:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:50 prd-centos7-docker-4c-2g-27265 does not seem to be running inside a container 02:41:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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:41:52 $ docker top 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:53 [ssh-agent] Looking for ssh-agent implementation... 02:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:53 $ docker exec 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 ssh-agent 02:41:53 SSH_AUTH_SOCK=/tmp/ssh-YoH0q6J308UU/agent.13 02:41:53 SSH_AGENT_PID=18 02:41:53 Running ssh-add (command line suppressed) 02:41:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_1394524867593922287.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_1394524867593922287.key) 02:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:54 + git tag --points-at HEAD [Pipeline] } 02:41:54 $ docker exec --env ******** --env ******** 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 ssh-agent -k 02:41:54 unset SSH_AUTH_SOCK; 02:41:54 unset SSH_AGENT_PID; 02:41:54 echo Agent pid 18 killed; 02:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:54 [ssh-agent] Looking for ssh-agent implementation... 02:41:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:54 $ docker exec 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 ssh-agent 02:41:54 SSH_AUTH_SOCK=/tmp/ssh-iNfWw8YHCXnw/agent.46 02:41:54 SSH_AGENT_PID=51 02:41:54 Running ssh-add (command line suppressed) 02:41:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_8143228660714823803.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_8143228660714823803.key) 02:41:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:55 + git semver init 02:41:55 # -> Open(): unable to determine branch for HEAD 02:41:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.git 02:41:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-784 02:41:55 # $SEMVER_REMOTE_NAME = origin 02:41:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:55 # $SEMVER_USER_NAME = edgex-jenkins 02:41:55 # $SEMVER_BRANCH = PR-784 02:41:55 # $SEMVER_TEMP = /tmp/semver-083478517 02:41:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:41:55 # '/tmp/semver-083478517' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver' 02:41:55 # -> Force: false 02:41:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver [Pipeline] } 02:41:55 $ docker exec --env ******** --env ******** 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 ssh-agent -k 02:41:56 unset SSH_AUTH_SOCK; 02:41:56 unset SSH_AGENT_PID; 02:41:56 echo Agent pid 51 killed; 02:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:56 + git semver [Pipeline] } 02:41:56 $ docker stop --time=1 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 02:41:57 $ docker rm -f 2029a48bdc6b8e00a012f42bdfad21d7412106c96302036c3de86b22c9717574 [Pipeline] // withDockerContainer [Pipeline] sh 02:41:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:58 Stashed 1 file(s) [Pipeline] echo 02:41:58 [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:14 Still waiting to schedule task 02:42:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:42:14 Still waiting to schedule task 02:42:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 02:44:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27268 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 02:44:04 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:44:09 using credential edgex-jenkins-ssh 02:44:09 Cloning the remote Git repository 02:44:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:09 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:44:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:09 > git --version # timeout=10 02:44:09 > git --version # 'git version 2.17.1' 02:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:11 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a 02:44:11 Merge succeeded, producing 094d0e5a8a84808b28cd60fa98fc59cc430cccb7 02:44:11 Checking out Revision 094d0e5a8a84808b28cd60fa98fc59cc430cccb7 (PR-784) 02:44:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:11 > git config core.sparsecheckout # timeout=10 02:44:11 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 02:44:11 > git remote # timeout=10 02:44:11 > git config --get remote.origin.url # timeout=10 02:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:11 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 02:44:11 > git rev-parse HEAD^{commit} # timeout=10 02:44:11 > git config core.sparsecheckout # timeout=10 02:44:11 > git checkout -f 094d0e5a8a84808b28cd60fa98fc59cc430cccb7 # timeout=10 02:44:16 Commit message: "Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD" 02:44:16 First time build. Skipping changelog. 02:44:16 > git rev-list --no-walk 12393217a74ef032b594879f10007a2519e4cc92 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:18 + + truesudo 02:44:18 service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:21 provisioning config files... 02:44:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6862903292114740106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:21 ---> docker-login.sh 02:44:21 nexus3.edgexfoundry.org:10001 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:23 Configure a credential helper to remove this warning. See 02:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:23 02:44:23 Login Succeeded 02:44:23 nexus3.edgexfoundry.org:10002 02:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:23 Configure a credential helper to remove this warning. See 02:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:23 02:44:23 Login Succeeded 02:44:23 nexus3.edgexfoundry.org:10003 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 nexus3.edgexfoundry.org:10004 02:44:24 Running on prd-centos7-docker-4c-2g-27270 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 02:44:24 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 docker.io 02:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:25 Configure a credential helper to remove this warning. See 02:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:25 02:44:25 Login Succeeded 02:44:25 ---> docker-login.sh ends [Pipeline] } 02:44:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:26 ========================================================= 02:44:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:26 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:44:26 Sending build context to Docker daemon 2.404MB 02:44:27 using credential edgex-jenkins-ssh 02:44:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:27 Step 2/8 : FROM ${BASE} 02:44:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:27 5f621e34cdf4: Pulling fs layer 02:44:27 a4357932f1b6: Pulling fs layer 02:44:27 18c013af1878: Pulling fs layer 02:44:27 00ac8860ef70: Pulling fs layer 02:44:27 63d7cb157983: Pulling fs layer 02:44:27 b116817d02f9: Pulling fs layer 02:44:27 745a02a5169b: Pulling fs layer 02:44:27 00ac8860ef70: Waiting 02:44:27 63d7cb157983: Waiting 02:44:27 b116817d02f9: Waiting 02:44:27 745a02a5169b: Waiting 02:44:27 18c013af1878: Download complete 02:44:27 a4357932f1b6: Download complete 02:44:27 63d7cb157983: Verifying Checksum 02:44:27 63d7cb157983: Download complete 02:44:27 b116817d02f9: Download complete 02:44:27 Cloning the remote Git repository 02:44:27 5f621e34cdf4: Verifying Checksum 02:44:27 5f621e34cdf4: Download complete 02:44:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:27 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:44:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:27 > git --version # timeout=10 02:44:27 > git --version # 'git version 2.24.3' 02:44:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:28 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a 02:44:28 Merge succeeded, producing 0879bf88530436f9b82ac5c7b14943f7ae892f9c 02:44:28 Checking out Revision 0879bf88530436f9b82ac5c7b14943f7ae892f9c (PR-784) 02:44:28 5f621e34cdf4: Pull complete 02:44:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:28 > git config core.sparsecheckout # timeout=10 02:44:28 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 02:44:28 > git remote # timeout=10 02:44:28 > git config --get remote.origin.url # timeout=10 02:44:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:28 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 02:44:28 > git rev-parse HEAD^{commit} # timeout=10 02:44:28 > git config core.sparsecheckout # timeout=10 02:44:28 > git checkout -f 0879bf88530436f9b82ac5c7b14943f7ae892f9c # timeout=10 02:44:29 a4357932f1b6: Pull complete 02:44:29 18c013af1878: Pull complete 02:44:30 745a02a5169b: Download complete 02:44:31 00ac8860ef70: Download complete 02:44:32 Commit message: "Merge commit '848c16ec05d796c9e5a16abafab7aa79fc4967e4' into HEAD" 02:44:32 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:44:32 > git rev-list --no-walk 12393217a74ef032b594879f10007a2519e4cc92 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:33 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:34 + sudo service docker restart 02:44:34 + true 02:44:34 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:35 provisioning config files... 02:44:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1262192294324841544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:36 ---> docker-login.sh 02:44:36 nexus3.edgexfoundry.org:10001 02:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:36 Configure a credential helper to remove this warning. See 02:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:36 02:44:36 Login Succeeded 02:44:36 nexus3.edgexfoundry.org:10002 02:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:36 Configure a credential helper to remove this warning. See 02:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:36 02:44:36 Login Succeeded 02:44:36 nexus3.edgexfoundry.org:10003 02:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:36 Configure a credential helper to remove this warning. See 02:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:36 02:44:36 Login Succeeded 02:44:36 nexus3.edgexfoundry.org:10004 02:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:37 Configure a credential helper to remove this warning. See 02:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:37 02:44:37 Login Succeeded 02:44:37 docker.io 02:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:37 Configure a credential helper to remove this warning. See 02:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:37 02:44:37 Login Succeeded 02:44:37 ---> docker-login.sh ends [Pipeline] } 02:44:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:37 ========================================================= 02:44:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:44:38 Sending build context to Docker daemon 2.405MB 02:44:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:38 Step 2/8 : FROM ${BASE} 02:44:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:38 188c0c94c7c5: Pulling fs layer 02:44:38 0ef7d3d256c8: Pulling fs layer 02:44:38 de9db76c5a1d: Pulling fs layer 02:44:38 bca2f99d35d6: Pulling fs layer 02:44:38 93359f2a8cfa: Pulling fs layer 02:44:38 7c6f9722023f: Pulling fs layer 02:44:38 a35cf1a2eb13: Pulling fs layer 02:44:38 7c6f9722023f: Waiting 02:44:38 bca2f99d35d6: Waiting 02:44:38 de9db76c5a1d: Verifying Checksum 02:44:38 de9db76c5a1d: Download complete 02:44:38 0ef7d3d256c8: Verifying Checksum 02:44:38 0ef7d3d256c8: Download complete 02:44:38 93359f2a8cfa: Verifying Checksum 02:44:38 93359f2a8cfa: Download complete 02:44:38 7c6f9722023f: Verifying Checksum 02:44:38 7c6f9722023f: Download complete 02:44:38 188c0c94c7c5: Verifying Checksum 02:44:38 188c0c94c7c5: Download complete 02:44:38 188c0c94c7c5: Pull complete 02:44:39 0ef7d3d256c8: Pull complete 02:44:39 de9db76c5a1d: Pull complete 02:44:40 a35cf1a2eb13: Verifying Checksum 02:44:40 a35cf1a2eb13: Download complete 02:44:40 bca2f99d35d6: Verifying Checksum 02:44:40 bca2f99d35d6: Download complete 02:44:41 00ac8860ef70: Pull complete 02:44:41 63d7cb157983: Pull complete 02:44:41 b116817d02f9: Pull complete 02:44:46 745a02a5169b: Pull complete 02:44:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:46 ---> b7e6874047d6 02:44:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:47 bca2f99d35d6: Pull complete 02:44:47 93359f2a8cfa: Pull complete 02:44:47 7c6f9722023f: Pull complete 02:44:48 ---> Running in 0b212d8092d1 02:44:48 Removing intermediate container 0b212d8092d1 02:44:48 ---> ab2ecf120f3f 02:44:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:48 ---> Running in 531db7b33f11 02:44:51 Removing intermediate container 531db7b33f11 02:44:51 ---> dbf3ad408e42 02:44:51 Step 5/8 : RUN apk add --update --no-cache make git 02:44:51 ---> Running in 53d560f46f09 02:44:51 a35cf1a2eb13: Pull complete 02:44:51 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:51 ---> a62c8e92a672 02:44:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:51 ---> Running in 5e71084f36fb 02:44:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:44:52 Removing intermediate container 5e71084f36fb 02:44:52 ---> 2d8da14055e1 02:44:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:52 ---> Running in af542a23c953 02:44:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:44:53 Removing intermediate container af542a23c953 02:44:53 ---> 72b634b969f5 02:44:53 Step 5/8 : RUN apk add --update --no-cache make git 02:44:53 ---> Running in 1d663a8cb6b2 02:44:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:54 OK: 142 MiB in 39 packages 02:44:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:55 Removing intermediate container 53d560f46f09 02:44:55 ---> f04e977103c3 02:44:55 Step 6/8 : WORKDIR /device-sdk-go 02:44:55 ---> Running in e00fda40abc3 02:44:56 OK: 166 MiB in 39 packages 02:44:56 Removing intermediate container e00fda40abc3 02:44:56 ---> 82b3e1c8b2ab 02:44:56 Step 7/8 : COPY . . 02:44:56 Removing intermediate container 1d663a8cb6b2 02:44:56 ---> 94bd975a4bdf 02:44:56 Step 6/8 : WORKDIR /device-sdk-go 02:44:56 ---> Running in 4960888cd4b8 02:44:56 Removing intermediate container 4960888cd4b8 02:44:56 ---> 1d6a04f52275 02:44:56 Step 7/8 : COPY . . 02:44:57 ---> c6a088a4a996 02:44:57 Step 8/8 : RUN go mod download 02:44:57 ---> Running in 0757463e1c07 02:44:57 ---> 28f5b582b080 02:44:57 Step 8/8 : RUN go mod download 02:44:57 ---> Running in e87deea181b7 02:45:20 Removing intermediate container e87deea181b7 02:45:20 ---> ed3f8ab1638c 02:45:20 Successfully built ed3f8ab1638c 02:45:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:20 + docker inspect -f . ci-base-image-x86_64 02:45:20 . [Pipeline] withDockerContainer 02:45:20 prd-centos7-docker-4c-2g-27270 does not seem to be running inside a container 02:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:21 $ docker top fb8386ee4ff8e33f0021499277199219ce3e2a89810a4c0b702d36ad080db116 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:22 + go version 02:45:22 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:22 $ docker stop --time=1 fb8386ee4ff8e33f0021499277199219ce3e2a89810a4c0b702d36ad080db116 02:45:23 $ docker rm -f fb8386ee4ff8e33f0021499277199219ce3e2a89810a4c0b702d36ad080db116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:24 Removing intermediate container 0757463e1c07 02:45:24 ---> bb8e2cfe675d 02:45:24 Successfully built bb8e2cfe675d 02:45:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:24 + docker inspect -f . ci-base-image-x86_64 02:45:24 . [Pipeline] withDockerContainer 02:45:24 prd-centos7-docker-4c-2g-27270 does not seem to be running inside a container 02:45:24 + docker inspect -f . ci-base-image-arm64 02:45:24 . 02:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:25 $ docker top 7c62fdac719e7527ed0c0c77169ca6f5d575eb2647e729bb89e64a0a4e1ad5b4 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 02:45:25 prd-ubuntu18.04-docker-arm64-4c-16g-27268 does not seem to be running inside a container 02:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:27 $ docker top 3b5c671d06379764d049cd62b50adece2ba0452669560a20ca76f427291ecf06 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 02:45:27 + make test 02:45:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:28 + go version 02:45:28 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:28 $ docker stop --time=1 3b5c671d06379764d049cd62b50adece2ba0452669560a20ca76f427291ecf06 02:45:30 $ docker rm -f 3b5c671d06379764d049cd62b50adece2ba0452669560a20ca76f427291ecf06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:31 + docker inspect -f . ci-base-image-arm64 02:45:31 . [Pipeline] withDockerContainer 02:45:31 prd-ubuntu18.04-docker-arm64-4c-16g-27268 does not seem to be running inside a container 02:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:33 $ docker top 2a9db07a412d2f71190d283314e2354e9e489f7997d3bc2bcf509bff224f0a47 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:34 + make test 02:45:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 25.5% of statements 02:45:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.060s coverage: 10.1% of statements 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 12.5% of statements 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.062s coverage: 84.8% of statements 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.065s coverage: 49.2% of statements 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.071s coverage: 81.3% of statements 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.089s coverage: 24.8% of statements 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.330s coverage: 83.5% of statements 02:46:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.3% of statements 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:25 GO111MODULE=on go vet ./... 02:46:32 gofmt -l . 02:46:32 [ "`gofmt -l .`" = "" ] 02:46:32 ./bin/test-attribution-txt.sh 02:46:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:33 $ docker stop --time=1 7c62fdac719e7527ed0c0c77169ca6f5d575eb2647e729bb89e64a0a4e1ad5b4 02:46:35 $ docker rm -f 7c62fdac719e7527ed0c0c77169ca6f5d575eb2647e729bb89e64a0a4e1ad5b4 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:39 + ls -al . 02:46:39 total 184 02:46:39 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 02:46 . 02:46:39 drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 02:44 .. 02:46:39 drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 02:44 bin 02:46:39 -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 02:46 coverage.out 02:46:39 -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 02:44 Dockerfile.build 02:46:39 -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 02:44 .dockerignore 02:46:39 drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 02:44 example 02:46:39 drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 02:44 .git 02:46:39 drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 02:44 .github 02:46:39 -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 02:44 .gitignore 02:46:39 -rw-r--r--. 1 jenkins jenkins 515 Feb 23 02:46 go.mod 02:46:39 -rw-r--r--. 1 jenkins jenkins 19062 Feb 23 02:46 go.sum 02:46:39 drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 02:44 internal 02:46:39 -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 02:44 Jenkinsfile 02:46:39 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 02:44 LICENSE 02:46:39 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 02:44 Makefile 02:46:39 drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 02:44 openapi 02:46:39 drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 02:44 pkg 02:46:39 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 02:44 README.md 02:46:39 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 02:44 RELEASE-NOTES.txt 02:46:39 drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 02:44 snap 02:46:39 -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 02:41 VERSION 02:46:39 -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:40 + 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=53956855b65d5cee2eb48441d32bcabb85c4b68d --label arch=amd64 --label version=0.0.0 . 02:46:40 Sending build context to Docker daemon 2.508MB 02:46:40 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:40 Step 2/24 : FROM ${BASE} AS builder 02:46:40 ---> ed3f8ab1638c 02:46:40 Step 3/24 : ARG MAKE='make build' 02:46:41 ---> Running in fdb6ec85d2b2 02:46:41 Removing intermediate container fdb6ec85d2b2 02:46:41 ---> 82a377b98e9e 02:46:41 Step 4/24 : WORKDIR /device-sdk-go 02:46:41 ---> Running in 2baddfde2b5a 02:46:41 Removing intermediate container 2baddfde2b5a 02:46:41 ---> 1dfddb3725d9 02:46:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:41 ---> Running in 2c4862f62847 02:46:41 Removing intermediate container 2c4862f62847 02:46:41 ---> 84f5947546ec 02:46:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:41 ---> Running in c859592559cb 02:46:42 Removing intermediate container c859592559cb 02:46:42 ---> 32acc6533476 02:46:42 Step 7/24 : RUN apk add --update --no-cache make git 02:46:42 ---> Running in 6a7ac8b14ceb 02:46:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.124s coverage: 25.5% of statements 02:46:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:46 OK: 166 MiB in 39 packages 02:46:46 Removing intermediate container 6a7ac8b14ceb 02:46:46 ---> a0bea345984f 02:46:46 Step 8/24 : COPY . . 02:46:48 ---> 4735ff0d2e48 02:46:48 Step 9/24 : RUN ${MAKE} 02:46:48 ---> Running in 60dd8d9d00fa 02:46:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:46:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:00 Removing intermediate container 60dd8d9d00fa 02:47:00 ---> 6af93e08087c 02:47:00 Step 10/24 : FROM scratch 02:47:00 ---> 02:47:00 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:00 ---> Running in 027feb0fd5ad 02:47:00 Removing intermediate container 027feb0fd5ad 02:47:00 ---> 0a91ffbda250 02:47:00 Step 12/24 : ENV APP_PORT=49990 02:47:00 ---> Running in f33ad615af68 02:47:00 Removing intermediate container f33ad615af68 02:47:00 ---> 64c0dd7074b9 02:47:00 Step 13/24 : EXPOSE $APP_PORT 02:47:00 ---> Running in 19c73dba5ca7 02:47:00 Removing intermediate container 19c73dba5ca7 02:47:00 ---> 65a09528c7ca 02:47:00 Step 14/24 : WORKDIR / 02:47:00 ---> Running in 5f2a3b2c1f5b 02:47:00 Removing intermediate container 5f2a3b2c1f5b 02:47:00 ---> 7908c23e920b 02:47:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:01 ---> 74dcfa8ffc44 02:47:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:01 ---> d450be4eb1ff 02:47:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:01 ---> 0818531bfc54 02:47:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:02 ---> 53673137a66e 02:47:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:02 ---> d1a71111ae50 02:47:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:02 ---> Running in 03c496726fd0 02:47:02 Removing intermediate container 03c496726fd0 02:47:02 ---> 6c7e678d4b4c 02:47:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:02 ---> Running in b486b1ba998c 02:47:02 Removing intermediate container b486b1ba998c 02:47:02 ---> 27dfa93de305 02:47:02 Step 22/24 : LABEL arch=amd64 02:47:02 ---> Running in d09c593e7395 02:47:03 Removing intermediate container d09c593e7395 02:47:03 ---> 73558a311bd1 02:47:03 Step 23/24 : LABEL git_sha=53956855b65d5cee2eb48441d32bcabb85c4b68d 02:47:03 ---> Running in 0b56c2fa97eb 02:47:03 Removing intermediate container 0b56c2fa97eb 02:47:03 ---> 818dc834d791 02:47:03 Step 24/24 : LABEL version=0.0.0 02:47:03 ---> Running in fdb72dcbc6b4 02:47:03 Removing intermediate container fdb72dcbc6b4 02:47:03 ---> 6e4dbeff4e8c 02:47:03 [Warning] One or more build-args [ARCH] were not consumed 02:47:03 Successfully built 6e4dbeff4e8c 02:47:03 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:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 10.1% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.146s coverage: 12.5% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.139s coverage: 84.8% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.237s coverage: 49.2% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.167s coverage: 81.3% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.161s coverage: 24.8% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.896s coverage: 83.5% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.3% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:10 GO111MODULE=on go vet ./... 02:47:49 gofmt -l . 02:47:49 [ "`gofmt -l .`" = "" ] 02:47:49 ./bin/test-attribution-txt.sh 02:47:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:49 $ docker stop --time=1 2a9db07a412d2f71190d283314e2354e9e489f7997d3bc2bcf509bff224f0a47 02:47:51 $ docker rm -f 2a9db07a412d2f71190d283314e2354e9e489f7997d3bc2bcf509bff224f0a47 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:53 Warning: overwriting stash ‘coverage-report’ 02:47:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:55 + ls -al . 02:47:55 total 220 02:47:55 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 02:47 . 02:47:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:44 .. 02:47:55 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 02:44 .dockerignore 02:47:55 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 02:44 .git 02:47:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 02:44 .github 02:47:55 -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 02:44 .gitignore 02:47:55 -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 02:44 Dockerfile.build 02:47:55 -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 02:44 Jenkinsfile 02:47:55 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 02:44 LICENSE 02:47:55 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 02:44 Makefile 02:47:55 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 02:44 README.md 02:47:55 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 02:44 RELEASE-NOTES.txt 02:47:55 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 02:41 VERSION 02:47:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 02:44 bin 02:47:55 -rw-r--r-- 1 jenkins jenkins 101758 Feb 23 02:47 coverage.out 02:47:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:44 example 02:47:55 -rw-r--r-- 1 jenkins jenkins 515 Feb 23 02:47 go.mod 02:47:55 -rw-r--r-- 1 jenkins jenkins 19062 Feb 23 02:47 go.sum 02:47:55 drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 02:44 internal 02:47:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:44 openapi 02:47:55 drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 02:44 pkg 02:47:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 02:44 snap 02:47:55 -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:55 + 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=53956855b65d5cee2eb48441d32bcabb85c4b68d --label arch=arm64 --label version=0.0.0 . 02:47:56 Sending build context to Docker daemon 2.507MB 02:47:56 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:56 Step 2/24 : FROM ${BASE} AS builder 02:47:56 ---> bb8e2cfe675d 02:47:56 Step 3/24 : ARG MAKE='make build' 02:47:56 ---> Running in efbb06e44d48 02:47:56 Removing intermediate container efbb06e44d48 02:47:56 ---> e92d83af4c6a 02:47:56 Step 4/24 : WORKDIR /device-sdk-go 02:47:56 ---> Running in 61c8e6b04c82 02:47:57 Removing intermediate container 61c8e6b04c82 02:47:57 ---> 2e5335faddc3 02:47:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:57 ---> Running in 402d3b2a5cff 02:47:57 Removing intermediate container 402d3b2a5cff 02:47:57 ---> cbfda97d23a2 02:47:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:57 ---> Running in b35e1852123c 02:47:59 Removing intermediate container b35e1852123c 02:47:59 ---> d292faafe9d2 02:47:59 Step 7/24 : RUN apk add --update --no-cache make git 02:47:59 ---> Running in 11cfdaee92f2 02:48:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:08 OK: 142 MiB in 39 packages 02:48:08 Removing intermediate container 11cfdaee92f2 02:48:08 ---> a68760b57d6c 02:48:08 Step 8/24 : COPY . . 02:48:10 ---> 35cbbd8b29ab 02:48:10 Step 9/24 : RUN ${MAKE} 02:48:10 ---> Running in 0573998555e4 02:48:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:48:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:38 Removing intermediate container 0573998555e4 02:48:38 ---> b08827b611ec 02:48:38 Step 10/24 : FROM scratch 02:48:38 ---> 02:48:38 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:38 ---> Running in 8b6606e56be8 02:48:39 Removing intermediate container 8b6606e56be8 02:48:39 ---> 7a3f4a77ab93 02:48:39 Step 12/24 : ENV APP_PORT=49990 02:48:39 ---> Running in 7181badd95ca 02:48:39 Removing intermediate container 7181badd95ca 02:48:39 ---> 65e2b3ef7694 02:48:39 Step 13/24 : EXPOSE $APP_PORT 02:48:39 ---> Running in a621b90358d7 02:48:40 Removing intermediate container a621b90358d7 02:48:40 ---> 7cf503e5ca02 02:48:40 Step 14/24 : WORKDIR / 02:48:40 ---> Running in fc3adee8afdb 02:48:40 Removing intermediate container fc3adee8afdb 02:48:40 ---> 47342566598a 02:48:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:42 ---> 2db456fc4915 02:48:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:42 ---> b576e6070b65 02:48:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:43 ---> 90778712a447 02:48:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:43 ---> c15fc21e7835 02:48:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:44 ---> 0f8f3f9d2156 02:48:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:44 ---> Running in 905b6c26bfed 02:48:45 Removing intermediate container 905b6c26bfed 02:48:45 ---> b9a911f6ebe1 02:48:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:45 ---> Running in 838f31248dce 02:48:45 Removing intermediate container 838f31248dce 02:48:45 ---> 936a4f6de3c5 02:48:45 Step 22/24 : LABEL arch=arm64 02:48:45 ---> Running in 017dc9228409 02:48:46 Removing intermediate container 017dc9228409 02:48:46 ---> d7814a544ea7 02:48:46 Step 23/24 : LABEL git_sha=53956855b65d5cee2eb48441d32bcabb85c4b68d 02:48:46 ---> Running in 09eed585e697 02:48:46 Removing intermediate container 09eed585e697 02:48:46 ---> 4e1cf4980746 02:48:46 Step 24/24 : LABEL version=0.0.0 02:48:47 ---> Running in 43618b315c84 02:48:47 Removing intermediate container 43618b315c84 02:48:47 ---> 952642c2ed0d 02:48:47 [Warning] One or more build-args [ARCH] were not consumed 02:48:47 Successfully built 952642c2ed0d 02:48:47 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:48:49 provisioning config files... 02:48:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config4685870111335886896tmp [Pipeline] { [Pipeline] sh 02:48:49 + set +x 02:48:49 + curl -s https://codecov.io/bash 02:48:49 + bash -s -- 02:48:49 02:48:49 _____ _ 02:48:49 / ____| | | 02:48:49 | | ___ __| | ___ ___ _____ __ 02:48:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:49 Bash-20210129-7c25fce 02:48:49 02:48:49 02:48:49 ==> git version 2.24.3 found 02:48:49 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:48:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:48:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:48:49 ==> Jenkins CI detected. 02:48:49 project root: . 02:48:49 --> token set from env 02:48:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:49 ==> Running gcov in . (disable via -X gcov) 02:48:49 ==> Python coveragepy not found 02:48:49 ==> Searching for coverage reports in: 02:48:49 + . 02:48:49 -> Found 1 reports 02:48:49 ==> Detecting git/mercurial file structure 02:48:49 ==> Reading reports 02:48:49 + ./coverage.out bytes=101758 02:48:49 ==> Appending adjustments 02:48:49 https://docs.codecov.io/docs/fixing-reports 02:48:50 + Found adjustments 02:48:50 ==> Gzipping contents 02:48:50 20K /tmp/codecov.t3c0bm.gz 02:48:50 ==> Uploading reports 02:48:50 url: https://codecov.io 02:48:50 query: branch=PR-784&commit=53956855b65d5cee2eb48441d32bcabb85c4b68d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= 02:48:50 -> Pinging Codecov 02:48:50 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-784&commit=53956855b65d5cee2eb48441d32bcabb85c4b68d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= 02:48:50 -> Uploading to 02:48:50 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/53956855b65d5cee2eb48441d32bcabb85c4b68d/52cdcc98-9022-4be2-82a0-269b8b564bf2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T024850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec930ef7a36e29695f1e1f6ace426fa587d5ef3dc549ece365ea637adf430e63 02:48:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:50 Dload Upload Total Spent Left Speed 02:48:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16496 0 0 100 16496 0 36211 --:--:-- --:--:-- --:--:-- 36175 02:48:51 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/53956855b65d5cee2eb48441d32bcabb85c4b68d [Pipeline] } 02:48:51 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:48:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:54 ---> package-listing.sh 02:48:54 ++ facter osfamily 02:48:54 ++ tr '[:upper:]' '[:lower:]' 02:48:54 + OS_FAMILY=redhat 02:48:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-784 02:48:54 + START_PACKAGES=/tmp/packages_start.txt 02:48:54 + END_PACKAGES=/tmp/packages_end.txt 02:48:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:54 + PACKAGES=/tmp/packages_start.txt 02:48:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' 02:48:54 + PACKAGES=/tmp/packages_end.txt 02:48:54 + case "${OS_FAMILY}" in 02:48:54 + rpm -qa 02:48:54 + sort 02:48:59 + '[' -f /tmp/packages_start.txt ']' 02:48:59 + '[' -f /tmp/packages_end.txt ']' 02:48:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' 02:48:59 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ 02:48:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ [Pipeline] echo 02:48:59 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-784/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:49:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:00 02:49:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:49:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:00 alpine: Pulling from edgex-lftools-log-publisher 02:49:00 df20fa9351a1: Pulling fs layer 02:49:00 36b3adc4ff6f: Pulling fs layer 02:49:00 8ad3a11d3b57: Pulling fs layer 02:49:00 46f8f816bc3b: Pulling fs layer 02:49:00 93b61091891f: Pulling fs layer 02:49:00 93b9cdb0e59b: Pulling fs layer 02:49:00 5e14af77c1be: Pulling fs layer 02:49:00 01666e4c0597: Pulling fs layer 02:49:00 aa168da1d23b: Pulling fs layer 02:49:00 46f8f816bc3b: Waiting 02:49:00 5e14af77c1be: Waiting 02:49:00 01666e4c0597: Waiting 02:49:00 93b61091891f: Waiting 02:49:00 aa168da1d23b: Waiting 02:49:00 93b9cdb0e59b: Waiting 02:49:00 36b3adc4ff6f: Verifying Checksum 02:49:00 36b3adc4ff6f: Download complete 02:49:00 46f8f816bc3b: Verifying Checksum 02:49:00 46f8f816bc3b: Download complete 02:49:00 df20fa9351a1: Verifying Checksum 02:49:00 df20fa9351a1: Download complete 02:49:00 93b9cdb0e59b: Verifying Checksum 02:49:00 93b9cdb0e59b: Download complete 02:49:00 93b61091891f: Verifying Checksum 02:49:00 93b61091891f: Download complete 02:49:00 5e14af77c1be: Verifying Checksum 02:49:00 5e14af77c1be: Download complete 02:49:00 01666e4c0597: Verifying Checksum 02:49:00 01666e4c0597: Download complete 02:49:00 8ad3a11d3b57: Verifying Checksum 02:49:00 8ad3a11d3b57: Download complete 02:49:01 df20fa9351a1: Pull complete 02:49:01 36b3adc4ff6f: Pull complete 02:49:01 8ad3a11d3b57: Pull complete 02:49:02 46f8f816bc3b: Pull complete 02:49:02 93b61091891f: Pull complete 02:49:02 93b9cdb0e59b: Pull complete 02:49:02 5e14af77c1be: Pull complete 02:49:03 aa168da1d23b: Verifying Checksum 02:49:03 aa168da1d23b: Download complete 02:49:03 01666e4c0597: Pull complete 02:49:10 aa168da1d23b: Pull complete 02:49:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:49:10 prd-centos7-docker-4c-2g-27265 does not seem to be running inside a container 02:49:10 $ 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-784/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-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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:14 $ docker top 23b8e6f9acea1a46c2ec1fabcc60f02e0f2cb2f132377b84344fb516a54d9345 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:14 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:15 + mkdir -p /var/log/sa [Pipeline] sh 02:49:15 + ls /var/log/sa-host 02:49:15 + sadf -c /var/log/sa-host/sa23 02:49:15 file_magic: OK 02:49:15 HZ: Using current value: 100 02:49:15 file_header: OK 02:49:15 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:15 Statistics: 02:49:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:49:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:16 provisioning config files... 02:49:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config3799447699165899276tmp [Pipeline] { [Pipeline] echo 02:49:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:16 ---> create-netrc.sh [Pipeline] } 02:49:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:16 ---> python-tools-install.sh [Pipeline] echo 02:49:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:17 ---> sudo-logs.sh 02:49:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:49:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:17 ---> job-cost.sh 02:49:17 lf-activate-venv: SKIPPING 02:49:17 INFO: No Stack... 02:49:18 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:19 INFO: Archiving Costs [Pipeline] echo 02:49:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:19 ---> logs-deploy.sh 02:49:19 lf-activate-venv: SKIPPING 02:49:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-784/4 02:49:19 INFO: archiving workspace using pattern(s): 02:49:21 Archives upload complete. 02:49:21 INFO: archiving logs to Nexus 02:49:22 ---> uname -a: 02:49:22 Linux prd-centos7-docker-4c-2g-27265.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:22 02:49:22 02:49:22 ---> lscpu: 02:49:22 Architecture: x86_64 02:49:22 CPU op-mode(s): 32-bit, 64-bit 02:49:22 Byte Order: Little Endian 02:49:22 Address sizes: 40 bits physical, 48 bits virtual 02:49:22 CPU(s): 4 02:49:22 On-line CPU(s) list: 0-3 02:49:22 Thread(s) per core: 1 02:49:22 Core(s) per socket: 1 02:49:22 Socket(s): 4 02:49:22 NUMA node(s): 1 02:49:22 Vendor ID: GenuineIntel 02:49:22 CPU family: 6 02:49:22 Model: 44 02:49:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:22 Stepping: 1 02:49:22 CPU MHz: 2933.436 02:49:22 BogoMIPS: 5866.87 02:49:22 Virtualization: VT-x 02:49:22 Hypervisor vendor: KVM 02:49:22 Virtualization type: full 02:49:22 L1d cache: 128 KiB 02:49:22 L1i cache: 128 KiB 02:49:22 L2 cache: 16 MiB 02:49:22 L3 cache: 64 MiB 02:49:22 NUMA node0 CPU(s): 0-3 02:49:22 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:22 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:22 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:22 Vulnerability Meltdown: Mitigation; PTI 02:49:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:22 Vulnerability Srbds: Not affected 02:49:22 Vulnerability Tsx async abort: Not affected 02:49:22 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:22 02:49:22 02:49:22 ---> nproc: 02:49:22 4 02:49:22 02:49:22 02:49:22 ---> df -h: 02:49:22 Filesystem Size Used Available Use% Mounted on 02:49:22 overlay 50.0G 7.3G 42.7G 15% / 02:49:22 tmpfs 64.0M 0 64.0M 0% /dev 02:49:22 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:22 shm 64.0M 0 64.0M 0% /dev/shm 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-784 02:49:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp 02:49:22 02:49:22 02:49:22 ---> free -m: 02:49:22 total used free shared buff/cache available 02:49:22 Mem: 1837 718 112 0 1006 1013 02:49:22 Swap: 1023 1 1022 02:49:22 02:49:22 02:49:22 ---> ip addr: 02:49:22 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:22 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:22 inet 127.0.0.1/8 scope host lo 02:49:22 valid_lft forever preferred_lft forever 02:49:22 inet6 ::1/128 scope host 02:49:22 valid_lft forever preferred_lft forever 02:49:22 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:22 link/ether fa:16:3e:e3:45:59 brd ff:ff:ff:ff:ff:ff 02:49:22 inet 10.30.122.72/23 brd 10.30.123.255 scope global dynamic eth0 02:49:22 valid_lft 85901sec preferred_lft 85901sec 02:49:22 inet6 fe80::f816:3eff:fee3:4559/64 scope link 02:49:22 valid_lft forever preferred_lft forever 02:49:22 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:22 link/ether 02:42:6b:b4:96:79 brd ff:ff:ff:ff:ff:ff 02:49:22 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:22 valid_lft forever preferred_lft forever 02:49:22 inet6 fe80::42:6bff:feb4:9679/64 scope link 02:49:22 valid_lft forever preferred_lft forever 02:49:22 02:49:22 02:49:22 ---> sar -b -r -n DEV: 02:49:22 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/23/21 _x86_64_ (4 CPU) 02:49:22 02:49:22 02:40:52 LINUX RESTART (4 CPU) 02:49:22 02:49:22 02:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:22 02:43:01 8.53 0.07 8.47 0.00 2.17 164.16 0.00 02:49:22 02:44:01 0.38 0.00 0.38 0.00 0.00 5.68 0.00 02:49:22 02:45:01 0.28 0.00 0.28 0.00 0.00 3.48 0.00 02:49:22 02:46:01 0.28 0.00 0.28 0.00 0.00 3.06 0.00 02:49:22 02:47:01 0.25 0.00 0.25 0.00 0.00 2.96 0.00 02:49:22 02:48:01 0.25 0.00 0.25 0.00 0.00 2.95 0.00 02:49:22 02:49:01 47.18 44.33 2.85 0.00 3990.01 74.55 0.00 02:49:22 Average: 8.17 6.36 1.81 0.00 571.88 36.40 0.00 02:49:22 02:49:22 02:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:22 02:43:01 142764 0 607092 32.27 2620 1129068 1096948 37.44 419068 1121236 16 02:49:22 02:44:01 143772 0 606076 32.21 2620 1129076 1084396 37.01 418688 1120456 12 02:49:22 02:45:01 141852 0 607992 32.31 2620 1129080 1084456 37.01 419596 1121812 8 02:49:22 02:46:01 141144 0 608700 32.35 2620 1129080 1084408 37.01 418884 1123220 8 02:49:22 02:47:01 141208 0 608628 32.35 2620 1129088 1084396 37.01 419228 1123236 8 02:49:22 02:48:01 140396 0 609436 32.39 2620 1129092 1084396 37.01 419724 1123332 12 02:49:22 02:49:01 70480 0 689912 36.67 2620 1118532 1501212 51.23 504216 1104284 32804 02:49:22 Average: 131659 0 619691 32.94 2620 1127574 1145745 39.10 431343 1119654 4695 02:49:22 02:49:22 02:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:22 02:43:01 eth0 74.79 41.20 65.20 28.10 0.00 0.00 0.00 0.00 02:49:22 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:44:01 eth0 1.95 0.32 0.42 0.23 0.00 0.00 0.00 0.00 02:49:22 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:45:01 eth0 2.71 0.93 0.98 0.57 0.00 0.00 0.00 0.00 02:49:22 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:46:01 eth0 1.25 0.53 0.55 0.43 0.00 0.00 0.00 0.00 02:49:22 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:47:01 eth0 0.73 0.23 0.19 0.07 0.00 0.00 0.00 0.00 02:49:22 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:48:01 eth0 0.53 0.33 0.27 0.20 0.00 0.00 0.00 0.00 02:49:22 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:49:01 eth0 70.65 62.38 305.37 65.89 0.00 0.00 0.00 0.00 02:49:22 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 Average: eth0 21.68 15.07 53.27 13.61 0.00 0.00 0.00 0.00 02:49:22 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:22 02:49:22 02:49:22 ---> sar -P ALL: 02:49:22 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/23/21 _x86_64_ (4 CPU) 02:49:22 02:49:22 02:40:52 LINUX RESTART (4 CPU) 02:49:22 02:49:22 02:42:02 CPU %user %nice %system %iowait %steal %idle 02:49:22 02:43:01 all 1.08 0.00 0.29 0.02 0.02 98.59 02:49:22 02:43:01 0 1.07 0.00 0.36 0.03 0.02 98.52 02:49:22 02:43:01 1 0.92 0.00 0.27 0.02 0.02 98.78 02:49:22 02:43:01 2 1.24 0.00 0.24 0.02 0.02 98.49 02:49:22 02:43:01 3 1.10 0.00 0.29 0.02 0.02 98.58 02:49:22 02:44:01 all 0.14 0.00 0.04 0.00 0.00 99.82 02:49:22 02:44:01 0 0.08 0.00 0.08 0.00 0.02 99.82 02:49:22 02:44:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:49:22 02:44:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:49:22 02:44:01 3 0.40 0.00 0.03 0.00 0.00 99.57 02:49:22 02:45:01 all 0.17 0.00 0.03 0.00 0.01 99.79 02:49:22 02:45:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:49:22 02:45:01 1 0.18 0.00 0.02 0.00 0.02 99.78 02:49:22 02:45:01 2 0.10 0.00 0.07 0.00 0.02 99.82 02:49:22 02:45:01 3 0.35 0.00 0.02 0.00 0.02 99.62 02:49:22 02:46:01 all 0.17 0.00 0.06 0.00 0.00 99.77 02:49:22 02:46:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:49:22 02:46:01 1 0.52 0.00 0.07 0.00 0.00 99.42 02:49:22 02:46:01 2 0.10 0.00 0.08 0.00 0.02 99.80 02:49:22 02:46:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:49:22 02:47:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:49:22 02:47:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:49:22 02:47:01 1 0.52 0.00 0.03 0.00 0.00 99.45 02:49:22 02:47:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:49:22 02:47:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:49:22 02:48:01 all 0.15 0.00 0.02 0.00 0.01 99.81 02:49:22 02:48:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:49:22 02:48:01 1 0.50 0.00 0.02 0.00 0.02 99.47 02:49:22 02:48:01 2 0.05 0.00 0.03 0.00 0.02 99.90 02:49:22 02:48:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:49:22 02:49:01 all 1.84 0.00 0.91 1.19 0.01 96.04 02:49:22 02:49:01 0 1.80 0.00 0.89 1.17 0.02 96.12 02:49:22 02:49:01 1 2.27 0.00 0.94 0.99 0.00 95.81 02:49:22 02:49:01 2 2.09 0.00 0.97 2.22 0.02 94.70 02:49:22 02:49:01 3 1.20 0.00 0.85 0.40 0.02 97.53 02:49:22 Average: all 0.53 0.00 0.20 0.17 0.01 99.09 02:49:22 Average: 0 0.44 0.00 0.21 0.17 0.01 99.17 02:49:22 Average: 1 0.70 0.00 0.19 0.14 0.01 98.95 02:49:22 Average: 2 0.52 0.00 0.20 0.32 0.01 98.94 02:49:22 Average: 3 0.45 0.00 0.18 0.06 0.01 99.31 02:49:22 02:49:22 02:49:22