Pull request #750 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 vijay-hcl-epl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fc417a4a7760e79cd3fb62518c4fb0334d857caa+1c2f003b09666c9aca7d142d934c7ec3af9c247b (ab1ea7ee4028686ef212063c15f7dc038b491371) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21978 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [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-750 # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa > 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/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing fc417a4a7760e79cd3fb62518c4fb0334d857caa Checking out Revision fc417a4a7760e79cd3fb62518c4fb0334d857caa (PR-750) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 Commit message: "fix (device services): Block writes to input table" > git rev-list --no-walk 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:45:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:45:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:45:49 ========================================================= 16:45:49 EdgeX Global Pipelines Version Info 16:45:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:45:52 ------------------- 16:45:52 stable info: 16:45:52 ------------------- 16:45:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:52 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 16:45:52 Message: update stable to v1.0.179 16:45:53 ------------------- 16:45:53 experimental info: 16:45:53 ------------------- 16:45:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:53 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 16:45:53 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:45:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:45:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:45:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:45:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo 16:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo 16:45:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo 16:45:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc417a4a7760e79cd3fb62518c4fb0334d857caa [Pipeline] echo 16:45:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc417a4 [Pipeline] echo 16:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:45:57 provisioning config files... 16:45:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config1178972800713922500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:58 ---> docker-login.sh 16:45:58 nexus3.edgexfoundry.org:10001 16:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:59 Configure a credential helper to remove this warning. See 16:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:59 16:45:59 Login Succeeded 16:45:59 nexus3.edgexfoundry.org:10002 16:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:00 Configure a credential helper to remove this warning. See 16:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:00 16:46:00 Login Succeeded 16:46:00 nexus3.edgexfoundry.org:10003 16:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:00 Configure a credential helper to remove this warning. See 16:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:00 16:46:00 Login Succeeded 16:46:00 nexus3.edgexfoundry.org:10004 16:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:01 Configure a credential helper to remove this warning. See 16:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:01 16:46:01 Login Succeeded 16:46:01 docker.io 16:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:02 Configure a credential helper to remove this warning. See 16:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:02 16:46:02 Login Succeeded 16:46:02 ---> docker-login.sh ends [Pipeline] } 16:46:02 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 16:46:03 + git log --format=format:%s -1 fc417a4a7760e79cd3fb62518c4fb0334d857caa [Pipeline] echo 16:46:03 GIT_COMMIT: fc417a4a7760e79cd3fb62518c4fb0334d857caa, Commit Message: fix (device services): Block writes to input table [Pipeline] echo 16:46:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:04 16:46:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:46:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:05 latest: Pulling from edgex-devops/git-semver 16:46:05 31603596830f: Pulling fs layer 16:46:05 2a8b12db71e7: Pulling fs layer 16:46:05 6ca5941a6612: Pulling fs layer 16:46:05 ecc8261a40a4: Pulling fs layer 16:46:05 ecc8261a40a4: Waiting 16:46:05 2a8b12db71e7: Verifying Checksum 16:46:05 2a8b12db71e7: Download complete 16:46:05 31603596830f: Verifying Checksum 16:46:05 31603596830f: Download complete 16:46:05 ecc8261a40a4: Verifying Checksum 16:46:05 ecc8261a40a4: Download complete 16:46:05 6ca5941a6612: Verifying Checksum 16:46:05 6ca5941a6612: Download complete 16:46:07 31603596830f: Pull complete 16:46:07 2a8b12db71e7: Pull complete 16:46:09 6ca5941a6612: Pull complete 16:46:09 ecc8261a40a4: Pull complete 16:46:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:46:09 prd-centos7-docker-4c-2g-21978 does not seem to be running inside a container 16:46:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@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 16:46:13 $ docker top 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:14 [ssh-agent] Looking for ssh-agent implementation... 16:46:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:14 $ docker exec 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent 16:46:14 SSH_AUTH_SOCK=/tmp/ssh-qfk1NYwbYD0k/agent.13 16:46:14 SSH_AGENT_PID=19 16:46:14 Running ssh-add (command line suppressed) 16:46:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_4029263318812364173.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_4029263318812364173.key) 16:46:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:15 + git tag --points-at HEAD [Pipeline] } 16:46:16 $ docker exec --env ******** --env ******** 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent -k 16:46:16 unset SSH_AUTH_SOCK; 16:46:16 unset SSH_AGENT_PID; 16:46:16 echo Agent pid 19 killed; 16:46:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:46:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:16 [ssh-agent] Looking for ssh-agent implementation... 16:46:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:17 $ docker exec 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent 16:46:18 SSH_AUTH_SOCK=/tmp/ssh-vr3FOPt1dygQ/agent.47 16:46:18 SSH_AGENT_PID=52 16:46:18 Running ssh-add (command line suppressed) 16:46:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7873649770794810638.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7873649770794810638.key) 16:46:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:19 + git semver init 16:46:19 # -> Open(): unable to determine branch for HEAD 16:46:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git 16:46:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 16:46:19 # $SEMVER_REMOTE_NAME = origin 16:46:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:46:19 # $SEMVER_USER_NAME = edgex-jenkins 16:46:19 # $SEMVER_BRANCH = PR-750 16:46:19 # $SEMVER_TEMP = /tmp/semver-680695932 16:46:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:46:20 # '/tmp/semver-680695932' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' 16:46:20 # -> Force: false 16:46:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } 16:46:20 $ docker exec --env ******** --env ******** 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 ssh-agent -k 16:46:21 unset SSH_AUTH_SOCK; 16:46:21 unset SSH_AGENT_PID; 16:46:21 echo Agent pid 52 killed; 16:46:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:22 + git semver [Pipeline] } 16:46:22 $ docker stop --time=1 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 16:46:23 $ docker rm -f 409dad8b6cd4d70dba243591f4277018fd8e1fc072278e107ac63f38fdf45601 [Pipeline] // withDockerContainer [Pipeline] sh 16:46:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:46:25 Stashed 1 file(s) [Pipeline] echo 16:46:25 [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 16:46:41 Still waiting to schedule task 16:46:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:46:41 Still waiting to schedule task 16:46:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 16:48:25 Running on prd-centos7-docker-4c-2g-21980 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 16:48:25 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:48:27 using credential edgex-jenkins-ssh 16:48:27 Cloning the remote Git repository 16:48:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:48:27 > git init /w/workspace/device-sdk-go/2 # timeout=10 16:48:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:48:28 > git --version # timeout=10 16:48:28 > git --version # 'git version 2.24.3' 16:48:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:48:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:48:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:48:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:48:29 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa 16:48:29 Merge succeeded, producing fc417a4a7760e79cd3fb62518c4fb0334d857caa 16:48:29 Checking out Revision fc417a4a7760e79cd3fb62518c4fb0334d857caa (PR-750) 16:48:29 > git config core.sparsecheckout # timeout=10 16:48:29 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 16:48:29 > git remote # timeout=10 16:48:29 > git config --get remote.origin.url # timeout=10 16:48:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:29 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 16:48:29 > git rev-parse HEAD^{commit} # timeout=10 16:48:29 > git config core.sparsecheckout # timeout=10 16:48:29 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 16:48:33 Commit message: "fix (device services): Block writes to input table" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:48:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:48:35 + sudo service docker restart 16:48:35 + true 16:48:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:48:36 provisioning config files... 16:48:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2567058546847706160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:36 ---> docker-login.sh 16:48:36 nexus3.edgexfoundry.org:10001 16:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:36 Configure a credential helper to remove this warning. See 16:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:36 16:48:36 Login Succeeded 16:48:36 nexus3.edgexfoundry.org:10002 16:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:36 Configure a credential helper to remove this warning. See 16:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:36 16:48:36 Login Succeeded 16:48:36 nexus3.edgexfoundry.org:10003 16:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:37 Configure a credential helper to remove this warning. See 16:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:37 16:48:37 Login Succeeded 16:48:37 nexus3.edgexfoundry.org:10004 16:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:37 Configure a credential helper to remove this warning. See 16:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:37 16:48:37 Login Succeeded 16:48:37 docker.io 16:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:37 Configure a credential helper to remove this warning. See 16:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:37 16:48:37 Login Succeeded 16:48:37 ---> docker-login.sh ends [Pipeline] } 16:48:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:38 ========================================================= 16:48:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:48:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:48:38 + 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 . 16:48:38 Sending build context to Docker daemon 2.474MB 16:48:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:48:38 Step 2/8 : FROM ${BASE} 16:48:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:48:38 188c0c94c7c5: Pulling fs layer 16:48:38 0ef7d3d256c8: Pulling fs layer 16:48:38 de9db76c5a1d: Pulling fs layer 16:48:38 bca2f99d35d6: Pulling fs layer 16:48:38 93359f2a8cfa: Pulling fs layer 16:48:38 7c6f9722023f: Pulling fs layer 16:48:38 a35cf1a2eb13: Pulling fs layer 16:48:38 93359f2a8cfa: Waiting 16:48:38 7c6f9722023f: Waiting 16:48:38 a35cf1a2eb13: Waiting 16:48:38 bca2f99d35d6: Waiting 16:48:38 de9db76c5a1d: Verifying Checksum 16:48:38 de9db76c5a1d: Download complete 16:48:38 0ef7d3d256c8: Verifying Checksum 16:48:38 0ef7d3d256c8: Download complete 16:48:39 93359f2a8cfa: Verifying Checksum 16:48:39 93359f2a8cfa: Download complete 16:48:39 7c6f9722023f: Verifying Checksum 16:48:39 7c6f9722023f: Download complete 16:48:39 188c0c94c7c5: Download complete 16:48:39 188c0c94c7c5: Pull complete 16:48:39 0ef7d3d256c8: Pull complete 16:48:40 de9db76c5a1d: Pull complete 16:48:41 a35cf1a2eb13: Verifying Checksum 16:48:41 a35cf1a2eb13: Download complete 16:48:43 bca2f99d35d6: Verifying Checksum 16:48:43 bca2f99d35d6: Download complete 16:48:48 bca2f99d35d6: Pull complete 16:48:48 93359f2a8cfa: Pull complete 16:48:48 7c6f9722023f: Pull complete 16:48:53 a35cf1a2eb13: Pull complete 16:48:53 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:48:53 ---> a62c8e92a672 16:48:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:48:53 ---> Running in bf5094f2eae3 16:48:54 Removing intermediate container bf5094f2eae3 16:48:54 ---> 024fbe6886fc 16:48:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:54 ---> Running in 88a68d268ca8 16:48:54 Removing intermediate container 88a68d268ca8 16:48:54 ---> 7b918861ad09 16:48:54 Step 5/8 : RUN apk add --update --no-cache make git 16:48:54 ---> Running in 402a9379cc1f 16:48:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:48:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:48:58 OK: 166 MiB in 39 packages 16:48:58 Removing intermediate container 402a9379cc1f 16:48:58 ---> ccefbdef4e77 16:48:58 Step 6/8 : WORKDIR /device-sdk-go 16:48:58 ---> Running in f1929c7a2803 16:48:58 Removing intermediate container f1929c7a2803 16:48:58 ---> 02f64023847c 16:48:58 Step 7/8 : COPY . . 16:49:00 ---> a1fc921c42e9 16:49:00 Step 8/8 : RUN go mod download 16:49:00 ---> Running in 2258f2bab93e 16:49:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21979 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 16:49:05 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:49:10 using credential edgex-jenkins-ssh 16:49:10 Cloning the remote Git repository 16:49:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:49:11 > git init /w/workspace/device-sdk-go/2 # timeout=10 16:49:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:49:11 > git --version # timeout=10 16:49:11 > git --version # 'git version 2.17.1' 16:49:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:49:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:49:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:49:12 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:49:13 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit fc417a4a7760e79cd3fb62518c4fb0334d857caa 16:49:13 Merge succeeded, producing fc417a4a7760e79cd3fb62518c4fb0334d857caa 16:49:13 Checking out Revision fc417a4a7760e79cd3fb62518c4fb0334d857caa (PR-750) 16:49:13 > git config core.sparsecheckout # timeout=10 16:49:13 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 16:49:13 > git remote # timeout=10 16:49:13 > git config --get remote.origin.url # timeout=10 16:49:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:13 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 16:49:13 > git rev-parse HEAD^{commit} # timeout=10 16:49:13 > git config core.sparsecheckout # timeout=10 16:49:13 > git checkout -f fc417a4a7760e79cd3fb62518c4fb0334d857caa # timeout=10 16:49:17 Commit message: "fix (device services): Block writes to input table" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 16:49:18 Removing intermediate container 2258f2bab93e 16:49:18 ---> 280ec1c2e4fd 16:49:18 Successfully built 280ec1c2e4fd 16:49:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 16:49:19 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 16:49:19 + docker inspect -f . ci-base-image-x86_64 16:49:19 . [Pipeline] sh [Pipeline] withDockerContainer 16:49:19 prd-centos7-docker-4c-2g-21980 does not seem to be running inside a container 16:49:19 $ 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 ******** ci-base-image-x86_64 cat 16:49:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 16:49:20 $ docker top 42c3e415ac16baf2774eb848d47bd918f9b898537e38b08a4d3264052caebb26 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 16:49:21 + sudo service docker restart 16:49:21 + true 16:49:21 + go version 16:49:21 go version go1.15.5 linux/amd64 [Pipeline] } 16:49:21 $ docker stop --time=1 42c3e415ac16baf2774eb848d47bd918f9b898537e38b08a4d3264052caebb26 16:49:22 $ docker rm -f 42c3e415ac16baf2774eb848d47bd918f9b898537e38b08a4d3264052caebb26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:49:23 + docker inspect -f . ci-base-image-x86_64 16:49:23 . [Pipeline] withDockerContainer 16:49:23 prd-centos7-docker-4c-2g-21980 does not seem to be running inside a container 16:49:23 $ 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 ******** ci-base-image-x86_64 cat 16:49:24 $ docker top 491edb85af46f2f300bfcd0eff42dd97b5ba7c69fa9a002573af5aee8c85f808 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 16:49:24 provisioning config files... 16:49:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7086970786172347646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:24 + make test 16:49:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:49:24 ---> docker-login.sh 16:49:24 nexus3.edgexfoundry.org:10001 16:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:26 Configure a credential helper to remove this warning. See 16:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:26 16:49:26 Login Succeeded 16:49:26 nexus3.edgexfoundry.org:10002 16:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:26 Configure a credential helper to remove this warning. See 16:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:26 16:49:26 Login Succeeded 16:49:26 nexus3.edgexfoundry.org:10003 16:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:26 Configure a credential helper to remove this warning. See 16:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:26 16:49:26 Login Succeeded 16:49:26 nexus3.edgexfoundry.org:10004 16:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:27 Configure a credential helper to remove this warning. See 16:49:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:27 16:49:27 Login Succeeded 16:49:27 docker.io 16:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:28 Configure a credential helper to remove this warning. See 16:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:28 16:49:28 Login Succeeded 16:49:28 ---> docker-login.sh ends [Pipeline] } 16:49:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:49:28 ========================================================= 16:49:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:49:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:49:28 + 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 . 16:49:29 Sending build context to Docker daemon 2.471MB 16:49:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:49:29 Step 2/8 : FROM ${BASE} 16:49:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:49:29 5f621e34cdf4: Pulling fs layer 16:49:29 a4357932f1b6: Pulling fs layer 16:49:29 18c013af1878: Pulling fs layer 16:49:29 00ac8860ef70: Pulling fs layer 16:49:29 63d7cb157983: Pulling fs layer 16:49:29 b116817d02f9: Pulling fs layer 16:49:29 745a02a5169b: Pulling fs layer 16:49:29 00ac8860ef70: Waiting 16:49:29 b116817d02f9: Waiting 16:49:29 745a02a5169b: Waiting 16:49:29 63d7cb157983: Waiting 16:49:29 18c013af1878: Verifying Checksum 16:49:29 18c013af1878: Download complete 16:49:29 a4357932f1b6: Verifying Checksum 16:49:29 a4357932f1b6: Download complete 16:49:29 63d7cb157983: Verifying Checksum 16:49:29 63d7cb157983: Download complete 16:49:29 b116817d02f9: Verifying Checksum 16:49:29 b116817d02f9: Download complete 16:49:29 5f621e34cdf4: Verifying Checksum 16:49:30 5f621e34cdf4: Pull complete 16:49:30 a4357932f1b6: Pull complete 16:49:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:49:31 18c013af1878: Pull complete 16:49:32 745a02a5169b: Verifying Checksum 16:49:32 745a02a5169b: Download complete 16:49:33 00ac8860ef70: Verifying Checksum 16:49:33 00ac8860ef70: Download complete 16:49:43 00ac8860ef70: Pull complete 16:49:43 63d7cb157983: Pull complete 16:49:43 b116817d02f9: Pull complete 16:49:46 745a02a5169b: Pull complete 16:49:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:49:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:49:46 ---> b7e6874047d6 16:49:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:49:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:49:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:49:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:49:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements 16:49:48 ---> Running in ec6a269bed1e 16:49:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.464s coverage: 97.1% of statements 16:49:49 Removing intermediate container ec6a269bed1e 16:49:49 ---> ef02d497ef25 16:49:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:49:49 ---> Running in f89f83d7956b 16:49:51 Removing intermediate container f89f83d7956b 16:49:51 ---> 263b2a015242 16:49:51 Step 5/8 : RUN apk add --update --no-cache make git 16:49:51 ---> Running in 8f9eae0f5ef2 16:49:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:49:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:49:55 OK: 142 MiB in 39 packages 16:49:56 Removing intermediate container 8f9eae0f5ef2 16:49:56 ---> 95dc6922ad83 16:49:56 Step 6/8 : WORKDIR /device-sdk-go 16:49:57 ---> Running in db4bf6365841 16:49:57 Removing intermediate container db4bf6365841 16:49:57 ---> 9c4fbf1d3749 16:49:57 Step 7/8 : COPY . . 16:49:58 ---> 46f6522e2a35 16:49:58 Step 8/8 : RUN go mod download 16:49:59 ---> Running in d5edfd4e41ef 16:50:21 Removing intermediate container d5edfd4e41ef 16:50:21 ---> aba1403cc308 16:50:21 Successfully built aba1403cc308 16:50:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.075s coverage: 9.4% of statements 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.045s coverage: 21.7% of statements 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.220s coverage: 43.2% of statements 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.294s coverage: 68.9% of statements 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 26.8% of statements 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.379s coverage: 83.5% of statements 16:50:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 16:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:50:21 GO111MODULE=on go vet ./... 16:50:21 + docker inspect -f . ci-base-image-arm64 16:50:21 . [Pipeline] withDockerContainer 16:50:21 prd-ubuntu18.04-docker-arm64-4c-16g-21979 does not seem to be running inside a container 16:50:21 $ 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 ******** ci-base-image-arm64 cat 16:50:23 $ docker top 68930903272ef378105d6674988dbdfbfe78877c56794a444c417c7952144718 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:24 + go version 16:50:24 go version go1.15.5 linux/arm64 [Pipeline] } 16:50:24 $ docker stop --time=1 68930903272ef378105d6674988dbdfbfe78877c56794a444c417c7952144718 16:50:26 $ docker rm -f 68930903272ef378105d6674988dbdfbfe78877c56794a444c417c7952144718 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:50:27 + docker inspect -f . ci-base-image-arm64 16:50:27 . [Pipeline] withDockerContainer 16:50:27 gofmt -l . 16:50:28 prd-ubuntu18.04-docker-arm64-4c-16g-21979 does not seem to be running inside a container 16:50:28 $ 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 ******** ci-base-image-arm64 cat 16:50:28 [ "`gofmt -l .`" = "" ] 16:50:28 ./bin/test-attribution-txt.sh 16:50:29 ./bin/test-go-mod-tidy.sh 16:50:29 $ docker top 624efa67aa4292a54780efaeee7cbcd9f5f762774e5a548dbdbced21b9b6b942 -eo pid,comm [Pipeline] { [Pipeline] } 16:50:30 $ docker stop --time=1 491edb85af46f2f300bfcd0eff42dd97b5ba7c69fa9a002573af5aee8c85f808 16:50:32 $ docker rm -f 491edb85af46f2f300bfcd0eff42dd97b5ba7c69fa9a002573af5aee8c85f808 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 16:50:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:50:33 + make test 16:50:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:50:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:50:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:36 + ls -al . 16:50:36 total 216 16:50:36 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 16:50 . 16:50:36 drwxrwxr-x. 4 jenkins jenkins 28 Jan 21 16:48 .. 16:50:36 drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 16:48 bin 16:50:36 -rw-r--r--. 1 jenkins jenkins 136842 Jan 21 16:50 coverage.out 16:50:36 -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 16:48 Dockerfile.build 16:50:36 -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 16:48 .dockerignore 16:50:36 drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 16:48 example 16:50:36 drwxrwxr-x. 8 jenkins jenkins 179 Jan 21 16:48 .git 16:50:36 drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 16:48 .github 16:50:36 -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 16:48 .gitignore 16:50:36 -rw-r--r--. 1 jenkins jenkins 491 Jan 21 16:50 go.mod 16:50:36 -rw-r--r--. 1 jenkins jenkins 14124 Jan 21 16:50 go.sum 16:50:36 drwxrwxr-x. 15 jenkins jenkins 211 Jan 21 16:48 internal 16:50:36 -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 16:48 Jenkinsfile 16:50:36 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 16:48 LICENSE 16:50:36 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 16:48 Makefile 16:50:36 drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 16:48 openapi 16:50:36 drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 16:48 pkg 16:50:36 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 16:48 README.md 16:50:36 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 16:48 RELEASE-NOTES.txt 16:50:36 drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 16:48 snap 16:50:36 -rw-rw-r--. 1 jenkins jenkins 5 Jan 21 16:46 VERSION 16:50:36 -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 16:48 version.go [Pipeline] isUnix [Pipeline] sh 16:50:36 + 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=fc417a4a7760e79cd3fb62518c4fb0334d857caa --label arch=amd64 --label version=0.0.0 . 16:50:36 Sending build context to Docker daemon 2.612MB 16:50:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 16:50:36 Step 2/24 : FROM ${BASE} AS builder 16:50:36 ---> 280ec1c2e4fd 16:50:36 Step 3/24 : ARG MAKE='make build' 16:50:37 ---> Running in d5f5afb21bf9 16:50:37 Removing intermediate container d5f5afb21bf9 16:50:37 ---> c00f82de674b 16:50:37 Step 4/24 : WORKDIR /device-sdk-go 16:50:37 ---> Running in 78333db56847 16:50:37 Removing intermediate container 78333db56847 16:50:37 ---> 4c3466867c19 16:50:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:50:37 ---> Running in c3867ae140d6 16:50:37 Removing intermediate container c3867ae140d6 16:50:37 ---> 7d8c5506497d 16:50:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:50:38 ---> Running in df473e8f85d3 16:50:39 Removing intermediate container df473e8f85d3 16:50:39 ---> cc8f83c3573e 16:50:39 Step 7/24 : RUN apk add --update --no-cache make git 16:50:39 ---> Running in 83b16d01e8cc 16:50:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:50:41 OK: 166 MiB in 39 packages 16:50:42 Removing intermediate container 83b16d01e8cc 16:50:42 ---> 4bd38e7d353d 16:50:42 Step 8/24 : COPY . . 16:50:43 ---> 5a4541ff6e4b 16:50:43 Step 9/24 : RUN ${MAKE} 16:50:43 ---> Running in 668cd468178c 16:50:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:50:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:50:54 Removing intermediate container 668cd468178c 16:50:54 ---> 47ac4b5bffd0 16:50:54 Step 10/24 : FROM scratch 16:50:54 ---> 16:50:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:50:54 ---> Running in a1a4ea1b5829 16:50:54 Removing intermediate container a1a4ea1b5829 16:50:54 ---> 897ed99aade7 16:50:54 Step 12/24 : ENV APP_PORT=49990 16:50:54 ---> Running in a62c328c3e42 16:50:54 Removing intermediate container a62c328c3e42 16:50:54 ---> f52ec753573a 16:50:54 Step 13/24 : EXPOSE $APP_PORT 16:50:54 ---> Running in f5d96142bb19 16:50:54 Removing intermediate container f5d96142bb19 16:50:54 ---> edde3b6831bc 16:50:54 Step 14/24 : WORKDIR / 16:50:54 ---> Running in 31822593033a 16:50:55 Removing intermediate container 31822593033a 16:50:55 ---> 1effdc8bb711 16:50:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:50:55 ---> 2b42de269177 16:50:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:50:55 ---> 70fa94e87705 16:50:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:50:55 ---> 8e84b39c32bd 16:50:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 16:50:56 ---> 5bdef655adfa 16:50:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 16:50:56 ---> daf20748a296 16:50:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 16:50:56 ---> Running in 85acab6ca64b 16:50:56 Removing intermediate container 85acab6ca64b 16:50:56 ---> 6bdb2abc8227 16:50:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:50:56 ---> Running in a948387732a5 16:50:56 Removing intermediate container a948387732a5 16:50:56 ---> 8f8f35868d70 16:50:56 Step 22/24 : LABEL arch=amd64 16:50:56 ---> Running in 93da8a8c5426 16:50:57 Removing intermediate container 93da8a8c5426 16:50:57 ---> 4a93c31537cb 16:50:57 Step 23/24 : LABEL git_sha=fc417a4a7760e79cd3fb62518c4fb0334d857caa 16:50:57 ---> Running in 8b391e021ecb 16:50:57 Removing intermediate container 8b391e021ecb 16:50:57 ---> a4c3f37fdee8 16:50:57 Step 24/24 : LABEL version=0.0.0 16:50:57 ---> Running in c397f3b751a4 16:50:57 Removing intermediate container c397f3b751a4 16:50:57 ---> 61f9b0fb78e4 16:50:57 [Warning] One or more build-args [ARCH] were not consumed 16:50:57 Successfully built 61f9b0fb78e4 16:50:57 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] } 16:51:00 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:51:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:51:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:51:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:51:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements 16:51:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.221s coverage: 97.1% of statements 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 9.4% of statements 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.150s coverage: 21.7% of statements 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.560s coverage: 43.2% of statements 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.760s coverage: 68.9% of statements 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.176s coverage: 53.8% of statements 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.187s coverage: 26.8% of statements 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.925s coverage: 83.5% of statements 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:52:14 GO111MODULE=on go vet ./... 16:52:47 gofmt -l . 16:52:47 [ "`gofmt -l .`" = "" ] 16:52:47 ./bin/test-attribution-txt.sh 16:52:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:52:48 $ docker stop --time=1 624efa67aa4292a54780efaeee7cbcd9f5f762774e5a548dbdbced21b9b6b942 16:52:50 $ docker rm -f 624efa67aa4292a54780efaeee7cbcd9f5f762774e5a548dbdbced21b9b6b942 [Pipeline] // withDockerContainer [Pipeline] sh 16:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:52:51 Warning: overwriting stash ‘coverage-report’ 16:52:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:52:54 + ls -al . 16:52:54 total 252 16:52:54 drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 16:52 . 16:52:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 .. 16:52:54 -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 16:49 .dockerignore 16:52:54 drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 16:49 .git 16:52:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 16:49 .github 16:52:54 -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 16:49 .gitignore 16:52:54 -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 16:49 Dockerfile.build 16:52:54 -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 16:49 Jenkinsfile 16:52:54 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 16:49 LICENSE 16:52:54 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 16:49 Makefile 16:52:54 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 16:49 README.md 16:52:54 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 16:49 RELEASE-NOTES.txt 16:52:54 -rw-rw-r-- 1 jenkins jenkins 5 Jan 21 16:46 VERSION 16:52:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 16:49 bin 16:52:54 -rw-r--r-- 1 jenkins jenkins 136842 Jan 21 16:52 coverage.out 16:52:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 example 16:52:54 -rw-r--r-- 1 jenkins jenkins 491 Jan 21 16:52 go.mod 16:52:54 -rw-r--r-- 1 jenkins jenkins 14124 Jan 21 16:52 go.sum 16:52:54 drwxrwxr-x 15 jenkins jenkins 4096 Jan 21 16:49 internal 16:52:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 openapi 16:52:54 drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 16:49 pkg 16:52:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 16:49 snap 16:52:54 -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 16:49 version.go [Pipeline] isUnix [Pipeline] sh 16:52:54 + 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=fc417a4a7760e79cd3fb62518c4fb0334d857caa --label arch=arm64 --label version=0.0.0 . 16:52:54 Sending build context to Docker daemon 2.609MB 16:52:55 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 16:52:55 Step 2/24 : FROM ${BASE} AS builder 16:52:55 ---> aba1403cc308 16:52:55 Step 3/24 : ARG MAKE='make build' 16:52:55 ---> Running in ce7c9245d241 16:52:55 Removing intermediate container ce7c9245d241 16:52:55 ---> f1ff911830e1 16:52:55 Step 4/24 : WORKDIR /device-sdk-go 16:52:55 ---> Running in 6a3790b5a7d2 16:52:56 Removing intermediate container 6a3790b5a7d2 16:52:56 ---> 9f0b390f066b 16:52:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:52:56 ---> Running in 906aacd7728f 16:52:57 Removing intermediate container 906aacd7728f 16:52:57 ---> 35a1cd50f424 16:52:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:57 ---> Running in 2a1ceb405434 16:52:59 Removing intermediate container 2a1ceb405434 16:52:59 ---> d58240f88cf6 16:52:59 Step 7/24 : RUN apk add --update --no-cache make git 16:52:59 ---> Running in 7ffc5233fcaa 16:53:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:53:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:53:02 OK: 142 MiB in 39 packages 16:53:04 Removing intermediate container 7ffc5233fcaa 16:53:04 ---> 7cbe5fceff74 16:53:04 Step 8/24 : COPY . . 16:53:05 ---> 885639b79400 16:53:05 Step 9/24 : RUN ${MAKE} 16:53:05 ---> Running in 36f3d436b22d 16:53:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:53:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:53:37 Removing intermediate container 36f3d436b22d 16:53:37 ---> ff3bae97cff8 16:53:37 Step 10/24 : FROM scratch 16:53:37 ---> 16:53:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:53:37 ---> Running in b898eed74062 16:53:37 Removing intermediate container b898eed74062 16:53:37 ---> d357799434cf 16:53:37 Step 12/24 : ENV APP_PORT=49990 16:53:37 ---> Running in 3cff9f24ff01 16:53:38 Removing intermediate container 3cff9f24ff01 16:53:38 ---> d54b89a27c31 16:53:38 Step 13/24 : EXPOSE $APP_PORT 16:53:38 ---> Running in 54ec87575d06 16:53:38 Removing intermediate container 54ec87575d06 16:53:38 ---> 17b78653ee0d 16:53:38 Step 14/24 : WORKDIR / 16:53:38 ---> Running in a3c7db46c652 16:53:39 Removing intermediate container a3c7db46c652 16:53:39 ---> 72f0f66a67ab 16:53:39 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:53:40 ---> fca33a97d7bb 16:53:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:53:41 ---> 368830833620 16:53:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:53:42 ---> 8ba995429799 16:53:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 16:53:42 ---> 39aa5378fa02 16:53:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 16:53:43 ---> 6dae67354e4b 16:53:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 16:53:43 ---> Running in 3e53072ac690 16:53:44 Removing intermediate container 3e53072ac690 16:53:44 ---> 2f2c08a4e1cb 16:53:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:53:44 ---> Running in 5eee7271de4d 16:53:44 Removing intermediate container 5eee7271de4d 16:53:44 ---> 6a93697f5d58 16:53:44 Step 22/24 : LABEL arch=arm64 16:53:45 ---> Running in 9655704c8e4b 16:53:45 Removing intermediate container 9655704c8e4b 16:53:45 ---> dd841ee0e69a 16:53:45 Step 23/24 : LABEL git_sha=fc417a4a7760e79cd3fb62518c4fb0334d857caa 16:53:45 ---> Running in 2f8a349ddd9a 16:53:46 Removing intermediate container 2f8a349ddd9a 16:53:46 ---> 28882597185e 16:53:46 Step 24/24 : LABEL version=0.0.0 16:53:46 ---> Running in f95197c138fa 16:53:47 Removing intermediate container f95197c138fa 16:53:47 ---> b58224eda6d5 16:53:47 [Warning] One or more build-args [ARCH] were not consumed 16:53:47 Successfully built b58224eda6d5 16:53:47 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 16:53:49 provisioning config files... 16:53:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config8782564034653908875tmp [Pipeline] { [Pipeline] sh 16:53:49 + set +x 16:53:49 + curl -s https://codecov.io/bash 16:53:49 + bash -s -- 16:53:49 16:53:49 _____ _ 16:53:49 / ____| | | 16:53:49 | | ___ __| | ___ ___ _____ __ 16:53:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:53:49 | |___| (_) | (_| | __/ (_| (_) \ V / 16:53:49 \_____\___/ \__,_|\___|\___\___/ \_/ 16:53:49 Bash-20210115-cec3c92 16:53:49 16:53:49 16:53:49 ==> git version 2.24.3 found 16:53:49 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 16:53:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:53:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:53:49 ==> Jenkins CI detected. 16:53:49 project root: . 16:53:49 --> token set from env 16:53:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:53:50 ==> Running gcov in . (disable via -X gcov) 16:53:50 ==> Python coveragepy not found 16:53:50 ==> Searching for coverage reports in: 16:53:50 + . 16:53:50 -> Found 1 reports 16:53:50 ==> Detecting git/mercurial file structure 16:53:50 ==> Reading reports 16:53:50 + ./coverage.out bytes=136842 16:53:50 ==> Appending adjustments 16:53:50 https://docs.codecov.io/docs/fixing-reports 16:53:51 + Found adjustments 16:53:51 ==> Gzipping contents 16:53:51 24K /tmp/codecov.bM4Ze0.gz 16:53:51 ==> Uploading reports 16:53:51 url: https://codecov.io 16:53:51 query: branch=PR-750&commit=fc417a4a7760e79cd3fb62518c4fb0334d857caa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= 16:53:51 -> Pinging Codecov 16:53:51 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-750&commit=fc417a4a7760e79cd3fb62518c4fb0334d857caa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-750%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=750&job=&cmd_args= 16:53:51 -> Uploading to 16:53:51 https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/fc417a4a7760e79cd3fb62518c4fb0334d857caa/90587502-8b7d-4ea1-9667-7743c296454d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T165351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bcceec4157418e7eea6c1757c379501559da634d8d12184508dc3233e8c23528 16:53:51 % Total % Received % Xferd Average Speed Time Time Time Current 16:53:51 Dload Upload Total Spent Left Speed 16:53:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21538 0 0 100 21538 0 38596 --:--:-- --:--:-- --:--:-- 38598 100 21538 0 0 100 21538 0 38580 --:--:-- --:--:-- --:--:-- 38598 16:53:52 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc417a4a7760e79cd3fb62518c4fb0334d857caa [Pipeline] } 16:53:52 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 16:53:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:53:55 ---> package-listing.sh 16:53:55 ++ facter osfamily 16:53:55 ++ tr '[:upper:]' '[:lower:]' 16:53:55 + OS_FAMILY=redhat 16:53:55 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 16:53:55 + START_PACKAGES=/tmp/packages_start.txt 16:53:55 + END_PACKAGES=/tmp/packages_end.txt 16:53:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:53:55 + PACKAGES=/tmp/packages_start.txt 16:53:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 16:53:55 + PACKAGES=/tmp/packages_end.txt 16:53:55 + case "${OS_FAMILY}" in 16:53:55 + sort 16:53:55 + rpm -qa 16:54:02 + '[' -f /tmp/packages_start.txt ']' 16:54:02 + '[' -f /tmp/packages_end.txt ']' 16:54:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:54:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 16:54:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ 16:54:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [Pipeline] echo 16:54:02 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-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:54:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:54:04 16:54:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:54:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:54:05 alpine: Pulling from edgex-lftools-log-publisher 16:54:05 df20fa9351a1: Pulling fs layer 16:54:05 36b3adc4ff6f: Pulling fs layer 16:54:05 8ad3a11d3b57: Pulling fs layer 16:54:05 46f8f816bc3b: Pulling fs layer 16:54:05 93b61091891f: Pulling fs layer 16:54:05 93b9cdb0e59b: Pulling fs layer 16:54:05 5e14af77c1be: Pulling fs layer 16:54:05 01666e4c0597: Pulling fs layer 16:54:05 aa168da1d23b: Pulling fs layer 16:54:05 46f8f816bc3b: Waiting 16:54:05 93b61091891f: Waiting 16:54:05 93b9cdb0e59b: Waiting 16:54:05 5e14af77c1be: Waiting 16:54:05 01666e4c0597: Waiting 16:54:05 aa168da1d23b: Waiting 16:54:05 36b3adc4ff6f: Verifying Checksum 16:54:05 36b3adc4ff6f: Download complete 16:54:05 46f8f816bc3b: Verifying Checksum 16:54:05 46f8f816bc3b: Download complete 16:54:05 df20fa9351a1: Verifying Checksum 16:54:05 df20fa9351a1: Download complete 16:54:05 93b9cdb0e59b: Verifying Checksum 16:54:05 93b9cdb0e59b: Download complete 16:54:05 5e14af77c1be: Verifying Checksum 16:54:05 5e14af77c1be: Download complete 16:54:05 01666e4c0597: Download complete 16:54:06 93b61091891f: Verifying Checksum 16:54:06 93b61091891f: Download complete 16:54:06 df20fa9351a1: Pull complete 16:54:07 8ad3a11d3b57: Verifying Checksum 16:54:07 8ad3a11d3b57: Download complete 16:54:07 36b3adc4ff6f: Pull complete 16:54:08 8ad3a11d3b57: Pull complete 16:54:09 46f8f816bc3b: Pull complete 16:54:10 93b61091891f: Pull complete 16:54:10 93b9cdb0e59b: Pull complete 16:54:11 5e14af77c1be: Pull complete 16:54:11 01666e4c0597: Pull complete 16:54:13 aa168da1d23b: Verifying Checksum 16:54:13 aa168da1d23b: Download complete 16:54:28 aa168da1d23b: Pull complete 16:54:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:54:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:54:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:54:28 prd-centos7-docker-4c-2g-21978 does not seem to be running inside a container 16:54:28 $ 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-750/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-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@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 16:54:33 $ docker top 33c2ac1e066a0077deb561fd86050990cfb3b8833eea9e1ffafea864c95ac757 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:34 + touch /tmp/pre-build-complete [Pipeline] sh 16:54:34 + mkdir -p /var/log/sa [Pipeline] sh 16:54:35 + ls /var/log/sa-host 16:54:35 + sadf -c /var/log/sa-host/sa21 16:54:35 file_magic: OK 16:54:35 HZ: Using current value: 100 16:54:35 file_header: OK 16:54:35 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 16:54:35 Statistics: 16:54:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:54:35 File successfully converted to sysstat format version 12.2.1 16:54:35 + sadf -c /var/log/sa-host/sa23 16:54:35 file_magic: OK 16:54:35 HZ: Using current value: 100 16:54:35 file_header: OK 16:54:35 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 16:54:35 Statistics: 16:54:35 Hnuu...uuuununununu... 16:54:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:36 provisioning config files... 16:54:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config1299961548683430813tmp [Pipeline] { [Pipeline] echo 16:54:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:54:36 ---> create-netrc.sh [Pipeline] } 16:54:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:54:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:54:37 ---> python-tools-install.sh [Pipeline] echo 16:54:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:54:38 ---> sudo-logs.sh 16:54:38 Archiving 'sudo' log.. [Pipeline] echo 16:54:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:54:38 ---> job-cost.sh 16:54:38 lf-activate-venv: SKIPPING 16:54:38 INFO: No Stack... 16:54:39 INFO: Retrieving Pricing Info for: v1-standard-2 16:54:40 INFO: Archiving Costs [Pipeline] echo 16:54:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:54:41 ---> logs-deploy.sh 16:54:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/2 16:54:41 INFO: archiving workspace using pattern(s): 16:54:43 Archives upload complete. 16:54:44 INFO: archiving logs to Nexus 16:54:45 ---> uname -a: 16:54:45 Linux prd-centos7-docker-4c-2g-21978.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:54:45 16:54:45 16:54:45 ---> lscpu: 16:54:45 Architecture: x86_64 16:54:45 CPU op-mode(s): 32-bit, 64-bit 16:54:45 Byte Order: Little Endian 16:54:45 Address sizes: 40 bits physical, 48 bits virtual 16:54:45 CPU(s): 4 16:54:45 On-line CPU(s) list: 0-3 16:54:45 Thread(s) per core: 1 16:54:45 Core(s) per socket: 1 16:54:45 Socket(s): 4 16:54:45 NUMA node(s): 1 16:54:45 Vendor ID: GenuineIntel 16:54:45 CPU family: 6 16:54:45 Model: 44 16:54:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:54:45 Stepping: 1 16:54:45 CPU MHz: 2933.438 16:54:45 BogoMIPS: 5866.87 16:54:45 Virtualization: VT-x 16:54:45 Hypervisor vendor: KVM 16:54:45 Virtualization type: full 16:54:45 L1d cache: 128 KiB 16:54:45 L1i cache: 128 KiB 16:54:45 L2 cache: 16 MiB 16:54:45 L3 cache: 64 MiB 16:54:45 NUMA node0 CPU(s): 0-3 16:54:45 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:54:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:54:45 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:54:45 Vulnerability Meltdown: Mitigation; PTI 16:54:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:54:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:54:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:54:45 Vulnerability Srbds: Not affected 16:54:45 Vulnerability Tsx async abort: Not affected 16:54:45 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 16:54:45 16:54:45 16:54:45 ---> nproc: 16:54:45 4 16:54:45 16:54:45 16:54:45 ---> df -h: 16:54:45 Filesystem Size Used Available Use% Mounted on 16:54:45 overlay 50.0G 7.3G 42.7G 15% / 16:54:45 tmpfs 64.0M 0 64.0M 0% /dev 16:54:45 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:54:45 shm 64.0M 0 64.0M 0% /dev/shm 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-750 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 16:54:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 16:54:45 16:54:45 16:54:45 ---> free -m: 16:54:45 total used free shared buff/cache available 16:54:45 Mem: 1837 719 80 0 1037 1013 16:54:45 Swap: 1023 0 1023 16:54:45 16:54:45