Pull request #789 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7c9741b1786850dcd4b352624f7ae0f5df012de5+6125dba09cfc805438589ab7aad954d8cad7589e (aa0b3a069ad3a670077189e8cb5158ddfea01c0d) 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26786 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [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-789 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 7c9741b1786850dcd4b352624f7ae0f5df012de5 Merge succeeded, producing 7c9741b1786850dcd4b352624f7ae0f5df012de5 Checking out Revision 7c9741b1786850dcd4b352624f7ae0f5df012de5 (PR-789) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # 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 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 Commit message: "refactor: remove internal function to reduce complexity" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:26:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 [Pipeline] withCredentials 09:26:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:26:10 ========================================================= 09:26:10 EdgeX Global Pipelines Version Info 09:26:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:26:12 ------------------- 09:26:12 stable info: 09:26:12 ------------------- 09:26:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:26:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:26:12 Message: update stable to v1.0.179 09:26:13 ------------------- 09:26:13 experimental info: 09:26:13 ------------------- 09:26:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:26:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:26:13 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:26:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:26:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:26:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:26:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c9741b1786850dcd4b352624f7ae0f5df012de5 [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c9741b [Pipeline] echo 09:26:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:26:17 provisioning config files... 09:26:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config4649084658630038489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:17 ---> docker-login.sh 09:26:17 nexus3.edgexfoundry.org:10001 09:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:18 Configure a credential helper to remove this warning. See 09:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:18 09:26:18 Login Succeeded 09:26:18 nexus3.edgexfoundry.org:10002 09:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:18 Configure a credential helper to remove this warning. See 09:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:18 09:26:18 Login Succeeded 09:26:18 nexus3.edgexfoundry.org:10003 09:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:18 Configure a credential helper to remove this warning. See 09:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:18 09:26:18 Login Succeeded 09:26:18 nexus3.edgexfoundry.org:10004 09:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:18 Configure a credential helper to remove this warning. See 09:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:18 09:26:18 Login Succeeded 09:26:18 docker.io 09:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:18 Configure a credential helper to remove this warning. See 09:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:18 09:26:18 Login Succeeded 09:26:18 ---> docker-login.sh ends [Pipeline] } 09:26:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:19 + git log --format=format:%s -1 7c9741b1786850dcd4b352624f7ae0f5df012de5 [Pipeline] echo 09:26:19 GIT_COMMIT: 7c9741b1786850dcd4b352624f7ae0f5df012de5, Commit Message: refactor: remove internal function to reduce complexity [Pipeline] echo 09:26:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:26:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:26:20 09:26:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:26:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:26:21 latest: Pulling from edgex-devops/git-semver 09:26:21 31603596830f: Pulling fs layer 09:26:21 2a8b12db71e7: Pulling fs layer 09:26:21 6ca5941a6612: Pulling fs layer 09:26:21 ecc8261a40a4: Pulling fs layer 09:26:21 ecc8261a40a4: Waiting 09:26:21 2a8b12db71e7: Download complete 09:26:21 31603596830f: Download complete 09:26:21 ecc8261a40a4: Verifying Checksum 09:26:21 ecc8261a40a4: Download complete 09:26:21 6ca5941a6612: Verifying Checksum 09:26:21 6ca5941a6612: Download complete 09:26:21 31603596830f: Pull complete 09:26:21 2a8b12db71e7: Pull complete 09:26:22 6ca5941a6612: Pull complete 09:26:22 ecc8261a40a4: Pull complete 09:26:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:26:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:26:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:26:22 prd-centos7-docker-4c-2g-26786 does not seem to be running inside a container 09:26:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@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:10004/edgex-devops/git-semver:latest cat 09:26:24 $ docker top 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:26:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:25 [ssh-agent] Looking for ssh-agent implementation... 09:26:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:25 $ docker exec 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent 09:26:25 SSH_AUTH_SOCK=/tmp/ssh-LSnl9YY4MkUT/agent.11 09:26:25 SSH_AGENT_PID=17 09:26:25 Running ssh-add (command line suppressed) 09:26:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3149893814288514734.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3149893814288514734.key) 09:26:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:26 + git tag --points-at HEAD [Pipeline] } 09:26:26 $ docker exec --env ******** --env ******** 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent -k 09:26:26 unset SSH_AUTH_SOCK; 09:26:26 unset SSH_AGENT_PID; 09:26:26 echo Agent pid 17 killed; 09:26:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:26:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:26 [ssh-agent] Looking for ssh-agent implementation... 09:26:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:26 $ docker exec 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent 09:26:26 SSH_AUTH_SOCK=/tmp/ssh-x1gDwEyIYrUb/agent.46 09:26:26 SSH_AGENT_PID=52 09:26:26 Running ssh-add (command line suppressed) 09:26:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2162533747379631636.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2162533747379631636.key) 09:26:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:27 + git semver init 09:26:27 # -> Open(): unable to determine branch for HEAD 09:26:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git 09:26:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 09:26:27 # $SEMVER_REMOTE_NAME = origin 09:26:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:26:27 # $SEMVER_USER_NAME = edgex-jenkins 09:26:27 # $SEMVER_BRANCH = PR-789 09:26:27 # $SEMVER_TEMP = /tmp/semver-503508015 09:26:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:26:28 # '/tmp/semver-503508015' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' 09:26:28 # -> Force: false 09:26:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } 09:26:28 $ docker exec --env ******** --env ******** 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 ssh-agent -k 09:26:28 unset SSH_AUTH_SOCK; 09:26:28 unset SSH_AGENT_PID; 09:26:28 echo Agent pid 52 killed; 09:26:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:26:29 + git semver [Pipeline] } 09:26:29 $ docker stop --time=1 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 09:26:30 $ docker rm -f 83b72c366bf47e29fed69110173ee9768d2c567147872b40b2fa5ef21fb36828 [Pipeline] // withDockerContainer [Pipeline] sh 09:26:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:26:31 Stashed 1 file(s) [Pipeline] echo 09:26:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:26:47 Still waiting to schedule task 09:26:47 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26786’ 09:26:47 Still waiting to schedule task 09:26:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 09:28:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26787 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 09:28:37 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:28:42 using credential edgex-jenkins-ssh 09:28:42 Cloning the remote Git repository 09:28:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:28:42 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:28:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:28:42 > git --version # timeout=10 09:28:42 > git --version # 'git version 2.17.1' 09:28:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:28:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:44 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 7c9741b1786850dcd4b352624f7ae0f5df012de5 09:28:44 Merge succeeded, producing 7c9741b1786850dcd4b352624f7ae0f5df012de5 09:28:44 Checking out Revision 7c9741b1786850dcd4b352624f7ae0f5df012de5 (PR-789) 09:28:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:28:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:28:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:28:44 > git config core.sparsecheckout # timeout=10 09:28:44 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 09:28:44 > git remote # timeout=10 09:28:44 > git config --get remote.origin.url # timeout=10 09:28:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:44 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 09:28:44 > git rev-parse HEAD^{commit} # timeout=10 09:28:44 > git config core.sparsecheckout # timeout=10 09:28:44 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 09:28:49 Commit message: "refactor: remove internal function to reduce complexity" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:28:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:28:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:28:51 + true 09:28:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:28:54 provisioning config files... 09:28:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8110028350121910047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:55 ---> docker-login.sh 09:28:55 nexus3.edgexfoundry.org:10001 09:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:56 Configure a credential helper to remove this warning. See 09:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:56 09:28:56 Login Succeeded 09:28:56 nexus3.edgexfoundry.org:10002 09:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:56 Configure a credential helper to remove this warning. See 09:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:56 09:28:56 Login Succeeded 09:28:56 nexus3.edgexfoundry.org:10003 09:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:57 Configure a credential helper to remove this warning. See 09:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:57 09:28:57 Login Succeeded 09:28:57 nexus3.edgexfoundry.org:10004 09:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:58 Configure a credential helper to remove this warning. See 09:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:58 09:28:58 Login Succeeded 09:28:58 docker.io 09:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:58 Configure a credential helper to remove this warning. See 09:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:58 09:28:58 Login Succeeded 09:28:58 ---> docker-login.sh ends [Pipeline] } 09:28:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:28:59 ========================================================= 09:28:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:28:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:28:59 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:28:59 Sending build context to Docker daemon 2.449MB 09:29:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:29:00 Step 2/8 : FROM ${BASE} 09:29:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:29:00 5f621e34cdf4: Pulling fs layer 09:29:00 a4357932f1b6: Pulling fs layer 09:29:00 18c013af1878: Pulling fs layer 09:29:00 00ac8860ef70: Pulling fs layer 09:29:00 63d7cb157983: Pulling fs layer 09:29:00 b116817d02f9: Pulling fs layer 09:29:00 745a02a5169b: Pulling fs layer 09:29:00 00ac8860ef70: Waiting 09:29:00 63d7cb157983: Waiting 09:29:00 b116817d02f9: Waiting 09:29:00 745a02a5169b: Waiting 09:29:00 18c013af1878: Verifying Checksum 09:29:00 18c013af1878: Download complete 09:29:00 a4357932f1b6: Verifying Checksum 09:29:00 a4357932f1b6: Download complete 09:29:00 63d7cb157983: Verifying Checksum 09:29:00 63d7cb157983: Download complete 09:29:00 b116817d02f9: Verifying Checksum 09:29:00 b116817d02f9: Download complete 09:29:00 5f621e34cdf4: Verifying Checksum 09:29:00 5f621e34cdf4: Download complete 09:29:01 5f621e34cdf4: Pull complete 09:29:01 a4357932f1b6: Pull complete 09:29:01 18c013af1878: Pull complete 09:29:02 745a02a5169b: Verifying Checksum 09:29:02 745a02a5169b: Download complete 09:29:03 00ac8860ef70: Download complete 09:29:09 Running on prd-centos7-docker-4c-2g-26788 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 09:29:09 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:29:12 using credential edgex-jenkins-ssh 09:29:12 Cloning the remote Git repository 09:29:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:29:11 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:29:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:29:12 > git --version # timeout=10 09:29:12 > git --version # 'git version 2.24.3' 09:29:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:29:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:29:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:29:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:29:13 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 7c9741b1786850dcd4b352624f7ae0f5df012de5 09:29:13 Merge succeeded, producing 7c9741b1786850dcd4b352624f7ae0f5df012de5 09:29:13 Checking out Revision 7c9741b1786850dcd4b352624f7ae0f5df012de5 (PR-789) 09:29:13 00ac8860ef70: Pull complete 09:29:13 63d7cb157983: Pull complete 09:29:13 b116817d02f9: Pull complete 09:29:13 > git config core.sparsecheckout # timeout=10 09:29:13 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 09:29:13 > git remote # timeout=10 09:29:13 > git config --get remote.origin.url # timeout=10 09:29:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:13 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 09:29:13 > git rev-parse HEAD^{commit} # timeout=10 09:29:13 > git config core.sparsecheckout # timeout=10 09:29:13 > git checkout -f 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 09:29:17 Commit message: "refactor: remove internal function to reduce complexity" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:18 745a02a5169b: Pull complete 09:29:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:29:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:29:18 ---> b7e6874047d6 09:29:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:29:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:29:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:29:19 + sudo service docker restart 09:29:19 + true 09:29:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:29:19 provisioning config files... 09:29:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2650897947975430677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:20 ---> docker-login.sh 09:29:20 nexus3.edgexfoundry.org:10001 09:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:20 Configure a credential helper to remove this warning. See 09:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:20 09:29:20 Login Succeeded 09:29:20 nexus3.edgexfoundry.org:10002 09:29:20 ---> Running in f3cb98e32850 09:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:20 Configure a credential helper to remove this warning. See 09:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:20 09:29:20 Login Succeeded 09:29:20 nexus3.edgexfoundry.org:10003 09:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:20 Configure a credential helper to remove this warning. See 09:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:20 09:29:20 Login Succeeded 09:29:20 nexus3.edgexfoundry.org:10004 09:29:20 Removing intermediate container f3cb98e32850 09:29:20 ---> 254504c29cb2 09:29:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:20 ---> Running in 24f83d57e802 09:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:20 Configure a credential helper to remove this warning. See 09:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:20 09:29:20 Login Succeeded 09:29:20 docker.io 09:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:21 Configure a credential helper to remove this warning. See 09:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:21 09:29:21 Login Succeeded 09:29:21 ---> docker-login.sh ends [Pipeline] } 09:29:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:29:21 ========================================================= 09:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:29:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:29:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:29:22 Sending build context to Docker daemon 2.45MB 09:29:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:29:22 Step 2/8 : FROM ${BASE} 09:29:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:29:22 188c0c94c7c5: Pulling fs layer 09:29:22 0ef7d3d256c8: Pulling fs layer 09:29:22 de9db76c5a1d: Pulling fs layer 09:29:22 bca2f99d35d6: Pulling fs layer 09:29:22 93359f2a8cfa: Pulling fs layer 09:29:22 bca2f99d35d6: Waiting 09:29:22 7c6f9722023f: Pulling fs layer 09:29:22 a35cf1a2eb13: Pulling fs layer 09:29:22 7c6f9722023f: Waiting 09:29:22 93359f2a8cfa: Waiting 09:29:22 a35cf1a2eb13: Waiting 09:29:22 de9db76c5a1d: Verifying Checksum 09:29:22 de9db76c5a1d: Download complete 09:29:22 0ef7d3d256c8: Download complete 09:29:22 93359f2a8cfa: Verifying Checksum 09:29:22 93359f2a8cfa: Download complete 09:29:22 188c0c94c7c5: Verifying Checksum 09:29:22 188c0c94c7c5: Download complete 09:29:22 7c6f9722023f: Verifying Checksum 09:29:22 7c6f9722023f: Download complete 09:29:22 188c0c94c7c5: Pull complete 09:29:22 0ef7d3d256c8: Pull complete 09:29:23 de9db76c5a1d: Pull complete 09:29:23 Removing intermediate container 24f83d57e802 09:29:23 ---> 91375b48a6d3 09:29:23 Step 5/8 : RUN apk add --update --no-cache make git 09:29:23 ---> Running in 0f33aa0615b3 09:29:23 a35cf1a2eb13: Verifying Checksum 09:29:23 a35cf1a2eb13: Download complete 09:29:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:29:24 bca2f99d35d6: Verifying Checksum 09:29:24 bca2f99d35d6: Download complete 09:29:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:29:26 OK: 142 MiB in 39 packages 09:29:27 Removing intermediate container 0f33aa0615b3 09:29:27 ---> 760d14519beb 09:29:27 Step 6/8 : WORKDIR /device-sdk-go 09:29:27 ---> Running in d57a3b814409 09:29:28 Removing intermediate container d57a3b814409 09:29:28 ---> 5c2a02b20e1b 09:29:28 Step 7/8 : COPY . . 09:29:29 bca2f99d35d6: Pull complete 09:29:29 93359f2a8cfa: Pull complete 09:29:29 7c6f9722023f: Pull complete 09:29:29 ---> dc9a47e4f091 09:29:29 Step 8/8 : RUN go mod download 09:29:29 ---> Running in 1383191a736f 09:29:39 a35cf1a2eb13: Pull complete 09:29:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:29:39 ---> a62c8e92a672 09:29:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:29:39 ---> Running in c1b319158526 09:29:39 Removing intermediate container c1b319158526 09:29:39 ---> 45ac7ab658de 09:29:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:39 ---> Running in 9d91ee354b1e 09:29:40 Removing intermediate container 9d91ee354b1e 09:29:40 ---> c30a3341ae26 09:29:40 Step 5/8 : RUN apk add --update --no-cache make git 09:29:40 ---> Running in 42d623ddcf35 09:29:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:29:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:29:42 OK: 166 MiB in 39 packages 09:29:42 Removing intermediate container 42d623ddcf35 09:29:42 ---> fb98ae3a6eeb 09:29:42 Step 6/8 : WORKDIR /device-sdk-go 09:29:42 ---> Running in be86902759ce 09:29:42 Removing intermediate container be86902759ce 09:29:42 ---> 7260887de952 09:29:42 Step 7/8 : COPY . . 09:29:44 ---> 07e0a2daedbc 09:29:44 Step 8/8 : RUN go mod download 09:29:44 ---> Running in 70b8236c5867 09:29:56 Removing intermediate container 1383191a736f 09:29:56 ---> 4ebeca755297 09:29:56 Successfully built 4ebeca755297 09:29:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:29:57 + docker inspect -f . ci-base-image-arm64 09:29:57 . [Pipeline] withDockerContainer 09:29:57 prd-ubuntu18.04-docker-arm64-4c-16g-26787 does not seem to be running inside a container 09:29:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:29:58 $ docker top 32ce4d2bca2ec1c7d1f61331ae01a4ff0cf567615a6babebea9a554a1ebb374e -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:59 + go version 09:29:59 go version go1.15.5 linux/arm64 [Pipeline] } 09:29:59 $ docker stop --time=1 32ce4d2bca2ec1c7d1f61331ae01a4ff0cf567615a6babebea9a554a1ebb374e 09:30:01 $ docker rm -f 32ce4d2bca2ec1c7d1f61331ae01a4ff0cf567615a6babebea9a554a1ebb374e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:30:02 + docker inspect -f . ci-base-image-arm64 09:30:02 . [Pipeline] withDockerContainer 09:30:03 prd-ubuntu18.04-docker-arm64-4c-16g-26787 does not seem to be running inside a container 09:30:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:04 $ docker top 9f23c5308b798ff29f1174121be216fb515f2721bfe268359470c2414bdd0cc3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:05 + make test 09:30:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:30:06 Removing intermediate container 70b8236c5867 09:30:06 ---> 95a0a662792c 09:30:06 Successfully built 95a0a662792c 09:30:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:30:06 + docker inspect -f . ci-base-image-x86_64 09:30:06 . [Pipeline] withDockerContainer 09:30:06 prd-centos7-docker-4c-2g-26788 does not seem to be running inside a container 09:30:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:30:08 $ docker top 1452237b93899e26dfd698ee7bd49d4b6e659ca5672d00d39df702b2f3a58917 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:09 + go version 09:30:09 go version go1.15.5 linux/amd64 [Pipeline] } 09:30:09 $ docker stop --time=1 1452237b93899e26dfd698ee7bd49d4b6e659ca5672d00d39df702b2f3a58917 09:30:10 $ docker rm -f 1452237b93899e26dfd698ee7bd49d4b6e659ca5672d00d39df702b2f3a58917 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:30:11 + docker inspect -f . ci-base-image-x86_64 09:30:11 . [Pipeline] withDockerContainer 09:30:11 prd-centos7-docker-4c-2g-26788 does not seem to be running inside a container 09:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:30:11 $ docker top 326c6e2f702dddf34018e2bd5227ef713501c85e2555373a39ee7422e356b04a -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:12 + make test 09:30:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:30:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:30:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:30:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:30:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:30:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:30:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements 09:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.1% of statements 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 12.5% of statements 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.058s coverage: 84.8% of statements 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 49.2% of statements 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.067s coverage: 82.8% of statements 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 24.8% of statements 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.274s coverage: 83.5% of statements 09:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.3% of statements 09:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:31:08 GO111MODULE=on go vet ./... 09:31:14 gofmt -l . 09:31:14 [ "`gofmt -l .`" = "" ] 09:31:14 ./bin/test-attribution-txt.sh 09:31:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:31:15 $ docker stop --time=1 326c6e2f702dddf34018e2bd5227ef713501c85e2555373a39ee7422e356b04a 09:31:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 25.5% of statements 09:31:16 $ docker rm -f 326c6e2f702dddf34018e2bd5227ef713501c85e2555373a39ee7422e356b04a [Pipeline] // withDockerContainer [Pipeline] sh 09:31:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:31:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:21 + ls -al . 09:31:21 total 184 09:31:21 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 09:31 . 09:31:21 drwxrwxr-x. 4 jenkins jenkins 28 Feb 18 09:29 .. 09:31:21 drwxrwxr-x. 2 jenkins jenkins 64 Feb 18 09:29 bin 09:31:21 -rw-r--r--. 1 jenkins jenkins 101407 Feb 18 09:31 coverage.out 09:31:21 -rw-rw-r--. 1 jenkins jenkins 949 Feb 18 09:29 Dockerfile.build 09:31:21 -rw-rw-r--. 1 jenkins jenkins 140 Feb 18 09:29 .dockerignore 09:31:21 drwxrwxr-x. 4 jenkins jenkins 48 Feb 18 09:29 example 09:31:21 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 09:29 .git 09:31:21 drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 09:29 .github 09:31:21 -rw-rw-r--. 1 jenkins jenkins 138 Feb 18 09:29 .gitignore 09:31:21 -rw-r--r--. 1 jenkins jenkins 515 Feb 18 09:31 go.mod 09:31:21 -rw-r--r--. 1 jenkins jenkins 19062 Feb 18 09:31 go.sum 09:31:21 drwxrwxr-x. 13 jenkins jenkins 183 Feb 18 09:29 internal 09:31:21 -rw-rw-r--. 1 jenkins jenkins 901 Feb 18 09:29 Jenkinsfile 09:31:21 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 18 09:29 LICENSE 09:31:21 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 18 09:29 Makefile 09:31:21 drwxrwxr-x. 4 jenkins jenkins 26 Feb 18 09:29 openapi 09:31:21 drwxrwxr-x. 5 jenkins jenkins 50 Feb 18 09:29 pkg 09:31:21 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 18 09:29 README.md 09:31:21 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 18 09:29 RELEASE-NOTES.txt 09:31:21 drwxrwxr-x. 4 jenkins jenkins 54 Feb 18 09:29 snap 09:31:21 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 09:26 VERSION 09:31:21 -rw-rw-r--. 1 jenkins jenkins 222 Feb 18 09:29 version.go [Pipeline] isUnix [Pipeline] sh 09:31:21 + 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=7c9741b1786850dcd4b352624f7ae0f5df012de5 --label arch=amd64 --label version=0.0.0 . 09:31:21 Sending build context to Docker daemon 2.552MB 09:31:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:31:21 Step 2/24 : FROM ${BASE} AS builder 09:31:21 ---> 95a0a662792c 09:31:21 Step 3/24 : ARG MAKE='make build' 09:31:22 ---> Running in 3e7cad0d2bd2 09:31:22 Removing intermediate container 3e7cad0d2bd2 09:31:22 ---> 0ee9271cb086 09:31:22 Step 4/24 : WORKDIR /device-sdk-go 09:31:22 ---> Running in eda66cf9228c 09:31:22 Removing intermediate container eda66cf9228c 09:31:22 ---> c425a1d98c8d 09:31:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:22 ---> Running in 9506b94cb4ce 09:31:22 Removing intermediate container 9506b94cb4ce 09:31:22 ---> fc4a794e8242 09:31:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:22 ---> Running in 521b07f0c869 09:31:23 Removing intermediate container 521b07f0c869 09:31:23 ---> 6708f6559e9a 09:31:23 Step 7/24 : RUN apk add --update --no-cache make git 09:31:23 ---> Running in 35c726b146a4 09:31:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:31:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:31:25 OK: 166 MiB in 39 packages 09:31:25 Removing intermediate container 35c726b146a4 09:31:25 ---> 316d8b81cd2a 09:31:25 Step 8/24 : COPY . . 09:31:26 ---> 939798314061 09:31:26 Step 9/24 : RUN ${MAKE} 09:31:26 ---> Running in 46fce29264e6 09:31:26 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 09:31:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:31:36 Removing intermediate container 46fce29264e6 09:31:36 ---> cf6bb7f43e25 09:31:36 Step 10/24 : FROM scratch 09:31:36 ---> 09:31:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:36 ---> Running in 47d3b85bd5ef 09:31:36 Removing intermediate container 47d3b85bd5ef 09:31:36 ---> b3670c8fa4ec 09:31:36 Step 12/24 : ENV APP_PORT=49990 09:31:36 ---> Running in 73cc85d7ee90 09:31:36 Removing intermediate container 73cc85d7ee90 09:31:36 ---> a7707a90b10d 09:31:36 Step 13/24 : EXPOSE $APP_PORT 09:31:36 ---> Running in 0368f1d9db88 09:31:36 Removing intermediate container 0368f1d9db88 09:31:36 ---> aa7846a8bd56 09:31:36 Step 14/24 : WORKDIR / 09:31:37 ---> Running in 42491cc9308a 09:31:37 Removing intermediate container 42491cc9308a 09:31:37 ---> 69d17807990c 09:31:37 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.189s coverage: 10.1% of statements 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 12.5% of statements 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 49.2% of statements 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.165s coverage: 82.8% of statements 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 24.8% of statements 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.045s coverage: 83.5% of statements 09:31:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements 09:31:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:31:37 GO111MODULE=on go vet ./... 09:31:37 ---> 74669e9bd3ab 09:31:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:31:38 ---> 8fe86ded3366 09:31:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:31:38 ---> 87dd9ade7781 09:31:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:31:39 ---> d7b52a51a051 09:31:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:31:39 ---> 5297ae199348 09:31:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:31:39 ---> Running in b8d5f56251de 09:31:39 Removing intermediate container b8d5f56251de 09:31:39 ---> a90b29eb762b 09:31:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:31:39 ---> Running in fffb078d9ba0 09:31:39 Removing intermediate container fffb078d9ba0 09:31:39 ---> 8e8adaf17c7c 09:31:39 Step 22/24 : LABEL arch=amd64 09:31:39 ---> Running in f01ca818bdbf 09:31:39 Removing intermediate container f01ca818bdbf 09:31:39 ---> 9876f879bd50 09:31:39 Step 23/24 : LABEL git_sha=7c9741b1786850dcd4b352624f7ae0f5df012de5 09:31:39 ---> Running in c61b6134f0b7 09:31:40 Removing intermediate container c61b6134f0b7 09:31:40 ---> 451236917fe4 09:31:40 Step 24/24 : LABEL version=0.0.0 09:31:40 ---> Running in 6b08522406f5 09:31:40 Removing intermediate container 6b08522406f5 09:31:40 ---> 5880c69f8aea 09:31:40 [Warning] One or more build-args [ARCH] were not consumed 09:31:40 Successfully built 5880c69f8aea 09:31:40 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:32:16 gofmt -l . 09:32:16 [ "`gofmt -l .`" = "" ] 09:32:16 ./bin/test-attribution-txt.sh 09:32:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:32:16 $ docker stop --time=1 9f23c5308b798ff29f1174121be216fb515f2721bfe268359470c2414bdd0cc3 09:32:19 $ docker rm -f 9f23c5308b798ff29f1174121be216fb515f2721bfe268359470c2414bdd0cc3 [Pipeline] // withDockerContainer [Pipeline] sh 09:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:32:20 Warning: overwriting stash ‘coverage-report’ 09:32:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:32:22 + ls -al . 09:32:22 total 220 09:32:22 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 09:32 . 09:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 .. 09:32:22 -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 09:28 .dockerignore 09:32:22 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 09:28 .git 09:32:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:28 .github 09:32:22 -rw-rw-r-- 1 jenkins jenkins 138 Feb 18 09:28 .gitignore 09:32:22 -rw-rw-r-- 1 jenkins jenkins 949 Feb 18 09:28 Dockerfile.build 09:32:22 -rw-rw-r-- 1 jenkins jenkins 901 Feb 18 09:28 Jenkinsfile 09:32:22 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 09:28 LICENSE 09:32:22 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 18 09:28 Makefile 09:32:22 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 18 09:28 README.md 09:32:22 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 18 09:28 RELEASE-NOTES.txt 09:32:22 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 09:26 VERSION 09:32:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:28 bin 09:32:22 -rw-r--r-- 1 jenkins jenkins 101407 Feb 18 09:31 coverage.out 09:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 example 09:32:22 -rw-r--r-- 1 jenkins jenkins 515 Feb 18 09:32 go.mod 09:32:22 -rw-r--r-- 1 jenkins jenkins 19062 Feb 18 09:32 go.sum 09:32:22 drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 09:28 internal 09:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 openapi 09:32:22 drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 09:28 pkg 09:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:28 snap 09:32:22 -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 09:28 version.go [Pipeline] isUnix [Pipeline] sh 09:32:22 + 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=7c9741b1786850dcd4b352624f7ae0f5df012de5 --label arch=arm64 --label version=0.0.0 . 09:32:23 Sending build context to Docker daemon 2.551MB 09:32:23 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:32:23 Step 2/24 : FROM ${BASE} AS builder 09:32:23 ---> 4ebeca755297 09:32:23 Step 3/24 : ARG MAKE='make build' 09:32:23 ---> Running in a5d7d547b546 09:32:24 Removing intermediate container a5d7d547b546 09:32:24 ---> 75f511229b2f 09:32:24 Step 4/24 : WORKDIR /device-sdk-go 09:32:24 ---> Running in 5a5ae40daa6d 09:32:24 Removing intermediate container 5a5ae40daa6d 09:32:24 ---> a9922668b81e 09:32:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:32:24 ---> Running in bc6be36e822f 09:32:25 Removing intermediate container bc6be36e822f 09:32:25 ---> d8f84991d7f8 09:32:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:32:25 ---> Running in 8587a4910856 09:32:27 Removing intermediate container 8587a4910856 09:32:27 ---> 0fd0900a5eaf 09:32:27 Step 7/24 : RUN apk add --update --no-cache make git 09:32:27 ---> Running in e8dde7c302fd 09:32:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:32:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:32:30 OK: 142 MiB in 39 packages 09:32:31 Removing intermediate container e8dde7c302fd 09:32:31 ---> 6726b006f462 09:32:31 Step 8/24 : COPY . . 09:32:32 ---> ee11f513f5a3 09:32:32 Step 9/24 : RUN ${MAKE} 09:32:32 ---> Running in 5331827d9a8c 09:32:33 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 09:33:00 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:33:01 Removing intermediate container 5331827d9a8c 09:33:01 ---> 8c70f5549847 09:33:01 Step 10/24 : FROM scratch 09:33:01 ---> 09:33:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:33:01 ---> Running in 6597eb63bb2a 09:33:02 Removing intermediate container 6597eb63bb2a 09:33:02 ---> 052b8ff31f3d 09:33:02 Step 12/24 : ENV APP_PORT=49990 09:33:02 ---> Running in 8c69ab446253 09:33:03 Removing intermediate container 8c69ab446253 09:33:03 ---> ebc9a4bcb220 09:33:03 Step 13/24 : EXPOSE $APP_PORT 09:33:03 ---> Running in ec5170be087a 09:33:04 Removing intermediate container ec5170be087a 09:33:04 ---> aa21b5890b1b 09:33:04 Step 14/24 : WORKDIR / 09:33:04 ---> Running in a440608b27b6 09:33:06 Removing intermediate container a440608b27b6 09:33:06 ---> bb970a6737ee 09:33:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:33:07 ---> 696a6779583a 09:33:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:33:08 ---> 8a7d2a746d2b 09:33:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:33:09 ---> e969f14b9a91 09:33:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:33:10 ---> 5ee10394bcd7 09:33:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:33:11 ---> 79a5078e4be3 09:33:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:33:11 ---> Running in ff5cc33f8ebe 09:33:11 Removing intermediate container ff5cc33f8ebe 09:33:11 ---> 79ee3e8c7093 09:33:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:33:11 ---> Running in ec5661706adc 09:33:12 Removing intermediate container ec5661706adc 09:33:12 ---> e4cb846072e4 09:33:12 Step 22/24 : LABEL arch=arm64 09:33:12 ---> Running in 5c0c1088f91d 09:33:12 Removing intermediate container 5c0c1088f91d 09:33:12 ---> 7c8b3d23c070 09:33:12 Step 23/24 : LABEL git_sha=7c9741b1786850dcd4b352624f7ae0f5df012de5 09:33:12 ---> Running in fa8fc4715517 09:33:13 Removing intermediate container fa8fc4715517 09:33:13 ---> 1fcb88ee7036 09:33:13 Step 24/24 : LABEL version=0.0.0 09:33:13 ---> Running in 95910441819f 09:33:13 Removing intermediate container 95910441819f 09:33:13 ---> 2d29769864af 09:33:13 [Warning] One or more build-args [ARCH] were not consumed 09:33:13 Successfully built 2d29769864af 09:33:13 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:33:15 provisioning config files... 09:33:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config5149428235335074896tmp [Pipeline] { [Pipeline] sh 09:33:16 + set +x 09:33:16 + curl -s https://codecov.io/bash 09:33:16 + bash -s -- 09:33:16 09:33:16 _____ _ 09:33:16 / ____| | | 09:33:16 | | ___ __| | ___ ___ _____ __ 09:33:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:33:16 | |___| (_) | (_| | __/ (_| (_) \ V / 09:33:16 \_____\___/ \__,_|\___|\___\___/ \_/ 09:33:16 Bash-20210129-7c25fce 09:33:16 09:33:16 09:33:16 ==> git version 2.24.3 found 09:33:16 ==> 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 09:33:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:33:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:33:16 ==> Jenkins CI detected. 09:33:16 project root: . 09:33:16 --> token set from env 09:33:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:33:16 ==> Running gcov in . (disable via -X gcov) 09:33:16 ==> Python coveragepy not found 09:33:16 ==> Searching for coverage reports in: 09:33:16 + . 09:33:16 -> Found 1 reports 09:33:16 ==> Detecting git/mercurial file structure 09:33:16 ==> Reading reports 09:33:16 + ./coverage.out bytes=101407 09:33:16 ==> Appending adjustments 09:33:16 https://docs.codecov.io/docs/fixing-reports 09:33:16 + Found adjustments 09:33:16 ==> Gzipping contents 09:33:16 20K /tmp/codecov.va0MmI.gz 09:33:16 ==> Uploading reports 09:33:16 url: https://codecov.io 09:33:16 query: branch=PR-789&commit=7c9741b1786850dcd4b352624f7ae0f5df012de5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= 09:33:16 -> Pinging Codecov 09:33:16 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-789&commit=7c9741b1786850dcd4b352624f7ae0f5df012de5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= 09:33:17 -> Uploading to 09:33:17 https://storage.googleapis.com/codecov/v4/raw/2021-02-18/7E55EF52A471D76F132DFD9A03CDDE97/7c9741b1786850dcd4b352624f7ae0f5df012de5/7136fd4d-428d-4f3f-a072-ac6c08b5371b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T093317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d4c822dd323b2dc28b0934734b031f4559f6be7caa24d03b6a2653377f0f224 09:33:17 % Total % Received % Xferd Average Speed Time Time Time Current 09:33:17 Dload Upload Total Spent Left Speed 09:33:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16414 0 0 100 16414 0 35333 --:--:-- --:--:-- --:--:-- 35375 09:33:17 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7c9741b1786850dcd4b352624f7ae0f5df012de5 [Pipeline] } 09:33:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:33:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:33:20 ---> package-listing.sh 09:33:20 ++ facter osfamily 09:33:20 ++ tr '[:upper:]' '[:lower:]' 09:33:20 + OS_FAMILY=redhat 09:33:20 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 09:33:20 + START_PACKAGES=/tmp/packages_start.txt 09:33:20 + END_PACKAGES=/tmp/packages_end.txt 09:33:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:33:20 + PACKAGES=/tmp/packages_start.txt 09:33:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 09:33:20 + PACKAGES=/tmp/packages_end.txt 09:33:20 + case "${OS_FAMILY}" in 09:33:20 + rpm -qa 09:33:20 + sort 09:33:26 + '[' -f /tmp/packages_start.txt ']' 09:33:26 + '[' -f /tmp/packages_end.txt ']' 09:33:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:33:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 09:33:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ 09:33:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo 09:33:26 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-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:33:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:26 09:33:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:33:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:27 alpine: Pulling from edgex-lftools-log-publisher 09:33:27 df20fa9351a1: Pulling fs layer 09:33:27 36b3adc4ff6f: Pulling fs layer 09:33:27 8ad3a11d3b57: Pulling fs layer 09:33:27 46f8f816bc3b: Pulling fs layer 09:33:27 93b61091891f: Pulling fs layer 09:33:27 93b9cdb0e59b: Pulling fs layer 09:33:27 5e14af77c1be: Pulling fs layer 09:33:27 01666e4c0597: Pulling fs layer 09:33:27 aa168da1d23b: Pulling fs layer 09:33:27 93b61091891f: Waiting 09:33:27 93b9cdb0e59b: Waiting 09:33:27 5e14af77c1be: Waiting 09:33:27 01666e4c0597: Waiting 09:33:27 aa168da1d23b: Waiting 09:33:27 46f8f816bc3b: Waiting 09:33:27 36b3adc4ff6f: Verifying Checksum 09:33:27 36b3adc4ff6f: Download complete 09:33:27 46f8f816bc3b: Download complete 09:33:27 df20fa9351a1: Verifying Checksum 09:33:27 df20fa9351a1: Download complete 09:33:27 93b9cdb0e59b: Verifying Checksum 09:33:27 93b9cdb0e59b: Download complete 09:33:27 5e14af77c1be: Verifying Checksum 09:33:27 5e14af77c1be: Download complete 09:33:27 93b61091891f: Verifying Checksum 09:33:27 93b61091891f: Download complete 09:33:27 01666e4c0597: Verifying Checksum 09:33:27 01666e4c0597: Download complete 09:33:27 df20fa9351a1: Pull complete 09:33:27 36b3adc4ff6f: Pull complete 09:33:27 8ad3a11d3b57: Verifying Checksum 09:33:27 8ad3a11d3b57: Download complete 09:33:29 8ad3a11d3b57: Pull complete 09:33:29 46f8f816bc3b: Pull complete 09:33:29 aa168da1d23b: Verifying Checksum 09:33:29 aa168da1d23b: Download complete 09:33:30 93b61091891f: Pull complete 09:33:30 93b9cdb0e59b: Pull complete 09:33:30 5e14af77c1be: Pull complete 09:33:30 01666e4c0597: Pull complete 09:33:37 aa168da1d23b: Pull complete 09:33:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:33:37 prd-centos7-docker-4c-2g-26786 does not seem to be running inside a container 09:33:37 $ 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-789/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-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:33:40 $ docker top 738ef7fb09e905b47b559ab6b922829952a41998b713924e2891134b57764952 -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:41 + touch /tmp/pre-build-complete [Pipeline] sh 09:33:41 + mkdir -p /var/log/sa [Pipeline] sh 09:33:42 + ls /var/log/sa-host 09:33:42 + sadf -c /var/log/sa-host/sa18 09:33:42 file_magic: OK 09:33:42 HZ: Using current value: 100 09:33:42 file_header: OK 09:33:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:33:42 Statistics: 09:33:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:33:42 File successfully converted to sysstat format version 12.2.1 09:33:42 + sadf -c /var/log/sa-host/sa23 09:33:42 file_magic: OK 09:33:42 HZ: Using current value: 100 09:33:42 file_header: OK 09:33:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:33:42 Statistics: 09:33:42 Hnuu...uuuununununu... 09:33:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:42 provisioning config files... 09:33:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config6489762193570041463tmp [Pipeline] { [Pipeline] echo 09:33:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:33:43 ---> create-netrc.sh [Pipeline] } 09:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:33:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:33:43 ---> python-tools-install.sh [Pipeline] echo 09:33:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:33:43 ---> sudo-logs.sh 09:33:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:33:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:33:44 ---> job-cost.sh 09:33:44 lf-activate-venv: SKIPPING 09:33:44 INFO: No Stack... 09:33:45 INFO: Retrieving Pricing Info for: v1-standard-2 09:33:45 INFO: Archiving Costs [Pipeline] echo 09:33:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:33:46 ---> logs-deploy.sh 09:33:46 lf-activate-venv: SKIPPING 09:33:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/3 09:33:46 INFO: archiving workspace using pattern(s): 09:33:47 Archives upload complete. 09:33:47 INFO: archiving logs to Nexus 09:33:48 ---> uname -a: 09:33:48 Linux prd-centos7-docker-4c-2g-26786.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:33:48 09:33:48 09:33:48 ---> lscpu: 09:33:48 Architecture: x86_64 09:33:48 CPU op-mode(s): 32-bit, 64-bit 09:33:48 Byte Order: Little Endian 09:33:48 Address sizes: 40 bits physical, 48 bits virtual 09:33:48 CPU(s): 4 09:33:48 On-line CPU(s) list: 0-3 09:33:48 Thread(s) per core: 1 09:33:48 Core(s) per socket: 1 09:33:48 Socket(s): 4 09:33:48 NUMA node(s): 1 09:33:48 Vendor ID: GenuineIntel 09:33:48 CPU family: 6 09:33:48 Model: 44 09:33:48 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:33:48 Stepping: 1 09:33:48 CPU MHz: 2933.436 09:33:48 BogoMIPS: 5866.87 09:33:48 Virtualization: VT-x 09:33:48 Hypervisor vendor: KVM 09:33:48 Virtualization type: full 09:33:48 L1d cache: 128 KiB 09:33:48 L1i cache: 128 KiB 09:33:48 L2 cache: 16 MiB 09:33:48 L3 cache: 64 MiB 09:33:48 NUMA node0 CPU(s): 0-3 09:33:48 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:33:48 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:33:48 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:33:48 Vulnerability Meltdown: Mitigation; PTI 09:33:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:33:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:33:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:33:48 Vulnerability Srbds: Not affected 09:33:48 Vulnerability Tsx async abort: Not affected 09:33:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 09:33:48 09:33:48 09:33:48 ---> nproc: 09:33:48 4 09:33:48 09:33:48 09:33:48 ---> df -h: 09:33:48 Filesystem Size Used Available Use% Mounted on 09:33:48 overlay 50.0G 7.3G 42.7G 15% / 09:33:48 tmpfs 64.0M 0 64.0M 0% /dev 09:33:48 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:33:48 shm 64.0M 0 64.0M 0% /dev/shm 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-789 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp 09:33:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:33:48 09:33:48 09:33:48 ---> free -m: 09:33:48 total used free shared buff/cache available 09:33:48 Mem: 1837 675 90 0 1070 1057 09:33:48 Swap: 1023 0 1023 09:33:48 09:33:48 09:33:48 ---> ip addr: 09:33:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:33:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:33:48 inet 127.0.0.1/8 scope host lo 09:33:48 valid_lft forever preferred_lft forever 09:33:48 inet6 ::1/128 scope host 09:33:48 valid_lft forever preferred_lft forever 09:33:48 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:33:48 link/ether fa:16:3e:e0:b3:c4 brd ff:ff:ff:ff:ff:ff 09:33:48 inet 10.30.122.186/23 brd 10.30.123.255 scope global dynamic eth0 09:33:48 valid_lft 85911sec preferred_lft 85911sec 09:33:48 inet6 fe80::f816:3eff:fee0:b3c4/64 scope link 09:33:48 valid_lft forever preferred_lft forever 09:33:48 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:33:48 link/ether 02:42:06:7f:6a:d8 brd ff:ff:ff:ff:ff:ff 09:33:48 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:33:48 valid_lft forever preferred_lft forever 09:33:48 inet6 fe80::42:6ff:fe7f:6ad8/64 scope link 09:33:48 valid_lft forever preferred_lft forever 09:33:48 09:33:48 09:33:48 ---> sar -b -r -n DEV: 09:33:48 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/18/21 _x86_64_ (4 CPU) 09:33:48 09:33:48 09:25:26 LINUX RESTART (4 CPU) 09:33:48 09:33:48 09:26:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:33:48 09:27:01 51.25 14.33 36.92 0.00 4612.39 3090.58 0.00 09:33:48 09:28:01 1.87 0.02 1.85 0.00 0.53 37.34 0.00 09:33:48 09:29:01 0.28 0.00 0.28 0.00 0.00 4.16 0.00 09:33:48 09:30:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 09:33:48 09:31:01 0.27 0.00 0.27 0.00 0.00 3.38 0.00 09:33:48 09:32:01 0.32 0.00 0.32 0.00 0.00 4.06 0.00 09:33:48 09:33:01 0.18 0.00 0.18 0.00 0.00 2.28 0.00 09:33:48 Average: 7.68 2.02 5.65 0.00 650.08 443.26 0.00 09:33:48 09:33:48 09:26:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:33:48 09:27:01 157888 0 570772 30.34 2620 1150264 1128704 38.52 373148 1149156 128 09:33:48 09:28:01 166812 0 561844 29.86 2620 1150268 1077432 36.77 373272 1141404 20 09:33:48 09:29:01 164360 0 564288 29.99 2620 1150276 1077600 36.78 373740 1143644 16 09:33:48 09:30:01 164300 0 564348 29.99 2620 1150276 1077600 36.78 387984 1129472 16 09:33:48 09:31:01 163076 0 565564 30.06 2620 1150284 1077540 36.77 384436 1133692 16 09:33:48 09:32:01 163668 0 564968 30.03 2620 1150288 1077468 36.77 394448 1124028 20 09:33:48 09:33:01 163584 0 565048 30.03 2620 1150292 1077432 36.77 394344 1124072 8 09:33:48 Average: 163384 0 565262 30.04 2620 1150278 1084825 37.02 383053 1135067 32 09:33:48 09:33:48 09:26:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:33:48 09:27:01 eth0 331.91 211.83 720.67 79.69 0.00 0.00 0.00 0.00 09:33:48 09:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:27:01 docker0 7.07 5.08 1.23 23.29 0.00 0.00 0.00 0.00 09:33:48 09:28:01 eth0 0.72 0.10 0.06 0.02 0.00 0.00 0.00 0.00 09:33:48 09:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:29:01 eth0 2.10 1.35 1.31 0.24 0.00 0.00 0.00 0.00 09:33:48 09:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:30:01 eth0 0.52 0.38 0.28 0.24 0.00 0.00 0.00 0.00 09:33:48 09:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:31:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 09:33:48 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:32:01 eth0 0.18 0.18 0.07 0.01 0.00 0.00 0.00 0.00 09:33:48 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:33:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 09:33:48 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 09:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 Average: eth0 47.33 30.18 101.82 11.31 0.00 0.00 0.00 0.00 09:33:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:33:48 Average: docker0 1.00 0.72 0.17 3.28 0.00 0.00 0.00 0.00 09:33:48 09:33:48 09:33:48 ---> sar -P ALL: 09:33:48 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/18/21 _x86_64_ (4 CPU) 09:33:48 09:33:48 09:25:26 LINUX RESTART (4 CPU) 09:33:48 09:33:48 09:26:02 CPU %user %nice %system %iowait %steal %idle 09:33:48 09:27:01 all 6.51 0.00 2.88 1.21 0.07 89.33 09:33:48 09:27:01 0 6.98 0.00 3.06 0.41 0.05 89.49 09:33:48 09:27:01 1 7.42 0.00 2.15 0.48 0.07 89.88 09:33:48 09:27:01 2 5.66 0.00 3.09 2.92 0.07 88.26 09:33:48 09:27:01 3 5.97 0.00 3.20 1.04 0.09 89.70 09:33:48 09:28:01 all 0.17 0.00 0.05 0.00 0.00 99.78 09:33:48 09:28:01 0 0.05 0.00 0.05 0.00 0.00 99.90 09:33:48 09:28:01 1 0.03 0.00 0.02 0.00 0.00 99.95 09:33:48 09:28:01 2 0.53 0.00 0.08 0.00 0.00 99.38 09:33:48 09:28:01 3 0.07 0.00 0.05 0.00 0.00 99.88 09:33:48 09:29:01 all 0.18 0.00 0.17 0.00 0.00 99.65 09:33:48 09:29:01 0 0.03 0.00 0.10 0.00 0.02 99.85 09:33:48 09:29:01 1 0.08 0.00 0.17 0.00 0.00 99.75 09:33:48 09:29:01 2 0.53 0.00 0.22 0.00 0.00 99.25 09:33:48 09:29:01 3 0.08 0.00 0.18 0.00 0.00 99.73 09:33:48 09:30:01 all 0.15 0.00 0.03 0.00 0.00 99.81 09:33:48 09:30:01 0 0.02 0.00 0.03 0.00 0.00 99.95 09:33:48 09:30:01 1 0.02 0.00 0.03 0.00 0.00 99.95 09:33:48 09:30:01 2 0.53 0.00 0.03 0.00 0.00 99.43 09:33:48 09:30:01 3 0.05 0.00 0.03 0.00 0.00 99.92 09:33:48 09:31:01 all 0.16 0.00 0.05 0.00 0.01 99.78 09:33:48 09:31:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:33:48 09:31:01 1 0.03 0.00 0.05 0.00 0.00 99.92 09:33:48 09:31:01 2 0.55 0.00 0.03 0.00 0.02 99.40 09:33:48 09:31:01 3 0.05 0.00 0.08 0.00 0.02 99.85 09:33:48 09:32:01 all 0.14 0.00 0.07 0.00 0.01 99.78 09:33:48 09:32:01 0 0.47 0.00 0.02 0.00 0.00 99.52 09:33:48 09:32:01 1 0.05 0.00 0.15 0.00 0.02 99.78 09:33:48 09:32:01 2 0.05 0.00 0.07 0.00 0.02 99.87 09:33:48 09:32:01 3 0.00 0.00 0.03 0.00 0.00 99.97 09:33:48 09:33:01 all 0.17 0.00 0.04 0.00 0.00 99.79 09:33:48 09:33:01 0 0.50 0.00 0.02 0.00 0.00 99.48 09:33:48 09:33:01 1 0.03 0.00 0.05 0.00 0.00 99.92 09:33:48 09:33:01 2 0.10 0.00 0.07 0.00 0.00 99.83 09:33:48 09:33:01 3 0.05 0.00 0.02 0.00 0.00 99.93 09:33:48 Average: all 1.05 0.00 0.46 0.17 0.01 98.31 09:33:48 Average: 0 1.13 0.00 0.46 0.06 0.01 98.34 09:33:48 Average: 1 1.07 0.00 0.37 0.07 0.01 98.48 09:33:48 Average: 2 1.12 0.00 0.50 0.41 0.01 97.95 09:33:48 Average: 3 0.88 0.00 0.50 0.15 0.01 98.46 09:33:48 09:33:48 09:33:48