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 b1d5a5466d97799f1d3c8c88635ac7056e9bea76 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13822 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 b1d5a5466d97799f1d3c8c88635ac7056e9bea76 Merge succeeded, producing b1d5a5466d97799f1d3c8c88635ac7056e9bea76 Checking out Revision b1d5a5466d97799f1d3c8c88635ac7056e9bea76 (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 b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # 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 b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # timeout=10 Commit message: "feat: autoevent adds buffer for sending event to coredata" First time build. Skipping changelog. > git rev-list --no-walk 21a5e02e5573075b8a0f1e54bd48fbb3635a306b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:00:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:00:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:00:35 ========================================================= 07:00:35 EdgeX Global Pipelines Version Info 07:00:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:00:36 ------------------- 07:00:36 stable info: 07:00:36 ------------------- 07:00:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:00:36 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:00:36 Message: update stable to v1.0.167 07:00:37 ------------------- 07:00:37 experimental info: 07:00:37 ------------------- 07:00:37 Commited By: **** collab-it+edgex@linuxfoundation.org 07:00:37 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:00:37 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:00:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:00:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:00:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:00:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:00:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:00:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1d5a5466d97799f1d3c8c88635ac7056e9bea76 [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1d5a54 [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:00:42 provisioning config files... 07:00:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config3869987186240739888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:43 ---> docker-login.sh 07:00:43 nexus3.edgexfoundry.org:10001 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 nexus3.edgexfoundry.org:10002 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 nexus3.edgexfoundry.org:10003 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:44 Configure a credential helper to remove this warning. See 07:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:44 07:00:44 Login Succeeded 07:00:44 nexus3.edgexfoundry.org:10004 07:00:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:44 Configure a credential helper to remove this warning. See 07:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:44 07:00:44 Login Succeeded 07:00:44 docker.io 07:00:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:44 Configure a credential helper to remove this warning. See 07:00:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:44 07:00:44 Login Succeeded 07:00:44 ---> docker-login.sh ends [Pipeline] } 07:00:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:45 + git log --format=format:%s -1 b1d5a5466d97799f1d3c8c88635ac7056e9bea76 [Pipeline] echo 07:00:45 GIT_COMMIT: b1d5a5466d97799f1d3c8c88635ac7056e9bea76, Commit Message: feat: autoevent adds buffer for sending event to coredata [Pipeline] echo 07:00:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:00:46 07:00:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:00:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:00:46 latest: Pulling from edgex-devops/git-semver 07:00:46 31603596830f: Pulling fs layer 07:00:46 2a8b12db71e7: Pulling fs layer 07:00:46 6ca5941a6612: Pulling fs layer 07:00:46 ecc8261a40a4: Pulling fs layer 07:00:46 ecc8261a40a4: Waiting 07:00:46 2a8b12db71e7: Verifying Checksum 07:00:46 2a8b12db71e7: Download complete 07:00:47 31603596830f: Verifying Checksum 07:00:47 31603596830f: Download complete 07:00:47 6ca5941a6612: Verifying Checksum 07:00:47 6ca5941a6612: Download complete 07:00:47 ecc8261a40a4: Verifying Checksum 07:00:47 ecc8261a40a4: Download complete 07:00:47 31603596830f: Pull complete 07:00:47 2a8b12db71e7: Pull complete 07:00:48 6ca5941a6612: Pull complete 07:00:48 ecc8261a40a4: Pull complete 07:00:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:00:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:00:49 prd-centos7-docker-4c-2g-13822 does not seem to be running inside a container 07:00:49 $ 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 07:00:51 $ docker top 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:00:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:51 [ssh-agent] Looking for ssh-agent implementation... 07:00:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:52 $ docker exec 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac ssh-agent 07:00:52 SSH_AUTH_SOCK=/tmp/ssh-LuQvlfFmt3Cp/agent.11 07:00:52 SSH_AGENT_PID=16 07:00:52 Running ssh-add (command line suppressed) 07:00:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8151032466080137491.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_8151032466080137491.key) 07:00:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:52 + git tag --points-at HEAD [Pipeline] } 07:00:52 $ docker exec --env ******** --env ******** 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac ssh-agent -k 07:00:52 unset SSH_AUTH_SOCK; 07:00:52 unset SSH_AGENT_PID; 07:00:52 echo Agent pid 16 killed; 07:00:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:00:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:53 [ssh-agent] Looking for ssh-agent implementation... 07:00:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:53 $ docker exec 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac ssh-agent 07:00:53 SSH_AUTH_SOCK=/tmp/ssh-5OT3paWRmrqJ/agent.44 07:00:53 SSH_AGENT_PID=49 07:00:53 Running ssh-add (command line suppressed) 07:00:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7638942578133703352.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_7638942578133703352.key) 07:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:54 + git semver init 07:00:54 # -> Open(): unable to determine branch for HEAD 07:00:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 07:00:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 07:00:54 # $SEMVER_REMOTE_NAME = origin 07:00:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:00:54 # $SEMVER_USER_NAME = edgex-jenkins 07:00:54 # $SEMVER_BRANCH = PR-661 07:00:54 # $SEMVER_TEMP = /tmp/semver-281105095 07:00:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:00:55 # '/tmp/semver-281105095' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 07:00:55 # -> Force: false 07:00:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 07:00:55 $ docker exec --env ******** --env ******** 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac ssh-agent -k 07:00:55 unset SSH_AUTH_SOCK; 07:00:55 unset SSH_AGENT_PID; 07:00:55 echo Agent pid 49 killed; 07:00:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:00:55 + git semver [Pipeline] } 07:00:55 $ docker stop --time=1 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac 07:00:57 $ docker rm -f 56697c5a2af04ee3664dcf130bd56337fb245ab05dbf4a25a1c86b45f83e3cac [Pipeline] // withDockerContainer [Pipeline] sh 07:00:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:00:58 Stashed 1 file(s) [Pipeline] echo 07:00:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:01:13 Still waiting to schedule task 07:01:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:01:13 Still waiting to schedule task 07:01:13 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:04:33 Running on prd-centos7-docker-4c-2g-13823 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 07:04:33 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:04:39 using credential edgex-jenkins-ssh 07:04:39 Cloning the remote Git repository 07:04:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:04:39 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:04:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:04:39 > git --version # timeout=10 07:04:39 > git --version # 'git version 2.24.3' 07:04:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:41 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit b1d5a5466d97799f1d3c8c88635ac7056e9bea76 07:04:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:04:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:04:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:04:40 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:40 > 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 07:04:41 > git config core.sparsecheckout # timeout=10 07:04:41 Merge succeeded, producing b1d5a5466d97799f1d3c8c88635ac7056e9bea76 07:04:41 Checking out Revision b1d5a5466d97799f1d3c8c88635ac7056e9bea76 (PR-661) 07:04:41 > git checkout -f b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # timeout=10 07:04:41 > git remote # timeout=10 07:04:41 > git config --get remote.origin.url # timeout=10 07:04:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:41 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 07:04:41 > git rev-parse HEAD^{commit} # timeout=10 07:04:41 > git config core.sparsecheckout # timeout=10 07:04:41 > git checkout -f b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # timeout=10 07:04:45 Commit message: "feat: autoevent adds buffer for sending event to coredata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:04:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:04:47 + sudo service docker restart 07:04:47 + true 07:04:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:04:49 provisioning config files... 07:04:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6945165880410318016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:49 ---> docker-login.sh 07:04:49 nexus3.edgexfoundry.org:10001 07:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:50 Configure a credential helper to remove this warning. See 07:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:50 07:04:50 Login Succeeded 07:04:50 nexus3.edgexfoundry.org:10002 07:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:50 Configure a credential helper to remove this warning. See 07:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:50 07:04:50 Login Succeeded 07:04:50 nexus3.edgexfoundry.org:10003 07:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:50 Configure a credential helper to remove this warning. See 07:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:50 07:04:50 Login Succeeded 07:04:50 nexus3.edgexfoundry.org:10004 07:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:51 Configure a credential helper to remove this warning. See 07:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:51 07:04:51 Login Succeeded 07:04:51 docker.io 07:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:51 Configure a credential helper to remove this warning. See 07:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:51 07:04:51 Login Succeeded 07:04:51 ---> docker-login.sh ends [Pipeline] } 07:04:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:04:52 ========================================================= 07:04:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:04:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:04:52 + 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 . 07:04:52 Sending build context to Docker daemon 2.37MB 07:04:52 Step 1/8 : ARG BASE=golang:1.15-alpine 07:04:52 Step 2/8 : FROM ${BASE} 07:04:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:04:53 df20fa9351a1: Pulling fs layer 07:04:53 ed8968b2872e: Pulling fs layer 07:04:53 a92cc7c5fd73: Pulling fs layer 07:04:53 e871e8e8d7a9: Pulling fs layer 07:04:53 e73272ec9a57: Pulling fs layer 07:04:53 1e910a182e73: Pulling fs layer 07:04:53 4e634b169226: Pulling fs layer 07:04:53 e871e8e8d7a9: Waiting 07:04:53 e73272ec9a57: Waiting 07:04:53 1e910a182e73: Waiting 07:04:53 4e634b169226: Waiting 07:04:53 a92cc7c5fd73: Verifying Checksum 07:04:53 a92cc7c5fd73: Download complete 07:04:53 ed8968b2872e: Verifying Checksum 07:04:53 ed8968b2872e: Download complete 07:04:53 e73272ec9a57: Download complete 07:04:54 1e910a182e73: Verifying Checksum 07:04:54 1e910a182e73: Download complete 07:04:54 df20fa9351a1: Verifying Checksum 07:04:54 df20fa9351a1: Download complete 07:04:54 df20fa9351a1: Pull complete 07:04:54 ed8968b2872e: Pull complete 07:04:54 a92cc7c5fd73: Pull complete 07:04:58 4e634b169226: Verifying Checksum 07:04:58 4e634b169226: Download complete 07:04:59 e871e8e8d7a9: Verifying Checksum 07:04:59 e871e8e8d7a9: Download complete 07:05:07 e871e8e8d7a9: Pull complete 07:05:07 e73272ec9a57: Pull complete 07:05:07 1e910a182e73: Pull complete 07:05:15 4e634b169226: Pull complete 07:05:15 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:05:15 ---> f7629b54cfaa 07:05:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:15 ---> Running in 17a9ea55021a 07:05:15 Removing intermediate container 17a9ea55021a 07:05:15 ---> 0a463955ae60 07:05:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:15 ---> Running in f35920dd681d 07:05:16 Removing intermediate container f35920dd681d 07:05:16 ---> 2818afcfd939 07:05:16 Step 5/8 : RUN apk add --no-cache make git 07:05:16 ---> Running in c3a47aeae17f 07:05:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:05:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13824 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 07:05:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:05:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:05:20 OK: 166 MiB in 39 packages 07:05:21 Removing intermediate container c3a47aeae17f 07:05:21 ---> 759e56e9f6e9 07:05:21 Step 6/8 : WORKDIR /device-sdk-go 07:05:21 ---> Running in 43f8512f47c2 07:05:21 Removing intermediate container 43f8512f47c2 07:05:21 ---> c8eb83b16d6e 07:05:21 Step 7/8 : COPY . . 07:05:22 ---> 1ee0f3584aa9 07:05:22 Step 8/8 : RUN go mod download 07:05:22 ---> Running in 3f87e9ea5d25 07:05:23 using credential edgex-jenkins-ssh 07:05:23 Cloning the remote Git repository 07:05:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:05:23 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:05:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:05:23 > git --version # timeout=10 07:05:23 > git --version # 'git version 2.17.1' 07:05:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:05:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:05:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:05:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:05:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:05:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:25 > 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 07:05:25 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit b1d5a5466d97799f1d3c8c88635ac7056e9bea76 07:05:26 Merge succeeded, producing b1d5a5466d97799f1d3c8c88635ac7056e9bea76 07:05:26 Checking out Revision b1d5a5466d97799f1d3c8c88635ac7056e9bea76 (PR-661) 07:05:25 > git config core.sparsecheckout # timeout=10 07:05:25 > git checkout -f b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # timeout=10 07:05:25 > git remote # timeout=10 07:05:25 > git config --get remote.origin.url # timeout=10 07:05:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:25 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 07:05:26 > git rev-parse HEAD^{commit} # timeout=10 07:05:26 > git config core.sparsecheckout # timeout=10 07:05:26 > git checkout -f b1d5a5466d97799f1d3c8c88635ac7056e9bea76 # timeout=10 07:05:30 Commit message: "feat: autoevent adds buffer for sending event to coredata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:05:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:05:32 + + sudotrue service 07:05:32 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:05:35 provisioning config files... 07:05:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config828355619814207948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:36 ---> docker-login.sh 07:05:36 nexus3.edgexfoundry.org:10001 07:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:37 Configure a credential helper to remove this warning. See 07:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:37 07:05:37 Login Succeeded 07:05:37 nexus3.edgexfoundry.org:10002 07:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:37 Configure a credential helper to remove this warning. See 07:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:37 07:05:37 Login Succeeded 07:05:37 nexus3.edgexfoundry.org:10003 07:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:38 Configure a credential helper to remove this warning. See 07:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:38 07:05:38 Login Succeeded 07:05:38 nexus3.edgexfoundry.org:10004 07:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:38 Configure a credential helper to remove this warning. See 07:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:38 07:05:38 Login Succeeded 07:05:38 docker.io 07:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:39 Configure a credential helper to remove this warning. See 07:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:39 07:05:39 Login Succeeded 07:05:39 ---> docker-login.sh ends [Pipeline] } 07:05:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:05:39 ========================================================= 07:05:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:05:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:05:40 + 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 . 07:05:41 Sending build context to Docker daemon 2.371MB 07:05:41 Step 1/8 : ARG BASE=golang:1.15-alpine 07:05:41 Step 2/8 : FROM ${BASE} 07:05:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:05:41 b538f80385f9: Pulling fs layer 07:05:41 74f711af9a0d: Pulling fs layer 07:05:41 99f96fe45779: Pulling fs layer 07:05:41 8529a6b9a6be: Pulling fs layer 07:05:41 45590311c82a: Pulling fs layer 07:05:41 69ca0ff8b7b3: Pulling fs layer 07:05:41 209524e5b208: Pulling fs layer 07:05:41 8529a6b9a6be: Waiting 07:05:41 69ca0ff8b7b3: Waiting 07:05:41 45590311c82a: Waiting 07:05:41 209524e5b208: Waiting 07:05:41 99f96fe45779: Download complete 07:05:41 74f711af9a0d: Verifying Checksum 07:05:41 45590311c82a: Verifying Checksum 07:05:41 45590311c82a: Download complete 07:05:41 69ca0ff8b7b3: Verifying Checksum 07:05:41 69ca0ff8b7b3: Download complete 07:05:41 b538f80385f9: Verifying Checksum 07:05:41 b538f80385f9: Download complete 07:05:41 b538f80385f9: Pull complete 07:05:42 74f711af9a0d: Pull complete 07:05:42 99f96fe45779: Pull complete 07:05:43 209524e5b208: Verifying Checksum 07:05:43 209524e5b208: Download complete 07:05:44 8529a6b9a6be: Verifying Checksum 07:05:44 8529a6b9a6be: Download complete 07:05:45 Removing intermediate container 3f87e9ea5d25 07:05:45 ---> 084746715420 07:05:45 Successfully built 084746715420 07:05:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:05:45 + docker inspect -f . ci-base-image-x86_64 07:05:45 . [Pipeline] withDockerContainer 07:05:46 prd-centos7-docker-4c-2g-13823 does not seem to be running inside a container 07:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:05:47 $ docker top e5e159bad94a7d3272a88f63f528ba7a38c2824b147f918282c60bafb8b62f26 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:48 + go version 07:05:48 go version go1.15.2 linux/amd64 [Pipeline] } 07:05:48 $ docker stop --time=1 e5e159bad94a7d3272a88f63f528ba7a38c2824b147f918282c60bafb8b62f26 07:05:49 $ docker rm -f e5e159bad94a7d3272a88f63f528ba7a38c2824b147f918282c60bafb8b62f26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:05:51 + docker inspect -f . ci-base-image-x86_64 07:05:51 . [Pipeline] withDockerContainer 07:05:51 prd-centos7-docker-4c-2g-13823 does not seem to be running inside a container 07:05:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:05:52 $ docker top 93f18d9e5b7e7603da37d37a8ed5b9947c2e9528eb78cecc83f0a7c26525c2f5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:52 + make test 07:05:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:05:54 8529a6b9a6be: Pull complete 07:05:55 45590311c82a: Pull complete 07:05:55 69ca0ff8b7b3: Pull complete 07:05:59 209524e5b208: Pull complete 07:05:59 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:05:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:05:59 ---> 5bddaf1c2fca 07:05:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:06:02 ---> Running in 228603a7a452 07:06:02 Removing intermediate container 228603a7a452 07:06:02 ---> bf425f3a4202 07:06:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:06:02 ---> Running in e14f8716d0c8 07:06:04 Removing intermediate container e14f8716d0c8 07:06:04 ---> 5f77b5f3d826 07:06:04 Step 5/8 : RUN apk add --no-cache make git 07:06:04 ---> Running in cbf9f5c7b2cf 07:06:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:06:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:06:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:06:08 OK: 142 MiB in 39 packages 07:06:09 Removing intermediate container cbf9f5c7b2cf 07:06:09 ---> 0a8a2aa8bb83 07:06:09 Step 6/8 : WORKDIR /device-sdk-go 07:06:09 ---> Running in 74140e1ca9ac 07:06:10 Removing intermediate container 74140e1ca9ac 07:06:10 ---> 77ca05adc5a0 07:06:10 Step 7/8 : COPY . . 07:06:11 ---> 3d37fc641180 07:06:11 Step 8/8 : RUN go mod download 07:06:11 ---> Running in 0da26388e371 07:06:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:06:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:06:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:06:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.098s coverage: 20.0% of statements 07:06:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.544s coverage: 97.1% of statements 07:06:33 Removing intermediate container 0da26388e371 07:06:33 ---> a3189b23effa 07:06:33 Successfully built a3189b23effa 07:06:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:06:34 + docker inspect -f . ci-base-image-arm64 07:06:34 . [Pipeline] withDockerContainer 07:06:34 prd-ubuntu18.04-docker-arm64-4c-16g-13824 does not seem to be running inside a container 07:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:06:35 $ docker top 49035878c90678e8805ff1298c5674e8cac2e2243b5cf7c6921cdc7f2b476ac7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:36 + go version 07:06:36 go version go1.15.2 linux/arm64 [Pipeline] } 07:06:36 $ docker stop --time=1 49035878c90678e8805ff1298c5674e8cac2e2243b5cf7c6921cdc7f2b476ac7 07:06:38 $ docker rm -f 49035878c90678e8805ff1298c5674e8cac2e2243b5cf7c6921cdc7f2b476ac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:06:47 + docker inspect -f . ci-base-image-arm64 07:06:47 . [Pipeline] withDockerContainer 07:06:47 prd-ubuntu18.04-docker-arm64-4c-16g-13824 does not seem to be running inside a container 07:06:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:06:49 $ docker top e4855fd631e0828ea06e3b4a34f55b32f4f7b90631dd4b5b91f5c2dc90399d02 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:50 + make test 07:06:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:07:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.069s coverage: 9.4% of statements 07:07:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.065s coverage: 21.9% of statements 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:07:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.288s coverage: 42.5% of statements 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:07:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 68.9% of statements 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:07:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.084s coverage: 52.6% of statements 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:07:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:07:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.105s coverage: 68.9% of statements 07:07:00 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.081s coverage: 4.7% of statements 07:07:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:07:00 GO111MODULE=on go vet ./... 07:07:10 gofmt -l . 07:07:10 [ "`gofmt -l .`" = "" ] 07:07:10 ./bin/test-attribution-txt.sh 07:07:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:07:11 $ docker stop --time=1 93f18d9e5b7e7603da37d37a8ed5b9947c2e9528eb78cecc83f0a7c26525c2f5 07:07:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:07:14 $ docker rm -f 93f18d9e5b7e7603da37d37a8ed5b9947c2e9528eb78cecc83f0a7c26525c2f5 [Pipeline] // withDockerContainer [Pipeline] sh 07:07:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:07:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:07:20 + ls -al . 07:07:20 total 208 07:07:20 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 30 07:07 . 07:07:20 drwxrwxr-x. 4 jenkins jenkins 28 Nov 30 07:04 .. 07:07:20 drwxrwxr-x. 2 jenkins jenkins 64 Nov 30 07:04 bin 07:07:20 -rw-r--r--. 1 jenkins jenkins 127698 Nov 30 07:06 coverage.out 07:07:20 -rw-rw-r--. 1 jenkins jenkins 936 Nov 30 07:04 Dockerfile.build 07:07:20 -rw-rw-r--. 1 jenkins jenkins 140 Nov 30 07:04 .dockerignore 07:07:20 drwxrwxr-x. 4 jenkins jenkins 48 Nov 30 07:04 example 07:07:20 drwxrwxr-x. 8 jenkins jenkins 179 Nov 30 07:04 .git 07:07:20 drwxrwxr-x. 2 jenkins jenkins 60 Nov 30 07:04 .github 07:07:20 -rw-rw-r--. 1 jenkins jenkins 138 Nov 30 07:04 .gitignore 07:07:20 -rw-r--r--. 1 jenkins jenkins 518 Nov 30 07:07 go.mod 07:07:20 -rw-r--r--. 1 jenkins jenkins 13631 Nov 30 07:07 go.sum 07:07:20 drwxrwxr-x. 15 jenkins jenkins 211 Nov 30 07:04 internal 07:07:20 -rw-rw-r--. 1 jenkins jenkins 901 Nov 30 07:04 Jenkinsfile 07:07:20 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 30 07:04 LICENSE 07:07:20 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 30 07:04 Makefile 07:07:20 drwxrwxr-x. 4 jenkins jenkins 26 Nov 30 07:04 openapi 07:07:20 drwxrwxr-x. 5 jenkins jenkins 50 Nov 30 07:04 pkg 07:07:20 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 30 07:04 README.md 07:07:20 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 30 07:04 RELEASE-NOTES.txt 07:07:20 drwxrwxr-x. 4 jenkins jenkins 54 Nov 30 07:04 snap 07:07:20 -rw-rw-r--. 1 jenkins jenkins 5 Nov 30 07:00 VERSION 07:07:20 -rw-rw-r--. 1 jenkins jenkins 222 Nov 30 07:04 version.go [Pipeline] isUnix [Pipeline] sh 07:07:20 + 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=b1d5a5466d97799f1d3c8c88635ac7056e9bea76 --label arch=amd64 --label version=0.0.0 . 07:07:20 Sending build context to Docker daemon 2.498MB 07:07:21 Step 1/24 : ARG BASE=golang:1.15-alpine 07:07:21 Step 2/24 : FROM ${BASE} AS builder 07:07:21 ---> 084746715420 07:07:21 Step 3/24 : ARG MAKE='make build' 07:07:21 ---> Running in dc7057a579b7 07:07:21 Removing intermediate container dc7057a579b7 07:07:21 ---> 630b76d999ae 07:07:21 Step 4/24 : WORKDIR /device-sdk-go 07:07:21 ---> Running in 9146bbd07e87 07:07:22 Removing intermediate container 9146bbd07e87 07:07:22 ---> 69ab076e14dc 07:07:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:07:22 ---> Running in b19f0782f129 07:07:22 Removing intermediate container b19f0782f129 07:07:22 ---> fe4ac784c659 07:07:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:07:22 ---> Running in 5b1dccea8882 07:07:23 Removing intermediate container 5b1dccea8882 07:07:23 ---> dc4661db9a48 07:07:23 Step 7/24 : RUN apk add --update --no-cache make git 07:07:23 ---> Running in d9b921d26291 07:07:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:07:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:07:26 OK: 166 MiB in 39 packages 07:07:26 Removing intermediate container d9b921d26291 07:07:26 ---> a66b36ea78e4 07:07:26 Step 8/24 : COPY . . 07:07:27 ---> 7c92e98c6731 07:07:27 Step 9/24 : RUN ${MAKE} 07:07:27 ---> Running in ed1a28c9c899 07:07:28 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 07:07:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:07:41 Removing intermediate container ed1a28c9c899 07:07:41 ---> 1828edecf9ce 07:07:41 Step 10/24 : FROM scratch 07:07:41 ---> 07:07:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:07:41 ---> Running in 8e0d7de1627c 07:07:42 Removing intermediate container 8e0d7de1627c 07:07:42 ---> f2442e80268e 07:07:42 Step 12/24 : ENV APP_PORT=49990 07:07:42 ---> Running in 09904f90f8cf 07:07:42 Removing intermediate container 09904f90f8cf 07:07:42 ---> 6cdc52da3803 07:07:42 Step 13/24 : EXPOSE $APP_PORT 07:07:42 ---> Running in a0d2566eb492 07:07:42 Removing intermediate container a0d2566eb492 07:07:42 ---> 4d3203b4c9f1 07:07:42 Step 14/24 : WORKDIR / 07:07:42 ---> Running in bff886f64a41 07:07:42 Removing intermediate container bff886f64a41 07:07:42 ---> c3d2324288e4 07:07:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:07:44 ---> d9e58ccf7656 07:07:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:07:44 ---> f58fbc1b4e33 07:07:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:07:44 ---> 3a8333a53556 07:07:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:07:44 ---> 1e1e42da050f 07:07:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:07:45 ---> 99870c907368 07:07:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:07:45 ---> Running in 4b8238a55031 07:07:45 Removing intermediate container 4b8238a55031 07:07:45 ---> a8fa5abebaf9 07:07:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:07:45 ---> Running in ca69eae5d284 07:07:45 Removing intermediate container ca69eae5d284 07:07:45 ---> 70a056efc8c6 07:07:45 Step 22/24 : LABEL arch=amd64 07:07:45 ---> Running in fef2c3a99f15 07:07:45 Removing intermediate container fef2c3a99f15 07:07:45 ---> 28eaa4283fe9 07:07:45 Step 23/24 : LABEL git_sha=b1d5a5466d97799f1d3c8c88635ac7056e9bea76 07:07:45 ---> Running in 719bae0d4ee5 07:07:45 Removing intermediate container 719bae0d4ee5 07:07:45 ---> 70aef7daa84c 07:07:45 Step 24/24 : LABEL version=0.0.0 07:07:46 ---> Running in adaa8f6adc5f 07:07:46 Removing intermediate container adaa8f6adc5f 07:07:46 ---> ffdc6d281b38 07:07:46 [Warning] One or more build-args [ARCH] were not consumed 07:07:46 Successfully built ffdc6d281b38 07:07:46 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] } 07:07:51 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:07:51 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:07:51 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:07:51 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.141s coverage: 20.0% of statements 07:07:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.133s coverage: 97.1% of statements 07:08:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.184s coverage: 9.4% of statements 07:08:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.9% of statements 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:08:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.558s coverage: 42.5% of statements 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:08:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.763s coverage: 68.9% of statements 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:08:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:08:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:08:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.729s coverage: 68.9% of statements 07:08:22 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.7% of statements 07:08:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:08:22 GO111MODULE=on go vet ./... 07:08:55 gofmt -l . 07:08:55 [ "`gofmt -l .`" = "" ] 07:08:55 ./bin/test-attribution-txt.sh 07:08:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:08:55 $ docker stop --time=1 e4855fd631e0828ea06e3b4a34f55b32f4f7b90631dd4b5b91f5c2dc90399d02 07:08:58 $ docker rm -f e4855fd631e0828ea06e3b4a34f55b32f4f7b90631dd4b5b91f5c2dc90399d02 [Pipeline] // withDockerContainer [Pipeline] sh 07:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:08:59 Warning: overwriting stash ‘coverage-report’ 07:09:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:09:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:09:01 + ls -al . 07:09:01 total 244 07:09:01 drwxrwxr-x 10 jenkins jenkins 4096 Nov 30 07:08 . 07:09:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 07:05 .. 07:09:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 30 07:05 .dockerignore 07:09:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 07:05 .git 07:09:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 07:05 .github 07:09:01 -rw-rw-r-- 1 jenkins jenkins 138 Nov 30 07:05 .gitignore 07:09:01 -rw-rw-r-- 1 jenkins jenkins 936 Nov 30 07:05 Dockerfile.build 07:09:01 -rw-rw-r-- 1 jenkins jenkins 901 Nov 30 07:05 Jenkinsfile 07:09:01 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 30 07:05 LICENSE 07:09:01 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 30 07:05 Makefile 07:09:01 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 30 07:05 README.md 07:09:01 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 30 07:05 RELEASE-NOTES.txt 07:09:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 07:00 VERSION 07:09:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 07:05 bin 07:09:01 -rw-r--r-- 1 jenkins jenkins 127698 Nov 30 07:08 coverage.out 07:09:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 07:05 example 07:09:01 -rw-r--r-- 1 jenkins jenkins 518 Nov 30 07:08 go.mod 07:09:01 -rw-r--r-- 1 jenkins jenkins 13631 Nov 30 07:08 go.sum 07:09:01 drwxrwxr-x 15 jenkins jenkins 4096 Nov 30 07:05 internal 07:09:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 07:05 openapi 07:09:01 drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 07:05 pkg 07:09:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 07:05 snap 07:09:01 -rw-rw-r-- 1 jenkins jenkins 222 Nov 30 07:05 version.go [Pipeline] isUnix [Pipeline] sh 07:09:01 + 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=b1d5a5466d97799f1d3c8c88635ac7056e9bea76 --label arch=arm64 --label version=0.0.0 . 07:09:02 Sending build context to Docker daemon 2.499MB 07:09:02 Step 1/24 : ARG BASE=golang:1.15-alpine 07:09:02 Step 2/24 : FROM ${BASE} AS builder 07:09:02 ---> a3189b23effa 07:09:02 Step 3/24 : ARG MAKE='make build' 07:09:02 ---> Running in 136ef5fd5008 07:09:03 Removing intermediate container 136ef5fd5008 07:09:03 ---> f2ae320a45dc 07:09:03 Step 4/24 : WORKDIR /device-sdk-go 07:09:03 ---> Running in bd24176a071a 07:09:03 Removing intermediate container bd24176a071a 07:09:03 ---> a10ff3190a46 07:09:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:09:03 ---> Running in a907d3bb40e1 07:09:04 Removing intermediate container a907d3bb40e1 07:09:04 ---> 5623e5ede0a3 07:09:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:09:04 ---> Running in e40cb043346e 07:09:06 Removing intermediate container e40cb043346e 07:09:06 ---> 6b18c26452e7 07:09:06 Step 7/24 : RUN apk add --update --no-cache make git 07:09:06 ---> Running in 1f92d2aa7a7f 07:09:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:09:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:09:09 OK: 142 MiB in 39 packages 07:09:10 Removing intermediate container 1f92d2aa7a7f 07:09:10 ---> 2ce04be81d96 07:09:10 Step 8/24 : COPY . . 07:09:12 ---> f6d3cf4c48fd 07:09:12 Step 9/24 : RUN ${MAKE} 07:09:12 ---> Running in 0554a43a6891 07:09: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 07:09:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:09:39 Removing intermediate container 0554a43a6891 07:09:39 ---> 0eccbb338cb6 07:09:39 Step 10/24 : FROM scratch 07:09:39 ---> 07:09:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:09:39 ---> Running in cfbf1f239494 07:09:40 Removing intermediate container cfbf1f239494 07:09:40 ---> fc032e204958 07:09:40 Step 12/24 : ENV APP_PORT=49990 07:09:40 ---> Running in b0ca4fad3ca8 07:09:40 Removing intermediate container b0ca4fad3ca8 07:09:40 ---> 8704bfbb358a 07:09:40 Step 13/24 : EXPOSE $APP_PORT 07:09:40 ---> Running in 2a8227c7dff3 07:09:41 Removing intermediate container 2a8227c7dff3 07:09:41 ---> d46a38e46040 07:09:41 Step 14/24 : WORKDIR / 07:09:41 ---> Running in b689dff5e45d 07:09:41 Removing intermediate container b689dff5e45d 07:09:41 ---> dea8615ec841 07:09:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:09:43 ---> 6609bdd2458f 07:09:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:09:43 ---> e0a4528cd501 07:09:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:09:44 ---> 0703d2d28d94 07:09:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:09:44 ---> fb98b41fcaa8 07:09:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:09:45 ---> 789e8a650320 07:09:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:09:45 ---> Running in a2a3a1418adf 07:09:46 Removing intermediate container a2a3a1418adf 07:09:46 ---> d9ffd404c2e1 07:09:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:09:46 ---> Running in 7d5243f2e292 07:09:46 Removing intermediate container 7d5243f2e292 07:09:46 ---> f92fc60e99b7 07:09:46 Step 22/24 : LABEL arch=arm64 07:09:46 ---> Running in 839e9b281969 07:09:47 Removing intermediate container 839e9b281969 07:09:47 ---> 86aaa3b5b8f3 07:09:47 Step 23/24 : LABEL git_sha=b1d5a5466d97799f1d3c8c88635ac7056e9bea76 07:09:47 ---> Running in b3843b2d3376 07:09:47 Removing intermediate container b3843b2d3376 07:09:47 ---> 98970a0a1f6c 07:09:47 Step 24/24 : LABEL version=0.0.0 07:09:47 ---> Running in 4f44d35ff38c 07:09:48 Removing intermediate container 4f44d35ff38c 07:09:48 ---> 29f5c946864c 07:09:48 [Warning] One or more build-args [ARCH] were not consumed 07:09:48 Successfully built 29f5c946864c 07:09:48 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 07:09:51 provisioning config files... 07:09:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config5676035217088400421tmp [Pipeline] { [Pipeline] sh 07:09:52 + set +x 07:09:52 + curl -s https://codecov.io/bash 07:09:52 + bash -s -- 07:09:52 07:09:52 _____ _ 07:09:52 / ____| | | 07:09:52 | | ___ __| | ___ ___ _____ __ 07:09:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:09:52 | |___| (_) | (_| | __/ (_| (_) \ V / 07:09:52 \_____\___/ \__,_|\___|\___\___/ \_/ 07:09:52 Bash-20201124-79cbc08 07:09:52 07:09:52 07:09:52 ==> Jenkins CI detected. 07:09:52 project root: . 07:09:52 --> token set from env 07:09:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:09:52 ==> Running gcov in . (disable via -X gcov) 07:09:52 ==> Python coveragepy not found 07:09:52 ==> Searching for coverage reports in: 07:09:52 + . 07:09:52 -> Found 1 reports 07:09:52 ==> Detecting git/mercurial file structure 07:09:52 ==> Reading reports 07:09:52 + ./coverage.out bytes=127698 07:09:52 ==> Appending adjustments 07:09:52 https://docs.codecov.io/docs/fixing-reports 07:09:52 + Found adjustments 07:09:52 ==> Gzipping contents 07:09:52 24K /tmp/codecov.booFbI.gz 07:09:52 ==> Uploading reports 07:09:52 url: https://codecov.io 07:09:52 query: branch=PR-661&commit=b1d5a5466d97799f1d3c8c88635ac7056e9bea76&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 07:09:52 -> Pinging Codecov 07:09:52 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-661&commit=b1d5a5466d97799f1d3c8c88635ac7056e9bea76&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 07:09:53 -> Uploading to 07:09:53 https://storage.googleapis.com/codecov/v4/raw/2020-11-30/7E55EF52A471D76F132DFD9A03CDDE97/b1d5a5466d97799f1d3c8c88635ac7056e9bea76/aac93edb-03d4-4d99-ae04-e2d3f7385ffb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201130T070953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f84444a6919854a8344560a3520b3889329ebf973a78c77af7ee94ac95661585 07:09:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:09:53 Dload Upload Total Spent Left Speed 07:09:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20866 0 0 100 20866 0 45758 --:--:-- --:--:-- --:--:-- 45758 07:09:54 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b1d5a5466d97799f1d3c8c88635ac7056e9bea76 [Pipeline] } 07:09:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:10:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:10:00 ---> package-listing.sh 07:10:00 ++ facter osfamily 07:10:00 ++ tr '[:upper:]' '[:lower:]' 07:10:00 + OS_FAMILY=redhat 07:10:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 07:10:00 + START_PACKAGES=/tmp/packages_start.txt 07:10:00 + END_PACKAGES=/tmp/packages_end.txt 07:10:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:10:00 + PACKAGES=/tmp/packages_start.txt 07:10:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 07:10:00 + PACKAGES=/tmp/packages_end.txt 07:10:00 + case "${OS_FAMILY}" in 07:10:00 + rpm -qa 07:10:00 + sort 07:10:05 + '[' -f /tmp/packages_start.txt ']' 07:10:05 + '[' -f /tmp/packages_end.txt ']' 07:10:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:10:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 07:10:05 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 07:10:05 + 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 07:10:06 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 07:10:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:10:06 07:10:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:10:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:10:06 alpine: Pulling from edgex-lftools-log-publisher 07:10:06 df20fa9351a1: Pulling fs layer 07:10:06 36b3adc4ff6f: Pulling fs layer 07:10:06 8ad3a11d3b57: Pulling fs layer 07:10:06 46f8f816bc3b: Pulling fs layer 07:10:06 93b61091891f: Pulling fs layer 07:10:06 93b9cdb0e59b: Pulling fs layer 07:10:06 5e14af77c1be: Pulling fs layer 07:10:06 01666e4c0597: Pulling fs layer 07:10:06 aa168da1d23b: Pulling fs layer 07:10:06 46f8f816bc3b: Waiting 07:10:06 93b61091891f: Waiting 07:10:06 93b9cdb0e59b: Waiting 07:10:06 5e14af77c1be: Waiting 07:10:06 aa168da1d23b: Waiting 07:10:06 36b3adc4ff6f: Verifying Checksum 07:10:06 36b3adc4ff6f: Download complete 07:10:07 46f8f816bc3b: Verifying Checksum 07:10:07 46f8f816bc3b: Download complete 07:10:07 df20fa9351a1: Verifying Checksum 07:10:07 df20fa9351a1: Download complete 07:10:07 93b9cdb0e59b: Verifying Checksum 07:10:07 93b9cdb0e59b: Download complete 07:10:07 5e14af77c1be: Verifying Checksum 07:10:07 5e14af77c1be: Download complete 07:10:07 01666e4c0597: Verifying Checksum 07:10:07 01666e4c0597: Download complete 07:10:07 93b61091891f: Download complete 07:10:07 8ad3a11d3b57: Verifying Checksum 07:10:07 8ad3a11d3b57: Download complete 07:10:07 df20fa9351a1: Pull complete 07:10:07 36b3adc4ff6f: Pull complete 07:10:08 8ad3a11d3b57: Pull complete 07:10:08 46f8f816bc3b: Pull complete 07:10:09 aa168da1d23b: Verifying Checksum 07:10:09 aa168da1d23b: Download complete 07:10:09 93b61091891f: Pull complete 07:10:09 93b9cdb0e59b: Pull complete 07:10:09 5e14af77c1be: Pull complete 07:10:09 01666e4c0597: Pull complete 07:10:18 aa168da1d23b: Pull complete 07:10:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:10:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:10:18 prd-centos7-docker-4c-2g-13822 does not seem to be running inside a container 07:10:18 $ 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 07:10:21 $ docker top 2144cf46a0d49dd447d0c6ec0acc277c63452eeace63db4be76663dd3478839a -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:22 + touch /tmp/pre-build-complete [Pipeline] sh 07:10:22 + mkdir -p /var/log/sa [Pipeline] sh 07:10:23 + ls /var/log/sa-host 07:10:23 + sadf -c /var/log/sa-host/sa23 07:10:23 file_magic: OK 07:10:23 HZ: Using current value: 100 07:10:23 file_header: OK 07:10:23 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 07:10:23 Statistics: 07:10:23 Hnuu...uuuununununu... 07:10:23 File successfully converted to sysstat format version 12.2.1 07:10:23 + sadf -c /var/log/sa-host/sa30 07:10:23 file_magic: OK 07:10:23 HZ: Using current value: 100 07:10:23 file_header: OK 07:10:23 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 07:10:23 Statistics: 07:10:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:10:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:24 provisioning config files... 07:10:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config7059628787698211364tmp [Pipeline] { [Pipeline] echo 07:10:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:10:24 ---> create-netrc.sh [Pipeline] } 07:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:10:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:10:25 ---> python-tools-install.sh [Pipeline] echo 07:10:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:10:25 ---> sudo-logs.sh 07:10:25 Archiving 'sudo' log.. [Pipeline] echo 07:10:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:10:25 ---> job-cost.sh 07:10:25 lf-activate-venv: SKIPPING 07:10:25 INFO: No Stack... 07:10:26 INFO: Retrieving Pricing Info for: v1-standard-2 07:10:27 INFO: Archiving Costs [Pipeline] echo 07:10:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:10:27 ---> logs-deploy.sh 07:10:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/2 07:10:27 INFO: archiving workspace using pattern(s): 07:10:29 Archives upload complete. 07:10:29 INFO: archiving logs to Nexus 07:10:30 ---> uname -a: 07:10:30 Linux prd-centos7-docker-4c-2g-13822.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:10:30 07:10:30 07:10:30 ---> lscpu: 07:10:30 Architecture: x86_64 07:10:30 CPU op-mode(s): 32-bit, 64-bit 07:10:30 Byte Order: Little Endian 07:10:30 Address sizes: 40 bits physical, 48 bits virtual 07:10:30 CPU(s): 4 07:10:30 On-line CPU(s) list: 0-3 07:10:30 Thread(s) per core: 1 07:10:30 Core(s) per socket: 1 07:10:30 Socket(s): 4 07:10:30 NUMA node(s): 1 07:10:30 Vendor ID: GenuineIntel 07:10:30 CPU family: 6 07:10:30 Model: 44 07:10:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:10:30 Stepping: 1 07:10:30 CPU MHz: 2933.438 07:10:30 BogoMIPS: 5866.87 07:10:30 Virtualization: VT-x 07:10:30 Hypervisor vendor: KVM 07:10:30 Virtualization type: full 07:10:30 L1d cache: 128 KiB 07:10:30 L1i cache: 128 KiB 07:10:30 L2 cache: 16 MiB 07:10:30 L3 cache: 64 MiB 07:10:30 NUMA node0 CPU(s): 0-3 07:10:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:10:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:10:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:10:30 Vulnerability Meltdown: Mitigation; PTI 07:10:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:10:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:10:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:10:30 Vulnerability Srbds: Not affected 07:10:30 Vulnerability Tsx async abort: Not affected 07:10:30 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 07:10:30 07:10:30 07:10:30 ---> nproc: 07:10:30 4 07:10:30 07:10:30 07:10:30 ---> df -h: 07:10:30 Filesystem Size Used Available Use% Mounted on 07:10:30 overlay 50.0G 7.3G 42.7G 15% / 07:10:30 tmpfs 64.0M 0 64.0M 0% /dev 07:10:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:10:30 shm 64.0M 0 64.0M 0% /dev/shm 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:10:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:10:30 07:10:30 07:10:30 ---> free -m: 07:10:30 total used free shared buff/cache available 07:10:30 Mem: 1837 713 101 0 1021 1018 07:10:30 Swap: 1023 1 1022 07:10:30 07:10:30 07:10:30 ---> ip addr: 07:10:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:10:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:10:30 inet 127.0.0.1/8 scope host lo 07:10:30 valid_lft forever preferred_lft forever 07:10:30 inet6 ::1/128 scope host 07:10:30 valid_lft forever preferred_lft forever 07:10:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:10:30 link/ether fa:16:3e:a8:ae:e0 brd ff:ff:ff:ff:ff:ff 07:10:30 inet 10.30.123.85/23 brd 10.30.123.255 scope global dynamic eth0 07:10:30 valid_lft 85771sec preferred_lft 85771sec 07:10:30 inet6 fe80::f816:3eff:fea8:aee0/64 scope link 07:10:30 valid_lft forever preferred_lft forever 07:10:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:10:30 link/ether 02:42:b6:b5:84:24 brd ff:ff:ff:ff:ff:ff 07:10:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:10:30 valid_lft forever preferred_lft forever 07:10:30 inet6 fe80::42:b6ff:feb5:8424/64 scope link 07:10:30 valid_lft forever preferred_lft forever 07:10:30 07:10:30 07:10:30 ---> sar -b -r -n DEV: 07:10:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/30/20 _x86_64_ (4 CPU) 07:10:30 07:10:30 06:59:50 LINUX RESTART (4 CPU) 07:10:30 07:10:30 07:01:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:10:30 07:02:01 3.28 0.10 3.18 0.00 2.93 109.89 0.00 07:10:30 07:03:01 0.40 0.00 0.40 0.00 0.00 6.09 0.00 07:10:30 07:04:01 0.20 0.00 0.20 0.00 0.00 1.63 0.00 07:10:30 07:05:01 0.28 0.00 0.28 0.00 0.00 3.46 0.00 07:10:30 07:06:01 0.35 0.00 0.35 0.00 0.00 5.23 0.00 07:10:30 07:07:01 0.23 0.00 0.23 0.00 0.00 2.20 0.00 07:10:30 07:08:01 0.23 0.00 0.23 0.00 0.00 1.77 0.00 07:10:30 07:09:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 07:10:30 07:10:01 10.44 10.14 0.30 0.00 1082.70 9.31 0.00 07:10:30 Average: 1.73 1.14 0.59 0.00 120.63 15.72 0.00 07:10:30 07:10:30 07:01:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:10:30 07:02:01 151568 0 608984 32.37 2620 1118372 1084632 37.02 450676 1080796 20 07:10:30 07:03:01 152020 0 608528 32.34 2620 1118376 1080520 36.88 450376 1080988 8 07:10:30 07:04:01 149996 0 610548 32.45 2620 1118380 1080520 36.88 463136 1069868 8 07:10:30 07:05:01 147064 0 613476 32.60 2620 1118384 1080724 36.88 464796 1071104 8 07:10:30 07:06:01 146432 0 614104 32.64 2620 1118388 1080652 36.88 470224 1066612 8 07:10:30 07:07:01 147292 0 613236 32.59 2620 1118396 1080520 36.88 471548 1064416 8 07:10:30 07:08:01 147432 0 613096 32.58 2620 1118396 1080520 36.88 471424 1064416 8 07:10:30 07:09:01 147596 0 612924 32.58 2620 1118404 1080520 36.88 471676 1064416 8 07:10:30 07:10:01 98048 0 629952 33.48 2620 1150924 1109664 37.87 487904 1096096 88 07:10:30 Average: 143050 0 613872 32.63 2620 1122002 1084252 37.00 466862 1073190 18 07:10:30 07:10:30 07:01:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:10:30 07:02:01 eth0 0.12 0.12 0.01 0.02 0.00 0.00 0.00 0.00 07:10:30 07:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:03:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:10:30 07:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:04:01 eth0 1.07 0.08 0.09 0.01 0.00 0.00 0.00 0.00 07:10:30 07:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:05:01 eth0 1.37 0.52 0.38 0.21 0.00 0.00 0.00 0.00 07:10:30 07:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:06:01 eth0 0.68 0.48 0.40 0.27 0.00 0.00 0.00 0.00 07:10:30 07:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:07:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:10:30 07:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:08:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 07:10:30 07:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:09:01 eth0 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:10:01 eth0 8.88 5.78 8.59 3.24 0.00 0.00 0.00 0.00 07:10:30 07:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 Average: eth0 1.38 0.80 1.06 0.42 0.00 0.00 0.00 0.00 07:10:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:30 07:10:30 07:10:30 ---> sar -P ALL: 07:10:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/30/20 _x86_64_ (4 CPU) 07:10:30 07:10:30 06:59:50 LINUX RESTART (4 CPU) 07:10:30 07:10:30 07:01:01 CPU %user %nice %system %iowait %steal %idle 07:10:30 07:02:01 all 0.19 0.00 0.07 0.00 0.00 99.73 07:10:30 07:02:01 0 0.08 0.00 0.07 0.00 0.00 99.85 07:10:30 07:02:01 1 0.08 0.00 0.10 0.00 0.00 99.82 07:10:30 07:02:01 2 0.55 0.00 0.07 0.00 0.00 99.38 07:10:30 07:02:01 3 0.05 0.00 0.07 0.00 0.00 99.88 07:10:30 07:03:01 all 0.15 0.00 0.04 0.00 0.00 99.81 07:10:30 07:03:01 0 0.45 0.00 0.02 0.00 0.00 99.53 07:10:30 07:03:01 1 0.07 0.00 0.03 0.00 0.00 99.90 07:10:30 07:03:01 2 0.03 0.00 0.03 0.00 0.00 99.93 07:10:30 07:03:01 3 0.03 0.00 0.07 0.00 0.02 99.88 07:10:30 07:04:01 all 0.21 0.00 0.20 0.00 0.00 99.59 07:10:30 07:04:01 0 0.52 0.00 0.08 0.00 0.00 99.40 07:10:30 07:04:01 1 0.10 0.00 0.20 0.00 0.00 99.70 07:10:30 07:04:01 2 0.10 0.00 0.27 0.00 0.00 99.63 07:10:30 07:04:01 3 0.12 0.00 0.27 0.00 0.00 99.62 07:10:30 07:05:01 all 0.18 0.00 0.05 0.00 0.00 99.78 07:10:30 07:05:01 0 0.53 0.00 0.03 0.00 0.00 99.43 07:10:30 07:05:01 1 0.07 0.00 0.03 0.00 0.00 99.90 07:10:30 07:05:01 2 0.08 0.00 0.07 0.00 0.00 99.85 07:10:30 07:05:01 3 0.03 0.00 0.05 0.00 0.00 99.92 07:10:30 07:06:01 all 0.16 0.00 0.05 0.00 0.00 99.79 07:10:30 07:06:01 0 0.15 0.00 0.07 0.00 0.00 99.78 07:10:30 07:06:01 1 0.15 0.00 0.07 0.00 0.00 99.78 07:10:30 07:06:01 2 0.30 0.00 0.03 0.00 0.00 99.67 07:10:30 07:06:01 3 0.03 0.00 0.05 0.00 0.00 99.92 07:10:30 07:07:01 all 0.15 0.00 0.03 0.00 0.00 99.81 07:10:30 07:07:01 0 0.02 0.00 0.03 0.00 0.02 99.93 07:10:30 07:07:01 1 0.53 0.00 0.02 0.00 0.00 99.45 07:10:30 07:07:01 2 0.03 0.00 0.03 0.00 0.00 99.93 07:10:30 07:07:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:10:30 07:08:01 all 0.15 0.00 0.04 0.00 0.00 99.81 07:10:30 07:08:01 0 0.02 0.00 0.03 0.00 0.00 99.95 07:10:30 07:08:01 1 0.52 0.00 0.03 0.00 0.00 99.45 07:10:30 07:08:01 2 0.07 0.00 0.05 0.00 0.00 99.88 07:10:30 07:08:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:10:30 07:09:01 all 0.15 0.00 0.03 0.00 0.00 99.82 07:10:30 07:09:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:10:30 07:09:01 1 0.52 0.00 0.03 0.00 0.00 99.45 07:10:30 07:09:01 2 0.05 0.00 0.05 0.00 0.00 99.90 07:10:30 07:09:01 3 0.03 0.00 0.00 0.00 0.00 99.97 07:10:30 07:10:01 all 0.84 0.00 0.43 0.28 0.00 98.45 07:10:30 07:10:01 0 0.77 0.00 0.48 0.02 0.00 98.73 07:10:30 07:10:01 1 0.90 0.00 0.33 0.03 0.00 98.73 07:10:30 07:10:01 2 1.10 0.00 0.67 1.05 0.00 97.18 07:10:30 07:10:01 3 0.58 0.00 0.23 0.03 0.00 99.15 07:10:30 Average: all 0.24 0.00 0.10 0.03 0.00 99.62 07:10:30 Average: 0 0.28 0.00 0.09 0.00 0.00 99.62 07:10:30 Average: 1 0.33 0.00 0.09 0.00 0.00 99.58 07:10:30 Average: 2 0.26 0.00 0.14 0.12 0.00 99.49 07:10:30 Average: 3 0.10 0.00 0.09 0.00 0.00 99.80 07:10:30 07:10:30 07:10:30