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 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 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-14168 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 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Merge succeeded, producing 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 Checking out Revision 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 (PR-661) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 Commit message: "feat: add a comment to explain why use buffer for sending event" First time build. Skipping changelog. > git rev-list --no-walk 6ffcb36bac324bdb103c371a18dba23397e99ba6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:38:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:38:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:38:47 ========================================================= 10:38:47 EdgeX Global Pipelines Version Info 10:38:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:38:48 ------------------- 10:38:48 stable info: 10:38:48 ------------------- 10:38:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:38:48 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 10:38:48 Message: update stable to v1.0.169 10:38:49 ------------------- 10:38:49 experimental info: 10:38:49 ------------------- 10:38:49 Commited By: **** collab-it+edgex@linuxfoundation.org 10:38:49 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 10:38:49 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:38:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 10:38:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [Pipeline] echo 10:38:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f5e862 [Pipeline] echo 10:38:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:38:53 provisioning config files... 10:38:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config4575742371935977181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:53 ---> docker-login.sh 10:38:53 nexus3.edgexfoundry.org:10001 10:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:54 Configure a credential helper to remove this warning. See 10:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:54 10:38:54 Login Succeeded 10:38:54 nexus3.edgexfoundry.org:10002 10:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:54 Configure a credential helper to remove this warning. See 10:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:54 10:38:54 Login Succeeded 10:38:54 nexus3.edgexfoundry.org:10003 10:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:54 Configure a credential helper to remove this warning. See 10:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:54 10:38:54 Login Succeeded 10:38:54 nexus3.edgexfoundry.org:10004 10:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:54 Configure a credential helper to remove this warning. See 10:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:54 10:38:54 Login Succeeded 10:38:54 docker.io 10:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:55 Configure a credential helper to remove this warning. See 10:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:55 10:38:55 Login Succeeded 10:38:55 ---> docker-login.sh ends [Pipeline] } 10:38:55 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 10:38:56 + git log --format=format:%s -1 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [Pipeline] echo 10:38:56 GIT_COMMIT: 0f5e862e54ec7bbfaa4abac58006b2b47f12c067, Commit Message: feat: add a comment to explain why use buffer for sending event [Pipeline] echo 10:38:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:38:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:38:57 10:38:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:38:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:38:57 latest: Pulling from edgex-devops/git-semver 10:38:57 31603596830f: Pulling fs layer 10:38:57 2a8b12db71e7: Pulling fs layer 10:38:57 6ca5941a6612: Pulling fs layer 10:38:57 ecc8261a40a4: Pulling fs layer 10:38:57 ecc8261a40a4: Waiting 10:38:57 2a8b12db71e7: Verifying Checksum 10:38:57 2a8b12db71e7: Download complete 10:38:57 31603596830f: Verifying Checksum 10:38:57 31603596830f: Download complete 10:38:57 ecc8261a40a4: Verifying Checksum 10:38:57 ecc8261a40a4: Download complete 10:38:57 6ca5941a6612: Verifying Checksum 10:38:57 6ca5941a6612: Download complete 10:38:58 31603596830f: Pull complete 10:38:58 2a8b12db71e7: Pull complete 10:38:59 6ca5941a6612: Pull complete 10:38:59 ecc8261a40a4: Pull complete 10:38:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:38:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:38:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:38:59 prd-centos7-docker-4c-2g-14168 does not seem to be running inside a container 10:38:59 $ 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 10:39:01 $ docker top 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:01 [ssh-agent] Looking for ssh-agent implementation... 10:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:01 $ docker exec 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent 10:39:02 SSH_AUTH_SOCK=/tmp/ssh-MH4Kp8Kl5jiv/agent.12 10:39:02 SSH_AGENT_PID=18 10:39:02 Running ssh-add (command line suppressed) 10:39:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_4269801074224559032.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_4269801074224559032.key) 10:39:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:02 + git tag --points-at HEAD [Pipeline] } 10:39:02 $ docker exec --env ******** --env ******** 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent -k 10:39:02 unset SSH_AUTH_SOCK; 10:39:02 unset SSH_AGENT_PID; 10:39:02 echo Agent pid 18 killed; 10:39:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:39:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:03 [ssh-agent] Looking for ssh-agent implementation... 10:39:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:03 $ docker exec 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent 10:39:03 SSH_AUTH_SOCK=/tmp/ssh-VS23DMDgyE9E/agent.47 10:39:03 SSH_AGENT_PID=52 10:39:03 Running ssh-add (command line suppressed) 10:39:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7840953750923928449.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7840953750923928449.key) 10:39:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:03 + git semver init 10:39:03 # -> Open(): unable to determine branch for HEAD 10:39:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 10:39:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 10:39:03 # $SEMVER_REMOTE_NAME = origin 10:39:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:39:03 # $SEMVER_USER_NAME = edgex-jenkins 10:39:03 # $SEMVER_BRANCH = PR-661 10:39:03 # $SEMVER_TEMP = /tmp/semver-454308608 10:39:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:39:04 # '/tmp/semver-454308608' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 10:39:04 # -> Force: false 10:39:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 10:39:04 $ docker exec --env ******** --env ******** 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 ssh-agent -k 10:39:04 unset SSH_AUTH_SOCK; 10:39:04 unset SSH_AGENT_PID; 10:39:04 echo Agent pid 52 killed; 10:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:05 + git semver [Pipeline] } 10:39:05 $ docker stop --time=1 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 10:39:07 $ docker rm -f 6e691be63a022992aba688c72c7acde6b36a696a21ef65b78e988a087a6d3f84 [Pipeline] // withDockerContainer [Pipeline] sh 10:39:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:39:08 Stashed 1 file(s) [Pipeline] echo 10:39:08 [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 10:39:23 Still waiting to schedule task 10:39:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14168’ 10:39:23 Still waiting to schedule task 10:39:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 10:41:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14169 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 10:41:12 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:41:18 using credential edgex-jenkins-ssh 10:41:18 Cloning the remote Git repository 10:41:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:41:18 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:41:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:41:18 > git --version # timeout=10 10:41:18 > git --version # 'git version 2.17.1' 10:41:18 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:41:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:41:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:41:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:41:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:41:19 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:19 > 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 10:41:20 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 10:41:20 Merge succeeded, producing 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 10:41:20 Checking out Revision 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 (PR-661) 10:41:20 > git config core.sparsecheckout # timeout=10 10:41:20 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 10:41:20 > git remote # timeout=10 10:41:20 > git config --get remote.origin.url # timeout=10 10:41:20 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:20 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 10:41:20 > git rev-parse HEAD^{commit} # timeout=10 10:41:20 > git config core.sparsecheckout # timeout=10 10:41:20 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 10:41:24 Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:41:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:41:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:41:27 + sudo service docker restart 10:41:27 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:41:30 provisioning config files... 10:41:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2561964372515253646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:30 ---> docker-login.sh 10:41:30 nexus3.edgexfoundry.org:10001 10:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:32 Configure a credential helper to remove this warning. See 10:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:32 10:41:32 Login Succeeded 10:41:32 nexus3.edgexfoundry.org:10002 10:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:32 Configure a credential helper to remove this warning. See 10:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:32 10:41:32 Login Succeeded 10:41:32 nexus3.edgexfoundry.org:10003 10:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:33 Configure a credential helper to remove this warning. See 10:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:33 10:41:33 Login Succeeded 10:41:33 nexus3.edgexfoundry.org:10004 10:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:33 Configure a credential helper to remove this warning. See 10:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:33 10:41:33 Login Succeeded 10:41:33 docker.io 10:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:34 Configure a credential helper to remove this warning. See 10:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:34 10:41:34 Login Succeeded 10:41:34 ---> docker-login.sh ends [Pipeline] } 10:41:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:41:35 ========================================================= 10:41:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:41:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:41:35 + 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 . 10:41:35 Sending build context to Docker daemon 2.385MB 10:41:35 Step 1/8 : ARG BASE=golang:1.15-alpine 10:41:35 Step 2/8 : FROM ${BASE} 10:41:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:41:35 5f621e34cdf4: Pulling fs layer 10:41:35 a4357932f1b6: Pulling fs layer 10:41:35 18c013af1878: Pulling fs layer 10:41:35 00ac8860ef70: Pulling fs layer 10:41:35 63d7cb157983: Pulling fs layer 10:41:35 b116817d02f9: Pulling fs layer 10:41:35 745a02a5169b: Pulling fs layer 10:41:35 b116817d02f9: Waiting 10:41:35 745a02a5169b: Waiting 10:41:35 00ac8860ef70: Waiting 10:41:35 63d7cb157983: Waiting 10:41:35 a4357932f1b6: Verifying Checksum 10:41:35 a4357932f1b6: Download complete 10:41:35 18c013af1878: Verifying Checksum 10:41:35 18c013af1878: Download complete 10:41:35 63d7cb157983: Verifying Checksum 10:41:35 63d7cb157983: Download complete 10:41:35 b116817d02f9: Download complete 10:41:35 5f621e34cdf4: Verifying Checksum 10:41:35 5f621e34cdf4: Download complete 10:41:36 5f621e34cdf4: Pull complete 10:41:37 a4357932f1b6: Pull complete 10:41:37 18c013af1878: Pull complete 10:41:38 745a02a5169b: Verifying Checksum 10:41:38 745a02a5169b: Download complete 10:41:39 00ac8860ef70: Verifying Checksum 10:41:39 00ac8860ef70: Download complete 10:41:51 00ac8860ef70: Pull complete 10:41:51 63d7cb157983: Pull complete 10:41:51 b116817d02f9: Pull complete 10:41:54 745a02a5169b: Pull complete 10:41:54 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:41:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:41:54 ---> b7e6874047d6 10:41:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:41:57 ---> Running in d93185715d29 10:41:57 Removing intermediate container d93185715d29 10:41:57 ---> 53b655df87b3 10:41:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:41:57 ---> Running in 6c8952b0340e 10:42:00 Removing intermediate container 6c8952b0340e 10:42:00 ---> 690abc8f0b7d 10:42:00 Step 5/8 : RUN apk add --no-cache make git 10:42:00 ---> Running in 56c5aff02ea7 10:42:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:42:01 Running on prd-centos7-docker-4c-2g-14170 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 10:42:01 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:42:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:42:02 OK: 142 MiB in 39 packages 10:42:03 using credential edgex-jenkins-ssh 10:42:04 Cloning the remote Git repository 10:42:04 Removing intermediate container 56c5aff02ea7 10:42:04 ---> c7334650cf91 10:42:04 Step 6/8 : WORKDIR /device-sdk-go 10:42:04 ---> Running in a7db7489bdcf 10:42:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:42:03 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:42:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:42:03 > git --version # timeout=10 10:42:03 > git --version # 'git version 2.24.3' 10:42:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:04 Removing intermediate container a7db7489bdcf 10:42:04 ---> 50ea43d2361f 10:42:04 Step 7/8 : COPY . . 10:42:05 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 10:42:05 Merge succeeded, producing 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 10:42:05 Checking out Revision 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 (PR-661) 10:42:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:42:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:42:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:42:04 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:04 > 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 10:42:05 > git config core.sparsecheckout # timeout=10 10:42:05 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 10:42:05 > git remote # timeout=10 10:42:05 > git config --get remote.origin.url # timeout=10 10:42:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:05 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 10:42:05 > git rev-parse HEAD^{commit} # timeout=10 10:42:05 > git config core.sparsecheckout # timeout=10 10:42:05 > git checkout -f 0f5e862e54ec7bbfaa4abac58006b2b47f12c067 # timeout=10 10:42:06 ---> 4e5e50dc7e55 10:42:06 Step 8/8 : RUN go mod download 10:42:06 ---> Running in c20a64e05ad6 10:42:09 Commit message: "feat: add a comment to explain why use buffer for sending event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:42:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:42:11 + true 10:42:11 + sudo service docker restart 10:42:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:42:12 provisioning config files... 10:42:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1321959456149130974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:12 ---> docker-login.sh 10:42:12 nexus3.edgexfoundry.org:10001 10:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:12 Configure a credential helper to remove this warning. See 10:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:12 10:42:12 Login Succeeded 10:42:12 nexus3.edgexfoundry.org:10002 10:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:13 Configure a credential helper to remove this warning. See 10:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:13 10:42:13 Login Succeeded 10:42:13 nexus3.edgexfoundry.org:10003 10:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:13 Configure a credential helper to remove this warning. See 10:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:13 10:42:13 Login Succeeded 10:42:13 nexus3.edgexfoundry.org:10004 10:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:13 Configure a credential helper to remove this warning. See 10:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:13 10:42:13 Login Succeeded 10:42:13 docker.io 10:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:13 Configure a credential helper to remove this warning. See 10:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:13 10:42:13 Login Succeeded 10:42:13 ---> docker-login.sh ends [Pipeline] } 10:42:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:42:14 ========================================================= 10:42:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:42:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:42:14 + 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 . 10:42:14 Sending build context to Docker daemon 2.388MB 10:42:14 Step 1/8 : ARG BASE=golang:1.15-alpine 10:42:14 Step 2/8 : FROM ${BASE} 10:42:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:42:14 188c0c94c7c5: Pulling fs layer 10:42:14 0ef7d3d256c8: Pulling fs layer 10:42:14 de9db76c5a1d: Pulling fs layer 10:42:14 bca2f99d35d6: Pulling fs layer 10:42:14 93359f2a8cfa: Pulling fs layer 10:42:14 7c6f9722023f: Pulling fs layer 10:42:14 a35cf1a2eb13: Pulling fs layer 10:42:14 93359f2a8cfa: Waiting 10:42:14 bca2f99d35d6: Waiting 10:42:14 7c6f9722023f: Waiting 10:42:14 de9db76c5a1d: Verifying Checksum 10:42:14 de9db76c5a1d: Download complete 10:42:14 0ef7d3d256c8: Verifying Checksum 10:42:14 0ef7d3d256c8: Download complete 10:42:14 93359f2a8cfa: Verifying Checksum 10:42:14 93359f2a8cfa: Download complete 10:42:14 7c6f9722023f: Verifying Checksum 10:42:14 7c6f9722023f: Download complete 10:42:14 188c0c94c7c5: Verifying Checksum 10:42:14 188c0c94c7c5: Download complete 10:42:15 188c0c94c7c5: Pull complete 10:42:15 0ef7d3d256c8: Pull complete 10:42:15 de9db76c5a1d: Pull complete 10:42:17 a35cf1a2eb13: Verifying Checksum 10:42:17 a35cf1a2eb13: Download complete 10:42:17 bca2f99d35d6: Verifying Checksum 10:42:17 bca2f99d35d6: Download complete 10:42:22 bca2f99d35d6: Pull complete 10:42:22 93359f2a8cfa: Pull complete 10:42:22 7c6f9722023f: Pull complete 10:42:28 Removing intermediate container c20a64e05ad6 10:42:28 ---> 150053ad52b5 10:42:28 Successfully built 150053ad52b5 10:42:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:42:28 + docker inspect -f . ci-base-image-arm64 10:42:28 . [Pipeline] withDockerContainer 10:42:29 prd-ubuntu18.04-docker-arm64-4c-16g-14169 does not seem to be running inside a container 10:42:29 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:42:29 a35cf1a2eb13: Pull complete 10:42:29 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:42:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:42:29 ---> a62c8e92a672 10:42:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:42:29 ---> Running in 642cfe91f9a1 10:42:29 Removing intermediate container 642cfe91f9a1 10:42:29 ---> 56bdd5ddc5f2 10:42:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:42:29 ---> Running in 17ad7d17b59e 10:42:30 $ docker top 22c928d765501b1030df3f8968b48836efc772bbfd6b63174b2c2e016a0f4130 -eo pid,comm 10:42:30 Removing intermediate container 17ad7d17b59e 10:42:30 ---> 19f30641c7e8 10:42:30 Step 5/8 : RUN apk add --no-cache make git 10:42:30 ---> Running in 4893a5ba8d88 [Pipeline] { [Pipeline] sh 10:42:31 + go version 10:42:31 go version go1.15.5 linux/arm64 [Pipeline] } 10:42:31 $ docker stop --time=1 22c928d765501b1030df3f8968b48836efc772bbfd6b63174b2c2e016a0f4130 10:42:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:42:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:42:32 OK: 166 MiB in 39 packages 10:42:33 Removing intermediate container 4893a5ba8d88 10:42:33 ---> f920268eacbd 10:42:33 Step 6/8 : WORKDIR /device-sdk-go 10:42:33 ---> Running in 64435fc465ac 10:42:33 Removing intermediate container 64435fc465ac 10:42:33 ---> ae5c5f6235fe 10:42:33 Step 7/8 : COPY . . 10:42:33 $ docker rm -f 22c928d765501b1030df3f8968b48836efc772bbfd6b63174b2c2e016a0f4130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:42:34 + docker inspect -f . ci-base-image-arm64 10:42:34 . [Pipeline] withDockerContainer 10:42:34 prd-ubuntu18.04-docker-arm64-4c-16g-14169 does not seem to be running inside a container 10:42:34 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:42:34 ---> 02c9d9ef1c7b 10:42:34 Step 8/8 : RUN go mod download 10:42:34 ---> Running in c6cd84267893 10:42:36 $ docker top 7bc06c3c6e0ea73b73ca0909da506ecf01b68b3e9dd539c103a37f9dff1b8f6a -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:37 + make test 10:42:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:42:53 Removing intermediate container c6cd84267893 10:42:53 ---> 57e67742e2d0 10:42:53 Successfully built 57e67742e2d0 10:42:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:42:53 + docker inspect -f . ci-base-image-x86_64 10:42:53 . [Pipeline] withDockerContainer 10:42:53 prd-centos7-docker-4c-2g-14170 does not seem to be running inside a container 10:42:53 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:42:54 $ docker top e953ac9edf1996a0086a0c9f2628c8330ef63f0e6b17fc18475640e4c601b6fb -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:54 + go version 10:42:54 go version go1.15.5 linux/amd64 [Pipeline] } 10:42:54 $ docker stop --time=1 e953ac9edf1996a0086a0c9f2628c8330ef63f0e6b17fc18475640e4c601b6fb 10:42:56 $ docker rm -f e953ac9edf1996a0086a0c9f2628c8330ef63f0e6b17fc18475640e4c601b6fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:42:57 + docker inspect -f . ci-base-image-x86_64 10:42:57 . [Pipeline] withDockerContainer 10:42:57 prd-centos7-docker-4c-2g-14170 does not seem to be running inside a container 10:42:57 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:42:58 $ docker top 91707c2dbd3942139907fd3d43b3a5d176b9c3d0674449cac17cae600ce39272 -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:58 + make test 10:42:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:42:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:43:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:43:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:43:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:43:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:43:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 20.0% of statements 10:43:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.487s coverage: 97.1% of statements 10:43:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:43:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:43:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:43:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.162s coverage: 20.0% of statements 10:43:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.217s coverage: 97.1% of statements 10:43:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements 10:43:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:43:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.238s coverage: 42.5% of statements 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:43:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.294s coverage: 68.9% of statements 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:43:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 10:43:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:43:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.581s coverage: 68.9% of statements 10:43:53 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 10:43:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:43:53 GO111MODULE=on go vet ./... 10:44:00 gofmt -l . 10:44:00 [ "`gofmt -l .`" = "" ] 10:44:00 ./bin/test-attribution-txt.sh 10:44:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:44:01 $ docker stop --time=1 91707c2dbd3942139907fd3d43b3a5d176b9c3d0674449cac17cae600ce39272 10:44:02 $ docker rm -f 91707c2dbd3942139907fd3d43b3a5d176b9c3d0674449cac17cae600ce39272 [Pipeline] // withDockerContainer [Pipeline] sh 10:44:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:44:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:44:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:44:07 + ls -al . 10:44:07 total 208 10:44:07 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 2 10:44 . 10:44:07 drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 10:42 .. 10:44:07 drwxrwxr-x. 2 jenkins jenkins 64 Dec 2 10:42 bin 10:44:07 -rw-r--r--. 1 jenkins jenkins 127698 Dec 2 10:43 coverage.out 10:44:07 -rw-rw-r--. 1 jenkins jenkins 936 Dec 2 10:42 Dockerfile.build 10:44:07 -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 10:42 .dockerignore 10:44:07 drwxrwxr-x. 4 jenkins jenkins 48 Dec 2 10:42 example 10:44:07 drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 10:42 .git 10:44:07 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 10:42 .github 10:44:07 -rw-rw-r--. 1 jenkins jenkins 138 Dec 2 10:42 .gitignore 10:44:07 -rw-r--r--. 1 jenkins jenkins 518 Dec 2 10:44 go.mod 10:44:07 -rw-r--r--. 1 jenkins jenkins 13631 Dec 2 10:44 go.sum 10:44:07 drwxrwxr-x. 15 jenkins jenkins 211 Dec 2 10:42 internal 10:44:07 -rw-rw-r--. 1 jenkins jenkins 901 Dec 2 10:42 Jenkinsfile 10:44:07 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 2 10:42 LICENSE 10:44:07 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 2 10:42 Makefile 10:44:07 drwxrwxr-x. 4 jenkins jenkins 26 Dec 2 10:42 openapi 10:44:07 drwxrwxr-x. 5 jenkins jenkins 50 Dec 2 10:42 pkg 10:44:07 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 2 10:42 README.md 10:44:07 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 2 10:42 RELEASE-NOTES.txt 10:44:07 drwxrwxr-x. 4 jenkins jenkins 54 Dec 2 10:42 snap 10:44:07 -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 10:39 VERSION 10:44:07 -rw-rw-r--. 1 jenkins jenkins 222 Dec 2 10:42 version.go [Pipeline] isUnix [Pipeline] sh 10:44:07 + 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=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 --label arch=amd64 --label version=0.0.0 . 10:44:07 Sending build context to Docker daemon 2.516MB 10:44:07 Step 1/24 : ARG BASE=golang:1.15-alpine 10:44:07 Step 2/24 : FROM ${BASE} AS builder 10:44:07 ---> 57e67742e2d0 10:44:07 Step 3/24 : ARG MAKE='make build' 10:44:08 ---> Running in 9e4c4c6ebb3f 10:44:08 Removing intermediate container 9e4c4c6ebb3f 10:44:08 ---> a8b67a81a832 10:44:08 Step 4/24 : WORKDIR /device-sdk-go 10:44:08 ---> Running in 3de96a2131b4 10:44:08 Removing intermediate container 3de96a2131b4 10:44:08 ---> 30bdfbce141c 10:44:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:44:08 ---> Running in 22f0b55c5d69 10:44:09 Removing intermediate container 22f0b55c5d69 10:44:09 ---> da48a7307bb8 10:44:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:44:09 ---> Running in 75cc9fa3f4e9 10:44:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.126s coverage: 9.4% of statements 10:44:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:44:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.590s coverage: 42.5% of statements 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:44:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.811s coverage: 68.9% of statements 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:44:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.211s coverage: 52.6% of statements 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 10:44:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:44:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.690s coverage: 68.9% of statements 10:44:09 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.136s coverage: 4.7% of statements 10:44:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:44:09 Removing intermediate container 75cc9fa3f4e9 10:44:09 ---> 5ed62764a7e5 10:44:09 Step 7/24 : RUN apk add --update --no-cache make git 10:44:09 ---> Running in eeb2021f1170 10:44:10 GO111MODULE=on go vet ./... 10:44:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:44:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:44:11 OK: 166 MiB in 39 packages 10:44:11 Removing intermediate container eeb2021f1170 10:44:11 ---> 01ee6c42f213 10:44:11 Step 8/24 : COPY . . 10:44:13 ---> 8aaca8055b4a 10:44:13 Step 9/24 : RUN ${MAKE} 10:44:13 ---> Running in fb527d8fd82b 10:44: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 10:44:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:44:24 Removing intermediate container fb527d8fd82b 10:44:24 ---> 9b1a44eede70 10:44:24 Step 10/24 : FROM scratch 10:44:24 ---> 10:44:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:44:24 ---> Running in 509d6ae2eb0f 10:44:24 Removing intermediate container 509d6ae2eb0f 10:44:24 ---> 82aa02855700 10:44:24 Step 12/24 : ENV APP_PORT=49990 10:44:24 ---> Running in eacaf4476df5 10:44:24 Removing intermediate container eacaf4476df5 10:44:24 ---> 7bee1a2e0251 10:44:24 Step 13/24 : EXPOSE $APP_PORT 10:44:24 ---> Running in 904d41bfb141 10:44:24 Removing intermediate container 904d41bfb141 10:44:24 ---> 8be7a6259ee9 10:44:24 Step 14/24 : WORKDIR / 10:44:24 ---> Running in 1c067ac6c92f 10:44:24 Removing intermediate container 1c067ac6c92f 10:44:24 ---> 67e90fb1f6ee 10:44:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:44:25 ---> 6c5fd196201b 10:44:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:44:25 ---> 9dcfd3e9e4b2 10:44:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:44:25 ---> e0bfa7bdb068 10:44:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:44:26 ---> 8dfcd08bf6b1 10:44:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:44:26 ---> 357a9258bde4 10:44:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:44:26 ---> Running in a2983cba6450 10:44:26 Removing intermediate container a2983cba6450 10:44:26 ---> 2380054aa9c9 10:44:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:44:26 ---> Running in 59bf4a5c377f 10:44:26 Removing intermediate container 59bf4a5c377f 10:44:26 ---> 153ddfff43a1 10:44:26 Step 22/24 : LABEL arch=amd64 10:44:27 ---> Running in e3f560a48c1f 10:44:27 Removing intermediate container e3f560a48c1f 10:44:27 ---> 7ef3d0d370e5 10:44:27 Step 23/24 : LABEL git_sha=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 10:44:27 ---> Running in 38d7a755bef3 10:44:27 Removing intermediate container 38d7a755bef3 10:44:27 ---> 4c2e0d72151e 10:44:27 Step 24/24 : LABEL version=0.0.0 10:44:27 ---> Running in a518eb826d3a 10:44:28 Removing intermediate container a518eb826d3a 10:44:28 ---> 4a75222e1707 10:44:28 [Warning] One or more build-args [ARCH] were not consumed 10:44:28 Successfully built 4a75222e1707 10:44:28 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] } 10:44:42 gofmt -l . 10:44:42 [ "`gofmt -l .`" = "" ] 10:44:42 ./bin/test-attribution-txt.sh 10:44:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:44:42 $ docker stop --time=1 7bc06c3c6e0ea73b73ca0909da506ecf01b68b3e9dd539c103a37f9dff1b8f6a 10:44:44 $ docker rm -f 7bc06c3c6e0ea73b73ca0909da506ecf01b68b3e9dd539c103a37f9dff1b8f6a [Pipeline] // withDockerContainer [Pipeline] sh 10:44:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:44:46 Warning: overwriting stash ‘coverage-report’ 10:44:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:44:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:44:48 + ls -al . 10:44:48 total 244 10:44:48 drwxrwxr-x 10 jenkins jenkins 4096 Dec 2 10:44 . 10:44:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 .. 10:44:48 -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 10:41 .dockerignore 10:44:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 10:41 .git 10:44:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 10:41 .github 10:44:48 -rw-rw-r-- 1 jenkins jenkins 138 Dec 2 10:41 .gitignore 10:44:48 -rw-rw-r-- 1 jenkins jenkins 936 Dec 2 10:41 Dockerfile.build 10:44:48 -rw-rw-r-- 1 jenkins jenkins 901 Dec 2 10:41 Jenkinsfile 10:44:48 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 2 10:41 LICENSE 10:44:48 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 2 10:41 Makefile 10:44:48 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 2 10:41 README.md 10:44:48 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 2 10:41 RELEASE-NOTES.txt 10:44:48 -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 10:39 VERSION 10:44:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 10:41 bin 10:44:48 -rw-r--r-- 1 jenkins jenkins 127698 Dec 2 10:44 coverage.out 10:44:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 example 10:44:48 -rw-r--r-- 1 jenkins jenkins 518 Dec 2 10:44 go.mod 10:44:48 -rw-r--r-- 1 jenkins jenkins 13631 Dec 2 10:44 go.sum 10:44:48 drwxrwxr-x 15 jenkins jenkins 4096 Dec 2 10:41 internal 10:44:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 openapi 10:44:48 drwxrwxr-x 5 jenkins jenkins 4096 Dec 2 10:41 pkg 10:44:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 10:41 snap 10:44:48 -rw-rw-r-- 1 jenkins jenkins 222 Dec 2 10:41 version.go [Pipeline] isUnix [Pipeline] sh 10:44:48 + 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=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 --label arch=arm64 --label version=0.0.0 . 10:44:49 Sending build context to Docker daemon 2.514MB 10:44:49 Step 1/24 : ARG BASE=golang:1.15-alpine 10:44:49 Step 2/24 : FROM ${BASE} AS builder 10:44:49 ---> 150053ad52b5 10:44:49 Step 3/24 : ARG MAKE='make build' 10:44:49 ---> Running in d07c5d1030b6 10:44:49 Removing intermediate container d07c5d1030b6 10:44:49 ---> c3c674105d0b 10:44:49 Step 4/24 : WORKDIR /device-sdk-go 10:44:49 ---> Running in 21f3e5a515eb 10:44:50 Removing intermediate container 21f3e5a515eb 10:44:50 ---> 5c8cbd417def 10:44:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:44:50 ---> Running in 0bbcf2237588 10:44:50 Removing intermediate container 0bbcf2237588 10:44:50 ---> 429edc5a374c 10:44:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:44:50 ---> Running in e0a0f8fe07a7 10:44:52 Removing intermediate container e0a0f8fe07a7 10:44:52 ---> 19fcbc983252 10:44:52 Step 7/24 : RUN apk add --update --no-cache make git 10:44:53 ---> Running in d49bbbb8742d 10:44:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:44:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:44:55 OK: 142 MiB in 39 packages 10:44:56 Removing intermediate container d49bbbb8742d 10:44:56 ---> eb36153e4dff 10:44:56 Step 8/24 : COPY . . 10:44:58 ---> b9abeefd1735 10:44:58 Step 9/24 : RUN ${MAKE} 10:44:58 ---> Running in ff6785670436 10:44:59 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 10:45:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:45:26 Removing intermediate container ff6785670436 10:45:26 ---> 51493a1f18c7 10:45:26 Step 10/24 : FROM scratch 10:45:26 ---> 10:45:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:45:26 ---> Running in 5c3dc4206cf9 10:45:26 Removing intermediate container 5c3dc4206cf9 10:45:26 ---> 9d2a56e01b9a 10:45:26 Step 12/24 : ENV APP_PORT=49990 10:45:26 ---> Running in 102c10dd711b 10:45:27 Removing intermediate container 102c10dd711b 10:45:27 ---> e8c210c468eb 10:45:27 Step 13/24 : EXPOSE $APP_PORT 10:45:27 ---> Running in 931e8598593a 10:45:27 Removing intermediate container 931e8598593a 10:45:27 ---> 51637107f797 10:45:27 Step 14/24 : WORKDIR / 10:45:27 ---> Running in e2944b909b2a 10:45:28 Removing intermediate container e2944b909b2a 10:45:28 ---> 0d7d2ac1fe80 10:45:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:45:29 ---> fb77202458bd 10:45:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:45:30 ---> dbd6cb9f4df0 10:45:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:45:31 ---> c65c4efbd917 10:45:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:45:31 ---> 429435929036 10:45:31 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:45:32 ---> 8955a5bd165b 10:45:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:45:32 ---> Running in fcefd0869545 10:45:32 Removing intermediate container fcefd0869545 10:45:32 ---> 23d7b0163a42 10:45:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:45:33 ---> Running in 8928d2947b17 10:45:33 Removing intermediate container 8928d2947b17 10:45:33 ---> 97470124bfac 10:45:33 Step 22/24 : LABEL arch=arm64 10:45:33 ---> Running in fe6a87944525 10:45:34 Removing intermediate container fe6a87944525 10:45:34 ---> ec7025637764 10:45:34 Step 23/24 : LABEL git_sha=0f5e862e54ec7bbfaa4abac58006b2b47f12c067 10:45:34 ---> Running in bd7c055d5f0c 10:45:34 Removing intermediate container bd7c055d5f0c 10:45:34 ---> 01f896d7eb92 10:45:34 Step 24/24 : LABEL version=0.0.0 10:45:34 ---> Running in 05fe5c033d4d 10:45:35 Removing intermediate container 05fe5c033d4d 10:45:35 ---> eb104030cf58 10:45:35 [Warning] One or more build-args [ARCH] were not consumed 10:45:35 Successfully built eb104030cf58 10:45:35 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 10:45:37 provisioning config files... 10:45:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config828627049101865674tmp [Pipeline] { [Pipeline] sh 10:45:37 + set +x 10:45:37 + curl -s https://codecov.io/bash 10:45:37 + bash -s -- 10:45:38 10:45:38 _____ _ 10:45:38 / ____| | | 10:45:38 | | ___ __| | ___ ___ _____ __ 10:45:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:45:38 | |___| (_) | (_| | __/ (_| (_) \ V / 10:45:38 \_____\___/ \__,_|\___|\___\___/ \_/ 10:45:38 Bash-20201130-cc6d3fe 10:45:38 10:45:38 10:45:38 ==> Jenkins CI detected. 10:45:38 project root: . 10:45:38 --> token set from env 10:45:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:45:38 ==> Running gcov in . (disable via -X gcov) 10:45:38 ==> Python coveragepy not found 10:45:38 ==> Searching for coverage reports in: 10:45:38 + . 10:45:38 -> Found 1 reports 10:45:38 ==> Detecting git/mercurial file structure 10:45:38 ==> Reading reports 10:45:38 + ./coverage.out bytes=127698 10:45:38 ==> Appending adjustments 10:45:38 https://docs.codecov.io/docs/fixing-reports 10:45:38 + Found adjustments 10:45:38 ==> Gzipping contents 10:45:38 24K /tmp/codecov.F1Ykha.gz 10:45:38 ==> Uploading reports 10:45:38 url: https://codecov.io 10:45:38 query: branch=PR-661&commit=0f5e862e54ec7bbfaa4abac58006b2b47f12c067&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 10:45:38 -> Pinging Codecov 10:45:38 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=0f5e862e54ec7bbfaa4abac58006b2b47f12c067&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 10:45:39 -> Uploading to 10:45:39 https://storage.googleapis.com/codecov/v4/raw/2020-12-02/7E55EF52A471D76F132DFD9A03CDDE97/0f5e862e54ec7bbfaa4abac58006b2b47f12c067/cd53e488-a80b-4311-b4c7-90d306cf43d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T104539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5764d1b2c8e03a3215cf547d5f68efc4f26b741d4eefb15a5a971b810fd9d22d 10:45:39 % Total % Received % Xferd Average Speed Time Time Time Current 10:45:39 Dload Upload Total Spent Left Speed 10:45:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20858 0 0 100 20858 0 52043 --:--:-- --:--:-- --:--:-- 52145 10:45:39 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0f5e862e54ec7bbfaa4abac58006b2b47f12c067 [Pipeline] } 10:45:39 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 10:45:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:45:42 ---> package-listing.sh 10:45:42 ++ facter osfamily 10:45:42 ++ tr '[:upper:]' '[:lower:]' 10:45:42 + OS_FAMILY=redhat 10:45:42 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 10:45:42 + START_PACKAGES=/tmp/packages_start.txt 10:45:42 + END_PACKAGES=/tmp/packages_end.txt 10:45:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:45:42 + PACKAGES=/tmp/packages_start.txt 10:45:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 10:45:42 + PACKAGES=/tmp/packages_end.txt 10:45:42 + case "${OS_FAMILY}" in 10:45:42 + rpm -qa 10:45:42 + sort 10:45:48 + '[' -f /tmp/packages_start.txt ']' 10:45:48 + '[' -f /tmp/packages_end.txt ']' 10:45:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:45:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 10:45:48 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 10:45:48 + 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 10:45:48 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 10:45:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:45:48 10:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:45:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:45:49 alpine: Pulling from edgex-lftools-log-publisher 10:45:49 df20fa9351a1: Pulling fs layer 10:45:49 36b3adc4ff6f: Pulling fs layer 10:45:49 8ad3a11d3b57: Pulling fs layer 10:45:49 46f8f816bc3b: Pulling fs layer 10:45:49 93b61091891f: Pulling fs layer 10:45:49 93b9cdb0e59b: Pulling fs layer 10:45:49 5e14af77c1be: Pulling fs layer 10:45:49 01666e4c0597: Pulling fs layer 10:45:49 aa168da1d23b: Pulling fs layer 10:45:49 93b9cdb0e59b: Waiting 10:45:49 5e14af77c1be: Waiting 10:45:49 01666e4c0597: Waiting 10:45:49 aa168da1d23b: Waiting 10:45:49 46f8f816bc3b: Waiting 10:45:49 93b61091891f: Waiting 10:45:49 36b3adc4ff6f: Verifying Checksum 10:45:49 36b3adc4ff6f: Download complete 10:45:49 46f8f816bc3b: Verifying Checksum 10:45:49 46f8f816bc3b: Download complete 10:45:49 df20fa9351a1: Verifying Checksum 10:45:49 df20fa9351a1: Download complete 10:45:49 93b9cdb0e59b: Verifying Checksum 10:45:49 93b9cdb0e59b: Download complete 10:45:49 5e14af77c1be: Verifying Checksum 10:45:49 5e14af77c1be: Download complete 10:45:49 93b61091891f: Download complete 10:45:49 01666e4c0597: Verifying Checksum 10:45:49 01666e4c0597: Download complete 10:45:49 8ad3a11d3b57: Verifying Checksum 10:45:49 8ad3a11d3b57: Download complete 10:45:50 df20fa9351a1: Pull complete 10:45:50 36b3adc4ff6f: Pull complete 10:45:51 aa168da1d23b: Verifying Checksum 10:45:51 aa168da1d23b: Download complete 10:45:51 8ad3a11d3b57: Pull complete 10:45:52 46f8f816bc3b: Pull complete 10:45:52 93b61091891f: Pull complete 10:45:53 93b9cdb0e59b: Pull complete 10:45:53 5e14af77c1be: Pull complete 10:45:53 01666e4c0597: Pull complete 10:46:00 aa168da1d23b: Pull complete 10:46:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:46:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:46:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:46:00 prd-centos7-docker-4c-2g-14168 does not seem to be running inside a container 10:46:01 $ 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 10:46:09 $ docker top a42994d197549126364a8138cf9028ba7d692269b4956bc5637a74ebf51d5bb8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:46:09 + touch /tmp/pre-build-complete [Pipeline] sh 10:46:10 + mkdir -p /var/log/sa [Pipeline] sh 10:46:10 + ls /var/log/sa-host 10:46:10 + sadf -c /var/log/sa-host/sa02 10:46:10 file_magic: OK 10:46:10 HZ: Using current value: 100 10:46:10 file_header: OK 10:46:10 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 10:46:10 Statistics: 10:46:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:46:10 File successfully converted to sysstat format version 12.2.1 10:46:10 + sadf -c /var/log/sa-host/sa23 10:46:10 file_magic: OK 10:46:10 HZ: Using current value: 100 10:46:10 file_header: OK 10:46:10 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 10:46:10 Statistics: 10:46:10 Hnuu...uuuununununu... 10:46:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:46:10 provisioning config files... 10:46:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config7588536876734552596tmp [Pipeline] { [Pipeline] echo 10:46:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:46:11 ---> create-netrc.sh [Pipeline] } 10:46:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:46:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:46:11 ---> python-tools-install.sh [Pipeline] echo 10:46:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:46:12 ---> sudo-logs.sh 10:46:12 Archiving 'sudo' log.. [Pipeline] echo 10:46:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:46:12 ---> job-cost.sh 10:46:12 lf-activate-venv: SKIPPING 10:46:12 INFO: No Stack... 10:46:13 INFO: Retrieving Pricing Info for: v1-standard-2 10:46:14 INFO: Archiving Costs [Pipeline] echo 10:46:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:46:14 ---> logs-deploy.sh 10:46:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/5 10:46:14 INFO: archiving workspace using pattern(s): 10:46:16 Archives upload complete. 10:46:16 INFO: archiving logs to Nexus 10:46:17 ---> uname -a: 10:46:17 Linux prd-centos7-docker-4c-2g-14168.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 10:46:17 10:46:17 10:46:17 ---> lscpu: 10:46:17 Architecture: x86_64 10:46:17 CPU op-mode(s): 32-bit, 64-bit 10:46:17 Byte Order: Little Endian 10:46:17 Address sizes: 40 bits physical, 48 bits virtual 10:46:17 CPU(s): 4 10:46:17 On-line CPU(s) list: 0-3 10:46:17 Thread(s) per core: 1 10:46:17 Core(s) per socket: 1 10:46:17 Socket(s): 4 10:46:17 NUMA node(s): 1 10:46:17 Vendor ID: GenuineIntel 10:46:17 CPU family: 6 10:46:17 Model: 44 10:46:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:46:17 Stepping: 1 10:46:17 CPU MHz: 2933.442 10:46:17 BogoMIPS: 5866.88 10:46:17 Virtualization: VT-x 10:46:17 Hypervisor vendor: KVM 10:46:17 Virtualization type: full 10:46:17 L1d cache: 128 KiB 10:46:17 L1i cache: 128 KiB 10:46:17 L2 cache: 16 MiB 10:46:17 L3 cache: 64 MiB 10:46:17 NUMA node0 CPU(s): 0-3 10:46:17 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:46:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:46:17 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:46:17 Vulnerability Meltdown: Mitigation; PTI 10:46:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:46:17 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:46:17 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:46:17 Vulnerability Srbds: Not affected 10:46:17 Vulnerability Tsx async abort: Not affected 10:46:17 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 10:46:17 10:46:17 10:46:17 ---> nproc: 10:46:17 4 10:46:17 10:46:17 10:46:17 ---> df -h: 10:46:17 Filesystem Size Used Available Use% Mounted on 10:46:17 overlay 50.0G 7.3G 42.7G 15% / 10:46:17 tmpfs 64.0M 0 64.0M 0% /dev 10:46:17 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:46:17 shm 64.0M 0 64.0M 0% /dev/shm 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 10:46:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 10:46:17 10:46:17 10:46:17 ---> free -m: 10:46:17 total used free shared buff/cache available 10:46:17 Mem: 1837 687 101 0 1048 1045 10:46:17 Swap: 1023 0 1023 10:46:17 10:46:17 10:46:17 ---> ip addr: 10:46:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:46:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:46:17 inet 127.0.0.1/8 scope host lo 10:46:17 valid_lft forever preferred_lft forever 10:46:17 inet6 ::1/128 scope host 10:46:17 valid_lft forever preferred_lft forever 10:46:17 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:46:17 link/ether fa:16:3e:34:9f:1c brd ff:ff:ff:ff:ff:ff 10:46:17 inet 10.30.123.134/23 brd 10.30.123.255 scope global dynamic eth0 10:46:17 valid_lft 85917sec preferred_lft 85917sec 10:46:17 inet6 fe80::f816:3eff:fe34:9f1c/64 scope link 10:46:17 valid_lft forever preferred_lft forever 10:46:17 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:46:17 link/ether 02:42:e4:1d:44:8a brd ff:ff:ff:ff:ff:ff 10:46:17 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:46:17 valid_lft forever preferred_lft forever 10:46:17 inet6 fe80::42:e4ff:fe1d:448a/64 scope link 10:46:17 valid_lft forever preferred_lft forever 10:46:17 10:46:17 10:46:17 ---> sar -b -r -n DEV: 10:46:17 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) 10:46:17 10:46:17 10:38:02 LINUX RESTART (4 CPU) 10:46:17 10:46:17 10:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:46:17 10:40:01 9.34 2.85 6.49 0.00 667.35 231.56 0.00 10:46:17 10:41:01 1.93 0.00 1.93 0.00 0.00 38.10 0.00 10:46:17 10:42:01 0.33 0.00 0.33 0.00 0.00 5.31 0.00 10:46:17 10:43:01 0.32 0.00 0.32 0.00 0.00 4.66 0.00 10:46:17 10:44:01 0.22 0.00 0.22 0.00 0.00 4.01 0.00 10:46:17 10:45:01 0.42 0.00 0.42 0.00 0.00 6.53 0.00 10:46:17 10:46:02 114.25 71.13 43.12 0.00 5954.66 15553.78 0.00 10:46:17 Average: 18.18 10.61 7.57 0.00 949.46 2272.54 0.00 10:46:17 10:46:17 10:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:46:17 10:40:01 145344 0 585640 31.13 2620 1147940 1121428 38.27 387860 1148032 16 10:46:17 10:41:01 150540 0 580436 30.85 2620 1147948 1091984 37.27 387624 1144448 8 10:46:17 10:42:01 149884 0 581088 30.88 2620 1147952 1092152 37.27 395824 1136984 8 10:46:17 10:43:01 147904 0 583068 30.99 2620 1147952 1092212 37.28 398232 1136464 12 10:46:17 10:44:01 148240 0 582724 30.97 2620 1147960 1092068 37.27 400744 1133912 12 10:46:17 10:45:01 148124 0 582836 30.98 2620 1147964 1092056 37.27 400560 1133908 12 10:46:17 10:46:02 170928 0 678732 36.07 2620 1029264 1294000 44.16 437384 1013812 59060 10:46:17 Average: 151566 0 596361 31.70 2620 1130997 1125129 38.40 401175 1121080 8447 10:46:17 10:46:17 10:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:46:17 10:40:01 eth0 36.99 31.11 43.11 24.76 0.00 0.00 0.00 0.00 10:46:17 10:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:40:01 docker0 8.27 6.74 1.30 20.36 0.00 0.00 0.00 0.00 10:46:17 10:41:01 eth0 0.62 0.08 0.06 0.01 0.00 0.00 0.00 0.00 10:46:17 10:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:42:01 eth0 1.10 0.55 0.43 0.21 0.00 0.00 0.00 0.00 10:46:17 10:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:43:01 eth0 0.83 0.65 0.56 0.37 0.00 0.00 0.00 0.00 10:46:17 10:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:44:01 eth0 0.18 0.13 0.08 0.10 0.00 0.00 0.00 0.00 10:46:17 10:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:45:01 eth0 0.12 0.05 0.06 0.00 0.00 0.00 0.00 0.00 10:46:17 10:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:46:02 eth0 226.27 191.13 2167.47 21.33 0.00 0.00 0.00 0.00 10:46:17 10:46:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 10:46:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 Average: eth0 38.15 32.07 317.24 6.69 0.00 0.00 0.00 0.00 10:46:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:46:17 Average: docker0 1.18 0.96 0.19 2.91 0.00 0.00 0.00 0.00 10:46:17 10:46:17 10:46:17 ---> sar -P ALL: 10:46:17 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) 10:46:17 10:46:17 10:38:02 LINUX RESTART (4 CPU) 10:46:17 10:46:17 10:39:01 CPU %user %nice %system %iowait %steal %idle 10:46:17 10:40:01 all 1.69 0.00 0.81 0.13 0.00 97.38 10:46:17 10:40:01 0 1.40 0.00 0.95 0.03 0.00 97.61 10:46:17 10:40:01 1 1.22 0.00 0.72 0.37 0.00 97.70 10:46:17 10:40:01 2 2.02 0.00 0.70 0.03 0.00 97.25 10:46:17 10:40:01 3 2.12 0.00 0.85 0.07 0.00 96.96 10:46:17 10:41:01 all 0.16 0.00 0.05 0.00 0.00 99.79 10:46:17 10:41:01 0 0.55 0.00 0.03 0.00 0.00 99.42 10:46:17 10:41:01 1 0.02 0.00 0.03 0.00 0.00 99.95 10:46:17 10:41:01 2 0.05 0.00 0.05 0.00 0.00 99.90 10:46:17 10:41:01 3 0.03 0.00 0.07 0.00 0.02 99.88 10:46:17 10:42:01 all 0.15 0.00 0.05 0.00 0.00 99.80 10:46:17 10:42:01 0 0.42 0.00 0.07 0.00 0.00 99.52 10:46:17 10:42:01 1 0.05 0.00 0.03 0.00 0.00 99.92 10:46:17 10:42:01 2 0.07 0.00 0.03 0.00 0.00 99.90 10:46:17 10:42:01 3 0.05 0.00 0.07 0.00 0.00 99.88 10:46:17 10:43:01 all 0.17 0.00 0.03 0.00 0.00 99.80 10:46:17 10:43:01 0 0.48 0.00 0.03 0.00 0.00 99.48 10:46:17 10:43:01 1 0.02 0.00 0.03 0.00 0.00 99.95 10:46:17 10:43:01 2 0.05 0.00 0.02 0.00 0.00 99.93 10:46:17 10:43:01 3 0.12 0.00 0.03 0.00 0.00 99.85 10:46:17 10:44:01 all 0.18 0.00 0.10 0.00 0.00 99.72 10:46:17 10:44:01 0 0.05 0.00 0.10 0.00 0.00 99.85 10:46:17 10:44:01 1 0.10 0.00 0.12 0.00 0.00 99.78 10:46:17 10:44:01 2 0.05 0.00 0.03 0.00 0.00 99.92 10:46:17 10:44:01 3 0.53 0.00 0.15 0.00 0.00 99.32 10:46:17 10:45:01 all 0.15 0.00 0.03 0.00 0.00 99.82 10:46:17 10:45:01 0 0.00 0.00 0.02 0.00 0.00 99.98 10:46:17 10:45:01 1 0.03 0.00 0.05 0.00 0.00 99.92 10:46:17 10:45:01 2 0.05 0.00 0.02 0.00 0.00 99.93 10:46:17 10:45:01 3 0.53 0.00 0.03 0.00 0.00 99.43 10:46:17 10:46:02 all 5.86 0.00 3.82 1.67 0.01 88.64 10:46:17 10:46:02 0 5.36 0.00 3.28 0.52 0.02 90.82 10:46:17 10:46:02 1 6.09 0.00 4.00 1.16 0.02 88.73 10:46:17 10:46:02 2 5.61 0.00 4.11 2.42 0.00 87.86 10:46:17 10:46:02 3 6.37 0.00 3.89 2.58 0.00 87.15 10:46:17 Average: all 1.19 0.00 0.69 0.26 0.00 97.86 10:46:17 Average: 0 1.18 0.00 0.64 0.08 0.00 98.10 10:46:17 Average: 1 1.07 0.00 0.71 0.22 0.00 98.00 10:46:17 Average: 2 1.12 0.00 0.71 0.35 0.00 97.82 10:46:17 Average: 3 1.39 0.00 0.72 0.38 0.00 97.51 10:46:17 10:46:17 10:46:17