Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b+4525aed633a2d28dffb46d50cb0e81f75e767df3 (c0fe22f5cc2c2cf9d79a980a2ced3643eceac71f) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16248 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [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-692 # 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/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b Merge succeeded, producing 36f88f4d4181b49d8dd3acadddff984456ee158f Checking out Revision 36f88f4d4181b49d8dd3acadddff984456ee158f (PR-692) > git config core.sparsecheckout # timeout=10 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # 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 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36f88f4d4181b49d8dd3acadddff984456ee158f # timeout=10 Commit message: "Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD" > git rev-list --no-walk a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:38 ========================================================= 02:43:38 EdgeX Global Pipelines Version Info 02:43:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:40 ------------------- 02:43:40 stable info: 02:43:40 ------------------- 02:43:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:40 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:43:40 Message: update stable to v1.0.172 02:43:41 ------------------- 02:43:41 experimental info: 02:43:41 ------------------- 02:43:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:41 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:43:41 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-692 [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-692 [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-692 [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36f88f4d4181b49d8dd3acadddff984456ee158f [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36f88f4 [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:44 provisioning config files... 02:43:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config6531174344680358936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:45 ---> docker-login.sh 02:43:45 nexus3.edgexfoundry.org:10001 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:45 Configure a credential helper to remove this warning. See 02:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:45 02:43:45 Login Succeeded 02:43:45 nexus3.edgexfoundry.org:10002 02:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:45 Configure a credential helper to remove this warning. See 02:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:45 02:43:45 Login Succeeded 02:43:45 nexus3.edgexfoundry.org:10003 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 nexus3.edgexfoundry.org:10004 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 docker.io 02:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:46 Configure a credential helper to remove this warning. See 02:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:46 02:43:46 Login Succeeded 02:43:46 ---> docker-login.sh ends [Pipeline] } 02:43: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:43:47 + git log --format=format:%s -1 36f88f4d4181b49d8dd3acadddff984456ee158f [Pipeline] echo 02:43:47 GIT_COMMIT: 36f88f4d4181b49d8dd3acadddff984456ee158f, Commit Message: Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD [Pipeline] echo 02:43:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:48 02:43:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:48 latest: Pulling from edgex-devops/git-semver 02:43:48 31603596830f: Pulling fs layer 02:43:48 2a8b12db71e7: Pulling fs layer 02:43:48 6ca5941a6612: Pulling fs layer 02:43:48 ecc8261a40a4: Pulling fs layer 02:43:48 ecc8261a40a4: Waiting 02:43:48 31603596830f: Verifying Checksum 02:43:48 31603596830f: Download complete 02:43:48 ecc8261a40a4: Verifying Checksum 02:43:48 ecc8261a40a4: Download complete 02:43:49 6ca5941a6612: Verifying Checksum 02:43:49 6ca5941a6612: Download complete 02:43:49 31603596830f: Pull complete 02:43:49 2a8b12db71e7: Pull complete 02:43:50 6ca5941a6612: Pull complete 02:43:50 ecc8261a40a4: Pull complete 02:43:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:50 prd-centos7-docker-4c-2g-16248 does not seem to be running inside a container 02:43:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:52 $ docker top e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:52 [ssh-agent] Looking for ssh-agent implementation... 02:43:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:53 $ docker exec e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 ssh-agent 02:43:53 SSH_AUTH_SOCK=/tmp/ssh-WnXFKLa9g9eP/agent.12 02:43:53 SSH_AGENT_PID=17 02:43:53 Running ssh-add (command line suppressed) 02:43:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_7175988677339208732.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_7175988677339208732.key) 02:43:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:53 + git tag --points-at HEAD [Pipeline] } 02:43:53 $ docker exec --env ******** --env ******** e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 ssh-agent -k 02:43:53 unset SSH_AUTH_SOCK; 02:43:53 unset SSH_AGENT_PID; 02:43:53 echo Agent pid 17 killed; 02:43:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:54 [ssh-agent] Looking for ssh-agent implementation... 02:43:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:54 $ docker exec e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 ssh-agent 02:43:54 SSH_AUTH_SOCK=/tmp/ssh-dGwUrJRg4Frv/agent.46 02:43:54 SSH_AGENT_PID=52 02:43:54 Running ssh-add (command line suppressed) 02:43:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_4743762916171559151.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_4743762916171559151.key) 02:43:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:55 + git semver init 02:43:55 # -> Open(): unable to determine branch for HEAD 02:43:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.git 02:43:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:43:55 # $SEMVER_REMOTE_NAME = origin 02:43:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:55 # $SEMVER_USER_NAME = edgex-jenkins 02:43:55 # $SEMVER_BRANCH = PR-692 02:43:55 # $SEMVER_TEMP = /tmp/semver-174623893 02:43:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:55 # '/tmp/semver-174623893' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver' 02:43:55 # -> Force: false 02:43:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver [Pipeline] } 02:43:55 $ docker exec --env ******** --env ******** e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 ssh-agent -k 02:43:55 unset SSH_AUTH_SOCK; 02:43:55 unset SSH_AGENT_PID; 02:43:55 echo Agent pid 52 killed; 02:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:56 + git semver [Pipeline] } 02:43:56 $ docker stop --time=1 e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 02:43:57 $ docker rm -f e6cbbcdde01ad204ef9ba855a9423514e9a5b1176391fc52b6adf0bffceaddc8 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:58 Stashed 1 file(s) [Pipeline] echo 02:43: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:44:14 Still waiting to schedule task 02:44:14 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16249’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-16225’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16247’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:14 Still waiting to schedule task 02:44:14 ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16249’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-16225’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16247’ is offline 02:47:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16251 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:47:09 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:47:15 using credential edgex-jenkins-ssh 02:47:15 Cloning the remote Git repository 02:47:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:15 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:47:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:15 > git --version # timeout=10 02:47:15 > git --version # 'git version 2.17.1' 02:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:17 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b 02:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:17 > git config core.sparsecheckout # timeout=10 02:47:17 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 02:47:17 Merge succeeded, producing 0477c4bf0f5f4c60cb30c7cecf6a565cd1391977 02:47:17 Checking out Revision 0477c4bf0f5f4c60cb30c7cecf6a565cd1391977 (PR-692) 02:47:17 > git remote # timeout=10 02:47:17 > git config --get remote.origin.url # timeout=10 02:47:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:17 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 02:47:17 > git rev-parse HEAD^{commit} # timeout=10 02:47:17 > git config core.sparsecheckout # timeout=10 02:47:17 > git checkout -f 0477c4bf0f5f4c60cb30c7cecf6a565cd1391977 # timeout=10 02:47:22 Commit message: "Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD" 02:47:22 > git rev-list --no-walk a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:24 + sudo service docker restart 02:47:24 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:27 provisioning config files... 02:47:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config6429303537019387143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:27 ---> docker-login.sh 02:47:27 nexus3.edgexfoundry.org:10001 02:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:28 Configure a credential helper to remove this warning. See 02:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:28 02:47:28 Login Succeeded 02:47:28 nexus3.edgexfoundry.org:10002 02:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:29 Configure a credential helper to remove this warning. See 02:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:29 02:47:29 Login Succeeded 02:47:29 nexus3.edgexfoundry.org:10003 02:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:29 Configure a credential helper to remove this warning. See 02:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:29 02:47:29 Login Succeeded 02:47:29 nexus3.edgexfoundry.org:10004 02:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:30 Configure a credential helper to remove this warning. See 02:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:30 02:47:30 Login Succeeded 02:47:30 docker.io 02:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:31 Configure a credential helper to remove this warning. See 02:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:31 02:47:31 Login Succeeded 02:47:31 ---> docker-login.sh ends [Pipeline] } 02:47:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:31 ========================================================= 02:47:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:32 + 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:47:32 Sending build context to Docker daemon 2.4MB 02:47:32 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:32 Step 2/8 : FROM ${BASE} 02:47:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:32 5f621e34cdf4: Pulling fs layer 02:47:32 a4357932f1b6: Pulling fs layer 02:47:32 18c013af1878: Pulling fs layer 02:47:32 00ac8860ef70: Pulling fs layer 02:47:32 63d7cb157983: Pulling fs layer 02:47:32 b116817d02f9: Pulling fs layer 02:47:32 745a02a5169b: Pulling fs layer 02:47:32 63d7cb157983: Waiting 02:47:32 b116817d02f9: Waiting 02:47:32 00ac8860ef70: Waiting 02:47:32 745a02a5169b: Waiting 02:47:32 18c013af1878: Download complete 02:47:32 a4357932f1b6: Verifying Checksum 02:47:32 a4357932f1b6: Download complete 02:47:32 63d7cb157983: Verifying Checksum 02:47:32 63d7cb157983: Download complete 02:47:32 5f621e34cdf4: Verifying Checksum 02:47:32 5f621e34cdf4: Download complete 02:47:32 b116817d02f9: Verifying Checksum 02:47:32 b116817d02f9: Download complete 02:47:33 5f621e34cdf4: Pull complete 02:47:34 a4357932f1b6: Pull complete 02:47:34 18c013af1878: Pull complete 02:47:35 745a02a5169b: Verifying Checksum 02:47:35 745a02a5169b: Download complete 02:47:36 00ac8860ef70: Verifying Checksum 02:47:36 00ac8860ef70: Download complete 02:47:46 00ac8860ef70: Pull complete 02:47:46 63d7cb157983: Pull complete 02:47:47 b116817d02f9: Pull complete 02:47:51 745a02a5169b: Pull complete 02:47:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:51 ---> b7e6874047d6 02:47:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:54 ---> Running in 73d371fe01c1 02:47:54 Removing intermediate container 73d371fe01c1 02:47:54 ---> 90aac16186e2 02:47:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:54 ---> Running in d859e4fbf731 02:47:57 Removing intermediate container d859e4fbf731 02:47:57 ---> aa3a8e4ce609 02:47:57 Step 5/8 : RUN apk add --no-cache make git 02:47:57 ---> Running in a1d831f7c02e 02:47:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:59 OK: 142 MiB in 39 packages 02:48:00 Removing intermediate container a1d831f7c02e 02:48:00 ---> 8b32d5cbda94 02:48:00 Step 6/8 : WORKDIR /device-sdk-go 02:48:00 ---> Running in 03ae3b7d0197 02:48:01 Removing intermediate container 03ae3b7d0197 02:48:01 ---> edebadea637d 02:48:01 Step 7/8 : COPY . . 02:48:02 ---> 5964e51de61b 02:48:02 Step 8/8 : RUN go mod download 02:48:02 ---> Running in a33bebb64b06 02:48:24 Removing intermediate container a33bebb64b06 02:48:24 ---> f89344674cfb 02:48:24 Successfully built f89344674cfb 02:48:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:25 + docker inspect -f . ci-base-image-arm64 02:48:25 . [Pipeline] withDockerContainer 02:48:25 prd-ubuntu18.04-docker-arm64-4c-16g-16251 does not seem to be running inside a container 02:48:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 02:48:27 $ docker top 61acaa17e7576c9ad209928df828e63d7815d9daebb27a8e83a44b60b77d7c83 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:27 + go version 02:48:27 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:28 $ docker stop --time=1 61acaa17e7576c9ad209928df828e63d7815d9daebb27a8e83a44b60b77d7c83 02:48:29 $ docker rm -f 61acaa17e7576c9ad209928df828e63d7815d9daebb27a8e83a44b60b77d7c83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:31 + docker inspect -f . ci-base-image-arm64 02:48:31 . [Pipeline] withDockerContainer 02:48:31 prd-ubuntu18.04-docker-arm64-4c-16g-16251 does not seem to be running inside a container 02:48:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 02:48:32 $ docker top ec3f04344e563bbd168c568c693c3042d0bfa15442c08ba5b7481e5feb48e3c5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:33 + make test 02:48:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:55 Running on prd-centos7-docker-4c-2g-16252 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:48:55 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:48:55 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:02 using credential edgex-jenkins-ssh 02:49:02 Cloning the remote Git repository 02:49:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:49:03 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:49:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:03 > git --version # timeout=10 02:49:03 > git --version # 'git version 2.24.3' 02:49:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:05 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b 02:49:05 Merge succeeded, producing a2da627c9266e200cb7bbde5d158a0912d0c7971 02:49:05 Checking out Revision a2da627c9266e200cb7bbde5d158a0912d0c7971 (PR-692) 02:49:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:49:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:49:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:49:05 > git config core.sparsecheckout # timeout=10 02:49:05 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 02:49:05 > git remote # timeout=10 02:49:05 > git config --get remote.origin.url # timeout=10 02:49:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:05 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 02:49:05 > git rev-parse HEAD^{commit} # timeout=10 02:49:05 > git config core.sparsecheckout # timeout=10 02:49:05 > git checkout -f a2da627c9266e200cb7bbde5d158a0912d0c7971 # timeout=10 02:49:09 Commit message: "Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD" 02:49:09 > git rev-list --no-walk a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:49:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:49:12 + sudo service docker restart 02:49:12 + true 02:49:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:49:14 provisioning config files... 02:49:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config9092164970654773609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:15 ---> docker-login.sh 02:49:15 nexus3.edgexfoundry.org:10001 02:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:15 Configure a credential helper to remove this warning. See 02:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:15 02:49:15 Login Succeeded 02:49:15 nexus3.edgexfoundry.org:10002 02:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:16 Configure a credential helper to remove this warning. See 02:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:16 02:49:16 Login Succeeded 02:49:16 nexus3.edgexfoundry.org:10003 02:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:16 Configure a credential helper to remove this warning. See 02:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:16 02:49:16 Login Succeeded 02:49:16 nexus3.edgexfoundry.org:10004 02:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:17 Configure a credential helper to remove this warning. See 02:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:17 02:49:17 Login Succeeded 02:49:17 docker.io 02:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:17 Configure a credential helper to remove this warning. See 02:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:17 02:49:17 Login Succeeded 02:49:17 ---> docker-login.sh ends [Pipeline] } 02:49:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:49:18 ========================================================= 02:49:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:49:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:49:18 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:49:18 Sending build context to Docker daemon 2.401MB 02:49:19 Step 1/8 : ARG BASE=golang:1.15-alpine 02:49:19 Step 2/8 : FROM ${BASE} 02:49:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:49:19 188c0c94c7c5: Pulling fs layer 02:49:19 0ef7d3d256c8: Pulling fs layer 02:49:19 de9db76c5a1d: Pulling fs layer 02:49:19 bca2f99d35d6: Pulling fs layer 02:49:19 93359f2a8cfa: Pulling fs layer 02:49:19 7c6f9722023f: Pulling fs layer 02:49:19 a35cf1a2eb13: Pulling fs layer 02:49:19 93359f2a8cfa: Waiting 02:49:19 7c6f9722023f: Waiting 02:49:19 a35cf1a2eb13: Waiting 02:49:19 bca2f99d35d6: Waiting 02:49:19 de9db76c5a1d: Verifying Checksum 02:49:19 de9db76c5a1d: Download complete 02:49:19 0ef7d3d256c8: Download complete 02:49:19 93359f2a8cfa: Verifying Checksum 02:49:19 93359f2a8cfa: Download complete 02:49:19 7c6f9722023f: Download complete 02:49:19 188c0c94c7c5: Verifying Checksum 02:49:19 188c0c94c7c5: Download complete 02:49:20 188c0c94c7c5: Pull complete 02:49:20 0ef7d3d256c8: Pull complete 02:49:20 de9db76c5a1d: Pull complete 02:49:22 a35cf1a2eb13: Verifying Checksum 02:49:22 a35cf1a2eb13: Download complete 02:49:24 bca2f99d35d6: Verifying Checksum 02:49:24 bca2f99d35d6: Download complete 02:49:34 bca2f99d35d6: Pull complete 02:49:34 93359f2a8cfa: Pull complete 02:49:34 7c6f9722023f: Pull complete 02:49:35 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 20.0% of statements 02:49:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.166s coverage: 97.1% of statements 02:49:39 a35cf1a2eb13: Pull complete 02:49:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:49:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:49:39 ---> a62c8e92a672 02:49:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:39 ---> Running in 91ff03de0b0d 02:49:40 Removing intermediate container 91ff03de0b0d 02:49:40 ---> 36e714fec395 02:49:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:40 ---> Running in 355154d5c77f 02:49:42 Removing intermediate container 355154d5c77f 02:49:42 ---> 8e3a8cea2953 02:49:42 Step 5/8 : RUN apk add --no-cache make git 02:49:42 ---> Running in 6147736e10dc 02:49:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:44 OK: 166 MiB in 39 packages 02:49:45 Removing intermediate container 6147736e10dc 02:49:45 ---> e176b291c436 02:49:45 Step 6/8 : WORKDIR /device-sdk-go 02:49:45 ---> Running in 850709f3841a 02:49:46 Removing intermediate container 850709f3841a 02:49:46 ---> 063b3cd96a59 02:49:46 Step 7/8 : COPY . . 02:49:48 ---> ef8b1983ed60 02:49:48 Step 8/8 : RUN go mod download 02:49:48 ---> Running in ab0058b12d47 02:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements 02:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.133s coverage: 21.9% of statements 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.635s coverage: 42.5% of statements 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.807s coverage: 68.9% of statements 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.200s coverage: 53.8% of statements 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:50:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.739s coverage: 68.9% of statements 02:50:06 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.121s coverage: 4.6% of statements 02:50:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:50:06 GO111MODULE=on go vet ./... 02:50:15 Removing intermediate container ab0058b12d47 02:50:15 ---> 091206983acd 02:50:15 Successfully built 091206983acd 02:50:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:50:15 + docker inspect -f . ci-base-image-x86_64 02:50:15 . [Pipeline] withDockerContainer 02:50:15 prd-centos7-docker-4c-2g-16252 does not seem to be running inside a container 02:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 02:50:16 $ docker top fda0023221ac7bf4844efb33b78ac4e61fd79a9587576b39f1296e8efca67b5a -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:17 + go version 02:50:17 go version go1.15.5 linux/amd64 [Pipeline] } 02:50:17 $ docker stop --time=1 fda0023221ac7bf4844efb33b78ac4e61fd79a9587576b39f1296e8efca67b5a 02:50:18 $ docker rm -f fda0023221ac7bf4844efb33b78ac4e61fd79a9587576b39f1296e8efca67b5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:19 + docker inspect -f . ci-base-image-x86_64 02:50:19 . [Pipeline] withDockerContainer 02:50:20 prd-centos7-docker-4c-2g-16252 does not seem to be running inside a container 02:50:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 02:50:21 $ docker top 0cd49d9a94f77695a48e7481f8149cd13d441200647755a87c605caad75367f8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:22 + make test 02:50:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:50:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:50:39 gofmt -l . 02:50:39 [ "`gofmt -l .`" = "" ] 02:50:39 ./bin/test-attribution-txt.sh 02:50:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:39 $ docker stop --time=1 ec3f04344e563bbd168c568c693c3042d0bfa15442c08ba5b7481e5feb48e3c5 02:50:41 $ docker rm -f ec3f04344e563bbd168c568c693c3042d0bfa15442c08ba5b7481e5feb48e3c5 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:45 + ls -al . 02:50:45 total 244 02:50:45 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 02:50 . 02:50:45 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:47 .. 02:50:45 -rw-rw-r-- 1 jenkins jenkins 140 Dec 16 02:47 .dockerignore 02:50:45 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 02:47 .git 02:50:45 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 02:47 .github 02:50:45 -rw-rw-r-- 1 jenkins jenkins 138 Dec 16 02:47 .gitignore 02:50:45 -rw-rw-r-- 1 jenkins jenkins 936 Dec 16 02:47 Dockerfile.build 02:50:45 -rw-rw-r-- 1 jenkins jenkins 901 Dec 16 02:47 Jenkinsfile 02:50:45 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 16 02:47 LICENSE 02:50:45 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 16 02:47 Makefile 02:50:45 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 16 02:47 README.md 02:50:45 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 16 02:47 RELEASE-NOTES.txt 02:50:45 -rw-rw-r-- 1 jenkins jenkins 5 Dec 16 02:43 VERSION 02:50:45 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 02:47 bin 02:50:45 -rw-r--r-- 1 jenkins jenkins 128916 Dec 16 02:50 coverage.out 02:50:45 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:47 example 02:50:45 -rw-r--r-- 1 jenkins jenkins 488 Dec 16 02:50 go.mod 02:50:45 -rw-r--r-- 1 jenkins jenkins 13734 Dec 16 02:50 go.sum 02:50:45 drwxrwxr-x 15 jenkins jenkins 4096 Dec 16 02:47 internal 02:50:45 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:47 openapi 02:50:45 drwxrwxr-x 5 jenkins jenkins 4096 Dec 16 02:47 pkg 02:50:45 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:47 snap 02:50:45 -rw-rw-r-- 1 jenkins jenkins 222 Dec 16 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:45 + 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=36f88f4d4181b49d8dd3acadddff984456ee158f --label arch=arm64 --label version=0.0.0 . 02:50:46 Sending build context to Docker daemon 2.53MB 02:50:46 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:46 Step 2/24 : FROM ${BASE} AS builder 02:50:46 ---> f89344674cfb 02:50:46 Step 3/24 : ARG MAKE='make build' 02:50:46 ---> Running in 29bbd352e87e 02:50:46 Removing intermediate container 29bbd352e87e 02:50:46 ---> efd6203ac3eb 02:50:46 Step 4/24 : WORKDIR /device-sdk-go 02:50:46 ---> Running in 4e27cd211b9e 02:50:47 Removing intermediate container 4e27cd211b9e 02:50:47 ---> 21284e805b2d 02:50:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:47 ---> Running in c4636e14ed9b 02:50:47 Removing intermediate container c4636e14ed9b 02:50:47 ---> bccb7bd5ebd9 02:50:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:48 ---> Running in dd722b24aaae 02:50:50 Removing intermediate container dd722b24aaae 02:50:50 ---> 0b0f60794b8e 02:50:50 Step 7/24 : RUN apk add --update --no-cache make git 02:50:50 ---> Running in f68493f972a0 02:50:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:52 OK: 142 MiB in 39 packages 02:50:54 Removing intermediate container f68493f972a0 02:50:54 ---> 7b2941e7eee5 02:50:54 Step 8/24 : COPY . . 02:50:55 ---> 85e81de3b4e4 02:50:55 Step 9/24 : RUN ${MAKE} 02:50:55 ---> Running in 7a61ad97d5b9 02:50:56 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:51:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:51:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:51:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:51:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 20.0% of statements 02:51:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.562s coverage: 97.1% of statements 02:51:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:23 Removing intermediate container 7a61ad97d5b9 02:51:23 ---> 2cf4c70c3297 02:51:23 Step 10/24 : FROM scratch 02:51:23 ---> 02:51:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:23 ---> Running in 3d6177805c97 02:51:23 Removing intermediate container 3d6177805c97 02:51:23 ---> 556b7de6e0db 02:51:23 Step 12/24 : ENV APP_PORT=49990 02:51:23 ---> Running in ca00528f95b4 02:51:23 Removing intermediate container ca00528f95b4 02:51:23 ---> 8b2834cbd6ca 02:51:23 Step 13/24 : EXPOSE $APP_PORT 02:51:24 ---> Running in 1c19d802630e 02:51:24 Removing intermediate container 1c19d802630e 02:51:24 ---> 6de8f5204919 02:51:24 Step 14/24 : WORKDIR / 02:51:24 ---> Running in b41d390acc23 02:51:25 Removing intermediate container b41d390acc23 02:51:25 ---> 5d9e6e4c4dbe 02:51:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:26 ---> 99d1dcc8539d 02:51:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:26 ---> 17c720e18410 02:51:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:27 ---> 217cc2174086 02:51:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:28 ---> e34a504d9960 02:51:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:28 ---> dcaaa96db34a 02:51:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:28 ---> Running in 01c240bc53dd 02:51:29 Removing intermediate container 01c240bc53dd 02:51:29 ---> 263525e4bde2 02:51:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:29 ---> Running in 18614d402f1a 02:51:30 Removing intermediate container 18614d402f1a 02:51:30 ---> f30ab5bf67f8 02:51:30 Step 22/24 : LABEL arch=arm64 02:51:30 ---> Running in 6830a4af765f 02:51:30 Removing intermediate container 6830a4af765f 02:51:30 ---> b58b1acd1ea1 02:51:30 Step 23/24 : LABEL git_sha=36f88f4d4181b49d8dd3acadddff984456ee158f 02:51:30 ---> Running in 0e59e1c31f62 02:51:31 Removing intermediate container 0e59e1c31f62 02:51:31 ---> fb8288b5d647 02:51:31 Step 24/24 : LABEL version=0.0.0 02:51:31 ---> Running in 596b939fbcba 02:51:31 Removing intermediate container 596b939fbcba 02:51:31 ---> 13230ea00c84 02:51:31 [Warning] One or more build-args [ARCH] were not consumed 02:51:31 Successfully built 13230ea00c84 02:51:31 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] } 02:51:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.154s coverage: 9.4% of statements 02:51:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.092s coverage: 21.9% of statements 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:51:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.366s coverage: 42.5% of statements 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:51:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.375s coverage: 68.9% of statements 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:51:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.111s coverage: 53.8% of statements 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:51:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.356s coverage: 68.9% of statements 02:51:38 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.090s coverage: 4.6% of statements 02:51:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:51:38 GO111MODULE=on go vet ./... 02:51:55 gofmt -l . 02:51:55 [ "`gofmt -l .`" = "" ] 02:51:55 ./bin/test-attribution-txt.sh 02:51:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:57 $ docker stop --time=1 0cd49d9a94f77695a48e7481f8149cd13d441200647755a87c605caad75367f8 02:52:00 $ docker rm -f 0cd49d9a94f77695a48e7481f8149cd13d441200647755a87c605caad75367f8 [Pipeline] // withDockerContainer [Pipeline] sh 02:52:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:52:01 Warning: overwriting stash ‘coverage-report’ 02:52:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:52:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:03 + ls -al . 02:52:03 total 208 02:52:03 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 16 02:51 . 02:52:03 drwxrwxr-x. 4 jenkins jenkins 28 Dec 16 02:49 .. 02:52:03 drwxrwxr-x. 2 jenkins jenkins 64 Dec 16 02:49 bin 02:52:03 -rw-r--r--. 1 jenkins jenkins 128916 Dec 16 02:51 coverage.out 02:52:03 -rw-rw-r--. 1 jenkins jenkins 936 Dec 16 02:49 Dockerfile.build 02:52:03 -rw-rw-r--. 1 jenkins jenkins 140 Dec 16 02:49 .dockerignore 02:52:03 drwxrwxr-x. 4 jenkins jenkins 48 Dec 16 02:49 example 02:52:03 drwxrwxr-x. 8 jenkins jenkins 179 Dec 16 02:49 .git 02:52:03 drwxrwxr-x. 2 jenkins jenkins 103 Dec 16 02:49 .github 02:52:03 -rw-rw-r--. 1 jenkins jenkins 138 Dec 16 02:49 .gitignore 02:52:03 -rw-r--r--. 1 jenkins jenkins 488 Dec 16 02:51 go.mod 02:52:03 -rw-r--r--. 1 jenkins jenkins 13734 Dec 16 02:51 go.sum 02:52:03 drwxrwxr-x. 15 jenkins jenkins 211 Dec 16 02:49 internal 02:52:03 -rw-rw-r--. 1 jenkins jenkins 901 Dec 16 02:49 Jenkinsfile 02:52:03 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 16 02:49 LICENSE 02:52:03 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 16 02:49 Makefile 02:52:03 drwxrwxr-x. 4 jenkins jenkins 26 Dec 16 02:49 openapi 02:52:03 drwxrwxr-x. 5 jenkins jenkins 50 Dec 16 02:49 pkg 02:52:03 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 16 02:49 README.md 02:52:03 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 16 02:49 RELEASE-NOTES.txt 02:52:03 drwxrwxr-x. 4 jenkins jenkins 54 Dec 16 02:49 snap 02:52:03 -rw-rw-r--. 1 jenkins jenkins 5 Dec 16 02:43 VERSION 02:52:03 -rw-rw-r--. 1 jenkins jenkins 222 Dec 16 02:49 version.go [Pipeline] isUnix [Pipeline] sh 02:52:04 + 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=36f88f4d4181b49d8dd3acadddff984456ee158f --label arch=amd64 --label version=0.0.0 . 02:52:04 Sending build context to Docker daemon 2.531MB 02:52:04 Step 1/24 : ARG BASE=golang:1.15-alpine 02:52:04 Step 2/24 : FROM ${BASE} AS builder 02:52:04 ---> 091206983acd 02:52:04 Step 3/24 : ARG MAKE='make build' 02:52:05 ---> Running in a19c1d529e8b 02:52:05 Removing intermediate container a19c1d529e8b 02:52:05 ---> 4e07cc987f13 02:52:05 Step 4/24 : WORKDIR /device-sdk-go 02:52:05 ---> Running in af74a3c014b3 02:52:05 Removing intermediate container af74a3c014b3 02:52:05 ---> 019b4c792ca6 02:52:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:05 ---> Running in a1cc00e80ceb 02:52:06 Removing intermediate container a1cc00e80ceb 02:52:06 ---> bbde6167a277 02:52:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:06 ---> Running in 7299d618c040 02:52:08 Removing intermediate container 7299d618c040 02:52:08 ---> 0af22b056653 02:52:08 Step 7/24 : RUN apk add --update --no-cache make git 02:52:08 ---> Running in 0f08d3a16ed7 02:52:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:52:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:52:11 OK: 166 MiB in 39 packages 02:52:11 Removing intermediate container 0f08d3a16ed7 02:52:11 ---> ed4ee5e36bb0 02:52:11 Step 8/24 : COPY . . 02:52:13 ---> da668e9e2804 02:52:13 Step 9/24 : RUN ${MAKE} 02:52:13 ---> Running in a0918ce9f7ed 02:52:14 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:52:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:33 Removing intermediate container a0918ce9f7ed 02:52:33 ---> babca3ac1314 02:52:33 Step 10/24 : FROM scratch 02:52:33 ---> 02:52:33 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:33 ---> Running in f13da71ac372 02:52:34 Removing intermediate container f13da71ac372 02:52:34 ---> c95110a2909b 02:52:34 Step 12/24 : ENV APP_PORT=49990 02:52:34 ---> Running in 41a8ff63f677 02:52:34 Removing intermediate container 41a8ff63f677 02:52:34 ---> 7069c436a0ec 02:52:34 Step 13/24 : EXPOSE $APP_PORT 02:52:34 ---> Running in 0e6981650b4b 02:52:34 Removing intermediate container 0e6981650b4b 02:52:34 ---> ff97498a0e69 02:52:34 Step 14/24 : WORKDIR / 02:52:34 ---> Running in 665168e30237 02:52:35 Removing intermediate container 665168e30237 02:52:35 ---> bb8841d3c388 02:52:35 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:35 ---> 20c64ee3fba1 02:52:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:35 ---> 3d55919c8f86 02:52:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:36 ---> 1fb9d376aea4 02:52:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:37 ---> 3a6584968caf 02:52:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:37 ---> e486a38a2374 02:52:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:37 ---> Running in 1a16df4c1fe5 02:52:37 Removing intermediate container 1a16df4c1fe5 02:52:37 ---> e6e5538e9b25 02:52:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:38 ---> Running in ef1642a16917 02:52:38 Removing intermediate container ef1642a16917 02:52:38 ---> ed0ef5f23c87 02:52:38 Step 22/24 : LABEL arch=amd64 02:52:38 ---> Running in 76e9c02e2ac8 02:52:38 Removing intermediate container 76e9c02e2ac8 02:52:38 ---> dd71a5b9f4c2 02:52:38 Step 23/24 : LABEL git_sha=36f88f4d4181b49d8dd3acadddff984456ee158f 02:52:38 ---> Running in 3b5a9367d9ff 02:52:38 Removing intermediate container 3b5a9367d9ff 02:52:38 ---> 227163ac5404 02:52:38 Step 24/24 : LABEL version=0.0.0 02:52:38 ---> Running in 4ee0ae41ae81 02:52:39 Removing intermediate container 4ee0ae41ae81 02:52:39 ---> 097f3e7515cf 02:52:39 [Warning] One or more build-args [ARCH] were not consumed 02:52:39 Successfully built 097f3e7515cf 02:52:39 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:52:41 provisioning config files... 02:52:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config3526417659179155642tmp [Pipeline] { [Pipeline] sh 02:52:42 + set +x 02:52:42 + curl -s https://codecov.io/bash 02:52:42 + bash -s -- 02:52:42 02:52:42 _____ _ 02:52:42 / ____| | | 02:52:42 | | ___ __| | ___ ___ _____ __ 02:52:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:42 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:42 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:42 Bash-20201130-cc6d3fe 02:52:42 02:52:42 02:52:42 ==> Jenkins CI detected. 02:52:42 project root: . 02:52:42 --> token set from env 02:52:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:42 ==> Running gcov in . (disable via -X gcov) 02:52:42 ==> Python coveragepy not found 02:52:42 ==> Searching for coverage reports in: 02:52:42 + . 02:52:42 -> Found 1 reports 02:52:42 ==> Detecting git/mercurial file structure 02:52:42 ==> Reading reports 02:52:42 + ./coverage.out bytes=128916 02:52:42 ==> Appending adjustments 02:52:42 https://docs.codecov.io/docs/fixing-reports 02:52:42 + Found adjustments 02:52:42 ==> Gzipping contents 02:52:42 24K /tmp/codecov.Uu9Vd8.gz 02:52:42 ==> Uploading reports 02:52:42 url: https://codecov.io 02:52:42 query: branch=PR-692&commit=36f88f4d4181b49d8dd3acadddff984456ee158f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:52:42 -> Pinging Codecov 02:52:42 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-692&commit=36f88f4d4181b49d8dd3acadddff984456ee158f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:52:43 -> Uploading to 02:52:43 https://storage.googleapis.com/codecov/v4/raw/2020-12-16/7E55EF52A471D76F132DFD9A03CDDE97/36f88f4d4181b49d8dd3acadddff984456ee158f/f885defc-ffa8-4aa2-b6f6-66368ed89464.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201216T025242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=635b2bdf9bd29a0cc7a301d98f69da754daad26e7dd61e3804b32c8dd75aae81 02:52:43 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:43 Dload Upload Total Spent Left Speed 02:52:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21084 0 0 100 21084 0 41507 --:--:-- --:--:-- --:--:-- 41585 02:52:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/36f88f4d4181b49d8dd3acadddff984456ee158f [Pipeline] } 02:52:43 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:52:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:46 ---> package-listing.sh 02:52:46 ++ facter osfamily 02:52:46 ++ tr '[:upper:]' '[:lower:]' 02:52:46 + OS_FAMILY=redhat 02:52:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-692 02:52:46 + START_PACKAGES=/tmp/packages_start.txt 02:52:46 + END_PACKAGES=/tmp/packages_end.txt 02:52:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:46 + PACKAGES=/tmp/packages_start.txt 02:52:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:52:46 + PACKAGES=/tmp/packages_end.txt 02:52:46 + case "${OS_FAMILY}" in 02:52:46 + rpm -qa 02:52:46 + sort 02:52:52 + '[' -f /tmp/packages_start.txt ']' 02:52:52 + '[' -f /tmp/packages_end.txt ']' 02:52:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:52:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ 02:52:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ [Pipeline] echo 02:52:52 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-692/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:52 02:52:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:53 alpine: Pulling from edgex-lftools-log-publisher 02:52:53 df20fa9351a1: Pulling fs layer 02:52:53 36b3adc4ff6f: Pulling fs layer 02:52:53 8ad3a11d3b57: Pulling fs layer 02:52:53 46f8f816bc3b: Pulling fs layer 02:52:53 93b61091891f: Pulling fs layer 02:52:53 93b9cdb0e59b: Pulling fs layer 02:52:53 5e14af77c1be: Pulling fs layer 02:52:53 01666e4c0597: Pulling fs layer 02:52:53 aa168da1d23b: Pulling fs layer 02:52:53 93b9cdb0e59b: Waiting 02:52:53 5e14af77c1be: Waiting 02:52:53 01666e4c0597: Waiting 02:52:53 aa168da1d23b: Waiting 02:52:53 46f8f816bc3b: Waiting 02:52:53 93b61091891f: Waiting 02:52:53 36b3adc4ff6f: Download complete 02:52:53 46f8f816bc3b: Verifying Checksum 02:52:53 46f8f816bc3b: Download complete 02:52:53 df20fa9351a1: Download complete 02:52:53 93b9cdb0e59b: Verifying Checksum 02:52:53 93b9cdb0e59b: Download complete 02:52:53 5e14af77c1be: Verifying Checksum 02:52:53 5e14af77c1be: Download complete 02:52:53 93b61091891f: Download complete 02:52:53 01666e4c0597: Verifying Checksum 02:52:53 01666e4c0597: Download complete 02:52:53 8ad3a11d3b57: Verifying Checksum 02:52:53 df20fa9351a1: Pull complete 02:52:53 36b3adc4ff6f: Pull complete 02:52:54 8ad3a11d3b57: Pull complete 02:52:55 46f8f816bc3b: Pull complete 02:52:55 aa168da1d23b: Verifying Checksum 02:52:55 aa168da1d23b: Download complete 02:52:55 93b61091891f: Pull complete 02:52:55 93b9cdb0e59b: Pull complete 02:52:55 5e14af77c1be: Pull complete 02:52:56 01666e4c0597: Pull complete 02:53:02 aa168da1d23b: Pull complete 02:53:02 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:53:03 prd-centos7-docker-4c-2g-16248 does not seem to be running inside a container 02:53:03 $ 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-692/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-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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:10003/edgex-lftools-log-publisher:alpine cat 02:53:06 $ docker top caec46d682c8ccd066c0ec8bcf2a59e914dc4eb904482e1870e86e784cccdc07 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:06 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:07 + mkdir -p /var/log/sa [Pipeline] sh 02:53:07 + ls /var/log/sa-host 02:53:07 + sadf -c /var/log/sa-host/sa16 02:53:07 file_magic: OK 02:53:07 HZ: Using current value: 100 02:53:07 file_header: OK 02:53:07 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:53:07 Statistics: 02:53:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:53:07 File successfully converted to sysstat format version 12.2.1 02:53:07 + sadf -c /var/log/sa-host/sa23 02:53:07 file_magic: OK 02:53:07 HZ: Using current value: 100 02:53:07 file_header: OK 02:53:07 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:53:07 Statistics: 02:53:07 Hnuu...uuuununununu... 02:53:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:07 provisioning config files... 02:53:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config3118246254218822444tmp [Pipeline] { [Pipeline] echo 02:53:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:08 ---> create-netrc.sh [Pipeline] } 02:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:53:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:08 ---> python-tools-install.sh [Pipeline] echo 02:53:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:08 ---> sudo-logs.sh 02:53:08 Archiving 'sudo' log.. [Pipeline] echo 02:53:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:09 ---> job-cost.sh 02:53:09 lf-activate-venv: SKIPPING 02:53:09 INFO: No Stack... 02:53:09 INFO: Retrieving Pricing Info for: v1-standard-2 02:53:10 INFO: Archiving Costs [Pipeline] echo 02:53:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:10 ---> logs-deploy.sh 02:53:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-692/5 02:53:10 INFO: archiving workspace using pattern(s): 02:53:12 Archives upload complete. 02:53:12 INFO: archiving logs to Nexus 02:53:13 ---> uname -a: 02:53:13 Linux prd-centos7-docker-4c-2g-16248.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:53:13 02:53:13 02:53:13 ---> lscpu: 02:53:13 Architecture: x86_64 02:53:13 CPU op-mode(s): 32-bit, 64-bit 02:53:13 Byte Order: Little Endian 02:53:13 Address sizes: 40 bits physical, 48 bits virtual 02:53:13 CPU(s): 4 02:53:13 On-line CPU(s) list: 0-3 02:53:13 Thread(s) per core: 1 02:53:13 Core(s) per socket: 1 02:53:13 Socket(s): 4 02:53:13 NUMA node(s): 1 02:53:13 Vendor ID: GenuineIntel 02:53:13 CPU family: 6 02:53:13 Model: 44 02:53:13 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:53:13 Stepping: 1 02:53:13 CPU MHz: 2933.438 02:53:13 BogoMIPS: 5866.87 02:53:13 Virtualization: VT-x 02:53:13 Hypervisor vendor: KVM 02:53:13 Virtualization type: full 02:53:13 L1d cache: 128 KiB 02:53:13 L1i cache: 128 KiB 02:53:13 L2 cache: 16 MiB 02:53:13 L3 cache: 64 MiB 02:53:13 NUMA node0 CPU(s): 0-3 02:53:13 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:53:13 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:53:13 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:53:13 Vulnerability Meltdown: Mitigation; PTI 02:53:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:53:13 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:53:13 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:53:13 Vulnerability Srbds: Not affected 02:53:13 Vulnerability Tsx async abort: Not affected 02:53:13 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:53:13 02:53:13 02:53:13 ---> nproc: 02:53:13 4 02:53:13 02:53:13 02:53:13 ---> df -h: 02:53:13 Filesystem Size Used Available Use% Mounted on 02:53:13 overlay 50.0G 7.3G 42.7G 15% / 02:53:13 tmpfs 64.0M 0 64.0M 0% /dev 02:53:13 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:53:13 shm 64.0M 0 64.0M 0% /dev/shm 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:53:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:53:13 02:53:13 02:53:13 ---> free -m: 02:53:13 total used free shared buff/cache available 02:53:13 Mem: 1837 702 85 0 1048 1030 02:53:13 Swap: 1023 1 1022 02:53:13 02:53:13 02:53:13 ---> ip addr: 02:53:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:53:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:53:13 inet 127.0.0.1/8 scope host lo 02:53:13 valid_lft forever preferred_lft forever 02:53:13 inet6 ::1/128 scope host 02:53:13 valid_lft forever preferred_lft forever 02:53:13 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:53:13 link/ether fa:16:3e:d9:08:86 brd ff:ff:ff:ff:ff:ff 02:53:13 inet 10.30.122.159/23 brd 10.30.123.255 scope global dynamic eth0 02:53:13 valid_lft 85792sec preferred_lft 85792sec 02:53:13 inet6 fe80::f816:3eff:fed9:886/64 scope link 02:53:13 valid_lft forever preferred_lft forever 02:53:13 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:53:13 link/ether 02:42:87:0a:38:ca brd ff:ff:ff:ff:ff:ff 02:53:13 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:53:13 valid_lft forever preferred_lft forever 02:53:13 inet6 fe80::42:87ff:fe0a:38ca/64 scope link 02:53:13 valid_lft forever preferred_lft forever 02:53:13 02:53:13 02:53:13 ---> sar -b -r -n DEV: 02:53:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 02:53:13 02:53:13 02:42:52 LINUX RESTART (4 CPU) 02:53:13 02:53:13 02:44:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:53:13 02:45:01 2.56 0.00 2.56 0.00 0.00 60.58 0.00 02:53:13 02:46:01 0.45 0.00 0.45 0.00 0.00 6.73 0.00 02:53:13 02:47:01 0.28 0.00 0.28 0.00 0.00 2.75 0.00 02:53:13 02:48:01 0.38 0.00 0.38 0.00 0.00 5.28 0.00 02:53:13 02:49:01 0.23 0.00 0.23 0.00 0.00 4.00 0.00 02:53:13 02:50:01 0.25 0.00 0.25 0.00 0.00 2.05 0.00 02:53:13 02:51:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 02:53:13 02:52:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 02:53:13 02:53:01 104.94 62.06 42.89 0.00 4723.85 15634.18 0.00 02:53:13 Average: 12.21 6.91 5.29 0.00 526.20 1751.13 0.00 02:53:13 02:53:13 02:44:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:53:13 02:45:01 167036 0 563172 29.93 2620 1148716 1092924 37.30 406092 1109404 28 02:53:13 02:46:01 166316 0 563944 29.97 2620 1148664 1076584 36.74 417644 1098424 8 02:53:13 02:47:01 167360 0 562892 29.92 2620 1148672 1076476 36.74 416904 1098424 8 02:53:13 02:48:01 165688 0 564564 30.01 2620 1148672 1076560 36.74 434052 1083100 8 02:53:13 02:49:01 165620 0 564624 30.01 2620 1148680 1076584 36.74 434164 1083100 8 02:53:13 02:50:01 166384 0 563856 29.97 2620 1148684 1076476 36.74 433728 1083100 8 02:53:13 02:51:01 166336 0 563900 29.97 2620 1148688 1076476 36.74 433604 1083100 8 02:53:13 02:52:01 166648 0 563584 29.95 2620 1148692 1076476 36.74 433488 1083100 8 02:53:13 02:53:01 263640 0 623708 33.15 2620 991576 1076960 36.75 397048 972208 89512 02:53:13 Average: 177225 0 570472 30.32 2620 1131227 1078391 36.80 422969 1077107 9955 02:53:13 02:53:13 02:44:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:53:13 02:45:01 eth0 4.03 1.78 3.83 0.50 0.00 0.00 0.00 0.00 02:53:13 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:46:01 eth0 0.90 0.30 0.29 0.17 0.00 0.00 0.00 0.00 02:53:13 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:47:01 eth0 0.53 0.08 0.06 0.04 0.00 0.00 0.00 0.00 02:53:13 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:48:01 eth0 0.80 0.30 0.28 0.20 0.00 0.00 0.00 0.00 02:53:13 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:49:01 eth0 1.15 0.40 0.45 0.23 0.00 0.00 0.00 0.00 02:53:13 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:50:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 02:53:13 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:51:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:53:13 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:52:01 eth0 1.25 0.02 0.11 0.00 0.00 0.00 0.00 0.00 02:53:13 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:53:01 eth0 198.00 170.09 2170.27 18.22 0.00 0.00 0.00 0.00 02:53:13 02:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 Average: eth0 23.03 19.28 242.30 2.16 0.00 0.00 0.00 0.00 02:53:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:53:13 02:53:13 02:53:13 ---> sar -P ALL: 02:53:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 02:53:13 02:53:13 02:42:52 LINUX RESTART (4 CPU) 02:53:13 02:53:13 02:44:02 CPU %user %nice %system %iowait %steal %idle 02:53:13 02:45:01 all 0.22 0.00 0.08 0.00 0.00 99.70 02:53:13 02:45:01 0 0.08 0.00 0.07 0.00 0.00 99.85 02:53:13 02:45:01 1 0.49 0.00 0.12 0.00 0.00 99.39 02:53:13 02:45:01 2 0.15 0.00 0.05 0.00 0.00 99.80 02:53:13 02:45:01 3 0.14 0.00 0.08 0.00 0.00 99.78 02:53:13 02:46:01 all 0.17 0.00 0.05 0.00 0.01 99.76 02:53:13 02:46:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:53:13 02:46:01 1 0.57 0.00 0.03 0.00 0.02 99.38 02:53:13 02:46:01 2 0.07 0.00 0.12 0.00 0.02 99.80 02:53:13 02:46:01 3 0.03 0.00 0.03 0.00 0.02 99.92 02:53:13 02:47:01 all 0.14 0.00 0.04 0.00 0.00 99.82 02:53:13 02:47:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:53:13 02:47:01 1 0.47 0.00 0.05 0.00 0.00 99.48 02:53:13 02:47:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:53:13 02:47:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:53:13 02:48:01 all 0.16 0.00 0.05 0.00 0.00 99.79 02:53:13 02:48:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:53:13 02:48:01 1 0.55 0.00 0.02 0.00 0.00 99.43 02:53:13 02:48:01 2 0.03 0.00 0.15 0.00 0.00 99.82 02:53:13 02:48:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:53:13 02:49:01 all 0.15 0.00 0.04 0.00 0.00 99.80 02:53:13 02:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:53:13 02:49:01 1 0.45 0.00 0.10 0.00 0.00 99.45 02:53:13 02:49:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:53:13 02:49:01 3 0.08 0.00 0.02 0.00 0.00 99.90 02:53:13 02:50:01 all 0.03 0.00 0.04 0.00 0.00 99.92 02:53:13 02:50:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:53:13 02:50:01 1 0.07 0.00 0.07 0.00 0.02 99.85 02:53:13 02:50:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:53:13 02:50:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:53:13 02:51:01 all 0.07 0.00 0.03 0.00 0.00 99.90 02:53:13 02:51:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:53:13 02:51:01 1 0.22 0.00 0.05 0.00 0.00 99.73 02:53:13 02:51:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:53:13 02:51:01 3 0.02 0.00 0.02 0.00 0.02 99.95 02:53:13 02:52:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:53:13 02:52:01 0 0.02 0.00 0.03 0.00 0.02 99.93 02:53:13 02:52:01 1 0.52 0.00 0.02 0.00 0.00 99.47 02:53:13 02:52:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:53:13 02:52:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:53:13 02:53:01 all 5.75 0.00 3.61 1.40 0.02 89.22 02:53:13 02:53:01 0 6.22 0.00 3.66 0.91 0.00 89.22 02:53:13 02:53:01 1 5.44 0.00 3.51 1.18 0.05 89.82 02:53:13 02:53:01 2 5.43 0.00 3.48 1.28 0.02 89.79 02:53:13 02:53:01 3 5.91 0.00 3.79 2.24 0.00 88.06 02:53:13 Average: all 0.76 0.00 0.44 0.15 0.00 98.65 02:53:13 Average: 0 0.71 0.00 0.43 0.10 0.00 98.75 02:53:13 Average: 1 0.97 0.00 0.44 0.13 0.01 98.45 02:53:13 Average: 2 0.65 0.00 0.44 0.14 0.00 98.77 02:53:13 Average: 3 0.69 0.00 0.45 0.25 0.00 98.61 02:53:13 02:53:13 02:53:13