Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+ae9643155e3faeb030acb175a4c64bf595945178 (c62fcf28b3c18f860c155f3f719bbfb07374135e) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19698 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing c6d9155d073171a86868adb00d477f0388f37b24 Checking out Revision c6d9155d073171a86868adb00d477f0388f37b24 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6d9155d073171a86868adb00d477f0388f37b24 # timeout=10 Commit message: "Merge commit 'ae9643155e3faeb030acb175a4c64bf595945178' into HEAD" > git rev-list --no-walk ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:45 ========================================================= 02:41:45 EdgeX Global Pipelines Version Info 02:41:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:46 ------------------- 02:41:46 stable info: 02:41:46 ------------------- 02:41:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:46 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:41:46 Message: update stable to v1.0.173 02:41:47 ------------------- 02:41:47 experimental info: 02:41:47 ------------------- 02:41:47 Commited By: **** collab-it+edgex@linuxfoundation.org 02:41:47 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:41:47 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6d9155d073171a86868adb00d477f0388f37b24 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6d9155 [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:51 provisioning config files... 02:41:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1147317358325427559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:52 ---> docker-login.sh 02:41:52 nexus3.edgexfoundry.org:10001 02:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:52 Configure a credential helper to remove this warning. See 02:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:52 02:41:52 Login Succeeded 02:41:52 nexus3.edgexfoundry.org:10002 02:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:52 Configure a credential helper to remove this warning. See 02:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:52 02:41:52 Login Succeeded 02:41:52 nexus3.edgexfoundry.org:10003 02:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:52 Configure a credential helper to remove this warning. See 02:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:52 02:41:52 Login Succeeded 02:41:52 nexus3.edgexfoundry.org:10004 02:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:53 Configure a credential helper to remove this warning. See 02:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:53 02:41:53 Login Succeeded 02:41:53 docker.io 02:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:53 Configure a credential helper to remove this warning. See 02:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:53 02:41:53 Login Succeeded 02:41:53 ---> docker-login.sh ends [Pipeline] } 02:41:53 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:54 + git log --format=format:%s -1 c6d9155d073171a86868adb00d477f0388f37b24 [Pipeline] echo 02:41:54 GIT_COMMIT: c6d9155d073171a86868adb00d477f0388f37b24, Commit Message: Merge commit 'ae9643155e3faeb030acb175a4c64bf595945178' into HEAD [Pipeline] echo 02:41:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:55 02:41:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:55 latest: Pulling from edgex-devops/git-semver 02:41:55 31603596830f: Pulling fs layer 02:41:55 2a8b12db71e7: Pulling fs layer 02:41:55 6ca5941a6612: Pulling fs layer 02:41:55 ecc8261a40a4: Pulling fs layer 02:41:55 ecc8261a40a4: Waiting 02:41:55 31603596830f: Download complete 02:41:56 ecc8261a40a4: Verifying Checksum 02:41:56 ecc8261a40a4: Download complete 02:41:56 6ca5941a6612: Verifying Checksum 02:41:56 6ca5941a6612: Download complete 02:41:56 31603596830f: Pull complete 02:41:56 2a8b12db71e7: Pull complete 02:41:56 6ca5941a6612: Pull complete 02:41:57 ecc8261a40a4: Pull complete 02:41:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:57 prd-centos7-docker-4c-2g-19698 does not seem to be running inside a container 02:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:00 $ docker top ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:00 [ssh-agent] Looking for ssh-agent implementation... 02:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:00 $ docker exec ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a ssh-agent 02:42:00 SSH_AUTH_SOCK=/tmp/ssh-wfi5LzdOMKFI/agent.11 02:42:00 SSH_AGENT_PID=17 02:42:00 Running ssh-add (command line suppressed) 02:42:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_625673430756764899.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_625673430756764899.key) 02:42:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:01 + git tag --points-at HEAD [Pipeline] } 02:42:01 $ docker exec --env ******** --env ******** ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a ssh-agent -k 02:42:01 unset SSH_AUTH_SOCK; 02:42:01 unset SSH_AGENT_PID; 02:42:01 echo Agent pid 17 killed; 02:42:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:01 [ssh-agent] Looking for ssh-agent implementation... 02:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:01 $ docker exec ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a ssh-agent 02:42:01 SSH_AUTH_SOCK=/tmp/ssh-t5TEOV9Gml8d/agent.47 02:42:01 SSH_AGENT_PID=53 02:42:01 Running ssh-add (command line suppressed) 02:42:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1327827971846438741.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1327827971846438741.key) 02:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:02 + git semver init 02:42:02 # -> Open(): unable to determine branch for HEAD 02:42:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:42:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:42:02 # $SEMVER_REMOTE_NAME = origin 02:42:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:02 # $SEMVER_USER_NAME = edgex-jenkins 02:42:02 # $SEMVER_BRANCH = PR-725 02:42:02 # $SEMVER_TEMP = /tmp/semver-721462297 02:42:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:04 # '/tmp/semver-721462297' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:42:04 # -> Force: false 02:42:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:42:04 $ docker exec --env ******** --env ******** ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a ssh-agent -k 02:42:04 unset SSH_AUTH_SOCK; 02:42:04 unset SSH_AGENT_PID; 02:42:04 echo Agent pid 53 killed; 02:42:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:04 + git semver [Pipeline] } 02:42:04 $ docker stop --time=1 ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a 02:42:06 $ docker rm -f ed3ec4df2df9f26d28bc77f30cbe89e84d8f021782b50ce3fa4badd78385db6a [Pipeline] // withDockerContainer [Pipeline] sh 02:42:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:07 Stashed 1 file(s) [Pipeline] echo 02:42:07 [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:22 Still waiting to schedule task 02:42:22 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19699’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:22 Still waiting to schedule task 02:42:22 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:44:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19700 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:44:12 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:44:17 using credential edgex-jenkins-ssh 02:44:17 Cloning the remote Git repository 02:44:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:17 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:44:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:17 > git --version # timeout=10 02:44:17 > git --version # 'git version 2.17.1' 02:44:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:19 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:44:19 Merge succeeded, producing d6387454e4b13e8512de86261dc6148e8ba216ab 02:44:20 Checking out Revision d6387454e4b13e8512de86261dc6148e8ba216ab (PR-725) 02:44:19 > git config core.sparsecheckout # timeout=10 02:44:19 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:44:19 > git remote # timeout=10 02:44:19 > git config --get remote.origin.url # timeout=10 02:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:19 > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 02:44:19 > git rev-parse HEAD^{commit} # timeout=10 02:44:20 > git config core.sparsecheckout # timeout=10 02:44:20 > git checkout -f d6387454e4b13e8512de86261dc6148e8ba216ab # timeout=10 02:44:24 Commit message: "Merge commit 'ae9643155e3faeb030acb175a4c64bf595945178' into HEAD" 02:44:24 > git rev-list --no-walk ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:26 + sudo service docker restart 02:44:26 + true 02:44:28 Running on prd-centos7-docker-4c-2g-19701 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:44:29 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:29 provisioning config files... 02:44:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2860602224850514937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:30 ---> docker-login.sh 02:44:30 nexus3.edgexfoundry.org:10001 02:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:31 Configure a credential helper to remove this warning. See 02:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:31 02:44:31 Login Succeeded 02:44:31 nexus3.edgexfoundry.org:10002 02:44:31 using credential edgex-jenkins-ssh 02:44:31 Cloning the remote Git repository 02:44:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:31 Configure a credential helper to remove this warning. See 02:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:31 02:44:31 Login Succeeded 02:44:31 nexus3.edgexfoundry.org:10003 02:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:32 Configure a credential helper to remove this warning. See 02:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:32 02:44:32 Login Succeeded 02:44:32 nexus3.edgexfoundry.org:10004 02:44:31 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:44:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:31 > git --version # timeout=10 02:44:31 > git --version # 'git version 2.24.3' 02:44:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:32 Configure a credential helper to remove this warning. See 02:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:32 02:44:32 Login Succeeded 02:44:32 docker.io 02:44:32 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:33 Merge succeeded, producing 759ec99b254daf68e9493c6b9d0837e2f9ecd42a 02:44:33 Checking out Revision 759ec99b254daf68e9493c6b9d0837e2f9ecd42a (PR-725) 02:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:33 Configure a credential helper to remove this warning. See 02:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:33 02:44:33 Login Succeeded 02:44:33 ---> docker-login.sh ends [Pipeline] } 02:44:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:32 > git config core.sparsecheckout # timeout=10 02:44:32 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:44:32 > git remote # timeout=10 02:44:32 > git config --get remote.origin.url # timeout=10 02:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:32 > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 02:44:33 > git rev-parse HEAD^{commit} # timeout=10 02:44:33 > git config core.sparsecheckout # timeout=10 02:44:33 > git checkout -f 759ec99b254daf68e9493c6b9d0837e2f9ecd42a # timeout=10 02:44:33 ========================================================= 02:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:34 + 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:34 Sending build context to Docker daemon 2.448MB 02:44:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:34 Step 2/8 : FROM ${BASE} 02:44:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:34 5f621e34cdf4: Pulling fs layer 02:44:34 a4357932f1b6: Pulling fs layer 02:44:34 18c013af1878: Pulling fs layer 02:44:34 00ac8860ef70: Pulling fs layer 02:44:34 63d7cb157983: Pulling fs layer 02:44:34 b116817d02f9: Pulling fs layer 02:44:34 745a02a5169b: Pulling fs layer 02:44:34 00ac8860ef70: Waiting 02:44:34 745a02a5169b: Waiting 02:44:34 b116817d02f9: Waiting 02:44:34 63d7cb157983: Waiting 02:44:34 18c013af1878: Verifying Checksum 02:44:34 18c013af1878: Download complete 02:44:34 a4357932f1b6: Verifying Checksum 02:44:34 a4357932f1b6: Download complete 02:44:34 63d7cb157983: Verifying Checksum 02:44:34 63d7cb157983: Download complete 02:44:34 b116817d02f9: Verifying Checksum 02:44:34 b116817d02f9: Download complete 02:44:34 5f621e34cdf4: Download complete 02:44:35 5f621e34cdf4: Pull complete 02:44:35 a4357932f1b6: Pull complete 02:44:36 18c013af1878: Pull complete 02:44:36 Commit message: "Merge commit 'ae9643155e3faeb030acb175a4c64bf595945178' into HEAD" 02:44:36 > git rev-list --no-walk ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:37 745a02a5169b: Verifying Checksum 02:44:37 745a02a5169b: Download complete 02:44:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:38 + sudo service docker restart 02:44:38 + true 02:44:38 Redirecting to /bin/systemctl restart docker.service 02:44:39 00ac8860ef70: Verifying Checksum 02:44:39 00ac8860ef70: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:39 provisioning config files... 02:44:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2414638289398264185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:40 ---> docker-login.sh 02:44:40 nexus3.edgexfoundry.org:10001 02:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:40 Configure a credential helper to remove this warning. See 02:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:40 02:44:40 Login Succeeded 02:44:40 nexus3.edgexfoundry.org:10002 02:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:41 Configure a credential helper to remove this warning. See 02:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:41 02:44:41 Login Succeeded 02:44:41 nexus3.edgexfoundry.org:10003 02:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:41 Configure a credential helper to remove this warning. See 02:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:41 02:44:41 Login Succeeded 02:44:41 nexus3.edgexfoundry.org:10004 02:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:41 Configure a credential helper to remove this warning. See 02:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:41 02:44:41 Login Succeeded 02:44:41 docker.io 02:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:41 Configure a credential helper to remove this warning. See 02:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:41 02:44:41 Login Succeeded 02:44:41 ---> docker-login.sh ends [Pipeline] } 02:44:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:42 ========================================================= 02:44:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:42 + 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:42 Sending build context to Docker daemon 2.449MB 02:44:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:42 Step 2/8 : FROM ${BASE} 02:44:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:42 188c0c94c7c5: Pulling fs layer 02:44:42 0ef7d3d256c8: Pulling fs layer 02:44:42 de9db76c5a1d: Pulling fs layer 02:44:42 bca2f99d35d6: Pulling fs layer 02:44:42 93359f2a8cfa: Pulling fs layer 02:44:42 7c6f9722023f: Pulling fs layer 02:44:42 a35cf1a2eb13: Pulling fs layer 02:44:42 bca2f99d35d6: Waiting 02:44:42 93359f2a8cfa: Waiting 02:44:42 7c6f9722023f: Waiting 02:44:42 a35cf1a2eb13: Waiting 02:44:42 de9db76c5a1d: Verifying Checksum 02:44:42 de9db76c5a1d: Download complete 02:44:42 0ef7d3d256c8: Verifying Checksum 02:44:42 0ef7d3d256c8: Download complete 02:44:42 93359f2a8cfa: Download complete 02:44:42 7c6f9722023f: Verifying Checksum 02:44:42 7c6f9722023f: Download complete 02:44:42 188c0c94c7c5: Verifying Checksum 02:44:42 188c0c94c7c5: Download complete 02:44:43 188c0c94c7c5: Pull complete 02:44:43 0ef7d3d256c8: Pull complete 02:44:43 de9db76c5a1d: Pull complete 02:44:44 a35cf1a2eb13: Verifying Checksum 02:44:44 a35cf1a2eb13: Download complete 02:44:45 bca2f99d35d6: Verifying Checksum 02:44:45 bca2f99d35d6: Download complete 02:44:49 00ac8860ef70: Pull complete 02:44:49 63d7cb157983: Pull complete 02:44:49 b116817d02f9: Pull complete 02:44:50 bca2f99d35d6: Pull complete 02:44:50 93359f2a8cfa: Pull complete 02:44:50 7c6f9722023f: Pull complete 02:44:53 745a02a5169b: Pull complete 02:44:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:53 ---> b7e6874047d6 02:44:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:56 ---> Running in 11819a98912a 02:44:56 Removing intermediate container 11819a98912a 02:44:56 ---> 770b2b382076 02:44:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:56 ---> Running in 9d4db9f8c207 02:44:57 a35cf1a2eb13: Pull complete 02:44:57 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:57 ---> a62c8e92a672 02:44:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:57 ---> Running in 87b7f42e04d1 02:44:58 Removing intermediate container 87b7f42e04d1 02:44:58 ---> c622fb66fe65 02:44:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:58 ---> Running in 76c6a143d975 02:44:59 Removing intermediate container 9d4db9f8c207 02:44:59 ---> 91cb45e8d434 02:44:59 Step 5/8 : RUN apk add --update --no-cache make git 02:44:59 ---> Running in e12e979d86c3 02:44:59 Removing intermediate container 76c6a143d975 02:44:59 ---> c035b6b95975 02:44:59 Step 5/8 : RUN apk add --update --no-cache make git 02:44:59 ---> Running in 6a7e7770ab84 02:45:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:02 OK: 166 MiB in 39 packages 02:45:02 OK: 142 MiB in 39 packages 02:45:02 Removing intermediate container 6a7e7770ab84 02:45:02 ---> 67e5468523a7 02:45:02 Step 6/8 : WORKDIR /device-sdk-go 02:45:02 ---> Running in cb06370a36e7 02:45:03 Removing intermediate container cb06370a36e7 02:45:03 ---> 57dd97403543 02:45:03 Step 7/8 : COPY . . 02:45:03 Removing intermediate container e12e979d86c3 02:45:03 ---> 4126d69050e3 02:45:03 Step 6/8 : WORKDIR /device-sdk-go 02:45:03 ---> Running in d194a251162d 02:45:04 Removing intermediate container d194a251162d 02:45:04 ---> 0b04473f52fb 02:45:04 Step 7/8 : COPY . . 02:45:04 ---> f5d193abd0e6 02:45:04 Step 8/8 : RUN go mod download 02:45:04 ---> Running in 9d08537e5092 02:45:05 ---> f07d52e16c46 02:45:05 Step 8/8 : RUN go mod download 02:45:05 ---> Running in 70d5595a9ee7 02:45:26 Removing intermediate container 9d08537e5092 02:45:26 ---> a9e5c07ef5e6 02:45:26 Successfully built a9e5c07ef5e6 02:45:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:26 + docker inspect -f . ci-base-image-x86_64 02:45:26 . [Pipeline] withDockerContainer 02:45:27 prd-centos7-docker-4c-2g-19701 does not seem to be running inside a container 02:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-x86_64 cat 02:45:28 $ docker top 42813c9c9ef26f4d50cd54d2f30b426c16420265b891f5657befbb368df692a2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:28 Removing intermediate container 70d5595a9ee7 02:45:28 ---> 42bdba73a837 02:45:28 Successfully built 42bdba73a837 02:45:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:28 + go version 02:45:28 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:28 $ docker stop --time=1 42813c9c9ef26f4d50cd54d2f30b426c16420265b891f5657befbb368df692a2 02:45:28 + docker inspect -f . ci-base-image-arm64 02:45:28 . 02:45:30 $ docker rm -f 42813c9c9ef26f4d50cd54d2f30b426c16420265b891f5657befbb368df692a2 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer 02:45:30 prd-ubuntu18.04-docker-arm64-4c-16g-19700 does not seem to be running inside a container 02:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:32 $ docker top e90e283743b8349d2fe294664b4ffa418a82904b6bb6cb1e1c3ecb115e835d2e -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:33 + docker inspect -f . ci-base-image-x86_64 02:45:33 . [Pipeline] withDockerContainer 02:45:33 + go version 02:45:33 go version go1.15.5 linux/arm64 02:45:33 prd-centos7-docker-4c-2g-19701 does not seem to be running inside a container 02:45:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-x86_64 cat 02:45:33 $ docker top f1c592046ec07ff37ac4d7fa3c4e13a1027dd372bf399399812f702ff17f02cd -eo pid,comm [Pipeline] { [Pipeline] } 02:45:34 $ docker stop --time=1 e90e283743b8349d2fe294664b4ffa418a82904b6bb6cb1e1c3ecb115e835d2e 02:45:36 $ docker rm -f e90e283743b8349d2fe294664b4ffa418a82904b6bb6cb1e1c3ecb115e835d2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 02:45:36 + make test 02:45:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] isUnix [Pipeline] sh 02:45:37 + docker inspect -f . ci-base-image-arm64 02:45:37 . [Pipeline] withDockerContainer 02:45:37 prd-ubuntu18.04-docker-arm64-4c-16g-19700 does not seem to be running inside a container 02:45:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:38 $ docker top 2a225a38eace1befadda2fc7cc47bf19bd17c9c6f4bd44a9ff66671f80df7025 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:39 + make test 02:45:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 19.4% of statements 02:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.474s coverage: 97.1% of statements 02:46:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.7% of statements 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.238s coverage: 42.5% of statements 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.306s coverage: 68.9% of statements 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.082s coverage: 53.8% of statements 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.518s coverage: 68.9% of statements 02:46:34 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.058s coverage: 4.2% of statements 02:46:34 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:34 GO111MODULE=on go vet ./... 02:46:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.178s coverage: 19.4% of statements 02:46:42 gofmt -l . 02:46:42 [ "`gofmt -l .`" = "" ] 02:46:42 ./bin/test-attribution-txt.sh 02:46:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:42 $ docker stop --time=1 f1c592046ec07ff37ac4d7fa3c4e13a1027dd372bf399399812f702ff17f02cd 02:46:44 $ docker rm -f f1c592046ec07ff37ac4d7fa3c4e13a1027dd372bf399399812f702ff17f02cd [Pipeline] // withDockerContainer [Pipeline] sh 02:46:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:46:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.145s coverage: 97.1% of statements [Pipeline] sh 02:46:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:48 + ls -al . 02:46:48 total 208 02:46:48 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 02:46 . 02:46:48 drwxrwxr-x. 4 jenkins jenkins 28 Jan 12 02:44 .. 02:46:48 drwxrwxr-x. 2 jenkins jenkins 64 Jan 12 02:44 bin 02:46:48 -rw-r--r--. 1 jenkins jenkins 130605 Jan 12 02:46 coverage.out 02:46:48 -rw-rw-r--. 1 jenkins jenkins 949 Jan 12 02:44 Dockerfile.build 02:46:48 -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 02:44 .dockerignore 02:46:48 drwxrwxr-x. 4 jenkins jenkins 48 Jan 12 02:44 example 02:46:48 drwxrwxr-x. 8 jenkins jenkins 179 Jan 12 02:44 .git 02:46:48 drwxrwxr-x. 2 jenkins jenkins 103 Jan 12 02:44 .github 02:46:48 -rw-rw-r--. 1 jenkins jenkins 138 Jan 12 02:44 .gitignore 02:46:48 -rw-r--r--. 1 jenkins jenkins 488 Jan 12 02:46 go.mod 02:46:48 -rw-r--r--. 1 jenkins jenkins 14014 Jan 12 02:46 go.sum 02:46:48 drwxrwxr-x. 15 jenkins jenkins 211 Jan 12 02:44 internal 02:46:48 -rw-rw-r--. 1 jenkins jenkins 894 Jan 12 02:44 Jenkinsfile 02:46:48 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 02:44 LICENSE 02:46:48 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 12 02:44 Makefile 02:46:48 drwxrwxr-x. 4 jenkins jenkins 26 Jan 12 02:44 openapi 02:46:48 drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 02:44 pkg 02:46:48 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 12 02:44 README.md 02:46:48 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 12 02:44 RELEASE-NOTES.txt 02:46:48 drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 02:44 snap 02:46:48 -rw-rw-r--. 1 jenkins jenkins 5 Jan 12 02:42 VERSION 02:46:48 -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c6d9155d073171a86868adb00d477f0388f37b24 --label arch=amd64 --label version=0.0.0 . 02:46:49 Sending build context to Docker daemon 2.58MB 02:46:49 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:49 Step 2/24 : FROM ${BASE} AS builder 02:46:49 ---> a9e5c07ef5e6 02:46:49 Step 3/24 : ARG MAKE='make build' 02:46:49 ---> Running in 6e9051f1e83b 02:46:49 Removing intermediate container 6e9051f1e83b 02:46:49 ---> 819987c027d2 02:46:49 Step 4/24 : WORKDIR /device-sdk-go 02:46:49 ---> Running in 2b3154fdd763 02:46:50 Removing intermediate container 2b3154fdd763 02:46:50 ---> 6cd4e3a16d7b 02:46:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:50 ---> Running in 779f937e0ba3 02:46:50 Removing intermediate container 779f937e0ba3 02:46:50 ---> b98a7d79823a 02:46:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:50 ---> Running in f0e638c5ad92 02:46:51 Removing intermediate container f0e638c5ad92 02:46:51 ---> c2437cc0cfb1 02:46:51 Step 7/24 : RUN apk add --update --no-cache make git 02:46:51 ---> Running in 5d2604bb0ea5 02:46:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:53 OK: 166 MiB in 39 packages 02:46:53 Removing intermediate container 5d2604bb0ea5 02:46:53 ---> c8d79a02c0ed 02:46:53 Step 8/24 : COPY . . 02:46:54 ---> 381038073535 02:46:54 Step 9/24 : RUN ${MAKE} 02:46:54 ---> Running in f2784fb1bbc6 02:46:55 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:47:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:06 Removing intermediate container f2784fb1bbc6 02:47:06 ---> 15f283b0bfc8 02:47:06 Step 10/24 : FROM scratch 02:47:06 ---> 02:47:06 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:06 ---> Running in ce1d1c4bdb9c 02:47:06 Removing intermediate container ce1d1c4bdb9c 02:47:06 ---> 3cc24f0e6a50 02:47:06 Step 12/24 : ENV APP_PORT=49990 02:47:06 ---> Running in a5b8bad651b9 02:47:06 Removing intermediate container a5b8bad651b9 02:47:06 ---> d86d50733d0c 02:47:06 Step 13/24 : EXPOSE $APP_PORT 02:47:06 ---> Running in 9abb9f09032f 02:47:06 Removing intermediate container 9abb9f09032f 02:47:06 ---> b039f2335755 02:47:06 Step 14/24 : WORKDIR / 02:47:06 ---> Running in ed4d0a2bc5ee 02:47:06 Removing intermediate container ed4d0a2bc5ee 02:47:06 ---> e25198fa37a9 02:47:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:07 ---> a7772573e0a2 02:47:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:07 ---> b324c02d8196 02:47:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:07 ---> f8dc1e2cc109 02:47:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:08 ---> daa114abf1bd 02:47:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:08 ---> a380f370daba 02:47:08 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:08 ---> Running in 8d539595493c 02:47:08 Removing intermediate container 8d539595493c 02:47:08 ---> a0fcd08dcf49 02:47:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:08 ---> Running in 6f2a0ca71944 02:47:08 Removing intermediate container 6f2a0ca71944 02:47:08 ---> 0ee71fd3b944 02:47:08 Step 22/24 : LABEL arch=amd64 02:47:08 ---> Running in 68ec7135ac0b 02:47:08 Removing intermediate container 68ec7135ac0b 02:47:08 ---> 249978efcce1 02:47:08 Step 23/24 : LABEL git_sha=c6d9155d073171a86868adb00d477f0388f37b24 02:47:08 ---> Running in 3727faad8b46 02:47:09 Removing intermediate container 3727faad8b46 02:47:09 ---> 82bc0fcea973 02:47:09 Step 24/24 : LABEL version=0.0.0 02:47:09 ---> Running in 9cd4c8d93363 02:47:09 Removing intermediate container 9cd4c8d93363 02:47:09 ---> cd92d06208f9 02:47:09 [Warning] One or more build-args [ARCH] were not consumed 02:47:09 Successfully built cd92d06208f9 02:47:09 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.158s coverage: 9.4% of statements 02:47:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.144s coverage: 21.7% of statements 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.614s coverage: 42.5% of statements 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.673s coverage: 68.9% of statements 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 53.8% of statements 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.962s coverage: 68.9% of statements 02:47:19 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.2% of statements 02:47:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:19 GO111MODULE=on go vet ./... 02:47:46 gofmt -l . 02:47:46 [ "`gofmt -l .`" = "" ] 02:47:47 ./bin/test-attribution-txt.sh 02:47:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:48 $ docker stop --time=1 2a225a38eace1befadda2fc7cc47bf19bd17c9c6f4bd44a9ff66671f80df7025 02:47:50 $ docker rm -f 2a225a38eace1befadda2fc7cc47bf19bd17c9c6f4bd44a9ff66671f80df7025 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:51 Warning: overwriting stash ‘coverage-report’ 02:47:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:53 + ls -al . 02:47:53 total 244 02:47:53 drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 02:47 . 02:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 02:44 .. 02:47:53 -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 02:44 .dockerignore 02:47:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 02:44 .git 02:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 02:44 .github 02:47:53 -rw-rw-r-- 1 jenkins jenkins 138 Jan 12 02:44 .gitignore 02:47:53 -rw-rw-r-- 1 jenkins jenkins 949 Jan 12 02:44 Dockerfile.build 02:47:53 -rw-rw-r-- 1 jenkins jenkins 894 Jan 12 02:44 Jenkinsfile 02:47:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 02:44 LICENSE 02:47:53 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 12 02:44 Makefile 02:47:53 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 12 02:44 README.md 02:47:53 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 12 02:44 RELEASE-NOTES.txt 02:47:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 02:42 VERSION 02:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 02:44 bin 02:47:53 -rw-r--r-- 1 jenkins jenkins 130605 Jan 12 02:47 coverage.out 02:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 02:44 example 02:47:53 -rw-r--r-- 1 jenkins jenkins 488 Jan 12 02:47 go.mod 02:47:53 -rw-r--r-- 1 jenkins jenkins 14014 Jan 12 02:47 go.sum 02:47:53 drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 02:44 internal 02:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 02:44 openapi 02:47:53 drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 02:44 pkg 02:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 02:44 snap 02:47:53 -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:54 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c6d9155d073171a86868adb00d477f0388f37b24 --label arch=arm64 --label version=0.0.0 . 02:47:54 Sending build context to Docker daemon 2.579MB 02:47:54 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:54 Step 2/24 : FROM ${BASE} AS builder 02:47:54 ---> 42bdba73a837 02:47:54 Step 3/24 : ARG MAKE='make build' 02:47:55 ---> Running in 4371a9554f7f 02:47:55 Removing intermediate container 4371a9554f7f 02:47:55 ---> 31f817bd69bd 02:47:55 Step 4/24 : WORKDIR /device-sdk-go 02:47:55 ---> Running in 1fa51ea2c07a 02:47:56 Removing intermediate container 1fa51ea2c07a 02:47:56 ---> 0c0e11858795 02:47:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:56 ---> Running in 28a0b05d5a10 02:47:56 Removing intermediate container 28a0b05d5a10 02:47:56 ---> 2abafff6338a 02:47:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:56 ---> Running in cf7e0bcff17d 02:47:58 Removing intermediate container cf7e0bcff17d 02:47:58 ---> 19d03eae26c1 02:47:58 Step 7/24 : RUN apk add --update --no-cache make git 02:47:59 ---> Running in ed96b10e19bf 02:48:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:02 OK: 142 MiB in 39 packages 02:48:03 Removing intermediate container ed96b10e19bf 02:48:03 ---> 038542fcfe68 02:48:03 Step 8/24 : COPY . . 02:48:04 ---> 3d55756b5173 02:48:04 Step 9/24 : RUN ${MAKE} 02:48:04 ---> Running in 95dfbaa0c158 02:48:05 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:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:32 Removing intermediate container 95dfbaa0c158 02:48:32 ---> 8c8abc715978 02:48:32 Step 10/24 : FROM scratch 02:48:32 ---> 02:48:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:32 ---> Running in 72d76cb6870d 02:48:32 Removing intermediate container 72d76cb6870d 02:48:32 ---> ac573109cfda 02:48:32 Step 12/24 : ENV APP_PORT=49990 02:48:32 ---> Running in 904d4f7f1c24 02:48:33 Removing intermediate container 904d4f7f1c24 02:48:33 ---> 78b5dbf4f191 02:48:33 Step 13/24 : EXPOSE $APP_PORT 02:48:33 ---> Running in dc1297dd8a96 02:48:33 Removing intermediate container dc1297dd8a96 02:48:33 ---> 49efd6dd5d95 02:48:33 Step 14/24 : WORKDIR / 02:48:33 ---> Running in c0be8feb6679 02:48:34 Removing intermediate container c0be8feb6679 02:48:34 ---> acccf40d7923 02:48:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:35 ---> d8ceb936b14f 02:48:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:36 ---> bc9034d65414 02:48:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:36 ---> cb111b255ec8 02:48:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:37 ---> 2056e60a5bc3 02:48:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:38 ---> 77a805d8fdea 02:48:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:38 ---> Running in 461fa01badb5 02:48:38 Removing intermediate container 461fa01badb5 02:48:38 ---> 804f91cddf2a 02:48:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:38 ---> Running in cecf2601f347 02:48:39 Removing intermediate container cecf2601f347 02:48:39 ---> c1f23074f128 02:48:39 Step 22/24 : LABEL arch=arm64 02:48:39 ---> Running in bccb34a922cb 02:48:39 Removing intermediate container bccb34a922cb 02:48:39 ---> f58721d73fb4 02:48:39 Step 23/24 : LABEL git_sha=c6d9155d073171a86868adb00d477f0388f37b24 02:48:40 ---> Running in cbaf380b35ba 02:48:40 Removing intermediate container cbaf380b35ba 02:48:40 ---> 2d1997e51c21 02:48:40 Step 24/24 : LABEL version=0.0.0 02:48:40 ---> Running in 9e0d1b9193b2 02:48:41 Removing intermediate container 9e0d1b9193b2 02:48:41 ---> 0297ab58aa6e 02:48:41 [Warning] One or more build-args [ARCH] were not consumed 02:48:41 Successfully built 0297ab58aa6e 02:48:41 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:48:43 provisioning config files... 02:48:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1623465206160117938tmp [Pipeline] { [Pipeline] sh 02:48:43 + set +x 02:48:43 + curl -s https://codecov.io/bash 02:48:43 + bash -s -- 02:48:43 02:48:43 _____ _ 02:48:43 / ____| | | 02:48:43 | | ___ __| | ___ ___ _____ __ 02:48:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:43 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:43 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:43 Bash-20201231-23d4836 02:48:43 02:48:43 02:48:43 ==> git version 2.24.3 found 02:48:43 ==> 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:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:48:43 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:48:43 ==> Jenkins CI detected. 02:48:43 project root: . 02:48:43 --> token set from env 02:48:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:43 ==> Running gcov in . (disable via -X gcov) 02:48:43 ==> Python coveragepy not found 02:48:43 ==> Searching for coverage reports in: 02:48:43 + . 02:48:43 -> Found 1 reports 02:48:43 ==> Detecting git/mercurial file structure 02:48:43 ==> Reading reports 02:48:43 + ./coverage.out bytes=130605 02:48:43 ==> Appending adjustments 02:48:43 https://docs.codecov.io/docs/fixing-reports 02:48:44 + Found adjustments 02:48:44 ==> Gzipping contents 02:48:44 24K /tmp/codecov.CZgmCq.gz 02:48:44 ==> Uploading reports 02:48:44 url: https://codecov.io 02:48:44 query: branch=PR-725&commit=c6d9155d073171a86868adb00d477f0388f37b24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:48:44 -> Pinging Codecov 02:48:44 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-725&commit=c6d9155d073171a86868adb00d477f0388f37b24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:48:44 -> Uploading to 02:48:44 https://storage.googleapis.com/codecov/v4/raw/2021-01-12/7E55EF52A471D76F132DFD9A03CDDE97/c6d9155d073171a86868adb00d477f0388f37b24/e330b0f2-b822-4c3b-9c38-978e9cd1a46a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210112T024844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=516f4c9a08cfe076e55d1aa214e308b5706cfd9159b12f8fd81d3b9d0c7f0573 02:48:44 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:44 Dload Upload Total Spent Left Speed 02:48:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21256 0 0 100 21256 0 37345 --:--:-- --:--:-- --:--:-- 37291 100 21256 0 0 100 21256 0 37336 --:--:-- --:--:-- --:--:-- 37291 02:48:45 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c6d9155d073171a86868adb00d477f0388f37b24 [Pipeline] } 02:48:45 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:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:48 ---> package-listing.sh 02:48:48 ++ facter osfamily 02:48:48 ++ tr '[:upper:]' '[:lower:]' 02:48:48 + OS_FAMILY=redhat 02:48:48 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:48:48 + START_PACKAGES=/tmp/packages_start.txt 02:48:48 + END_PACKAGES=/tmp/packages_end.txt 02:48:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:48 + PACKAGES=/tmp/packages_start.txt 02:48:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:48:48 + PACKAGES=/tmp/packages_end.txt 02:48:48 + case "${OS_FAMILY}" in 02:48:48 + rpm -qa 02:48:48 + sort 02:48:53 + '[' -f /tmp/packages_start.txt ']' 02:48:53 + '[' -f /tmp/packages_end.txt ']' 02:48:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:48:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:48:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:48:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:53 02:48:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:54 alpine: Pulling from edgex-lftools-log-publisher 02:48:54 df20fa9351a1: Pulling fs layer 02:48:54 36b3adc4ff6f: Pulling fs layer 02:48:54 8ad3a11d3b57: Pulling fs layer 02:48:54 46f8f816bc3b: Pulling fs layer 02:48:54 93b61091891f: Pulling fs layer 02:48:54 93b9cdb0e59b: Pulling fs layer 02:48:54 5e14af77c1be: Pulling fs layer 02:48:54 01666e4c0597: Pulling fs layer 02:48:54 aa168da1d23b: Pulling fs layer 02:48:54 93b9cdb0e59b: Waiting 02:48:54 5e14af77c1be: Waiting 02:48:54 01666e4c0597: Waiting 02:48:54 aa168da1d23b: Waiting 02:48:54 46f8f816bc3b: Waiting 02:48:54 93b61091891f: Waiting 02:48:54 36b3adc4ff6f: Verifying Checksum 02:48:54 36b3adc4ff6f: Download complete 02:48:54 46f8f816bc3b: Verifying Checksum 02:48:54 46f8f816bc3b: Download complete 02:48:54 df20fa9351a1: Verifying Checksum 02:48:54 df20fa9351a1: Download complete 02:48:54 93b9cdb0e59b: Verifying Checksum 02:48:54 93b9cdb0e59b: Download complete 02:48:54 5e14af77c1be: Download complete 02:48:54 93b61091891f: Verifying Checksum 02:48:54 93b61091891f: Download complete 02:48:54 01666e4c0597: Download complete 02:48:54 df20fa9351a1: Pull complete 02:48:55 36b3adc4ff6f: Pull complete 02:48:55 8ad3a11d3b57: Verifying Checksum 02:48:55 8ad3a11d3b57: Download complete 02:48:55 8ad3a11d3b57: Pull complete 02:48:56 46f8f816bc3b: Pull complete 02:48:56 93b61091891f: Pull complete 02:48:56 93b9cdb0e59b: Pull complete 02:48:57 aa168da1d23b: Verifying Checksum 02:48:57 aa168da1d23b: Download complete 02:48:57 5e14af77c1be: Pull complete 02:48:57 01666e4c0597: Pull complete 02:49:04 aa168da1d23b: Pull complete 02:49:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:49:04 prd-centos7-docker-4c-2g-19698 does not seem to be running inside a container 02:49:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:49:07 $ docker top 12b43577462c433ac4b1d14b87132f2c85b9ec25f6b34dc3983dfebf3b1def15 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:08 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:08 + mkdir -p /var/log/sa [Pipeline] sh 02:49:08 + ls /var/log/sa-host 02:49:08 + sadf -c /var/log/sa-host/sa12 02:49:08 file_magic: OK 02:49:08 HZ: Using current value: 100 02:49:08 file_header: OK 02:49:08 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:08 Statistics: 02:49:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:49:08 File successfully converted to sysstat format version 12.2.1 02:49:08 + sadf -c /var/log/sa-host/sa23 02:49:08 file_magic: OK 02:49:08 HZ: Using current value: 100 02:49:08 file_header: OK 02:49:08 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:08 Statistics: 02:49:08 Hnuu...uuuununununu... 02:49:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:09 provisioning config files... 02:49:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config3479569027347045001tmp [Pipeline] { [Pipeline] echo 02:49:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:09 ---> create-netrc.sh [Pipeline] } 02:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:10 ---> python-tools-install.sh [Pipeline] echo 02:49:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:10 ---> sudo-logs.sh 02:49:10 Archiving 'sudo' log.. [Pipeline] echo 02:49:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:11 ---> job-cost.sh 02:49:11 lf-activate-venv: SKIPPING 02:49:11 INFO: No Stack... 02:49:11 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:12 INFO: Archiving Costs [Pipeline] echo 02:49:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:12 ---> logs-deploy.sh 02:49:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/2 02:49:12 INFO: archiving workspace using pattern(s): 02:49:14 Archives upload complete. 02:49:14 INFO: archiving logs to Nexus 02:49:15 ---> uname -a: 02:49:15 Linux prd-centos7-docker-4c-2g-19698.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:15 02:49:15 02:49:15 ---> lscpu: 02:49:15 Architecture: x86_64 02:49:15 CPU op-mode(s): 32-bit, 64-bit 02:49:15 Byte Order: Little Endian 02:49:15 Address sizes: 40 bits physical, 48 bits virtual 02:49:15 CPU(s): 4 02:49:15 On-line CPU(s) list: 0-3 02:49:15 Thread(s) per core: 1 02:49:15 Core(s) per socket: 1 02:49:15 Socket(s): 4 02:49:15 NUMA node(s): 1 02:49:15 Vendor ID: GenuineIntel 02:49:15 CPU family: 6 02:49:15 Model: 44 02:49:15 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:15 Stepping: 1 02:49:15 CPU MHz: 2933.438 02:49:15 BogoMIPS: 5866.87 02:49:15 Virtualization: VT-x 02:49:15 Hypervisor vendor: KVM 02:49:15 Virtualization type: full 02:49:15 L1d cache: 128 KiB 02:49:15 L1i cache: 128 KiB 02:49:15 L2 cache: 16 MiB 02:49:15 L3 cache: 64 MiB 02:49:15 NUMA node0 CPU(s): 0-3 02:49:15 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:15 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:15 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:15 Vulnerability Meltdown: Mitigation; PTI 02:49:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:15 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:15 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:15 Vulnerability Srbds: Not affected 02:49:15 Vulnerability Tsx async abort: Not affected 02:49:15 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:15 02:49:15 02:49:15 ---> nproc: 02:49:15 4 02:49:15 02:49:15 02:49:15 ---> df -h: 02:49:15 Filesystem Size Used Available Use% Mounted on 02:49:15 overlay 50.0G 7.3G 42.7G 15% / 02:49:15 tmpfs 64.0M 0 64.0M 0% /dev 02:49:15 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:15 shm 64.0M 0 64.0M 0% /dev/shm 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:15 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:15 02:49:15 02:49:15 ---> free -m: 02:49:15 total used free shared buff/cache available 02:49:15 Mem: 1837 703 112 0 1021 1029 02:49:15 Swap: 1023 0 1023 02:49:15 02:49:15 02:49:15 ---> ip addr: 02:49:15 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:15 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:15 inet 127.0.0.1/8 scope host lo 02:49:15 valid_lft forever preferred_lft forever 02:49:15 inet6 ::1/128 scope host 02:49:15 valid_lft forever preferred_lft forever 02:49:15 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:15 link/ether fa:16:3e:f7:bb:57 brd ff:ff:ff:ff:ff:ff 02:49:15 inet 10.30.122.26/23 brd 10.30.123.255 scope global dynamic eth0 02:49:15 valid_lft 85916sec preferred_lft 85916sec 02:49:15 inet6 fe80::f816:3eff:fef7:bb57/64 scope link 02:49:15 valid_lft forever preferred_lft forever 02:49:15 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:15 link/ether 02:42:a6:f4:3b:d9 brd ff:ff:ff:ff:ff:ff 02:49:15 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:15 valid_lft forever preferred_lft forever 02:49:15 inet6 fe80::42:a6ff:fef4:3bd9/64 scope link 02:49:15 valid_lft forever preferred_lft forever 02:49:15 02:49:15 02:49:15 ---> sar -b -r -n DEV: 02:49:15 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/12/21 _x86_64_ (4 CPU) 02:49:15 02:49:15 02:40:58 LINUX RESTART (4 CPU) 02:49:15 02:49:15 02:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:15 02:43:02 14.16 0.63 13.53 0.00 44.70 315.37 0.00 02:49:15 02:44:01 0.36 0.00 0.36 0.00 0.00 5.64 0.00 02:49:15 02:45:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 02:49:15 02:46:01 0.30 0.00 0.30 0.00 0.00 4.48 0.00 02:49:15 02:47:01 0.32 0.00 0.32 0.00 0.00 4.60 0.00 02:49:15 02:48:01 0.25 0.00 0.25 0.00 0.00 2.72 0.00 02:49:15 02:49:01 81.46 52.37 29.09 0.00 4259.48 12885.85 0.00 02:49:15 Average: 13.91 7.61 6.30 0.00 618.14 1898.44 0.00 02:49:15 02:49:15 02:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:15 02:43:02 160736 0 605940 32.20 2620 1112248 1111500 37.93 402848 1118468 20 02:49:15 02:44:01 166180 0 600488 31.91 2620 1112256 1079988 36.86 403792 1113372 8 02:49:15 02:45:01 166556 0 600108 31.89 2620 1112260 1068848 36.48 407708 1109292 8 02:49:15 02:46:01 164664 0 601996 31.99 2620 1112264 1068884 36.48 412136 1106776 12 02:49:15 02:47:01 164864 0 601792 31.98 2620 1112268 1068836 36.48 418036 1100632 8 02:49:15 02:48:01 165528 0 601124 31.95 2620 1112272 1068680 36.47 417476 1100628 12 02:49:15 02:49:01 70164 0 713572 37.92 2620 1095188 1505044 51.36 590816 986020 58936 02:49:15 Average: 151242 0 617860 32.84 2620 1109822 1138826 38.87 436116 1090741 8429 02:49:15 02:49:15 02:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:15 02:43:02 eth0 137.30 98.44 121.80 109.22 0.00 0.00 0.00 0.00 02:49:15 02:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:43:02 docker0 10.55 7.67 1.54 21.87 0.00 0.00 0.00 0.00 02:49:15 02:44:01 eth0 1.00 0.08 0.09 0.04 0.00 0.00 0.00 0.00 02:49:15 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:45:01 eth0 2.00 0.73 0.64 0.40 0.00 0.00 0.00 0.00 02:49:15 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:46:01 eth0 0.73 0.40 0.30 0.21 0.00 0.00 0.00 0.00 02:49:15 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:47:01 eth0 0.75 0.50 0.41 0.27 0.00 0.00 0.00 0.00 02:49:15 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:48:01 eth0 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:49:01 eth0 228.17 178.72 2171.67 18.70 0.00 0.00 0.00 0.00 02:49:15 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 Average: eth0 52.80 39.81 329.34 18.24 0.00 0.00 0.00 0.00 02:49:15 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:15 Average: docker0 1.49 1.08 0.22 3.09 0.00 0.00 0.00 0.00 02:49:15 02:49:15 02:49:15 ---> sar -P ALL: 02:49:15 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/12/21 _x86_64_ (4 CPU) 02:49:15 02:49:15 02:40:58 LINUX RESTART (4 CPU) 02:49:15 02:49:15 02:42:02 CPU %user %nice %system %iowait %steal %idle 02:49:15 02:43:02 all 1.76 0.00 0.63 0.11 0.01 97.49 02:49:15 02:43:02 0 1.70 0.00 0.82 0.07 0.00 97.41 02:49:15 02:43:02 1 1.78 0.00 0.61 0.12 0.02 97.47 02:49:15 02:43:02 2 1.66 0.00 0.59 0.05 0.02 97.67 02:49:15 02:43:02 3 1.89 0.00 0.51 0.20 0.00 97.40 02:49:15 02:44:01 all 0.15 0.00 0.03 0.00 0.01 99.81 02:49:15 02:44:01 0 0.51 0.00 0.02 0.00 0.02 99.46 02:49:15 02:44:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:49:15 02:44:01 2 0.03 0.00 0.05 0.00 0.00 99.92 02:49:15 02:44:01 3 0.02 0.00 0.03 0.00 0.02 99.93 02:49:15 02:45:01 all 0.13 0.00 0.05 0.00 0.02 99.80 02:49:15 02:45:01 0 0.05 0.00 0.03 0.00 0.02 99.90 02:49:15 02:45:01 1 0.07 0.00 0.10 0.00 0.00 99.83 02:49:15 02:45:01 2 0.13 0.00 0.05 0.00 0.03 99.78 02:49:15 02:45:01 3 0.25 0.00 0.03 0.00 0.02 99.70 02:49:15 02:46:01 all 0.11 0.00 0.04 0.00 0.00 99.85 02:49:15 02:46:01 0 0.02 0.00 0.02 0.00 0.02 99.95 02:49:15 02:46:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:49:15 02:46:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:49:15 02:46:01 3 0.35 0.00 0.08 0.00 0.00 99.57 02:49:15 02:47:01 all 0.18 0.00 0.06 0.00 0.02 99.74 02:49:15 02:47:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:49:15 02:47:01 1 0.08 0.00 0.15 0.00 0.03 99.73 02:49:15 02:47:01 2 0.12 0.00 0.03 0.00 0.00 99.85 02:49:15 02:47:01 3 0.52 0.00 0.02 0.00 0.03 99.43 02:49:15 02:48:01 all 0.15 0.00 0.02 0.00 0.00 99.82 02:49:15 02:48:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:49:15 02:48:01 1 0.05 0.00 0.07 0.00 0.00 99.88 02:49:15 02:48:01 2 0.05 0.00 0.02 0.00 0.02 99.92 02:49:15 02:48:01 3 0.50 0.00 0.02 0.00 0.00 99.48 02:49:15 02:49:01 all 4.58 0.00 2.23 1.55 0.03 91.61 02:49:15 02:49:01 0 4.27 0.00 2.53 0.07 0.03 93.10 02:49:15 02:49:01 1 3.52 0.00 1.72 0.99 0.03 93.74 02:49:15 02:49:01 2 4.47 0.00 2.18 0.10 0.02 93.24 02:49:15 02:49:01 3 6.07 0.00 2.48 5.07 0.02 86.36 02:49:15 Average: all 1.01 0.00 0.44 0.24 0.01 98.31 02:49:15 Average: 0 0.94 0.00 0.49 0.02 0.01 98.54 02:49:15 Average: 1 0.80 0.00 0.39 0.16 0.01 98.65 02:49:15 Average: 2 0.93 0.00 0.42 0.02 0.01 98.62 02:49:15 Average: 3 1.37 0.00 0.45 0.75 0.01 97.41 02:49:15 02:49:15 02:49:15