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 6ffcb36bac324bdb103c371a18dba23397e99ba6 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-14163 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 > 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 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 6ffcb36bac324bdb103c371a18dba23397e99ba6 Merge succeeded, producing 6ffcb36bac324bdb103c371a18dba23397e99ba6 Checking out Revision 6ffcb36bac324bdb103c371a18dba23397e99ba6 (PR-661) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ffcb36bac324bdb103c371a18dba23397e99ba6 # 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 6ffcb36bac324bdb103c371a18dba23397e99ba6 # 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 9574d67936ccb2209c5ca4c21c9efb44b9c64fab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:23 ========================================================= 09:02:23 EdgeX Global Pipelines Version Info 09:02:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:02:25 ------------------- 09:02:25 stable info: 09:02:25 ------------------- 09:02:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:25 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 09:02:25 Message: update stable to v1.0.169 09:02:26 ------------------- 09:02:26 experimental info: 09:02:26 ------------------- 09:02:26 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:26 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 09:02:26 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 09:02:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 09:02:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ffcb36bac324bdb103c371a18dba23397e99ba6 [Pipeline] echo 09:02:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ffcb36 [Pipeline] echo 09:02:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:02:30 provisioning config files... 09:02:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config75770520315501335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:30 ---> docker-login.sh 09:02:30 nexus3.edgexfoundry.org:10001 09:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:31 Configure a credential helper to remove this warning. See 09:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:31 09:02:31 Login Succeeded 09:02:31 nexus3.edgexfoundry.org:10002 09:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:31 Configure a credential helper to remove this warning. See 09:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:31 09:02:31 Login Succeeded 09:02:31 nexus3.edgexfoundry.org:10003 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 nexus3.edgexfoundry.org:10004 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 docker.io 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:33 Configure a credential helper to remove this warning. See 09:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:33 09:02:33 Login Succeeded 09:02:33 ---> docker-login.sh ends [Pipeline] } 09:02:33 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 09:02:34 + git log --format=format:%s -1 6ffcb36bac324bdb103c371a18dba23397e99ba6 [Pipeline] echo 09:02:34 GIT_COMMIT: 6ffcb36bac324bdb103c371a18dba23397e99ba6, Commit Message: feat: add a comment to explain why use buffer for sending event [Pipeline] echo 09:02:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:35 09:02:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:02:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:36 latest: Pulling from edgex-devops/git-semver 09:02:36 31603596830f: Pulling fs layer 09:02:36 2a8b12db71e7: Pulling fs layer 09:02:36 6ca5941a6612: Pulling fs layer 09:02:36 ecc8261a40a4: Pulling fs layer 09:02:36 ecc8261a40a4: Waiting 09:02:36 2a8b12db71e7: Verifying Checksum 09:02:36 2a8b12db71e7: Download complete 09:02:36 31603596830f: Verifying Checksum 09:02:36 31603596830f: Download complete 09:02:36 6ca5941a6612: Verifying Checksum 09:02:36 6ca5941a6612: Download complete 09:02:36 ecc8261a40a4: Verifying Checksum 09:02:36 ecc8261a40a4: Download complete 09:02:36 31603596830f: Pull complete 09:02:36 2a8b12db71e7: Pull complete 09:02:37 6ca5941a6612: Pull complete 09:02:38 ecc8261a40a4: Pull complete 09:02:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:02:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:02:38 prd-centos7-docker-4c-2g-14163 does not seem to be running inside a container 09:02:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:02:41 $ docker top 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:41 [ssh-agent] Looking for ssh-agent implementation... 09:02:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:41 $ docker exec 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a ssh-agent 09:02:42 SSH_AUTH_SOCK=/tmp/ssh-ss0kFBoAIG1X/agent.11 09:02:42 SSH_AGENT_PID=16 09:02:42 Running ssh-add (command line suppressed) 09:02:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1081007139429343731.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1081007139429343731.key) 09:02:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:43 + git tag --points-at HEAD [Pipeline] } 09:02:43 $ docker exec --env ******** --env ******** 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a ssh-agent -k 09:02:43 unset SSH_AUTH_SOCK; 09:02:43 unset SSH_AGENT_PID; 09:02:43 echo Agent pid 16 killed; 09:02:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:43 [ssh-agent] Looking for ssh-agent implementation... 09:02:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:43 $ docker exec 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a ssh-agent 09:02:44 SSH_AUTH_SOCK=/tmp/ssh-P6zVpKyUEeaI/agent.45 09:02:44 SSH_AGENT_PID=51 09:02:44 Running ssh-add (command line suppressed) 09:02:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7874845300114782711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7874845300114782711.key) 09:02:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:45 + git semver init 09:02:45 # -> Open(): unable to determine branch for HEAD 09:02:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 09:02:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 09:02:45 # $SEMVER_REMOTE_NAME = origin 09:02:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:02:45 # $SEMVER_USER_NAME = edgex-jenkins 09:02:45 # $SEMVER_BRANCH = PR-661 09:02:45 # $SEMVER_TEMP = /tmp/semver-620021490 09:02:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:02:45 # '/tmp/semver-620021490' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 09:02:46 # -> Force: false 09:02:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 09:02:46 $ docker exec --env ******** --env ******** 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a ssh-agent -k 09:02:46 unset SSH_AUTH_SOCK; 09:02:46 unset SSH_AGENT_PID; 09:02:46 echo Agent pid 51 killed; 09:02:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:46 + git semver [Pipeline] } 09:02:46 $ docker stop --time=1 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a 09:02:48 $ docker rm -f 522139b2db967d00ec7c18496b13fcfb495c584b72fc46a718b4d4e7abfd2c7a [Pipeline] // withDockerContainer [Pipeline] sh 09:02:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:49 Stashed 1 file(s) [Pipeline] echo 09:02:49 [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 09:03:05 Still waiting to schedule task 09:03:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:03:05 Still waiting to schedule task 09:03:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:05:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14164 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 09:05:02 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:05:07 using credential edgex-jenkins-ssh 09:05:07 Cloning the remote Git repository 09:05:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:07 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:05:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:07 > git --version # timeout=10 09:05:07 > git --version # 'git version 2.17.1' 09:05:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:09 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 6ffcb36bac324bdb103c371a18dba23397e99ba6 09:05:09 Merge succeeded, producing 6ffcb36bac324bdb103c371a18dba23397e99ba6 09:05:09 Checking out Revision 6ffcb36bac324bdb103c371a18dba23397e99ba6 (PR-661) 09:05:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:08 > 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 09:05:09 > git config core.sparsecheckout # timeout=10 09:05:09 > git checkout -f 6ffcb36bac324bdb103c371a18dba23397e99ba6 # timeout=10 09:05:09 > git remote # timeout=10 09:05:09 > git config --get remote.origin.url # timeout=10 09:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:09 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 09:05:09 > git rev-parse HEAD^{commit} # timeout=10 09:05:09 > git config core.sparsecheckout # timeout=10 09:05:09 > git checkout -f 6ffcb36bac324bdb103c371a18dba23397e99ba6 # timeout=10 09:05:13 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 09:05:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:05:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:05:16 + sudo service docker restart 09:05:16 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:05:19 provisioning config files... 09:05:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2680395592337134553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:19 ---> docker-login.sh 09:05:19 nexus3.edgexfoundry.org:10001 09:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:20 Configure a credential helper to remove this warning. See 09:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:20 09:05:20 Login Succeeded 09:05:20 nexus3.edgexfoundry.org:10002 09:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:21 Configure a credential helper to remove this warning. See 09:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:21 09:05:21 Login Succeeded 09:05:21 nexus3.edgexfoundry.org:10003 09:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10004 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 docker.io 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:23 Configure a credential helper to remove this warning. See 09:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:23 09:05:23 Login Succeeded 09:05:23 ---> docker-login.sh ends [Pipeline] } 09:05:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:23 ========================================================= 09:05:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:05:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:24 + 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 . 09:05:24 Sending build context to Docker daemon 2.388MB 09:05:24 Step 1/8 : ARG BASE=golang:1.15-alpine 09:05:24 Step 2/8 : FROM ${BASE} 09:05:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:24 5f621e34cdf4: Pulling fs layer 09:05:24 a4357932f1b6: Pulling fs layer 09:05:24 18c013af1878: Pulling fs layer 09:05:24 00ac8860ef70: Pulling fs layer 09:05:24 63d7cb157983: Pulling fs layer 09:05:24 b116817d02f9: Pulling fs layer 09:05:24 745a02a5169b: Pulling fs layer 09:05:24 63d7cb157983: Waiting 09:05:24 b116817d02f9: Waiting 09:05:24 745a02a5169b: Waiting 09:05:24 00ac8860ef70: Waiting 09:05:24 18c013af1878: Verifying Checksum 09:05:24 18c013af1878: Download complete 09:05:24 a4357932f1b6: Verifying Checksum 09:05:24 a4357932f1b6: Download complete 09:05:25 63d7cb157983: Download complete 09:05:25 5f621e34cdf4: Verifying Checksum 09:05:25 5f621e34cdf4: Download complete 09:05:25 b116817d02f9: Download complete 09:05:25 5f621e34cdf4: Pull complete 09:05:26 a4357932f1b6: Pull complete 09:05:26 18c013af1878: Pull complete 09:05:28 745a02a5169b: Verifying Checksum 09:05:28 745a02a5169b: Download complete 09:05:28 00ac8860ef70: Verifying Checksum 09:05:28 00ac8860ef70: Download complete 09:05:35 Running on prd-centos7-docker-4c-2g-14166 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 09:05:35 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:05:38 using credential edgex-jenkins-ssh 09:05:38 Cloning the remote Git repository 09:05:39 00ac8860ef70: Pull complete 09:05:39 63d7cb157983: Pull complete 09:05:39 b116817d02f9: Pull complete 09:05:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:37 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:05:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:38 > git --version # timeout=10 09:05:38 > git --version # 'git version 2.24.3' 09:05:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:38 > 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 09:05:39 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 6ffcb36bac324bdb103c371a18dba23397e99ba6 09:05:39 Merge succeeded, producing 6ffcb36bac324bdb103c371a18dba23397e99ba6 09:05:39 Checking out Revision 6ffcb36bac324bdb103c371a18dba23397e99ba6 (PR-661) 09:05:39 > git config core.sparsecheckout # timeout=10 09:05:39 > git checkout -f 6ffcb36bac324bdb103c371a18dba23397e99ba6 # timeout=10 09:05:39 > git remote # timeout=10 09:05:39 > git config --get remote.origin.url # timeout=10 09:05:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:39 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 09:05:39 > git rev-parse HEAD^{commit} # timeout=10 09:05:39 > git config core.sparsecheckout # timeout=10 09:05:39 > git checkout -f 6ffcb36bac324bdb103c371a18dba23397e99ba6 # timeout=10 09:05:43 Commit message: "feat: add a comment to explain why use buffer for sending event" 09:05:43 745a02a5169b: Pull complete 09:05:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:05:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:05:43 ---> b7e6874047d6 09:05:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:05:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:05:45 + true 09:05:45 + sudo service docker restart 09:05:45 Redirecting to /bin/systemctl restart docker.service 09:05:46 ---> Running in 4b144b0d3377 09:05:46 Removing intermediate container 4b144b0d3377 09:05:46 ---> ce81f5ff0ea0 09:05:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:46 ---> Running in 64b307faa1c2 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:05:46 provisioning config files... 09:05:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3290770358213240727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:46 ---> docker-login.sh 09:05:46 nexus3.edgexfoundry.org:10001 09:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:47 Configure a credential helper to remove this warning. See 09:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:47 09:05:47 Login Succeeded 09:05:47 nexus3.edgexfoundry.org:10002 09:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:47 Configure a credential helper to remove this warning. See 09:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:47 09:05:47 Login Succeeded 09:05:47 nexus3.edgexfoundry.org:10003 09:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:47 Configure a credential helper to remove this warning. See 09:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:47 09:05:47 Login Succeeded 09:05:47 nexus3.edgexfoundry.org:10004 09:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:47 Configure a credential helper to remove this warning. See 09:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:47 09:05:47 Login Succeeded 09:05:47 docker.io 09:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:48 Configure a credential helper to remove this warning. See 09:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:48 09:05:48 Login Succeeded 09:05:48 ---> docker-login.sh ends [Pipeline] } 09:05:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:48 ========================================================= 09:05:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:05:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:48 Removing intermediate container 64b307faa1c2 09:05:48 ---> 51f67e5772f2 09:05:48 Step 5/8 : RUN apk add --no-cache make git 09:05:48 ---> Running in 6f52fb615b35 09:05:48 + 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 . 09:05:48 Sending build context to Docker daemon 2.389MB 09:05:48 Step 1/8 : ARG BASE=golang:1.15-alpine 09:05:48 Step 2/8 : FROM ${BASE} 09:05:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:05:49 188c0c94c7c5: Pulling fs layer 09:05:49 0ef7d3d256c8: Pulling fs layer 09:05:49 de9db76c5a1d: Pulling fs layer 09:05:49 bca2f99d35d6: Pulling fs layer 09:05:49 93359f2a8cfa: Pulling fs layer 09:05:49 7c6f9722023f: Pulling fs layer 09:05:49 a35cf1a2eb13: Pulling fs layer 09:05:49 bca2f99d35d6: Waiting 09:05:49 93359f2a8cfa: Waiting 09:05:49 7c6f9722023f: Waiting 09:05:49 a35cf1a2eb13: Waiting 09:05:49 de9db76c5a1d: Verifying Checksum 09:05:49 de9db76c5a1d: Download complete 09:05:49 0ef7d3d256c8: Verifying Checksum 09:05:49 0ef7d3d256c8: Download complete 09:05:49 93359f2a8cfa: Verifying Checksum 09:05:49 93359f2a8cfa: Download complete 09:05:49 7c6f9722023f: Verifying Checksum 09:05:49 7c6f9722023f: Download complete 09:05:49 188c0c94c7c5: Verifying Checksum 09:05:49 188c0c94c7c5: Download complete 09:05:49 188c0c94c7c5: Pull complete 09:05:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:05:49 0ef7d3d256c8: Pull complete 09:05:49 de9db76c5a1d: Pull complete 09:05:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:05:51 a35cf1a2eb13: Verifying Checksum 09:05:51 a35cf1a2eb13: Download complete 09:05:51 bca2f99d35d6: Verifying Checksum 09:05:51 bca2f99d35d6: Download complete 09:05:52 OK: 142 MiB in 39 packages 09:05:53 Removing intermediate container 6f52fb615b35 09:05:53 ---> edda4549f4c2 09:05:53 Step 6/8 : WORKDIR /device-sdk-go 09:05:54 ---> Running in 9449a9d2a0d5 09:05:54 Removing intermediate container 9449a9d2a0d5 09:05:54 ---> adcb7f98ea6a 09:05:54 Step 7/8 : COPY . . 09:05:56 ---> b7ac4653b0b5 09:05:56 Step 8/8 : RUN go mod download 09:05:56 ---> Running in a5537d0cbec0 09:05:56 bca2f99d35d6: Pull complete 09:05:56 93359f2a8cfa: Pull complete 09:05:56 7c6f9722023f: Pull complete 09:06:03 a35cf1a2eb13: Pull complete 09:06:03 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:06:03 ---> a62c8e92a672 09:06:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:06:03 ---> Running in 27b3f609e5ea 09:06:03 Removing intermediate container 27b3f609e5ea 09:06:03 ---> 62385d5dc62f 09:06:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:03 ---> Running in 2d0bbb310cb1 09:06:04 Removing intermediate container 2d0bbb310cb1 09:06:04 ---> 0dfcdb2cdf9b 09:06:04 Step 5/8 : RUN apk add --no-cache make git 09:06:04 ---> Running in b59420e9d9ae 09:06:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:06:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:06:06 OK: 166 MiB in 39 packages 09:06:06 Removing intermediate container b59420e9d9ae 09:06:06 ---> 716bb35c78bc 09:06:06 Step 6/8 : WORKDIR /device-sdk-go 09:06:06 ---> Running in d0460aee2678 09:06:06 Removing intermediate container d0460aee2678 09:06:06 ---> 6de12bee0861 09:06:06 Step 7/8 : COPY . . 09:06:08 ---> c754a7aee3b8 09:06:08 Step 8/8 : RUN go mod download 09:06:08 ---> Running in 8e220fa4a8ae 09:06:18 Removing intermediate container a5537d0cbec0 09:06:18 ---> a88975daa433 09:06:18 Successfully built a88975daa433 09:06:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:06:18 + docker inspect -f . ci-base-image-arm64 09:06:18 . [Pipeline] withDockerContainer 09:06:19 prd-ubuntu18.04-docker-arm64-4c-16g-14164 does not seem to be running inside a container 09:06:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:06:20 $ docker top d8278d57be002a1fb98161ecffb7961e2b30cfb2e298f1c323ce8b069944defc -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:21 + go version 09:06:21 go version go1.15.5 linux/arm64 [Pipeline] } 09:06:21 $ docker stop --time=1 d8278d57be002a1fb98161ecffb7961e2b30cfb2e298f1c323ce8b069944defc 09:06:23 $ docker rm -f d8278d57be002a1fb98161ecffb7961e2b30cfb2e298f1c323ce8b069944defc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:24 + docker inspect -f . ci-base-image-arm64 09:06:24 . [Pipeline] withDockerContainer 09:06:25 prd-ubuntu18.04-docker-arm64-4c-16g-14164 does not seem to be running inside a container 09:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:06:26 Removing intermediate container 8e220fa4a8ae 09:06:26 ---> 783994d82ea3 09:06:26 Successfully built 783994d82ea3 09:06:26 Successfully tagged ci-base-image-x86_64:latest 09:06:26 $ docker top 0ca7e4de2e9034f32421a59701bfae973b1e6284a76f73145f95131121294fda -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:06:27 + docker inspect -f . ci-base-image-x86_64 09:06:27 . [Pipeline] withDockerContainer 09:06:27 + make test 09:06:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:06:27 prd-centos7-docker-4c-2g-14166 does not seem to be running inside a container 09:06:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:06:28 $ docker top f36ca81e1f347804cf7b9e4373a5df24f48931fe629dd6505774b39252b71aaf -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:28 + go version 09:06:28 go version go1.15.5 linux/amd64 [Pipeline] } 09:06:28 $ docker stop --time=1 f36ca81e1f347804cf7b9e4373a5df24f48931fe629dd6505774b39252b71aaf 09:06:30 $ docker rm -f f36ca81e1f347804cf7b9e4373a5df24f48931fe629dd6505774b39252b71aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:31 + docker inspect -f . ci-base-image-x86_64 09:06:31 . [Pipeline] withDockerContainer 09:06:31 prd-centos7-docker-4c-2g-14166 does not seem to be running inside a container 09:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:06:32 $ docker top 44a1dc33eb84cd51e59dcda4238ecfaba74c8b10684d39ef737dbe7102d569e3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:32 + make test 09:06:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:06:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:06:49 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:06:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:06:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:06:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:06:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 20.0% of statements 09:06:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.453s coverage: 97.1% of statements 09:07:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 09:07:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.9% of statements 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:07:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 42.5% of statements 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:07:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 68.9% of statements 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:07:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:07:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:07:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.456s coverage: 68.9% of statements 09:07:27 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 09:07:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:07:27 GO111MODULE=on go vet ./... 09:07:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:07:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:07:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:07:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 20.0% of statements 09:07:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.145s coverage: 97.1% of statements 09:07:34 gofmt -l . 09:07:34 [ "`gofmt -l .`" = "" ] 09:07:34 ./bin/test-attribution-txt.sh 09:07:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:07:34 $ docker stop --time=1 44a1dc33eb84cd51e59dcda4238ecfaba74c8b10684d39ef737dbe7102d569e3 09:07:36 $ docker rm -f 44a1dc33eb84cd51e59dcda4238ecfaba74c8b10684d39ef737dbe7102d569e3 [Pipeline] // withDockerContainer [Pipeline] sh 09:07:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:07:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:07:40 + ls -al . 09:07:40 total 208 09:07:40 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 2 09:07 . 09:07:40 drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 09:05 .. 09:07:40 drwxrwxr-x. 2 jenkins jenkins 64 Dec 2 09:05 bin 09:07:40 -rw-r--r--. 1 jenkins jenkins 127698 Dec 2 09:07 coverage.out 09:07:40 -rw-rw-r--. 1 jenkins jenkins 936 Dec 2 09:05 Dockerfile.build 09:07:40 -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 09:05 .dockerignore 09:07:40 drwxrwxr-x. 4 jenkins jenkins 48 Dec 2 09:05 example 09:07:40 drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 09:05 .git 09:07:40 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 09:05 .github 09:07:40 -rw-rw-r--. 1 jenkins jenkins 138 Dec 2 09:05 .gitignore 09:07:40 -rw-r--r--. 1 jenkins jenkins 518 Dec 2 09:07 go.mod 09:07:40 -rw-r--r--. 1 jenkins jenkins 13631 Dec 2 09:07 go.sum 09:07:40 drwxrwxr-x. 15 jenkins jenkins 211 Dec 2 09:05 internal 09:07:40 -rw-rw-r--. 1 jenkins jenkins 901 Dec 2 09:05 Jenkinsfile 09:07:40 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 2 09:05 LICENSE 09:07:40 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 2 09:05 Makefile 09:07:40 drwxrwxr-x. 4 jenkins jenkins 26 Dec 2 09:05 openapi 09:07:40 drwxrwxr-x. 5 jenkins jenkins 50 Dec 2 09:05 pkg 09:07:40 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 2 09:05 README.md 09:07:40 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 2 09:05 RELEASE-NOTES.txt 09:07:40 drwxrwxr-x. 4 jenkins jenkins 54 Dec 2 09:05 snap 09:07:40 -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 09:02 VERSION 09:07:40 -rw-rw-r--. 1 jenkins jenkins 222 Dec 2 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:07:40 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6ffcb36bac324bdb103c371a18dba23397e99ba6 --label arch=amd64 --label version=0.0.0 . 09:07:41 Sending build context to Docker daemon 2.518MB 09:07:41 Step 1/24 : ARG BASE=golang:1.15-alpine 09:07:41 Step 2/24 : FROM ${BASE} AS builder 09:07:41 ---> 783994d82ea3 09:07:41 Step 3/24 : ARG MAKE='make build' 09:07:41 ---> Running in a299f7667a2c 09:07:41 Removing intermediate container a299f7667a2c 09:07:41 ---> b3dcaab2dd31 09:07:41 Step 4/24 : WORKDIR /device-sdk-go 09:07:41 ---> Running in 132a8bb094d9 09:07:42 Removing intermediate container 132a8bb094d9 09:07:42 ---> a634e44bc308 09:07:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:42 ---> Running in 1889863a7d89 09:07:42 Removing intermediate container 1889863a7d89 09:07:42 ---> eae43b1ce194 09:07:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:42 ---> Running in c1ab408486ff 09:07:43 Removing intermediate container c1ab408486ff 09:07:43 ---> 95ff19509f43 09:07:43 Step 7/24 : RUN apk add --update --no-cache make git 09:07:43 ---> Running in 2c8523eae991 09:07:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:07:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:07:44 OK: 166 MiB in 39 packages 09:07:45 Removing intermediate container 2c8523eae991 09:07:45 ---> 0d9cd1fe5e9c 09:07:45 Step 8/24 : COPY . . 09:07:46 ---> 002cd97f821d 09:07:46 Step 9/24 : RUN ${MAKE} 09:07:46 ---> Running in 1f8c7b71318e 09:07:47 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 09:07:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:07:56 Removing intermediate container 1f8c7b71318e 09:07:56 ---> a29275d9307f 09:07:56 Step 10/24 : FROM scratch 09:07:56 ---> 09:07:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:56 ---> Running in 900bf108677a 09:07:56 Removing intermediate container 900bf108677a 09:07:56 ---> bfd0bb221166 09:07:56 Step 12/24 : ENV APP_PORT=49990 09:07:56 ---> Running in 5e3e50db6758 09:07:57 Removing intermediate container 5e3e50db6758 09:07:57 ---> 95bba5ab9bee 09:07:57 Step 13/24 : EXPOSE $APP_PORT 09:07:57 ---> Running in c55fe3998b6f 09:07:57 Removing intermediate container c55fe3998b6f 09:07:57 ---> 627188931ddf 09:07:57 Step 14/24 : WORKDIR / 09:07:57 ---> Running in 696f02700136 09:07:57 Removing intermediate container 696f02700136 09:07:57 ---> 4bb1e8f89ab0 09:07:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:07:57 ---> c3887f323230 09:07:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:07:58 ---> 7de87da54138 09:07:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:07:58 ---> 9a9a84c0714b 09:07:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:07:58 ---> ebda214c2564 09:07:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:07:58 ---> 1aedd0c608a4 09:07:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:07:58 ---> Running in 20b6c1b640ba 09:07:58 Removing intermediate container 20b6c1b640ba 09:07:58 ---> 5116b380637f 09:07:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:07:58 ---> Running in 4cd6d67e066e 09:07:59 Removing intermediate container 4cd6d67e066e 09:07:59 ---> 1b749dfe6756 09:07:59 Step 22/24 : LABEL arch=amd64 09:07:59 ---> Running in 5a61812cc575 09:07:59 Removing intermediate container 5a61812cc575 09:07:59 ---> f2e86154dab4 09:07:59 Step 23/24 : LABEL git_sha=6ffcb36bac324bdb103c371a18dba23397e99ba6 09:07:59 ---> Running in 4b8d0cd01444 09:07:59 Removing intermediate container 4b8d0cd01444 09:07:59 ---> 23df7333f986 09:07:59 Step 24/24 : LABEL version=0.0.0 09:07:59 ---> Running in fcf1b56e0b34 09:07:59 Removing intermediate container fcf1b56e0b34 09:07:59 ---> cb5887cc9106 09:07:59 [Warning] One or more build-args [ARCH] were not consumed 09:07:59 Successfully built cb5887cc9106 09:07:59 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] } 09:08:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements 09:08:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:08:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.576s coverage: 42.5% of statements 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:08:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.777s coverage: 68.9% of statements 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:08:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.161s coverage: 52.6% of statements 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:08:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:08:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.715s coverage: 68.9% of statements 09:08:03 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.133s coverage: 4.7% of statements 09:08:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:08:03 GO111MODULE=on go vet ./... 09:08:36 gofmt -l . 09:08:36 [ "`gofmt -l .`" = "" ] 09:08:36 ./bin/test-attribution-txt.sh 09:08:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:08:36 $ docker stop --time=1 0ca7e4de2e9034f32421a59701bfae973b1e6284a76f73145f95131121294fda 09:08:38 $ docker rm -f 0ca7e4de2e9034f32421a59701bfae973b1e6284a76f73145f95131121294fda [Pipeline] // withDockerContainer [Pipeline] sh 09:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:39 Warning: overwriting stash ‘coverage-report’ 09:08:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:41 + ls -al . 09:08:41 total 244 09:08:41 drwxrwxr-x 10 jenkins jenkins 4096 Dec 2 09:08 . 09:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 09:05 .. 09:08:41 -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 09:05 .dockerignore 09:08:41 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 09:05 .git 09:08:41 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:05 .github 09:08:41 -rw-rw-r-- 1 jenkins jenkins 138 Dec 2 09:05 .gitignore 09:08:41 -rw-rw-r-- 1 jenkins jenkins 936 Dec 2 09:05 Dockerfile.build 09:08:41 -rw-rw-r-- 1 jenkins jenkins 901 Dec 2 09:05 Jenkinsfile 09:08:41 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 2 09:05 LICENSE 09:08:41 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 2 09:05 Makefile 09:08:41 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 2 09:05 README.md 09:08:41 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 2 09:05 RELEASE-NOTES.txt 09:08:41 -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 09:02 VERSION 09:08:41 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:05 bin 09:08:41 -rw-r--r-- 1 jenkins jenkins 127698 Dec 2 09:07 coverage.out 09:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 09:05 example 09:08:41 -rw-r--r-- 1 jenkins jenkins 518 Dec 2 09:08 go.mod 09:08:41 -rw-r--r-- 1 jenkins jenkins 13631 Dec 2 09:08 go.sum 09:08:41 drwxrwxr-x 15 jenkins jenkins 4096 Dec 2 09:05 internal 09:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 09:05 openapi 09:08:41 drwxrwxr-x 5 jenkins jenkins 4096 Dec 2 09:05 pkg 09:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 09:05 snap 09:08:41 -rw-rw-r-- 1 jenkins jenkins 222 Dec 2 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:08:42 + 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=6ffcb36bac324bdb103c371a18dba23397e99ba6 --label arch=arm64 --label version=0.0.0 . 09:08:42 Sending build context to Docker daemon 2.516MB 09:08:42 Step 1/24 : ARG BASE=golang:1.15-alpine 09:08:42 Step 2/24 : FROM ${BASE} AS builder 09:08:42 ---> a88975daa433 09:08:42 Step 3/24 : ARG MAKE='make build' 09:08:43 ---> Running in 2c4f05ae7230 09:08:43 Removing intermediate container 2c4f05ae7230 09:08:43 ---> e0610c69dc1a 09:08:43 Step 4/24 : WORKDIR /device-sdk-go 09:08:43 ---> Running in 991f3a21fd26 09:08:44 Removing intermediate container 991f3a21fd26 09:08:44 ---> 85a31c2e2fa1 09:08:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:08:44 ---> Running in 0f10bfcc74e4 09:08:45 Removing intermediate container 0f10bfcc74e4 09:08:45 ---> f02a21d6eee2 09:08:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:45 ---> Running in 416bf9ecdeab 09:08:47 Removing intermediate container 416bf9ecdeab 09:08:47 ---> 1b8bcdf0dad6 09:08:47 Step 7/24 : RUN apk add --update --no-cache make git 09:08:47 ---> Running in e758a14b99ed 09:08:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:08:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:08:50 OK: 142 MiB in 39 packages 09:08:51 Removing intermediate container e758a14b99ed 09:08:51 ---> 9ddf87350571 09:08:51 Step 8/24 : COPY . . 09:08:53 ---> 472996a26c95 09:08:53 Step 9/24 : RUN ${MAKE} 09:08:53 ---> Running in fd8b37a7c8f2 09:08:54 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 09:09:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:09:22 Removing intermediate container fd8b37a7c8f2 09:09:22 ---> 03cf5f5a27c6 09:09:22 Step 10/24 : FROM scratch 09:09:22 ---> 09:09:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:09:22 ---> Running in b7676073d7fb 09:09:22 Removing intermediate container b7676073d7fb 09:09:22 ---> d27cd9ec2c02 09:09:22 Step 12/24 : ENV APP_PORT=49990 09:09:22 ---> Running in b249875ed4a3 09:09:23 Removing intermediate container b249875ed4a3 09:09:23 ---> f1f0edf938c2 09:09:23 Step 13/24 : EXPOSE $APP_PORT 09:09:23 ---> Running in 0353278b1434 09:09:23 Removing intermediate container 0353278b1434 09:09:23 ---> 6ce852735922 09:09:23 Step 14/24 : WORKDIR / 09:09:23 ---> Running in e1f7988fa0be 09:09:24 Removing intermediate container e1f7988fa0be 09:09:24 ---> 5694cd2c25d5 09:09:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:09:25 ---> 0e090ab2a141 09:09:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:09:26 ---> d3e023e320b0 09:09:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:09:26 ---> 29bd94e709af 09:09:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:09:27 ---> 458288db9a89 09:09:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:09:28 ---> 477610028280 09:09:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:09:28 ---> Running in 4e940bc6a455 09:09:29 Removing intermediate container 4e940bc6a455 09:09:29 ---> 5b29c6b265d7 09:09:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:09:29 ---> Running in 05dc68965672 09:09:29 Removing intermediate container 05dc68965672 09:09:29 ---> c4d4673a9af7 09:09:29 Step 22/24 : LABEL arch=arm64 09:09:29 ---> Running in 30c2d7315a14 09:09:30 Removing intermediate container 30c2d7315a14 09:09:30 ---> d364ab12c790 09:09:30 Step 23/24 : LABEL git_sha=6ffcb36bac324bdb103c371a18dba23397e99ba6 09:09:30 ---> Running in a48b8b875400 09:09:30 Removing intermediate container a48b8b875400 09:09:30 ---> 47d7e8d53cb0 09:09:30 Step 24/24 : LABEL version=0.0.0 09:09:30 ---> Running in 298e0e850ed7 09:09:31 Removing intermediate container 298e0e850ed7 09:09:31 ---> 14895be4fa93 09:09:31 [Warning] One or more build-args [ARCH] were not consumed 09:09:31 Successfully built 14895be4fa93 09:09:31 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:09:33 provisioning config files... 09:09:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config4516740029355360968tmp [Pipeline] { [Pipeline] sh 09:09:33 + set +x 09:09:33 + curl -s https://codecov.io/bash 09:09:33 + bash -s -- 09:09:34 09:09:34 _____ _ 09:09:34 / ____| | | 09:09:34 | | ___ __| | ___ ___ _____ __ 09:09:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:09:34 | |___| (_) | (_| | __/ (_| (_) \ V / 09:09:34 \_____\___/ \__,_|\___|\___\___/ \_/ 09:09:34 Bash-20201130-cc6d3fe 09:09:34 09:09:34 09:09:34 ==> Jenkins CI detected. 09:09:34 project root: . 09:09:34 --> token set from env 09:09:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:09:34 ==> Running gcov in . (disable via -X gcov) 09:09:34 ==> Python coveragepy not found 09:09:34 ==> Searching for coverage reports in: 09:09:34 + . 09:09:34 -> Found 1 reports 09:09:34 ==> Detecting git/mercurial file structure 09:09:34 ==> Reading reports 09:09:34 + ./coverage.out bytes=127698 09:09:34 ==> Appending adjustments 09:09:34 https://docs.codecov.io/docs/fixing-reports 09:09:35 + Found adjustments 09:09:35 ==> Gzipping contents 09:09:35 24K /tmp/codecov.Ijolib.gz 09:09:35 ==> Uploading reports 09:09:35 url: https://codecov.io 09:09:35 query: branch=PR-661&commit=6ffcb36bac324bdb103c371a18dba23397e99ba6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 09:09:35 -> Pinging Codecov 09:09:35 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-661&commit=6ffcb36bac324bdb103c371a18dba23397e99ba6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 09:09:36 -> Uploading to 09:09:36 https://storage.googleapis.com/codecov/v4/raw/2020-12-02/7E55EF52A471D76F132DFD9A03CDDE97/6ffcb36bac324bdb103c371a18dba23397e99ba6/8256cd95-a019-4e86-81b2-5849ea7e6783.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T090936Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdc7e21167e8d0a4635fb293ea441d86ba46a2c8b4e041a3351743b5f99f475c 09:09:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:36 Dload Upload Total Spent Left Speed 09:09:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20850 0 0 100 20850 0 42164 --:--:-- --:--:-- --:--:-- 42206 09:09:36 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6ffcb36bac324bdb103c371a18dba23397e99ba6 [Pipeline] } 09:09:36 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 09:09:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:09:41 ---> package-listing.sh 09:09:41 ++ facter osfamily 09:09:41 ++ tr '[:upper:]' '[:lower:]' 09:09:41 + OS_FAMILY=redhat 09:09:41 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 09:09:41 + START_PACKAGES=/tmp/packages_start.txt 09:09:41 + END_PACKAGES=/tmp/packages_end.txt 09:09:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:09:41 + PACKAGES=/tmp/packages_start.txt 09:09:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 09:09:41 + PACKAGES=/tmp/packages_end.txt 09:09:41 + case "${OS_FAMILY}" in 09:09:41 + rpm -qa 09:09:41 + sort 09:09:46 + '[' -f /tmp/packages_start.txt ']' 09:09:46 + '[' -f /tmp/packages_end.txt ']' 09:09:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:09:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 09:09:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 09:09:46 + 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 09:09:46 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 09:09:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:09:47 09:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:09:48 alpine: Pulling from edgex-lftools-log-publisher 09:09:48 df20fa9351a1: Pulling fs layer 09:09:48 36b3adc4ff6f: Pulling fs layer 09:09:48 8ad3a11d3b57: Pulling fs layer 09:09:48 46f8f816bc3b: Pulling fs layer 09:09:48 93b61091891f: Pulling fs layer 09:09:48 93b9cdb0e59b: Pulling fs layer 09:09:48 5e14af77c1be: Pulling fs layer 09:09:48 01666e4c0597: Pulling fs layer 09:09:48 aa168da1d23b: Pulling fs layer 09:09:48 93b61091891f: Waiting 09:09:48 93b9cdb0e59b: Waiting 09:09:48 5e14af77c1be: Waiting 09:09:48 01666e4c0597: Waiting 09:09:48 46f8f816bc3b: Waiting 09:09:48 aa168da1d23b: Waiting 09:09:48 36b3adc4ff6f: Download complete 09:09:48 46f8f816bc3b: Verifying Checksum 09:09:48 46f8f816bc3b: Download complete 09:09:48 df20fa9351a1: Verifying Checksum 09:09:48 df20fa9351a1: Download complete 09:09:48 93b9cdb0e59b: Verifying Checksum 09:09:48 93b9cdb0e59b: Download complete 09:09:48 5e14af77c1be: Verifying Checksum 09:09:48 5e14af77c1be: Download complete 09:09:48 01666e4c0597: Verifying Checksum 09:09:48 01666e4c0597: Download complete 09:09:48 93b61091891f: Verifying Checksum 09:09:48 93b61091891f: Download complete 09:09:48 8ad3a11d3b57: Verifying Checksum 09:09:48 8ad3a11d3b57: Download complete 09:09:49 df20fa9351a1: Pull complete 09:09:49 36b3adc4ff6f: Pull complete 09:09:51 8ad3a11d3b57: Pull complete 09:09:51 46f8f816bc3b: Pull complete 09:09:52 93b61091891f: Pull complete 09:09:52 93b9cdb0e59b: Pull complete 09:09:52 5e14af77c1be: Pull complete 09:09:53 01666e4c0597: Pull complete 09:09:53 aa168da1d23b: Verifying Checksum 09:09:53 aa168da1d23b: Download complete 09:10:05 aa168da1d23b: Pull complete 09:10:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:10:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:10:06 prd-centos7-docker-4c-2g-14163 does not seem to be running inside a container 09:10:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:10:12 $ docker top fdac2e7fdd6bfa32b9255be8cc5846b0658a8bf848e0f4485000c89b767b4bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:13 + touch /tmp/pre-build-complete [Pipeline] sh 09:10:13 + mkdir -p /var/log/sa [Pipeline] sh 09:10:14 + ls /var/log/sa-host 09:10:14 + sadf -c /var/log/sa-host/sa02 09:10:14 file_magic: OK 09:10:14 HZ: Using current value: 100 09:10:14 file_header: OK 09:10:14 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 09:10:14 Statistics: 09:10:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:10:14 File successfully converted to sysstat format version 12.2.1 09:10:14 + sadf -c /var/log/sa-host/sa23 09:10:14 file_magic: OK 09:10:14 HZ: Using current value: 100 09:10:14 file_header: OK 09:10:14 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 09:10:14 Statistics: 09:10:14 Hnuu...uuuununununu... 09:10:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:14 provisioning config files... 09:10:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config2678868423515040289tmp [Pipeline] { [Pipeline] echo 09:10:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:10:14 ---> create-netrc.sh [Pipeline] } 09:10:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:10:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:10:15 ---> python-tools-install.sh [Pipeline] echo 09:10:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:10:15 ---> sudo-logs.sh 09:10:15 Archiving 'sudo' log.. [Pipeline] echo 09:10:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:10:16 ---> job-cost.sh 09:10:16 lf-activate-venv: SKIPPING 09:10:16 INFO: No Stack... 09:10:17 INFO: Retrieving Pricing Info for: v1-standard-2 09:10:18 INFO: Archiving Costs [Pipeline] echo 09:10:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:10:18 ---> logs-deploy.sh 09:10:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/4 09:10:18 INFO: archiving workspace using pattern(s): 09:10:21 Archives upload complete. 09:10:21 INFO: archiving logs to Nexus 09:10:23 ---> uname -a: 09:10:23 Linux prd-centos7-docker-4c-2g-14163.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:10:23 09:10:23 09:10:23 ---> lscpu: 09:10:23 Architecture: x86_64 09:10:23 CPU op-mode(s): 32-bit, 64-bit 09:10:23 Byte Order: Little Endian 09:10:23 Address sizes: 40 bits physical, 48 bits virtual 09:10:23 CPU(s): 4 09:10:23 On-line CPU(s) list: 0-3 09:10:23 Thread(s) per core: 1 09:10:23 Core(s) per socket: 1 09:10:23 Socket(s): 4 09:10:23 NUMA node(s): 1 09:10:23 Vendor ID: GenuineIntel 09:10:23 CPU family: 6 09:10:23 Model: 44 09:10:23 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:10:23 Stepping: 1 09:10:23 CPU MHz: 2933.438 09:10:23 BogoMIPS: 5866.87 09:10:23 Virtualization: VT-x 09:10:23 Hypervisor vendor: KVM 09:10:23 Virtualization type: full 09:10:23 L1d cache: 128 KiB 09:10:23 L1i cache: 128 KiB 09:10:23 L2 cache: 16 MiB 09:10:23 L3 cache: 64 MiB 09:10:23 NUMA node0 CPU(s): 0-3 09:10:23 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:10:23 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:10:23 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:10:23 Vulnerability Meltdown: Mitigation; PTI 09:10:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:10:23 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:10:23 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:10:23 Vulnerability Srbds: Not affected 09:10:23 Vulnerability Tsx async abort: Not affected 09:10:23 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 09:10:23 09:10:23 09:10:23 ---> nproc: 09:10:23 4 09:10:23 09:10:23 09:10:23 ---> df -h: 09:10:23 Filesystem Size Used Available Use% Mounted on 09:10:23 overlay 50.0G 7.3G 42.7G 15% / 09:10:23 tmpfs 64.0M 0 64.0M 0% /dev 09:10:23 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:10:23 shm 64.0M 0 64.0M 0% /dev/shm 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:10:23 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 09:10:23 09:10:23 09:10:23 ---> free -m: 09:10:23 total used free shared buff/cache available 09:10:23 Mem: 1837 689 106 0 1041 1043 09:10:23 Swap: 1023 1 1022 09:10:23 09:10:23 09:10:23 ---> ip addr: 09:10:23 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:10:23 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:10:23 inet 127.0.0.1/8 scope host lo 09:10:23 valid_lft forever preferred_lft forever 09:10:23 inet6 ::1/128 scope host 09:10:23 valid_lft forever preferred_lft forever 09:10:23 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:10:23 link/ether fa:16:3e:a8:f7:94 brd ff:ff:ff:ff:ff:ff 09:10:23 inet 10.30.122.69/23 brd 10.30.123.255 scope global dynamic eth0 09:10:23 valid_lft 85879sec preferred_lft 85879sec 09:10:23 inet6 fe80::f816:3eff:fea8:f794/64 scope link 09:10:23 valid_lft forever preferred_lft forever 09:10:23 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:10:23 link/ether 02:42:2b:02:b5:c1 brd ff:ff:ff:ff:ff:ff 09:10:23 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:10:23 valid_lft forever preferred_lft forever 09:10:23 inet6 fe80::42:2bff:fe02:b5c1/64 scope link 09:10:23 valid_lft forever preferred_lft forever 09:10:23 09:10:23 09:10:23 ---> sar -b -r -n DEV: 09:10:23 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) 09:10:23 09:10:23 09:01:27 LINUX RESTART (4 CPU) 09:10:23 09:10:23 09:02:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:10:23 09:03:01 76.48 31.16 45.32 0.00 6818.72 4012.28 0.00 09:10:23 09:04:01 1.63 0.00 1.63 0.00 0.00 27.18 0.00 09:10:23 09:05:01 0.23 0.00 0.23 0.00 0.00 3.11 0.00 09:10:23 09:06:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 09:10:23 09:07:01 0.23 0.00 0.23 0.00 0.00 3.38 0.00 09:10:23 09:08:01 0.32 0.00 0.32 0.00 0.00 4.20 0.00 09:10:23 09:09:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 09:10:23 09:10:02 111.90 63.51 48.39 0.00 4636.39 14718.21 0.00 09:10:23 Average: 23.72 11.77 11.95 0.00 1410.91 2344.01 0.00 09:10:23 09:10:23 09:02:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:10:23 09:03:01 160752 0 593296 31.53 2620 1124876 1140740 38.93 426816 1094160 128 09:10:23 09:04:01 167960 0 585940 31.14 2620 1125024 1087896 37.13 423776 1091404 28 09:10:23 09:05:01 167596 0 586356 31.16 2620 1124972 1088064 37.13 433584 1082420 8 09:10:23 09:06:01 166792 0 587160 31.21 2620 1124972 1088160 37.14 434244 1082420 16 09:10:23 09:07:01 165672 0 588272 31.27 2620 1124980 1087896 37.13 431828 1085908 8 09:10:23 09:08:01 165388 0 588552 31.28 2620 1124984 1088016 37.13 432584 1085908 8 09:10:23 09:09:01 166036 0 587900 31.25 2620 1124988 1087896 37.13 431844 1085904 8 09:10:23 09:10:02 77572 0 712452 37.87 2620 1088900 1515936 51.74 586320 970484 72444 09:10:23 Average: 154721 0 603741 32.09 2620 1120462 1148076 39.18 450124 1072326 9081 09:10:23 09:10:23 09:02:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:10:23 09:03:01 eth0 313.11 218.86 1115.81 99.01 0.00 0.00 0.00 0.00 09:10:23 09:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:03:01 docker0 6.66 5.28 1.15 20.79 0.00 0.00 0.00 0.00 09:10:23 09:04:01 eth0 0.97 0.07 0.07 0.01 0.00 0.00 0.00 0.00 09:10:23 09:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:05:01 eth0 1.42 0.83 0.67 0.20 0.00 0.00 0.00 0.00 09:10:23 09:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:06:01 eth0 1.43 0.72 0.70 0.44 0.00 0.00 0.00 0.00 09:10:23 09:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:07:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:10:23 09:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:08:01 eth0 0.33 0.22 0.14 0.07 0.00 0.00 0.00 0.00 09:10:23 09:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:09:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:10:23 09:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:10:02 eth0 207.95 164.54 2168.12 19.34 0.00 0.00 0.00 0.00 09:10:23 09:10:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 09:10:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 Average: eth0 64.71 47.51 408.39 14.54 0.00 0.00 0.00 0.00 09:10:23 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:10:23 Average: docker0 0.81 0.64 0.14 2.52 0.00 0.00 0.00 0.00 09:10:23 09:10:23 09:10:23 ---> sar -P ALL: 09:10:23 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) 09:10:23 09:10:23 09:01:27 LINUX RESTART (4 CPU) 09:10:23 09:10:23 09:02:03 CPU %user %nice %system %iowait %steal %idle 09:10:23 09:03:01 all 13.10 0.00 4.86 1.68 8.37 71.99 09:10:23 09:03:01 0 13.82 0.00 4.85 0.56 8.30 72.47 09:10:23 09:03:01 1 9.92 0.00 4.55 0.61 8.55 76.36 09:10:23 09:03:01 2 16.12 0.00 4.69 0.97 8.01 70.21 09:10:23 09:03:01 3 12.59 0.00 5.35 4.61 8.61 68.83 09:10:23 09:04:01 all 0.13 0.00 0.07 0.00 0.23 99.56 09:10:23 09:04:01 0 0.25 0.00 0.10 0.00 0.28 99.37 09:10:23 09:04:01 1 0.10 0.00 0.08 0.00 0.37 99.45 09:10:23 09:04:01 2 0.03 0.00 0.05 0.00 0.08 99.83 09:10:23 09:04:01 3 0.13 0.00 0.07 0.00 0.20 99.60 09:10:23 09:05:01 all 0.11 0.00 0.09 0.00 0.31 99.49 09:10:23 09:05:01 0 0.02 0.00 0.03 0.00 0.22 99.73 09:10:23 09:05:01 1 0.27 0.00 0.08 0.00 0.53 99.12 09:10:23 09:05:01 2 0.05 0.00 0.18 0.00 0.23 99.53 09:10:23 09:05:01 3 0.10 0.00 0.05 0.00 0.27 99.58 09:10:23 09:06:01 all 0.13 0.00 0.04 0.00 0.15 99.68 09:10:23 09:06:01 0 0.02 0.00 0.02 0.00 0.07 99.90 09:10:23 09:06:01 1 0.07 0.00 0.05 0.00 0.25 99.63 09:10:23 09:06:01 2 0.03 0.00 0.03 0.00 0.07 99.87 09:10:23 09:06:01 3 0.40 0.00 0.05 0.00 0.23 99.32 09:10:23 09:07:01 all 0.15 0.00 0.29 0.00 0.50 99.06 09:10:23 09:07:01 0 0.03 0.00 0.12 0.00 0.47 99.39 09:10:23 09:07:01 1 0.20 0.00 0.17 0.00 0.58 99.05 09:10:23 09:07:01 2 0.03 0.00 0.42 0.00 0.32 99.23 09:10:23 09:07:01 3 0.35 0.00 0.46 0.00 0.63 98.56 09:10:23 09:08:01 all 0.11 0.00 0.03 0.00 0.27 99.59 09:10:23 09:08:01 0 0.02 0.00 0.03 0.00 0.45 99.50 09:10:23 09:08:01 1 0.03 0.00 0.03 0.00 0.03 99.90 09:10:23 09:08:01 2 0.02 0.00 0.03 0.00 0.40 99.55 09:10:23 09:08:01 3 0.38 0.00 0.03 0.00 0.18 99.40 09:10:23 09:09:01 all 0.13 0.00 0.03 0.00 0.28 99.56 09:10:23 09:09:01 0 0.13 0.00 0.02 0.00 0.25 99.60 09:10:23 09:09:01 1 0.03 0.00 0.05 0.00 0.10 99.82 09:10:23 09:09:01 2 0.03 0.00 0.02 0.00 0.38 99.57 09:10:23 09:09:01 3 0.32 0.00 0.05 0.00 0.38 99.25 09:10:23 09:10:02 all 4.68 0.00 3.45 1.45 6.40 84.02 09:10:23 09:10:02 0 4.41 0.00 3.44 0.69 6.64 84.83 09:10:23 09:10:02 1 5.45 0.00 3.36 2.69 6.77 81.73 09:10:23 09:10:02 2 4.81 0.00 3.14 0.97 6.57 84.51 09:10:23 09:10:02 3 4.05 0.00 3.87 1.46 5.63 84.99 09:10:23 Average: all 2.25 0.00 1.08 0.38 2.02 94.27 09:10:23 Average: 0 2.26 0.00 1.05 0.15 2.03 94.51 09:10:23 Average: 1 1.96 0.00 1.03 0.41 2.11 94.49 09:10:23 Average: 2 2.55 0.00 1.05 0.24 1.96 94.20 09:10:23 Average: 3 2.22 0.00 1.21 0.73 1.97 93.87 09:10:23 09:10:23 09:10:23