Pull request #661 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at cbcd560d226450c2fc49532ec953a0990705dfef rather than 9574d67936ccb2209c5ca4c21c9efb44b9c64fab Obtained Jenkinsfile from cbcd560d226450c2fc49532ec953a0990705dfef 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14160 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-661 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 9574d67936ccb2209c5ca4c21c9efb44b9c64fab Merge succeeded, producing 9574d67936ccb2209c5ca4c21c9efb44b9c64fab Checking out Revision 9574d67936ccb2209c5ca4c21c9efb44b9c64fab (PR-661) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # 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 cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # timeout=10 Commit message: "feat: add a comment to explain why use buffer for sending event to coredata" > git rev-list --no-walk b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:48:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:48:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:48:40 ========================================================= 08:48:40 EdgeX Global Pipelines Version Info 08:48:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:48:42 ------------------- 08:48:42 stable info: 08:48:42 ------------------- 08:48:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:48:42 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 08:48:42 Message: update stable to v1.0.169 08:48:43 ------------------- 08:48:43 experimental info: 08:48:43 ------------------- 08:48:43 Commited By: **** collab-it+edgex@linuxfoundation.org 08:48:43 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 08:48:43 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:48:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:48:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 08:48:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 08:48:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9574d67936ccb2209c5ca4c21c9efb44b9c64fab [Pipeline] echo 08:48:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9574d67 [Pipeline] echo 08:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:48:47 provisioning config files... 08:48:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config98181419197858413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:47 ---> docker-login.sh 08:48:47 nexus3.edgexfoundry.org:10001 08:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:48 Configure a credential helper to remove this warning. See 08:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:48 08:48:48 Login Succeeded 08:48:48 nexus3.edgexfoundry.org:10002 08:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:48 Configure a credential helper to remove this warning. See 08:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:48 08:48:48 Login Succeeded 08:48:48 nexus3.edgexfoundry.org:10003 08:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:48 Configure a credential helper to remove this warning. See 08:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:48 08:48:48 Login Succeeded 08:48:48 nexus3.edgexfoundry.org:10004 08:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:49 Configure a credential helper to remove this warning. See 08:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:49 08:48:49 Login Succeeded 08:48:49 docker.io 08:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:49 Configure a credential helper to remove this warning. See 08:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:49 08:48:49 Login Succeeded 08:48:49 ---> docker-login.sh ends [Pipeline] } 08:48:49 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 08:48:50 + git log --format=format:%s -1 9574d67936ccb2209c5ca4c21c9efb44b9c64fab [Pipeline] echo 08:48:50 GIT_COMMIT: 9574d67936ccb2209c5ca4c21c9efb44b9c64fab, Commit Message: feat: add a comment to explain why use buffer for sending event to coredata [Pipeline] echo 08:48:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:51 08:48:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:48:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:51 latest: Pulling from edgex-devops/git-semver 08:48:51 31603596830f: Pulling fs layer 08:48:51 2a8b12db71e7: Pulling fs layer 08:48:51 6ca5941a6612: Pulling fs layer 08:48:51 ecc8261a40a4: Pulling fs layer 08:48:51 ecc8261a40a4: Waiting 08:48:51 2a8b12db71e7: Verifying Checksum 08:48:51 2a8b12db71e7: Download complete 08:48:52 31603596830f: Verifying Checksum 08:48:52 31603596830f: Download complete 08:48:52 ecc8261a40a4: Verifying Checksum 08:48:52 ecc8261a40a4: Download complete 08:48:52 6ca5941a6612: Verifying Checksum 08:48:52 6ca5941a6612: Download complete 08:48:52 31603596830f: Pull complete 08:48:53 2a8b12db71e7: Pull complete 08:48:54 6ca5941a6612: Pull complete 08:48:54 ecc8261a40a4: Pull complete 08:48:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:48:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:48:54 prd-centos7-docker-4c-2g-14160 does not seem to be running inside a container 08:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:48:57 $ docker top 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:57 [ssh-agent] Looking for ssh-agent implementation... 08:48:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:57 $ docker exec 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 ssh-agent 08:48:57 SSH_AUTH_SOCK=/tmp/ssh-aia2M1JAvQ3v/agent.11 08:48:57 SSH_AGENT_PID=17 08:48:57 Running ssh-add (command line suppressed) 08:48:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_6284716889607356055.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_6284716889607356055.key) 08:48:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:58 + git tag --points-at HEAD [Pipeline] } 08:48:58 $ docker exec --env ******** --env ******** 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 ssh-agent -k 08:48:58 unset SSH_AUTH_SOCK; 08:48:58 unset SSH_AGENT_PID; 08:48:58 echo Agent pid 17 killed; 08:48:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:48:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:58 [ssh-agent] Looking for ssh-agent implementation... 08:48:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:59 $ docker exec 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 ssh-agent 08:48:59 SSH_AUTH_SOCK=/tmp/ssh-pghAM1Q4mIVB/agent.47 08:48:59 SSH_AGENT_PID=52 08:48:59 Running ssh-add (command line suppressed) 08:48:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_4368029067158775095.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_4368029067158775095.key) 08:48:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:49:00 + git semver init 08:49:00 # -> Open(): unable to determine branch for HEAD 08:49:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 08:49:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 08:49:00 # $SEMVER_REMOTE_NAME = origin 08:49:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:49:00 # $SEMVER_USER_NAME = edgex-jenkins 08:49:00 # $SEMVER_BRANCH = PR-661 08:49:00 # $SEMVER_TEMP = /tmp/semver-982189165 08:49:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:49:01 # '/tmp/semver-982189165' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 08:49:01 # -> Force: false 08:49:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 08:49:01 $ docker exec --env ******** --env ******** 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 ssh-agent -k 08:49:01 unset SSH_AUTH_SOCK; 08:49:01 unset SSH_AGENT_PID; 08:49:01 echo Agent pid 52 killed; 08:49:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:49:01 + git semver [Pipeline] } 08:49:01 $ docker stop --time=1 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 08:49:03 $ docker rm -f 8ad362b66beadcc6040591ff652a9162d6f837d9d88e99df9d5d0c63f692a413 [Pipeline] // withDockerContainer [Pipeline] sh 08:49:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:49:04 Stashed 1 file(s) [Pipeline] echo 08:49:04 [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 08:49:20 Still waiting to schedule task 08:49:20 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14160’ 08:49:20 Still waiting to schedule task 08:49:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 08:51:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14161 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 08:51:16 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:51:21 using credential edgex-jenkins-ssh 08:51:21 Cloning the remote Git repository 08:51:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:21 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:51:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:21 > git --version # timeout=10 08:51:21 > git --version # 'git version 2.17.1' 08:51:21 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:24 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 9574d67936ccb2209c5ca4c21c9efb44b9c64fab 08:51:24 Merge succeeded, producing 9574d67936ccb2209c5ca4c21c9efb44b9c64fab 08:51:24 Checking out Revision 9574d67936ccb2209c5ca4c21c9efb44b9c64fab (PR-661) 08:51:24 > git config core.sparsecheckout # timeout=10 08:51:24 > git checkout -f 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # timeout=10 08:51:24 > git remote # timeout=10 08:51:24 > git config --get remote.origin.url # timeout=10 08:51:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:24 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 08:51:24 > git rev-parse HEAD^{commit} # timeout=10 08:51:24 > git config core.sparsecheckout # timeout=10 08:51:24 > git checkout -f 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # timeout=10 08:51:28 Commit message: "feat: add a comment to explain why use buffer for sending event to coredata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:30 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:51:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:51:31 + sudo service docker+ restart 08:51:31 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:33 provisioning config files... 08:51:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config288367296222041659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:34 ---> docker-login.sh 08:51:34 nexus3.edgexfoundry.org:10001 08:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:35 Configure a credential helper to remove this warning. See 08:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:35 08:51:35 Login Succeeded 08:51:35 nexus3.edgexfoundry.org:10002 08:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:35 Configure a credential helper to remove this warning. See 08:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:35 08:51:35 Login Succeeded 08:51:35 nexus3.edgexfoundry.org:10003 08:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:36 Configure a credential helper to remove this warning. See 08:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:36 08:51:36 Login Succeeded 08:51:36 nexus3.edgexfoundry.org:10004 08:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:36 Configure a credential helper to remove this warning. See 08:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:36 08:51:36 Login Succeeded 08:51:36 docker.io 08:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:37 Configure a credential helper to remove this warning. See 08:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:37 08:51:37 Login Succeeded 08:51:37 ---> docker-login.sh ends [Pipeline] } 08:51:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:51:38 ========================================================= 08:51:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:51:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:51:38 + 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 . 08:51:39 Sending build context to Docker daemon 2.387MB 08:51:39 Step 1/8 : ARG BASE=golang:1.15-alpine 08:51:39 Step 2/8 : FROM ${BASE} 08:51:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:51:39 5f621e34cdf4: Pulling fs layer 08:51:39 a4357932f1b6: Pulling fs layer 08:51:39 18c013af1878: Pulling fs layer 08:51:39 00ac8860ef70: Pulling fs layer 08:51:39 63d7cb157983: Pulling fs layer 08:51:39 b116817d02f9: Pulling fs layer 08:51:39 745a02a5169b: Pulling fs layer 08:51:39 63d7cb157983: Waiting 08:51:39 b116817d02f9: Waiting 08:51:39 745a02a5169b: Waiting 08:51:39 00ac8860ef70: Waiting 08:51:39 18c013af1878: Verifying Checksum 08:51:39 18c013af1878: Download complete 08:51:39 a4357932f1b6: Verifying Checksum 08:51:39 a4357932f1b6: Download complete 08:51:39 63d7cb157983: Verifying Checksum 08:51:39 63d7cb157983: Download complete 08:51:39 5f621e34cdf4: Verifying Checksum 08:51:39 5f621e34cdf4: Download complete 08:51:40 5f621e34cdf4: Pull complete 08:51:40 Running on prd-centos7-docker-4c-2g-14162 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 08:51:40 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:51:41 a4357932f1b6: Pull complete 08:51:41 18c013af1878: Pull complete 08:51:42 745a02a5169b: Verifying Checksum 08:51:42 745a02a5169b: Download complete 08:51:43 using credential edgex-jenkins-ssh 08:51:43 Cloning the remote Git repository 08:51:43 00ac8860ef70: Verifying Checksum 08:51:43 00ac8860ef70: Download complete 08:51:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:43 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:51:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:43 > git --version # timeout=10 08:51:43 > git --version # 'git version 2.24.3' 08:51:43 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:45 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 9574d67936ccb2209c5ca4c21c9efb44b9c64fab 08:51:45 Merge succeeded, producing 9574d67936ccb2209c5ca4c21c9efb44b9c64fab 08:51:45 Checking out Revision 9574d67936ccb2209c5ca4c21c9efb44b9c64fab (PR-661) 08:51:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:45 > git config core.sparsecheckout # timeout=10 08:51:45 > git checkout -f 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # timeout=10 08:51:45 > git remote # timeout=10 08:51:45 > git config --get remote.origin.url # timeout=10 08:51:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:45 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 08:51:45 > git rev-parse HEAD^{commit} # timeout=10 08:51:45 > git config core.sparsecheckout # timeout=10 08:51:45 > git checkout -f 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # timeout=10 08:51:49 Commit message: "feat: add a comment to explain why use buffer for sending event to coredata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:51:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:51:51 + sudo service docker restart 08:51:51 + true 08:51:51 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:52 provisioning config files... 08:51:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4833786857259198665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:53 ---> docker-login.sh 08:51:53 nexus3.edgexfoundry.org:10001 08:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:53 Configure a credential helper to remove this warning. See 08:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:53 08:51:53 Login Succeeded 08:51:53 nexus3.edgexfoundry.org:10002 08:51:53 00ac8860ef70: Pull complete 08:51:53 63d7cb157983: Pull complete 08:51:53 b116817d02f9: Pull complete 08:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:53 Configure a credential helper to remove this warning. See 08:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:53 08:51:53 Login Succeeded 08:51:53 nexus3.edgexfoundry.org:10003 08:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:54 Configure a credential helper to remove this warning. See 08:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:54 08:51:54 Login Succeeded 08:51:54 nexus3.edgexfoundry.org:10004 08:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:54 Configure a credential helper to remove this warning. See 08:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:54 08:51:54 Login Succeeded 08:51:54 docker.io 08:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:54 Configure a credential helper to remove this warning. See 08:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:54 08:51:54 Login Succeeded 08:51:54 ---> docker-login.sh ends [Pipeline] } 08:51:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:51:55 ========================================================= 08:51:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:51:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:51:55 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:51:55 Sending build context to Docker daemon 2.388MB 08:51:55 Step 1/8 : ARG BASE=golang:1.15-alpine 08:51:55 Step 2/8 : FROM ${BASE} 08:51:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:51:55 188c0c94c7c5: Pulling fs layer 08:51:55 0ef7d3d256c8: Pulling fs layer 08:51:55 de9db76c5a1d: Pulling fs layer 08:51:55 bca2f99d35d6: Pulling fs layer 08:51:55 93359f2a8cfa: Pulling fs layer 08:51:55 7c6f9722023f: Pulling fs layer 08:51:55 a35cf1a2eb13: Pulling fs layer 08:51:55 93359f2a8cfa: Waiting 08:51:55 7c6f9722023f: Waiting 08:51:55 a35cf1a2eb13: Waiting 08:51:55 bca2f99d35d6: Waiting 08:51:55 de9db76c5a1d: Verifying Checksum 08:51:55 de9db76c5a1d: Download complete 08:51:55 0ef7d3d256c8: Download complete 08:51:55 93359f2a8cfa: Download complete 08:51:55 7c6f9722023f: Verifying Checksum 08:51:55 7c6f9722023f: Download complete 08:51:56 188c0c94c7c5: Verifying Checksum 08:51:56 188c0c94c7c5: Download complete 08:51:56 188c0c94c7c5: Pull complete 08:51:56 0ef7d3d256c8: Pull complete 08:51:56 de9db76c5a1d: Pull complete 08:51:58 745a02a5169b: Pull complete 08:51:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:51:58 ---> b7e6874047d6 08:51:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:00 ---> Running in e10ad88aa277 08:52:00 Removing intermediate container e10ad88aa277 08:52:00 ---> 81519759d866 08:52:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:00 ---> Running in 2cede4b696e1 08:52:01 a35cf1a2eb13: Verifying Checksum 08:52:01 a35cf1a2eb13: Download complete 08:52:02 bca2f99d35d6: Verifying Checksum 08:52:02 bca2f99d35d6: Download complete 08:52:02 Removing intermediate container 2cede4b696e1 08:52:02 ---> e9a797e1c76e 08:52:02 Step 5/8 : RUN apk add --no-cache make git 08:52:03 ---> Running in 1e4e4722e9e0 08:52:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:52:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:52:07 bca2f99d35d6: Pull complete 08:52:07 93359f2a8cfa: Pull complete 08:52:07 7c6f9722023f: Pull complete 08:52:13 OK: 142 MiB in 39 packages 08:52:14 Removing intermediate container 1e4e4722e9e0 08:52:14 ---> 6ee8bdc3cef7 08:52:14 Step 6/8 : WORKDIR /device-sdk-go 08:52:14 ---> Running in ef5aca72a5d9 08:52:14 Removing intermediate container ef5aca72a5d9 08:52:14 ---> 6828add7ca99 08:52:14 Step 7/8 : COPY . . 08:52:16 ---> 2a76d951951b 08:52:16 Step 8/8 : RUN go mod download 08:52:16 ---> Running in 9de41157def8 08:52:17 a35cf1a2eb13: Pull complete 08:52:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:52:17 ---> a62c8e92a672 08:52:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:17 ---> Running in 693c7a1089a9 08:52:17 Removing intermediate container 693c7a1089a9 08:52:17 ---> fefdc0a52a91 08:52:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:17 ---> Running in ff7f0d37ddda 08:52:18 Removing intermediate container ff7f0d37ddda 08:52:18 ---> a7cce70b0a1b 08:52:18 Step 5/8 : RUN apk add --no-cache make git 08:52:18 ---> Running in b4203c7a1b3c 08:52:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:52:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:52:20 OK: 166 MiB in 39 packages 08:52:20 Removing intermediate container b4203c7a1b3c 08:52:20 ---> 06e242ac1900 08:52:20 Step 6/8 : WORKDIR /device-sdk-go 08:52:20 ---> Running in d14c8d7cda49 08:52:21 Removing intermediate container d14c8d7cda49 08:52:21 ---> d99bc1a24b14 08:52:21 Step 7/8 : COPY . . 08:52:22 ---> e57cadbd0270 08:52:22 Step 8/8 : RUN go mod download 08:52:22 ---> Running in b7f677de2ca4 08:52:39 Removing intermediate container 9de41157def8 08:52:39 ---> 259a2e6a966b 08:52:39 Successfully built 259a2e6a966b 08:52:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:52:39 + docker inspect -f . ci-base-image-arm64 08:52:39 . [Pipeline] withDockerContainer 08:52:39 prd-ubuntu18.04-docker-arm64-4c-16g-14161 does not seem to be running inside a container 08:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:52:41 Removing intermediate container b7f677de2ca4 08:52:41 ---> 7a709f09abbb 08:52:41 Successfully built 7a709f09abbb 08:52:41 Successfully tagged ci-base-image-x86_64:latest 08:52:41 $ docker top 225b617b552cc508f354604537f86480be60aa11faa4b4615759e59e1b9d256b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 08:52:42 + docker inspect -f . ci-base-image-x86_64 08:52:42 . [Pipeline] withDockerContainer 08:52:42 prd-centos7-docker-4c-2g-14162 does not seem to be running inside a container 08:52:42 + go version 08:52:42 go version go1.15.5 linux/arm64 08:52:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:52:43 $ docker top c996f8a5210715cb20f3d8d3e06190c3b41bac254a3e12322221cd15a2033597 -eo pid,comm [Pipeline] { [Pipeline] } 08:52:43 $ docker stop --time=1 225b617b552cc508f354604537f86480be60aa11faa4b4615759e59e1b9d256b 08:52:45 $ docker rm -f 225b617b552cc508f354604537f86480be60aa11faa4b4615759e59e1b9d256b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage 08:52:46 + go version 08:52:46 go version go1.15.5 linux/amd64 [Pipeline] stage [Pipeline] { (Test) [Pipeline] } 08:52:46 $ docker stop --time=1 c996f8a5210715cb20f3d8d3e06190c3b41bac254a3e12322221cd15a2033597 08:52:47 $ docker rm -f c996f8a5210715cb20f3d8d3e06190c3b41bac254a3e12322221cd15a2033597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:52:48 + docker inspect -f . ci-base-image-arm64 08:52:48 . [Pipeline] withDockerContainer 08:52:48 + docker inspect -f . ci-base-image-x86_64 08:52:48 . 08:52:48 prd-ubuntu18.04-docker-arm64-4c-16g-14161 does not seem to be running inside a container 08:52:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:52:50 $ docker top c9fb37c1911a3c5a026621f54507632854d88023682efa26adb5f592894d3798 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 08:52:50 prd-centos7-docker-4c-2g-14162 does not seem to be running inside a container 08:52:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:52:51 $ docker top e6eaaa9d7700cfb6198b8faf421441d6effb599e1bd62622ae534bfa4f143a90 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 08:52:52 + make test 08:52:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:52:52 + make test 08:52:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:53:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:53:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:53:15 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:53:15 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:53:15 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:53:15 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 20.0% of statements 08:53:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.439s coverage: 97.1% of statements 08:53:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 9.4% of statements 08:53:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:53:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.215s coverage: 42.5% of statements 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:53:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.285s coverage: 68.9% of statements 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:53:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:53:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:53:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.502s coverage: 68.9% of statements 08:53:48 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 08:53:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:53:48 GO111MODULE=on go vet ./... 08:53:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:53:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:53:53 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:53:53 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.107s coverage: 20.0% of statements 08:53:53 gofmt -l . 08:53:53 [ "`gofmt -l .`" = "" ] 08:53:54 ./bin/test-attribution-txt.sh 08:53:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:53:55 $ docker stop --time=1 e6eaaa9d7700cfb6198b8faf421441d6effb599e1bd62622ae534bfa4f143a90 08:53:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.206s coverage: 97.1% of statements 08:53:56 $ docker rm -f e6eaaa9d7700cfb6198b8faf421441d6effb599e1bd62622ae534bfa4f143a90 [Pipeline] // withDockerContainer [Pipeline] sh 08:53:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:53:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:54:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:54:01 + ls -al . 08:54:01 total 208 08:54:01 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 2 08:53 . 08:54:01 drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 08:51 .. 08:54:01 drwxrwxr-x. 2 jenkins jenkins 64 Dec 2 08:51 bin 08:54:01 -rw-r--r--. 1 jenkins jenkins 127698 Dec 2 08:53 coverage.out 08:54:01 -rw-rw-r--. 1 jenkins jenkins 936 Dec 2 08:51 Dockerfile.build 08:54:01 -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 08:51 .dockerignore 08:54:01 drwxrwxr-x. 4 jenkins jenkins 48 Dec 2 08:51 example 08:54:01 drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 08:51 .git 08:54:01 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 08:51 .github 08:54:01 -rw-rw-r--. 1 jenkins jenkins 138 Dec 2 08:51 .gitignore 08:54:01 -rw-r--r--. 1 jenkins jenkins 518 Dec 2 08:53 go.mod 08:54:01 -rw-r--r--. 1 jenkins jenkins 13631 Dec 2 08:53 go.sum 08:54:01 drwxrwxr-x. 15 jenkins jenkins 211 Dec 2 08:51 internal 08:54:01 -rw-rw-r--. 1 jenkins jenkins 901 Dec 2 08:51 Jenkinsfile 08:54:01 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 2 08:51 LICENSE 08:54:01 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 2 08:51 Makefile 08:54:01 drwxrwxr-x. 4 jenkins jenkins 26 Dec 2 08:51 openapi 08:54:01 drwxrwxr-x. 5 jenkins jenkins 50 Dec 2 08:51 pkg 08:54:01 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 2 08:51 README.md 08:54:01 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 2 08:51 RELEASE-NOTES.txt 08:54:01 drwxrwxr-x. 4 jenkins jenkins 54 Dec 2 08:51 snap 08:54:01 -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 08:49 VERSION 08:54:01 -rw-rw-r--. 1 jenkins jenkins 222 Dec 2 08:51 version.go [Pipeline] isUnix [Pipeline] sh 08:54:01 + 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=9574d67936ccb2209c5ca4c21c9efb44b9c64fab --label arch=amd64 --label version=0.0.0 . 08:54:01 Sending build context to Docker daemon 2.517MB 08:54:01 Step 1/24 : ARG BASE=golang:1.15-alpine 08:54:01 Step 2/24 : FROM ${BASE} AS builder 08:54:01 ---> 7a709f09abbb 08:54:01 Step 3/24 : ARG MAKE='make build' 08:54:02 ---> Running in 06a1d6d96280 08:54:03 Removing intermediate container 06a1d6d96280 08:54:03 ---> 254968020b31 08:54:03 Step 4/24 : WORKDIR /device-sdk-go 08:54:03 ---> Running in d1503e31a39e 08:54:03 Removing intermediate container d1503e31a39e 08:54:03 ---> 052ab9373ee8 08:54:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:54:03 ---> Running in 1614e2ad226f 08:54:03 Removing intermediate container 1614e2ad226f 08:54:03 ---> 4d10ac1a5dae 08:54:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:03 ---> Running in 3602e6e37ce7 08:54:04 Removing intermediate container 3602e6e37ce7 08:54:04 ---> 31e8cfe7e87c 08:54:04 Step 7/24 : RUN apk add --update --no-cache make git 08:54:04 ---> Running in d0ddbc597fb1 08:54:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:54:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:54:06 OK: 166 MiB in 39 packages 08:54:06 Removing intermediate container d0ddbc597fb1 08:54:06 ---> 4bd174ca752c 08:54:06 Step 8/24 : COPY . . 08:54:07 ---> 24ad60e32340 08:54:07 Step 9/24 : RUN ${MAKE} 08:54:07 ---> Running in 67a89144d851 08:54:08 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 08:54:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:54:18 Removing intermediate container 67a89144d851 08:54:18 ---> bdeecdc736e8 08:54:18 Step 10/24 : FROM scratch 08:54:18 ---> 08:54:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:54:18 ---> Running in e9bed5c36a7b 08:54:18 Removing intermediate container e9bed5c36a7b 08:54:18 ---> 7fa0cb3eb383 08:54:18 Step 12/24 : ENV APP_PORT=49990 08:54:18 ---> Running in d7cc72d6a505 08:54:18 Removing intermediate container d7cc72d6a505 08:54:18 ---> 0b92f8bf5169 08:54:18 Step 13/24 : EXPOSE $APP_PORT 08:54:18 ---> Running in 7fa5b4cbebc9 08:54:18 Removing intermediate container 7fa5b4cbebc9 08:54:18 ---> 73687cb3c8d8 08:54:18 Step 14/24 : WORKDIR / 08:54:18 ---> Running in 21d30e502745 08:54:19 Removing intermediate container 21d30e502745 08:54:19 ---> 0173f53f5b10 08:54:19 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:54:19 ---> df69f4368836 08:54:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:54:19 ---> 950861200b5b 08:54:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:54:19 ---> 981a992e460c 08:54:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:54:20 ---> 993aacf57aa4 08:54:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:54:20 ---> 88b56bb351c8 08:54:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:54:20 ---> Running in 22f2426da9c7 08:54:20 Removing intermediate container 22f2426da9c7 08:54:20 ---> 0a919bf96632 08:54:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:54:20 ---> Running in 381246f76fd4 08:54:20 Removing intermediate container 381246f76fd4 08:54:20 ---> 82ca557d981a 08:54:20 Step 22/24 : LABEL arch=amd64 08:54:21 ---> Running in 9dcc5ca2916e 08:54:21 Removing intermediate container 9dcc5ca2916e 08:54:21 ---> 73a03089bc6d 08:54:21 Step 23/24 : LABEL git_sha=9574d67936ccb2209c5ca4c21c9efb44b9c64fab 08:54:21 ---> Running in 6b046b0a0f28 08:54:21 Removing intermediate container 6b046b0a0f28 08:54:21 ---> 54c582eff2f3 08:54:21 Step 24/24 : LABEL version=0.0.0 08:54:21 ---> Running in 251a23677d0a 08:54:21 Removing intermediate container 251a23677d0a 08:54:21 ---> e6f781c352cf 08:54:21 [Warning] One or more build-args [ARCH] were not consumed 08:54:21 Successfully built e6f781c352cf 08:54:21 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements 08:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.624s coverage: 42.5% of statements 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.754s coverage: 68.9% of statements 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:54:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 52.6% of statements 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:54:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:54:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.731s coverage: 68.9% of statements 08:54:29 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.7% of statements 08:54:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:54:29 GO111MODULE=on go vet ./... 08:54:55 gofmt -l . 08:54:55 [ "`gofmt -l .`" = "" ] 08:54:55 ./bin/test-attribution-txt.sh 08:54:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:54:57 $ docker stop --time=1 c9fb37c1911a3c5a026621f54507632854d88023682efa26adb5f592894d3798 08:54:59 $ docker rm -f c9fb37c1911a3c5a026621f54507632854d88023682efa26adb5f592894d3798 [Pipeline] // withDockerContainer [Pipeline] sh 08:55:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:55:00 Warning: overwriting stash ‘coverage-report’ 08:55:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:02 + ls -al . 08:55:02 total 244 08:55:02 drwxrwxr-x 10 jenkins jenkins 4096 Dec 2 08:54 . 08:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 08:51 .. 08:55:02 -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 08:51 .dockerignore 08:55:02 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 08:51 .git 08:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 08:51 .github 08:55:02 -rw-rw-r-- 1 jenkins jenkins 138 Dec 2 08:51 .gitignore 08:55:02 -rw-rw-r-- 1 jenkins jenkins 936 Dec 2 08:51 Dockerfile.build 08:55:02 -rw-rw-r-- 1 jenkins jenkins 901 Dec 2 08:51 Jenkinsfile 08:55:02 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 2 08:51 LICENSE 08:55:02 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 2 08:51 Makefile 08:55:02 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 2 08:51 README.md 08:55:02 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 2 08:51 RELEASE-NOTES.txt 08:55:02 -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 08:49 VERSION 08:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 08:51 bin 08:55:02 -rw-r--r-- 1 jenkins jenkins 127698 Dec 2 08:54 coverage.out 08:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 08:51 example 08:55:02 -rw-r--r-- 1 jenkins jenkins 518 Dec 2 08:54 go.mod 08:55:02 -rw-r--r-- 1 jenkins jenkins 13631 Dec 2 08:54 go.sum 08:55:02 drwxrwxr-x 15 jenkins jenkins 4096 Dec 2 08:51 internal 08:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 08:51 openapi 08:55:02 drwxrwxr-x 5 jenkins jenkins 4096 Dec 2 08:51 pkg 08:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 08:51 snap 08:55:02 -rw-rw-r-- 1 jenkins jenkins 222 Dec 2 08:51 version.go [Pipeline] isUnix [Pipeline] sh 08:55:03 + 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=9574d67936ccb2209c5ca4c21c9efb44b9c64fab --label arch=arm64 --label version=0.0.0 . 08:55:03 Sending build context to Docker daemon 2.516MB 08:55:03 Step 1/24 : ARG BASE=golang:1.15-alpine 08:55:03 Step 2/24 : FROM ${BASE} AS builder 08:55:03 ---> 259a2e6a966b 08:55:03 Step 3/24 : ARG MAKE='make build' 08:55:03 ---> Running in a8a0039f6f51 08:55:04 Removing intermediate container a8a0039f6f51 08:55:04 ---> ab2b20d780d9 08:55:04 Step 4/24 : WORKDIR /device-sdk-go 08:55:04 ---> Running in 72777589e088 08:55:05 Removing intermediate container 72777589e088 08:55:05 ---> 10005714005c 08:55:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:05 ---> Running in 976cf8daf87f 08:55:05 Removing intermediate container 976cf8daf87f 08:55:05 ---> 40957c0e4978 08:55:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:05 ---> Running in 3a9e535a0039 08:55:07 Removing intermediate container 3a9e535a0039 08:55:07 ---> 377a5a07e37a 08:55:07 Step 7/24 : RUN apk add --update --no-cache make git 08:55:07 ---> Running in 80b37cd2cb09 08:55:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:55:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:55:10 OK: 142 MiB in 39 packages 08:55:11 Removing intermediate container 80b37cd2cb09 08:55:11 ---> 0ae6eae1a4cb 08:55:11 Step 8/24 : COPY . . 08:55:12 ---> 6da1a5c0b470 08:55:12 Step 9/24 : RUN ${MAKE} 08:55:12 ---> Running in b28afcb87d33 08:55:13 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 08:55:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:55:40 Removing intermediate container b28afcb87d33 08:55:40 ---> ed6ca8c960ae 08:55:40 Step 10/24 : FROM scratch 08:55:40 ---> 08:55:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:40 ---> Running in d43b55b3cf79 08:55:40 Removing intermediate container d43b55b3cf79 08:55:40 ---> 1040297a8bbe 08:55:40 Step 12/24 : ENV APP_PORT=49990 08:55:40 ---> Running in b1b950968e63 08:55:41 Removing intermediate container b1b950968e63 08:55:41 ---> 24e06c0b44ae 08:55:41 Step 13/24 : EXPOSE $APP_PORT 08:55:41 ---> Running in 30604352ef69 08:55:41 Removing intermediate container 30604352ef69 08:55:41 ---> a576b19cb774 08:55:41 Step 14/24 : WORKDIR / 08:55:41 ---> Running in 71ece648b68f 08:55:42 Removing intermediate container 71ece648b68f 08:55:42 ---> ade538df0fc2 08:55:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:55:43 ---> e2f17631a640 08:55:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:55:44 ---> c6de5bed22bf 08:55:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:55:44 ---> 72bba640638b 08:55:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:55:45 ---> 7cbc6c7e5e36 08:55:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:55:46 ---> 37cd082e4b81 08:55:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:55:46 ---> Running in 56bcbff2be68 08:55:46 Removing intermediate container 56bcbff2be68 08:55:46 ---> b4b0636abc11 08:55:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:55:46 ---> Running in acb3d6d3b25a 08:55:47 Removing intermediate container acb3d6d3b25a 08:55:47 ---> f5e60d02f1b8 08:55:47 Step 22/24 : LABEL arch=arm64 08:55:47 ---> Running in e8ba584efc19 08:55:48 Removing intermediate container e8ba584efc19 08:55:48 ---> e683a7d2d79d 08:55:48 Step 23/24 : LABEL git_sha=9574d67936ccb2209c5ca4c21c9efb44b9c64fab 08:55:48 ---> Running in 748524d9c4f2 08:55:48 Removing intermediate container 748524d9c4f2 08:55:48 ---> 494b0a7a41ed 08:55:48 Step 24/24 : LABEL version=0.0.0 08:55:48 ---> Running in fa4b63969b99 08:55:49 Removing intermediate container fa4b63969b99 08:55:49 ---> 699bc6b70e42 08:55:49 [Warning] One or more build-args [ARCH] were not consumed 08:55:49 Successfully built 699bc6b70e42 08:55:49 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:55:51 provisioning config files... 08:55:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config1903743616890324528tmp [Pipeline] { [Pipeline] sh 08:55:51 + set +x 08:55:51 + curl -s https://codecov.io/bash 08:55:51 + bash -s -- 08:55:52 08:55:52 _____ _ 08:55:52 / ____| | | 08:55:52 | | ___ __| | ___ ___ _____ __ 08:55:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:55:52 | |___| (_) | (_| | __/ (_| (_) \ V / 08:55:52 \_____\___/ \__,_|\___|\___\___/ \_/ 08:55:52 Bash-20201130-cc6d3fe 08:55:52 08:55:52 08:55:52 ==> Jenkins CI detected. 08:55:52 project root: . 08:55:52 --> token set from env 08:55:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:55:52 ==> Running gcov in . (disable via -X gcov) 08:55:52 ==> Python coveragepy not found 08:55:52 ==> Searching for coverage reports in: 08:55:52 + . 08:55:52 -> Found 1 reports 08:55:52 ==> Detecting git/mercurial file structure 08:55:52 ==> Reading reports 08:55:52 + ./coverage.out bytes=127698 08:55:52 ==> Appending adjustments 08:55:52 https://docs.codecov.io/docs/fixing-reports 08:55:53 + Found adjustments 08:55:53 ==> Gzipping contents 08:55:53 24K /tmp/codecov.8F9wML.gz 08:55:53 ==> Uploading reports 08:55:53 url: https://codecov.io 08:55:53 query: branch=PR-661&commit=9574d67936ccb2209c5ca4c21c9efb44b9c64fab&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 08:55:53 -> Pinging Codecov 08:55:53 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=9574d67936ccb2209c5ca4c21c9efb44b9c64fab&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 08:55:53 -> Uploading to 08:55:53 https://storage.googleapis.com/codecov/v4/raw/2020-12-02/7E55EF52A471D76F132DFD9A03CDDE97/9574d67936ccb2209c5ca4c21c9efb44b9c64fab/6244d139-4b3f-470b-bfe4-bbe5cc60efbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T085553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83b5542a2ad1a51b1b966dd9c9667e188393c752b2e14439e241aa681a92609d 08:55:53 % Total % Received % Xferd Average Speed Time Time Time Current 08:55:53 Dload Upload Total Spent Left Speed 08:55:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20857 0 0 100 20857 0 50302 --:--:-- --:--:-- --:--:-- 50379 08:55:54 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9574d67936ccb2209c5ca4c21c9efb44b9c64fab [Pipeline] } 08:55:54 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 08:55:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:55:57 ---> package-listing.sh 08:55:57 ++ facter osfamily 08:55:57 ++ tr '[:upper:]' '[:lower:]' 08:55:57 + OS_FAMILY=redhat 08:55:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 08:55:57 + START_PACKAGES=/tmp/packages_start.txt 08:55:57 + END_PACKAGES=/tmp/packages_end.txt 08:55:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:55:57 + PACKAGES=/tmp/packages_start.txt 08:55:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 08:55:57 + PACKAGES=/tmp/packages_end.txt 08:55:57 + case "${OS_FAMILY}" in 08:55:57 + rpm -qa 08:55:57 + sort 08:56:03 + '[' -f /tmp/packages_start.txt ']' 08:56:03 + '[' -f /tmp/packages_end.txt ']' 08:56:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:56:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 08:56:03 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 08:56:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo 08:56:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:56:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:56:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:04 08:56:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:56:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:04 alpine: Pulling from edgex-lftools-log-publisher 08:56:04 df20fa9351a1: Pulling fs layer 08:56:04 36b3adc4ff6f: Pulling fs layer 08:56:04 8ad3a11d3b57: Pulling fs layer 08:56:04 46f8f816bc3b: Pulling fs layer 08:56:04 93b61091891f: Pulling fs layer 08:56:04 93b9cdb0e59b: Pulling fs layer 08:56:04 5e14af77c1be: Pulling fs layer 08:56:04 01666e4c0597: Pulling fs layer 08:56:04 aa168da1d23b: Pulling fs layer 08:56:04 46f8f816bc3b: Waiting 08:56:04 5e14af77c1be: Waiting 08:56:04 93b61091891f: Waiting 08:56:04 93b9cdb0e59b: Waiting 08:56:04 01666e4c0597: Waiting 08:56:04 aa168da1d23b: Waiting 08:56:04 36b3adc4ff6f: Verifying Checksum 08:56:04 36b3adc4ff6f: Download complete 08:56:04 46f8f816bc3b: Download complete 08:56:04 df20fa9351a1: Verifying Checksum 08:56:04 df20fa9351a1: Download complete 08:56:04 93b9cdb0e59b: Verifying Checksum 08:56:04 93b9cdb0e59b: Download complete 08:56:04 5e14af77c1be: Verifying Checksum 08:56:04 5e14af77c1be: Download complete 08:56:04 93b61091891f: Download complete 08:56:04 01666e4c0597: Verifying Checksum 08:56:04 01666e4c0597: Download complete 08:56:05 df20fa9351a1: Pull complete 08:56:05 36b3adc4ff6f: Pull complete 08:56:05 8ad3a11d3b57: Verifying Checksum 08:56:05 8ad3a11d3b57: Download complete 08:56:06 8ad3a11d3b57: Pull complete 08:56:06 46f8f816bc3b: Pull complete 08:56:08 93b61091891f: Pull complete 08:56:08 93b9cdb0e59b: Pull complete 08:56:08 5e14af77c1be: Pull complete 08:56:08 aa168da1d23b: Verifying Checksum 08:56:08 aa168da1d23b: Download complete 08:56:08 01666e4c0597: Pull complete 08:56:16 aa168da1d23b: Pull complete 08:56:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:56:17 prd-centos7-docker-4c-2g-14160 does not seem to be running inside a container 08:56:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:56:21 $ docker top f79b922caa4b86124671a1ac9c3e115611b726051a5df64b59428a6fda3391df -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:21 + touch /tmp/pre-build-complete [Pipeline] sh 08:56:21 + mkdir -p /var/log/sa [Pipeline] sh 08:56:22 + ls /var/log/sa-host 08:56:22 + sadf -c /var/log/sa-host/sa02 08:56:22 file_magic: OK 08:56:22 HZ: Using current value: 100 08:56:22 file_header: OK 08:56:22 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 08:56:22 Statistics: 08:56:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:56:22 File successfully converted to sysstat format version 12.2.1 08:56:22 + sadf -c /var/log/sa-host/sa23 08:56:22 file_magic: OK 08:56:22 HZ: Using current value: 100 08:56:22 file_header: OK 08:56:22 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 08:56:22 Statistics: 08:56:22 Hnuu...uuuununununu... 08:56:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:56:22 provisioning config files... 08:56:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config9176457181689530429tmp [Pipeline] { [Pipeline] echo 08:56:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:56:23 ---> create-netrc.sh [Pipeline] } 08:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:56:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:56:23 ---> python-tools-install.sh [Pipeline] echo 08:56:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:56:24 ---> sudo-logs.sh 08:56:24 Archiving 'sudo' log.. [Pipeline] echo 08:56:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:56:24 ---> job-cost.sh 08:56:24 lf-activate-venv: SKIPPING 08:56:24 INFO: No Stack... 08:56:25 INFO: Retrieving Pricing Info for: v1-standard-2 08:56:26 INFO: Archiving Costs [Pipeline] echo 08:56:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:56:26 ---> logs-deploy.sh 08:56:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/3 08:56:26 INFO: archiving workspace using pattern(s): 08:56:28 Archives upload complete. 08:56:28 INFO: archiving logs to Nexus 08:56:29 ---> uname -a: 08:56:29 Linux prd-centos7-docker-4c-2g-14160.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:56:29 08:56:29 08:56:29 ---> lscpu: 08:56:29 Architecture: x86_64 08:56:29 CPU op-mode(s): 32-bit, 64-bit 08:56:29 Byte Order: Little Endian 08:56:29 Address sizes: 40 bits physical, 48 bits virtual 08:56:29 CPU(s): 4 08:56:29 On-line CPU(s) list: 0-3 08:56:29 Thread(s) per core: 1 08:56:29 Core(s) per socket: 1 08:56:29 Socket(s): 4 08:56:29 NUMA node(s): 1 08:56:29 Vendor ID: GenuineIntel 08:56:29 CPU family: 6 08:56:29 Model: 44 08:56:29 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:56:29 Stepping: 1 08:56:29 CPU MHz: 2933.438 08:56:29 BogoMIPS: 5866.87 08:56:29 Virtualization: VT-x 08:56:29 Hypervisor vendor: KVM 08:56:29 Virtualization type: full 08:56:29 L1d cache: 128 KiB 08:56:29 L1i cache: 128 KiB 08:56:29 L2 cache: 16 MiB 08:56:29 L3 cache: 64 MiB 08:56:29 NUMA node0 CPU(s): 0-3 08:56:29 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:56:29 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:56:29 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:56:29 Vulnerability Meltdown: Mitigation; PTI 08:56:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:56:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:56:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:56:29 Vulnerability Srbds: Not affected 08:56:29 Vulnerability Tsx async abort: Not affected 08:56:29 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 08:56:29 08:56:29 08:56:29 ---> nproc: 08:56:29 4 08:56:29 08:56:29 08:56:29 ---> df -h: 08:56:29 Filesystem Size Used Available Use% Mounted on 08:56:29 overlay 50.0G 7.3G 42.7G 15% / 08:56:29 tmpfs 64.0M 0 64.0M 0% /dev 08:56:29 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:56:29 shm 64.0M 0 64.0M 0% /dev/shm 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 08:56:29 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:56:29 08:56:29 08:56:29 ---> free -m: 08:56:29 total used free shared buff/cache available 08:56:29 Mem: 1837 709 78 0 1050 1023 08:56:29 Swap: 1023 1 1022 08:56:29 08:56:29 08:56:29 ---> ip addr: 08:56:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:56:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:56:29 inet 127.0.0.1/8 scope host lo 08:56:29 valid_lft forever preferred_lft forever 08:56:29 inet6 ::1/128 scope host 08:56:29 valid_lft forever preferred_lft forever 08:56:29 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:56:29 link/ether fa:16:3e:9c:ff:c1 brd ff:ff:ff:ff:ff:ff 08:56:29 inet 10.30.123.168/23 brd 10.30.123.255 scope global dynamic eth0 08:56:29 valid_lft 85889sec preferred_lft 85889sec 08:56:29 inet6 fe80::f816:3eff:fe9c:ffc1/64 scope link 08:56:29 valid_lft forever preferred_lft forever 08:56:29 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:56:29 link/ether 02:42:ac:79:76:92 brd ff:ff:ff:ff:ff:ff 08:56:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:56:29 valid_lft forever preferred_lft forever 08:56:29 inet6 fe80::42:acff:fe79:7692/64 scope link 08:56:29 valid_lft forever preferred_lft forever 08:56:29 08:56:29 08:56:29 ---> sar -b -r -n DEV: 08:56:29 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/02/20 _x86_64_ (4 CPU) 08:56:29 08:56:29 08:47:45 LINUX RESTART (4 CPU) 08:56:29 08:56:29 08:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:56:29 08:50:01 7.11 0.57 6.54 0.00 42.74 220.72 0.00 08:56:29 08:51:02 0.38 0.00 0.38 0.00 0.00 6.18 0.00 08:56:29 08:52:01 0.24 0.00 0.24 0.00 0.00 3.17 0.00 08:56:29 08:53:01 0.28 0.00 0.28 0.00 0.00 3.46 0.00 08:56:29 08:54:01 0.27 0.00 0.27 0.00 0.00 4.00 0.00 08:56:29 08:55:01 0.32 0.00 0.32 0.00 0.00 3.70 0.00 08:56:29 08:56:01 40.75 40.03 0.71 0.00 3621.21 20.40 0.00 08:56:29 Average: 7.07 5.82 1.25 0.00 525.39 37.47 0.00 08:56:29 08:56:29 08:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:56:29 08:50:01 175132 0 571852 30.39 2620 1131940 1109456 37.86 429496 1077160 24 08:56:29 08:51:02 177524 0 569452 30.27 2620 1131948 1077576 36.78 426008 1079264 16 08:56:29 08:52:01 175864 0 571088 30.35 2620 1131972 1077840 36.78 439620 1067168 20 08:56:29 08:53:01 177360 0 569612 30.27 2620 1131952 1077576 36.78 438004 1067164 16 08:56:29 08:54:01 173664 0 573300 30.47 2620 1131960 1077648 36.78 446580 1058428 8 08:56:29 08:55:01 176164 0 570796 30.34 2620 1131964 1077576 36.78 448180 1058428 12 08:56:29 08:56:01 71192 0 595948 31.67 2620 1211784 1113548 38.00 470500 1140360 76 08:56:29 Average: 160986 0 574578 30.54 2620 1143360 1087317 37.11 442627 1078282 25 08:56:29 08:56:29 08:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:56:29 08:50:01 eth0 5.38 3.98 6.53 2.18 0.00 0.00 0.00 0.00 08:56:29 08:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:51:02 eth0 0.75 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:56:29 08:51:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:51:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:52:01 eth0 2.83 2.05 3.51 0.47 0.00 0.00 0.00 0.00 08:56:29 08:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:53:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 08:56:29 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:54:01 eth0 0.30 0.23 0.17 0.07 0.00 0.00 0.00 0.00 08:56:29 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:55:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:56:29 08:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:56:01 eth0 9.99 6.43 10.01 4.02 0.00 0.00 0.00 0.00 08:56:29 08:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 Average: eth0 2.78 1.85 2.90 0.97 0.00 0.00 0.00 0.00 08:56:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:56:29 08:56:29 08:56:29 ---> sar -P ALL: 08:56:29 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/02/20 _x86_64_ (4 CPU) 08:56:29 08:56:29 08:47:45 LINUX RESTART (4 CPU) 08:56:29 08:56:29 08:49:01 CPU %user %nice %system %iowait %steal %idle 08:56:29 08:50:01 all 0.33 0.00 0.26 0.12 0.23 99.07 08:56:29 08:50:01 0 0.20 0.00 0.18 0.02 0.23 99.37 08:56:29 08:50:01 1 0.42 0.00 0.30 0.03 0.30 98.95 08:56:29 08:50:01 2 0.55 0.00 0.37 0.42 0.18 98.48 08:56:29 08:50:01 3 0.13 0.00 0.18 0.02 0.20 99.47 08:56:29 08:51:02 all 0.15 0.00 0.04 0.00 0.08 99.73 08:56:29 08:51:02 0 0.02 0.00 0.03 0.00 0.07 99.88 08:56:29 08:51:02 1 0.05 0.00 0.05 0.00 0.08 99.82 08:56:29 08:51:02 2 0.47 0.00 0.02 0.00 0.08 99.43 08:56:29 08:51:02 3 0.07 0.00 0.07 0.00 0.08 99.78 08:56:29 08:52:01 all 0.18 0.00 0.08 0.00 0.10 99.64 08:56:29 08:52:01 0 0.08 0.00 0.07 0.00 0.08 99.76 08:56:29 08:52:01 1 0.07 0.00 0.07 0.00 0.12 99.75 08:56:29 08:52:01 2 0.49 0.00 0.08 0.00 0.08 99.34 08:56:29 08:52:01 3 0.08 0.00 0.10 0.00 0.10 99.71 08:56:29 08:53:01 all 0.15 0.00 0.02 0.00 0.01 99.82 08:56:29 08:53:01 0 0.03 0.00 0.02 0.00 0.00 99.95 08:56:29 08:53:01 1 0.03 0.00 0.02 0.00 0.02 99.93 08:56:29 08:53:01 2 0.05 0.00 0.03 0.00 0.02 99.90 08:56:29 08:53:01 3 0.47 0.00 0.02 0.00 0.02 99.50 08:56:29 08:54:01 all 0.11 0.00 0.08 0.00 0.08 99.72 08:56:29 08:54:01 0 0.03 0.00 0.05 0.00 0.10 99.82 08:56:29 08:54:01 1 0.03 0.00 0.05 0.00 0.12 99.80 08:56:29 08:54:01 2 0.03 0.00 0.18 0.00 0.03 99.75 08:56:29 08:54:01 3 0.35 0.00 0.05 0.00 0.07 99.53 08:56:29 08:55:01 all 0.11 0.00 0.04 0.00 0.05 99.80 08:56:29 08:55:01 0 0.00 0.00 0.05 0.00 0.02 99.93 08:56:29 08:55:01 1 0.03 0.00 0.07 0.00 0.05 99.85 08:56:29 08:55:01 2 0.00 0.00 0.00 0.00 0.02 99.98 08:56:29 08:55:01 3 0.42 0.00 0.03 0.00 0.10 99.45 08:56:29 08:56:01 all 1.15 0.00 0.50 0.87 0.45 97.04 08:56:29 08:56:01 0 0.85 0.00 0.58 0.37 0.48 97.72 08:56:29 08:56:01 1 1.77 0.00 0.53 1.84 0.45 95.40 08:56:29 08:56:01 2 0.48 0.00 0.35 0.03 0.38 98.75 08:56:29 08:56:01 3 1.49 0.00 0.52 1.24 0.47 96.29 08:56:29 Average: all 0.31 0.00 0.15 0.14 0.14 99.26 08:56:29 Average: 0 0.17 0.00 0.14 0.05 0.14 99.49 08:56:29 Average: 1 0.34 0.00 0.16 0.27 0.16 99.07 08:56:29 Average: 2 0.30 0.00 0.15 0.06 0.11 99.38 08:56:29 Average: 3 0.43 0.00 0.14 0.18 0.15 99.10 08:56:29 08:56:29 08:56:29