Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 843da740fefb41e4fa22e670f79c8e7e5317bf4c+76d059c2e27a3d5d488ff0022063f09e99d334bf (923c3709593d6426421c19aaf5ec4e77c5779075) 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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-23324 in /w/workspace/dgexfoundry_device-sdk-go_PR-755 [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-755 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 843da740fefb41e4fa22e670f79c8e7e5317bf4c Merge succeeded, producing 27c7d9b9d93196e86b430036c5c4c298149c292f Checking out Revision 27c7d9b9d93196e86b430036c5c4c298149c292f (PR-755) > 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/755/head:refs/remotes/origin/PR-755 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27c7d9b9d93196e86b430036c5c4c298149c292f # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:14 ========================================================= 02:42:14 EdgeX Global Pipelines Version Info 02:42:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:16 ------------------- 02:42:16 stable info: 02:42:16 ------------------- 02:42:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:16 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:16 Message: update stable to v1.0.179 02:42:17 ------------------- 02:42:17 experimental info: 02:42:17 ------------------- 02:42:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:17 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:17 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-755 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-755 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-755 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27c7d9b9d93196e86b430036c5c4c298149c292f [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27c7d9b [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:21 provisioning config files... 02:42:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/config8180902674220815504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:21 ---> docker-login.sh 02:42:21 nexus3.edgexfoundry.org:10001 02:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 nexus3.edgexfoundry.org:10002 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 nexus3.edgexfoundry.org:10003 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 nexus3.edgexfoundry.org:10004 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 docker.io 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 ---> docker-login.sh ends [Pipeline] } 02:42:22 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 02:42:23 + git log --format=format:%s -1 27c7d9b9d93196e86b430036c5c4c298149c292f [Pipeline] echo 02:42:23 GIT_COMMIT: 27c7d9b9d93196e86b430036c5c4c298149c292f, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:42:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:24 02:42:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:25 latest: Pulling from edgex-devops/git-semver 02:42:25 31603596830f: Pulling fs layer 02:42:25 2a8b12db71e7: Pulling fs layer 02:42:25 6ca5941a6612: Pulling fs layer 02:42:25 ecc8261a40a4: Pulling fs layer 02:42:25 ecc8261a40a4: Waiting 02:42:25 2a8b12db71e7: Verifying Checksum 02:42:25 2a8b12db71e7: Download complete 02:42:25 31603596830f: Verifying Checksum 02:42:25 31603596830f: Download complete 02:42:25 ecc8261a40a4: Verifying Checksum 02:42:25 ecc8261a40a4: Download complete 02:42:25 6ca5941a6612: Verifying Checksum 02:42:25 6ca5941a6612: Download complete 02:42:25 31603596830f: Pull complete 02:42:25 2a8b12db71e7: Pull complete 02:42:26 6ca5941a6612: Pull complete 02:42:26 ecc8261a40a4: Pull complete 02:42:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:26 prd-centos7-docker-4c-2g-23324 does not seem to be running inside a container 02:42:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-755 -v /w/workspace/dgexfoundry_device-sdk-go_PR-755:/w/workspace/dgexfoundry_device-sdk-go_PR-755:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-755@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 02:42:29 $ docker top 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:29 [ssh-agent] Looking for ssh-agent implementation... 02:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:30 $ docker exec 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c ssh-agent 02:42:30 SSH_AUTH_SOCK=/tmp/ssh-RC9G28Cfensf/agent.13 02:42:30 SSH_AGENT_PID=18 02:42:30 Running ssh-add (command line suppressed) 02:42:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_4680027161964375939.key (/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_4680027161964375939.key) 02:42:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:30 + git tag --points-at HEAD [Pipeline] } 02:42:30 $ docker exec --env ******** --env ******** 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c ssh-agent -k 02:42:30 unset SSH_AUTH_SOCK; 02:42:30 unset SSH_AGENT_PID; 02:42:30 echo Agent pid 18 killed; 02:42:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:31 [ssh-agent] Looking for ssh-agent implementation... 02:42:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:31 $ docker exec 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c ssh-agent 02:42:31 SSH_AUTH_SOCK=/tmp/ssh-S4DwFPXrYsom/agent.48 02:42:31 SSH_AGENT_PID=54 02:42:31 Running ssh-add (command line suppressed) 02:42:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_378320082263776729.key (/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_378320082263776729.key) 02:42:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:31 + git semver init 02:42:31 # -> Open(): unable to determine branch for HEAD 02:42:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-755/.git 02:42:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-755 02:42:31 # $SEMVER_REMOTE_NAME = origin 02:42:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:31 # $SEMVER_USER_NAME = edgex-jenkins 02:42:31 # $SEMVER_BRANCH = PR-755 02:42:31 # $SEMVER_TEMP = /tmp/semver-862425779 02:42:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:32 # '/tmp/semver-862425779' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-755/.semver' 02:42:32 # -> Force: false 02:42:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-755/.semver [Pipeline] } 02:42:32 $ docker exec --env ******** --env ******** 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c ssh-agent -k 02:42:32 unset SSH_AUTH_SOCK; 02:42:32 unset SSH_AGENT_PID; 02:42:32 echo Agent pid 54 killed; 02:42:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:33 + git semver [Pipeline] } 02:42:33 $ docker stop --time=1 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c 02:42:34 $ docker rm -f 873da859d2126efbbb3588cf0acf389a02c86acb5d074b7a9526e98105b1cc3c [Pipeline] // withDockerContainer [Pipeline] sh 02:42:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:35 Stashed 1 file(s) [Pipeline] echo 02:42:35 [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 02:42:51 Still waiting to schedule task 02:42:51 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23321’ is offline; ‘prd-centos7-docker-4c-2g-23323’ is offline; ‘prd-centos7-docker-4c-2g-23325’ is offline; ‘prd-centos7-docker-4c-2g-23328’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:51 Still waiting to schedule task 02:42:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:44:12 Running on prd-centos7-docker-4c-2g-23333 in /w/workspace/dgexfoundry_device-sdk-go_PR-755 [Pipeline] { [Pipeline] ws 02:44:13 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:44:15 using credential edgex-jenkins-ssh 02:44:15 Cloning the remote Git repository 02:44:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:15 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:44:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:15 > git --version # timeout=10 02:44:15 > git --version # 'git version 2.24.3' 02:44:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/755/head:refs/remotes/origin/PR-755 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:16 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 843da740fefb41e4fa22e670f79c8e7e5317bf4c 02:44:16 Merge succeeded, producing 456592a355a78277a6dbee429184f6228b687cc5 02:44:16 Checking out Revision 456592a355a78277a6dbee429184f6228b687cc5 (PR-755) 02:44:16 > git config core.sparsecheckout # timeout=10 02:44:16 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 02:44:16 > git remote # timeout=10 02:44:16 > git config --get remote.origin.url # timeout=10 02:44:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:16 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:44:16 > git rev-parse HEAD^{commit} # timeout=10 02:44:16 > git config core.sparsecheckout # timeout=10 02:44:16 > git checkout -f 456592a355a78277a6dbee429184f6228b687cc5 # timeout=10 02:44:20 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:44:20 > git rev-list --no-walk 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:22 + sudo service docker restart 02:44:22 + true 02:44:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:24 provisioning config files... 02:44:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7717829973337417848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:24 ---> docker-login.sh 02:44:24 nexus3.edgexfoundry.org:10001 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 nexus3.edgexfoundry.org:10002 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 nexus3.edgexfoundry.org:10003 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:25 Configure a credential helper to remove this warning. See 02:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:25 02:44:25 Login Succeeded 02:44:25 nexus3.edgexfoundry.org:10004 02:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:25 Configure a credential helper to remove this warning. See 02:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:25 02:44:25 Login Succeeded 02:44:25 docker.io 02:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:25 Configure a credential helper to remove this warning. See 02:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:25 02:44:25 Login Succeeded 02:44:25 ---> docker-login.sh ends [Pipeline] } 02:44:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:26 ========================================================= 02:44:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:26 + 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 . 02:44:26 Sending build context to Docker daemon 2.571MB 02:44:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:26 Step 2/8 : FROM ${BASE} 02:44:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:26 188c0c94c7c5: Pulling fs layer 02:44:26 0ef7d3d256c8: Pulling fs layer 02:44:26 de9db76c5a1d: Pulling fs layer 02:44:26 bca2f99d35d6: Pulling fs layer 02:44:26 93359f2a8cfa: Pulling fs layer 02:44:26 7c6f9722023f: Pulling fs layer 02:44:26 a35cf1a2eb13: Pulling fs layer 02:44:26 93359f2a8cfa: Waiting 02:44:26 7c6f9722023f: Waiting 02:44:26 a35cf1a2eb13: Waiting 02:44:26 bca2f99d35d6: Waiting 02:44:26 de9db76c5a1d: Verifying Checksum 02:44:26 de9db76c5a1d: Download complete 02:44:26 0ef7d3d256c8: Verifying Checksum 02:44:26 0ef7d3d256c8: Download complete 02:44:26 93359f2a8cfa: Verifying Checksum 02:44:26 93359f2a8cfa: Download complete 02:44:26 7c6f9722023f: Verifying Checksum 02:44:26 7c6f9722023f: Download complete 02:44:26 188c0c94c7c5: Verifying Checksum 02:44:26 188c0c94c7c5: Download complete 02:44:27 188c0c94c7c5: Pull complete 02:44:27 0ef7d3d256c8: Pull complete 02:44:27 de9db76c5a1d: Pull complete 02:44:28 a35cf1a2eb13: Verifying Checksum 02:44:28 a35cf1a2eb13: Download complete 02:44:29 bca2f99d35d6: Verifying Checksum 02:44:29 bca2f99d35d6: Download complete 02:44:36 bca2f99d35d6: Pull complete 02:44:36 93359f2a8cfa: Pull complete 02:44:36 7c6f9722023f: Pull complete 02:44:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23332 in /w/workspace/dgexfoundry_device-sdk-go_PR-755 [Pipeline] { [Pipeline] ws 02:44:36 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:44:41 using credential edgex-jenkins-ssh 02:44:42 Cloning the remote Git repository 02:44:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:42 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:44:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:42 > git --version # timeout=10 02:44:42 > git --version # 'git version 2.17.1' 02:44:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:44 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 843da740fefb41e4fa22e670f79c8e7e5317bf4c 02:44:44 a35cf1a2eb13: Pull complete 02:44:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:44 ---> a62c8e92a672 02:44:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:44 ---> Running in 9b023c94ec68 02:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/755/head:refs/remotes/origin/PR-755 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:44 > git config core.sparsecheckout # timeout=10 02:44:44 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 02:44:44 > git remote # timeout=10 02:44:44 > git config --get remote.origin.url # timeout=10 02:44:44 Merge succeeded, producing 3e879798391cd168d6f1a6833aa05ce20bb7380e 02:44:44 Checking out Revision 3e879798391cd168d6f1a6833aa05ce20bb7380e (PR-755) 02:44:44 Removing intermediate container 9b023c94ec68 02:44:44 ---> fcec347a6803 02:44:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:44 ---> Running in 21a6ed2b6379 02:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:44 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:44:44 > git rev-parse HEAD^{commit} # timeout=10 02:44:44 > git config core.sparsecheckout # timeout=10 02:44:44 > git checkout -f 3e879798391cd168d6f1a6833aa05ce20bb7380e # timeout=10 02:44:46 Removing intermediate container 21a6ed2b6379 02:44:46 ---> 2a943d8a64b8 02:44:46 Step 5/8 : RUN apk add --update --no-cache make git 02:44:46 ---> Running in ae0a6cbdb834 02:44:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:47 OK: 166 MiB in 39 packages 02:44:48 Removing intermediate container ae0a6cbdb834 02:44:48 ---> 0c6f4f07389a 02:44:48 Step 6/8 : WORKDIR /device-sdk-go 02:44:48 ---> Running in f3b36886f10d 02:44:48 Removing intermediate container f3b36886f10d 02:44:48 ---> 73a7a8482fee 02:44:48 Step 7/8 : COPY . . 02:44:49 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:44:49 > git rev-list --no-walk 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 [Pipeline] withEnv [Pipeline] { 02:44:49 ---> 6ca407bbd26f 02:44:49 Step 8/8 : RUN go mod download 02:44:49 ---> Running in 3df49eeebc0c [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:51 + sudo service docker restart+ 02:44:51 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:54 provisioning config files... 02:44:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config350133318970112812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:55 ---> docker-login.sh 02:44:55 nexus3.edgexfoundry.org:10001 02:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:56 Configure a credential helper to remove this warning. See 02:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:56 02:44:56 Login Succeeded 02:44:56 nexus3.edgexfoundry.org:10002 02:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:56 Configure a credential helper to remove this warning. See 02:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:56 02:44:56 Login Succeeded 02:44:56 nexus3.edgexfoundry.org:10003 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:57 Configure a credential helper to remove this warning. See 02:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:57 02:44:57 Login Succeeded 02:44:57 nexus3.edgexfoundry.org:10004 02:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:58 Configure a credential helper to remove this warning. See 02:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:58 02:44:58 Login Succeeded 02:44:58 docker.io 02:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:58 Configure a credential helper to remove this warning. See 02:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:58 02:44:58 Login Succeeded 02:44:58 ---> docker-login.sh ends [Pipeline] } 02:44:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:59 ========================================================= 02:44:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44: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 . 02:45:00 Sending build context to Docker daemon 2.57MB 02:45:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:00 Step 2/8 : FROM ${BASE} 02:45:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:00 5f621e34cdf4: Pulling fs layer 02:45:00 a4357932f1b6: Pulling fs layer 02:45:00 18c013af1878: Pulling fs layer 02:45:00 00ac8860ef70: Pulling fs layer 02:45:00 63d7cb157983: Pulling fs layer 02:45:00 b116817d02f9: Pulling fs layer 02:45:00 745a02a5169b: Pulling fs layer 02:45:00 63d7cb157983: Waiting 02:45:00 b116817d02f9: Waiting 02:45:00 00ac8860ef70: Waiting 02:45:00 745a02a5169b: Waiting 02:45:00 18c013af1878: Verifying Checksum 02:45:00 18c013af1878: Download complete 02:45:00 a4357932f1b6: Verifying Checksum 02:45:00 a4357932f1b6: Download complete 02:45:00 63d7cb157983: Verifying Checksum 02:45:00 63d7cb157983: Download complete 02:45:00 b116817d02f9: Verifying Checksum 02:45:00 b116817d02f9: Download complete 02:45:00 5f621e34cdf4: Verifying Checksum 02:45:00 5f621e34cdf4: Download complete 02:45:01 5f621e34cdf4: Pull complete 02:45:02 a4357932f1b6: Pull complete 02:45:02 18c013af1878: Pull complete 02:45:04 745a02a5169b: Verifying Checksum 02:45:04 745a02a5169b: Download complete 02:45:06 00ac8860ef70: Verifying Checksum 02:45:06 00ac8860ef70: Download complete 02:45:08 Removing intermediate container 3df49eeebc0c 02:45:08 ---> bc59e39c286f 02:45:08 Successfully built bc59e39c286f 02:45:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:08 + docker inspect -f . ci-base-image-x86_64 02:45:08 . [Pipeline] withDockerContainer 02:45:08 prd-centos7-docker-4c-2g-23333 does not seem to be running inside a container 02:45:08 $ 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 ******** ci-base-image-x86_64 cat 02:45:09 $ docker top 5068ee7b51be7906f69efc117840774109fccd8b3ee53a70027e68a668081f8a -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:09 + go version 02:45:09 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:09 $ docker stop --time=1 5068ee7b51be7906f69efc117840774109fccd8b3ee53a70027e68a668081f8a 02:45:11 $ docker rm -f 5068ee7b51be7906f69efc117840774109fccd8b3ee53a70027e68a668081f8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker inspect -f . ci-base-image-x86_64 02:45:12 . [Pipeline] withDockerContainer 02:45:12 prd-centos7-docker-4c-2g-23333 does not seem to be running inside a container 02:45:12 $ 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 ******** ci-base-image-x86_64 cat 02:45:13 $ docker top 88e9168ded202b638d1043a287480ddd27edfba99542edd94b008656d0ac582d -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:14 + make test 02:45:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:16 00ac8860ef70: Pull complete 02:45:16 63d7cb157983: Pull complete 02:45:16 b116817d02f9: Pull complete 02:45:19 745a02a5169b: Pull complete 02:45:19 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:45:19 ---> b7e6874047d6 02:45:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:22 ---> Running in bd65f0ce3ac4 02:45:22 Removing intermediate container bd65f0ce3ac4 02:45:22 ---> cc27c187ac5d 02:45:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:22 ---> Running in 55b680f9e38e 02:45:25 Removing intermediate container 55b680f9e38e 02:45:25 ---> bc02581407ce 02:45:25 Step 5/8 : RUN apk add --update --no-cache make git 02:45:25 ---> Running in a5d88109dc18 02:45:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:29 OK: 142 MiB in 39 packages 02:45:30 Removing intermediate container a5d88109dc18 02:45:30 ---> 899031716df1 02:45:30 Step 6/8 : WORKDIR /device-sdk-go 02:45:30 ---> Running in 5737bf40e64d 02:45:31 Removing intermediate container 5737bf40e64d 02:45:31 ---> 66a41aaa3e0d 02:45:31 Step 7/8 : COPY . . 02:45:32 ---> bb92e97e7f7e 02:45:32 Step 8/8 : RUN go mod download 02:45:32 ---> Running in 8967f865a065 02:45:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 19.4% of statements 02:45:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.460s coverage: 97.1% of statements 02:45:54 Removing intermediate container 8967f865a065 02:45:54 ---> 0aac6de0dc51 02:45:54 Successfully built 0aac6de0dc51 02:45:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:55 + docker inspect -f . ci-base-image-arm64 02:45:55 . [Pipeline] withDockerContainer 02:45:55 prd-ubuntu18.04-docker-arm64-4c-16g-23332 does not seem to be running inside a container 02:45:55 $ 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 02:45:57 $ docker top 9e3979b1858b4f65c313985c94e224933f7cca7ef7515dde15a0f0ffde8bddfa -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:58 + go version 02:45:58 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:58 $ docker stop --time=1 9e3979b1858b4f65c313985c94e224933f7cca7ef7515dde15a0f0ffde8bddfa 02:46:00 $ docker rm -f 9e3979b1858b4f65c313985c94e224933f7cca7ef7515dde15a0f0ffde8bddfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:01 + docker inspect -f . ci-base-image-arm64 02:46:01 . [Pipeline] withDockerContainer 02:46:01 prd-ubuntu18.04-docker-arm64-4c-16g-23332 does not seem to be running inside a container 02:46:01 $ 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 02:46:03 $ docker top 689464408e8da3679a8d9809736b6bb2fdfec6319dcd1678a80d74e56e28dff5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:04 + make test 02:46:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.209s coverage: 43.2% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.288s coverage: 68.9% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 53.8% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 26.8% of statements 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.394s coverage: 83.5% of statements 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:10 GO111MODULE=on go vet ./... 02:46:18 gofmt -l . 02:46:18 [ "`gofmt -l .`" = "" ] 02:46:18 ./bin/test-attribution-txt.sh 02:46:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:18 $ docker stop --time=1 88e9168ded202b638d1043a287480ddd27edfba99542edd94b008656d0ac582d 02:46:20 $ docker rm -f 88e9168ded202b638d1043a287480ddd27edfba99542edd94b008656d0ac582d [Pipeline] // withDockerContainer [Pipeline] sh 02:46:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:24 + ls -al . 02:46:24 total 216 02:46:24 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:46 . 02:46:24 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:44 .. 02:46:24 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:44 bin 02:46:24 -rw-r--r--. 1 jenkins jenkins 136843 Jan 27 02:46 coverage.out 02:46:24 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build 02:46:24 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore 02:46:24 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:44 example 02:46:24 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:44 .git 02:46:24 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:44 .github 02:46:24 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:44 .gitignore 02:46:24 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:46 go.mod 02:46:24 -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:46 go.sum 02:46:24 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:44 internal 02:46:24 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile 02:46:24 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE 02:46:24 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:44 Makefile 02:46:24 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:44 openapi 02:46:24 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:44 pkg 02:46:24 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:44 README.md 02:46:24 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt 02:46:24 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:44 snap 02:46:24 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:42 VERSION 02:46:24 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:24 + 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=27c7d9b9d93196e86b430036c5c4c298149c292f --label arch=amd64 --label version=0.0.0 . 02:46:25 Sending build context to Docker daemon 2.708MB 02:46:25 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:25 Step 2/24 : FROM ${BASE} AS builder 02:46:25 ---> bc59e39c286f 02:46:25 Step 3/24 : ARG MAKE='make build' 02:46:25 ---> Running in 16fd8c55a996 02:46:25 Removing intermediate container 16fd8c55a996 02:46:25 ---> fdd532517658 02:46:25 Step 4/24 : WORKDIR /device-sdk-go 02:46:25 ---> Running in a2ad11a90126 02:46:26 Removing intermediate container a2ad11a90126 02:46:26 ---> d3cd7dba3140 02:46:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:26 ---> Running in 53a8dd4446c2 02:46:26 Removing intermediate container 53a8dd4446c2 02:46:26 ---> 4bed401534d9 02:46:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:26 ---> Running in 21c8306cfe68 02:46:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:27 Removing intermediate container 21c8306cfe68 02:46:27 ---> 2472bb010d59 02:46:27 Step 7/24 : RUN apk add --update --no-cache make git 02:46:27 ---> Running in f3ad37d9cf14 02:46:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:29 OK: 166 MiB in 39 packages 02:46:30 Removing intermediate container f3ad37d9cf14 02:46:30 ---> e38581444a61 02:46:30 Step 8/24 : COPY . . 02:46:31 ---> 4e15456f9bc1 02:46:31 Step 9/24 : RUN ${MAKE} 02:46:31 ---> Running in 46128ec3c93e 02:46:31 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 02:46:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:41 Removing intermediate container 46128ec3c93e 02:46:41 ---> 915a7988cb63 02:46:41 Step 10/24 : FROM scratch 02:46:41 ---> 02:46:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:41 ---> Running in c676d970b154 02:46:41 Removing intermediate container c676d970b154 02:46:41 ---> 3013719aa076 02:46:41 Step 12/24 : ENV APP_PORT=49990 02:46:42 ---> Running in 91e3075515cc 02:46:42 Removing intermediate container 91e3075515cc 02:46:42 ---> b93b621e2367 02:46:42 Step 13/24 : EXPOSE $APP_PORT 02:46:42 ---> Running in 371aae6cb9fb 02:46:42 Removing intermediate container 371aae6cb9fb 02:46:42 ---> 2f8cec6fe2fb 02:46:42 Step 14/24 : WORKDIR / 02:46:42 ---> Running in ae40b86a68d3 02:46:42 Removing intermediate container ae40b86a68d3 02:46:42 ---> 36eca2c83c44 02:46:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:43 ---> 7180b8018dc6 02:46:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:44 ---> 1fe0c021a286 02:46:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:44 ---> 236f193e322e 02:46:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:44 ---> 3f43a13122d1 02:46:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:44 ---> 2770d7ee5227 02:46:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:44 ---> Running in 20f56b7ab69d 02:46:44 Removing intermediate container 20f56b7ab69d 02:46:44 ---> bc5f9b0e3d80 02:46:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:45 ---> Running in de368722d8b1 02:46:45 Removing intermediate container de368722d8b1 02:46:45 ---> 563cd2e1730c 02:46:45 Step 22/24 : LABEL arch=amd64 02:46:45 ---> Running in a994b2029648 02:46:45 Removing intermediate container a994b2029648 02:46:45 ---> 68f03291d5bc 02:46:45 Step 23/24 : LABEL git_sha=27c7d9b9d93196e86b430036c5c4c298149c292f 02:46:45 ---> Running in a415b985aa3d 02:46:45 Removing intermediate container a415b985aa3d 02:46:45 ---> 21830af15814 02:46:45 Step 24/24 : LABEL version=0.0.0 02:46:45 ---> Running in df4bf01edd56 02:46:46 Removing intermediate container df4bf01edd56 02:46:46 ---> 7714e03f127a 02:46:46 [Warning] One or more build-args [ARCH] were not consumed 02:46:46 Successfully built 7714e03f127a 02:46:46 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 19.4% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.257s coverage: 97.1% of statements 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.155s coverage: 9.4% of statements 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.133s coverage: 21.7% of statements 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.589s coverage: 43.2% of statements 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.750s coverage: 68.9% of statements 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.222s coverage: 53.8% of statements 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.198s coverage: 26.8% of statements 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.819s coverage: 83.5% of statements 02:47:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 02:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:47 GO111MODULE=on go vet ./... 02:48:14 gofmt -l . 02:48:14 [ "`gofmt -l .`" = "" ] 02:48:15 ./bin/test-attribution-txt.sh 02:48:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:16 $ docker stop --time=1 689464408e8da3679a8d9809736b6bb2fdfec6319dcd1678a80d74e56e28dff5 02:48:18 $ docker rm -f 689464408e8da3679a8d9809736b6bb2fdfec6319dcd1678a80d74e56e28dff5 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:19 Warning: overwriting stash ‘coverage-report’ 02:48:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:21 + ls -al . 02:48:21 total 252 02:48:21 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:48 . 02:48:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:44 .. 02:48:21 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore 02:48:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:44 .git 02:48:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:44 .github 02:48:21 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:44 .gitignore 02:48:21 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build 02:48:21 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile 02:48:21 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE 02:48:21 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:44 Makefile 02:48:21 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:44 README.md 02:48:21 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt 02:48:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:42 VERSION 02:48:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:44 bin 02:48:21 -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 02:47 coverage.out 02:48:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:44 example 02:48:21 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:48 go.mod 02:48:21 -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:48 go.sum 02:48:21 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:44 internal 02:48:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:44 openapi 02:48:21 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:44 pkg 02:48:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:44 snap 02:48:21 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:48: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=27c7d9b9d93196e86b430036c5c4c298149c292f --label arch=arm64 --label version=0.0.0 . 02:48:23 Sending build context to Docker daemon 2.707MB 02:48:23 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:48:23 Step 2/24 : FROM ${BASE} AS builder 02:48:23 ---> 0aac6de0dc51 02:48:23 Step 3/24 : ARG MAKE='make build' 02:48:23 ---> Running in c8150d3c53a7 02:48:23 Removing intermediate container c8150d3c53a7 02:48:23 ---> 033b62b68858 02:48:23 Step 4/24 : WORKDIR /device-sdk-go 02:48:23 ---> Running in 149f92a550c7 02:48:24 Removing intermediate container 149f92a550c7 02:48:24 ---> 07c01421f103 02:48:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:24 ---> Running in d8d94e73c60c 02:48:25 Removing intermediate container d8d94e73c60c 02:48:25 ---> f1d9bbe5d2fa 02:48:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:25 ---> Running in 1d6c8f588d6a 02:48:27 Removing intermediate container 1d6c8f588d6a 02:48:27 ---> bea087788ca1 02:48:27 Step 7/24 : RUN apk add --update --no-cache make git 02:48:27 ---> Running in 6e2963e4354a 02:48:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:31 OK: 142 MiB in 39 packages 02:48:32 Removing intermediate container 6e2963e4354a 02:48:32 ---> c6097cb5f4ac 02:48:32 Step 8/24 : COPY . . 02:48:33 ---> 27753b7915e2 02:48:33 Step 9/24 : RUN ${MAKE} 02:48:33 ---> Running in 9ce604021bcd 02:48:35 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 02:49:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:03 Removing intermediate container 9ce604021bcd 02:49:03 ---> 7970814d95bd 02:49:03 Step 10/24 : FROM scratch 02:49:03 ---> 02:49:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:03 ---> Running in 194428ca42c2 02:49:03 Removing intermediate container 194428ca42c2 02:49:03 ---> f6fca5405eb2 02:49:03 Step 12/24 : ENV APP_PORT=49990 02:49:03 ---> Running in 49199e369859 02:49:04 Removing intermediate container 49199e369859 02:49:04 ---> 849bbc047bf9 02:49:04 Step 13/24 : EXPOSE $APP_PORT 02:49:04 ---> Running in 508f9d0bc5dc 02:49:04 Removing intermediate container 508f9d0bc5dc 02:49:04 ---> 78dc6a40e72c 02:49:04 Step 14/24 : WORKDIR / 02:49:05 ---> Running in 24046109fb41 02:49:05 Removing intermediate container 24046109fb41 02:49:05 ---> 59dfa3f404c6 02:49:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:06 ---> 6f1c2b424b5c 02:49:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:07 ---> afeec1976de0 02:49:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:08 ---> cf8afd649699 02:49:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:09 ---> 1bb71d48d8d3 02:49:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:09 ---> 8ff9c9a369fe 02:49:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:09 ---> Running in 58c5c0c9909d 02:49:10 Removing intermediate container 58c5c0c9909d 02:49:10 ---> 40e3df47720f 02:49:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:10 ---> Running in 4b1e29505d82 02:49:11 Removing intermediate container 4b1e29505d82 02:49:11 ---> ce6f196a1bbc 02:49:11 Step 22/24 : LABEL arch=arm64 02:49:11 ---> Running in 251938c06fe5 02:49:11 Removing intermediate container 251938c06fe5 02:49:11 ---> b6320f1e0ee4 02:49:11 Step 23/24 : LABEL git_sha=27c7d9b9d93196e86b430036c5c4c298149c292f 02:49:11 ---> Running in 8f359be54b6c 02:49:11 Removing intermediate container 8f359be54b6c 02:49:11 ---> f9d43c1a229a 02:49:11 Step 24/24 : LABEL version=0.0.0 02:49:12 ---> Running in 7c4432615bb8 02:49:12 Removing intermediate container 7c4432615bb8 02:49:12 ---> 44244a46e5dd 02:49:12 [Warning] One or more build-args [ARCH] were not consumed 02:49:12 Successfully built 44244a46e5dd 02:49:12 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 02:49:14 provisioning config files... 02:49:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/config8831886861749309928tmp [Pipeline] { [Pipeline] sh 02:49:14 + set +x 02:49:14 + curl -s https://codecov.io/bash 02:49:14 + bash -s -- 02:49:15 02:49:15 _____ _ 02:49:15 / ____| | | 02:49:15 | | ___ __| | ___ ___ _____ __ 02:49:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:15 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:15 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:15 Bash-20210115-cec3c92 02:49:15 02:49:15 02:49:15 ==> git version 2.24.3 found 02:49:15 ==> 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 02:49:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:49:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:49:15 ==> Jenkins CI detected. 02:49:15 project root: . 02:49:15 --> token set from env 02:49:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:15 ==> Running gcov in . (disable via -X gcov) 02:49:15 ==> Python coveragepy not found 02:49:15 ==> Searching for coverage reports in: 02:49:15 + . 02:49:15 -> Found 1 reports 02:49:15 ==> Detecting git/mercurial file structure 02:49:15 ==> Reading reports 02:49:15 + ./coverage.out bytes=136842 02:49:15 ==> Appending adjustments 02:49:15 https://docs.codecov.io/docs/fixing-reports 02:49:15 + Found adjustments 02:49:15 ==> Gzipping contents 02:49:15 24K /tmp/codecov.OIHhaF.gz 02:49:15 ==> Uploading reports 02:49:15 url: https://codecov.io 02:49:15 query: branch=PR-755&commit=27c7d9b9d93196e86b430036c5c4c298149c292f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-755%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=755&job=&cmd_args= 02:49:15 -> Pinging Codecov 02:49:15 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-755&commit=27c7d9b9d93196e86b430036c5c4c298149c292f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-755%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=755&job=&cmd_args= 02:49:15 -> Uploading to 02:49:15 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/27c7d9b9d93196e86b430036c5c4c298149c292f/35ae2066-938b-49b1-9a24-b49886fad006.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T024915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd520c5955f286ee12946d5cfb37829c574b4a878e320baf34368dab9ac26e66 02:49:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:15 Dload Upload Total Spent Left Speed 02:49:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21548 0 0 100 21548 0 46121 --:--:-- --:--:-- --:--:-- 46042 02:49:16 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/27c7d9b9d93196e86b430036c5c4c298149c292f [Pipeline] } 02:49:16 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 02:49:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:49:19 ---> package-listing.sh 02:49:19 ++ facter osfamily 02:49:19 ++ tr '[:upper:]' '[:lower:]' 02:49:19 + OS_FAMILY=redhat 02:49:19 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-755 02:49:19 + START_PACKAGES=/tmp/packages_start.txt 02:49:19 + END_PACKAGES=/tmp/packages_end.txt 02:49:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:49:19 + PACKAGES=/tmp/packages_start.txt 02:49:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-755 ']' 02:49:19 + PACKAGES=/tmp/packages_end.txt 02:49:19 + case "${OS_FAMILY}" in 02:49:19 + rpm -qa 02:49:19 + sort 02:49:24 + '[' -f /tmp/packages_start.txt ']' 02:49:24 + '[' -f /tmp/packages_end.txt ']' 02:49:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:49:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-755 ']' 02:49:24 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-755/archives/ 02:49:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-755/archives/ [Pipeline] echo 02:49:24 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-755/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:49:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:25 02:49:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:49:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:25 alpine: Pulling from edgex-lftools-log-publisher 02:49:25 df20fa9351a1: Pulling fs layer 02:49:25 36b3adc4ff6f: Pulling fs layer 02:49:25 8ad3a11d3b57: Pulling fs layer 02:49:25 46f8f816bc3b: Pulling fs layer 02:49:25 93b61091891f: Pulling fs layer 02:49:25 93b9cdb0e59b: Pulling fs layer 02:49:25 5e14af77c1be: Pulling fs layer 02:49:25 01666e4c0597: Pulling fs layer 02:49:25 aa168da1d23b: Pulling fs layer 02:49:25 01666e4c0597: Waiting 02:49:25 93b9cdb0e59b: Waiting 02:49:25 5e14af77c1be: Waiting 02:49:25 aa168da1d23b: Waiting 02:49:25 46f8f816bc3b: Waiting 02:49:25 93b61091891f: Waiting 02:49:25 36b3adc4ff6f: Verifying Checksum 02:49:25 36b3adc4ff6f: Download complete 02:49:25 46f8f816bc3b: Verifying Checksum 02:49:25 46f8f816bc3b: Download complete 02:49:25 df20fa9351a1: Verifying Checksum 02:49:25 df20fa9351a1: Download complete 02:49:25 93b9cdb0e59b: Verifying Checksum 02:49:25 93b9cdb0e59b: Download complete 02:49:25 5e14af77c1be: Verifying Checksum 02:49:25 5e14af77c1be: Download complete 02:49:25 93b61091891f: Download complete 02:49:25 01666e4c0597: Verifying Checksum 02:49:25 01666e4c0597: Download complete 02:49:25 8ad3a11d3b57: Verifying Checksum 02:49:25 8ad3a11d3b57: Download complete 02:49:26 df20fa9351a1: Pull complete 02:49:26 36b3adc4ff6f: Pull complete 02:49:27 8ad3a11d3b57: Pull complete 02:49:27 46f8f816bc3b: Pull complete 02:49:28 93b61091891f: Pull complete 02:49:28 93b9cdb0e59b: Pull complete 02:49:28 aa168da1d23b: Verifying Checksum 02:49:28 aa168da1d23b: Download complete 02:49:28 5e14af77c1be: Pull complete 02:49:28 01666e4c0597: Pull complete 02:49:36 aa168da1d23b: Pull complete 02:49:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:49:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:49:36 prd-centos7-docker-4c-2g-23324 does not seem to be running inside a container 02:49:36 $ 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-755/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-755 -v /w/workspace/dgexfoundry_device-sdk-go_PR-755:/w/workspace/dgexfoundry_device-sdk-go_PR-755:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-755@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 02:49:39 $ docker top 065c2ce5b89d0c5891b9ef78d8f03bae683c0115ad0eafc46cd87cdf687b5957 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:40 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:40 + mkdir -p /var/log/sa [Pipeline] sh 02:49:40 + ls /var/log/sa-host 02:49:40 + sadf -c /var/log/sa-host/sa23 02:49:40 file_magic: OK 02:49:40 HZ: Using current value: 100 02:49:40 file_header: OK 02:49:40 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 02:49:40 Statistics: 02:49:40 Hnuu...uuuununununu... 02:49:40 File successfully converted to sysstat format version 12.2.1 02:49:40 + sadf -c /var/log/sa-host/sa27 02:49:40 file_magic: OK 02:49:40 HZ: Using current value: 100 02:49:40 file_header: OK 02:49:40 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 02:49:40 Statistics: 02:49:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:49:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:41 provisioning config files... 02:49:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/config5858116797175990612tmp [Pipeline] { [Pipeline] echo 02:49:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:42 ---> create-netrc.sh [Pipeline] } 02:49:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:42 ---> python-tools-install.sh [Pipeline] echo 02:49:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:42 ---> sudo-logs.sh 02:49:42 Archiving 'sudo' log.. [Pipeline] echo 02:49:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:43 ---> job-cost.sh 02:49:43 lf-activate-venv: SKIPPING 02:49:43 INFO: No Stack... 02:49:43 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:44 INFO: Archiving Costs [Pipeline] echo 02:49:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:44 ---> logs-deploy.sh 02:49:44 lf-activate-venv: SKIPPING 02:49:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-755/2 02:49:44 INFO: archiving workspace using pattern(s): 02:49:45 Archives upload complete. 02:49:46 INFO: archiving logs to Nexus 02:49:47 ---> uname -a: 02:49:47 Linux prd-centos7-docker-4c-2g-23324.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:49:47 02:49:47 02:49:47 ---> lscpu: 02:49:47 Architecture: x86_64 02:49:47 CPU op-mode(s): 32-bit, 64-bit 02:49:47 Byte Order: Little Endian 02:49:47 Address sizes: 40 bits physical, 48 bits virtual 02:49:47 CPU(s): 4 02:49:47 On-line CPU(s) list: 0-3 02:49:47 Thread(s) per core: 1 02:49:47 Core(s) per socket: 1 02:49:47 Socket(s): 4 02:49:47 NUMA node(s): 1 02:49:47 Vendor ID: GenuineIntel 02:49:47 CPU family: 6 02:49:47 Model: 44 02:49:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:47 Stepping: 1 02:49:47 CPU MHz: 2933.442 02:49:47 BogoMIPS: 5866.88 02:49:47 Virtualization: VT-x 02:49:47 Hypervisor vendor: KVM 02:49:47 Virtualization type: full 02:49:47 L1d cache: 128 KiB 02:49:47 L1i cache: 128 KiB 02:49:47 L2 cache: 16 MiB 02:49:47 L3 cache: 64 MiB 02:49:47 NUMA node0 CPU(s): 0-3 02:49:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:47 Vulnerability Meltdown: Mitigation; PTI 02:49:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:47 Vulnerability Srbds: Not affected 02:49:47 Vulnerability Tsx async abort: Not affected 02:49:47 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 02:49:47 02:49:47 02:49:47 ---> nproc: 02:49:47 4 02:49:47 02:49:47 02:49:47 ---> df -h: 02:49:47 Filesystem Size Used Available Use% Mounted on 02:49:47 overlay 50.0G 7.3G 42.7G 15% / 02:49:47 tmpfs 64.0M 0 64.0M 0% /dev 02:49:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:47 shm 64.0M 0 64.0M 0% /dev/shm 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-755 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp 02:49:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:47 02:49:47 02:49:47 ---> free -m: 02:49:47 total used free shared buff/cache available 02:49:47 Mem: 1837 720 108 0 1008 1011 02:49:47 Swap: 1023 1 1022 02:49:47 02:49:47 02:49:47 ---> ip addr: 02:49:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:47 inet 127.0.0.1/8 scope host lo 02:49:47 valid_lft forever preferred_lft forever 02:49:47 inet6 ::1/128 scope host 02:49:47 valid_lft forever preferred_lft forever 02:49:47 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:47 link/ether fa:16:3e:f1:16:77 brd ff:ff:ff:ff:ff:ff 02:49:47 inet 10.30.122.198/23 brd 10.30.123.255 scope global dynamic eth0 02:49:47 valid_lft 85914sec preferred_lft 85914sec 02:49:47 inet6 fe80::f816:3eff:fef1:1677/64 scope link 02:49:47 valid_lft forever preferred_lft forever 02:49:47 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:47 link/ether 02:42:dd:93:f8:ba brd ff:ff:ff:ff:ff:ff 02:49:47 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:47 valid_lft forever preferred_lft forever 02:49:47 inet6 fe80::42:ddff:fe93:f8ba/64 scope link 02:49:47 valid_lft forever preferred_lft forever 02:49:47 02:49:47 02:49:47 ---> sar -b -r -n DEV: 02:49:47 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:49:47 02:49:47 02:41:29 LINUX RESTART (4 CPU) 02:49:47 02:49:47 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:47 02:43:02 56.32 15.70 40.63 0.00 4680.43 3363.75 0.00 02:49:47 02:44:01 2.59 0.00 2.59 0.00 0.00 48.28 0.00 02:49:47 02:45:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 02:49:47 02:46:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 02:49:47 02:47:01 0.23 0.00 0.23 0.00 0.00 3.53 0.00 02:49:47 02:48:01 0.32 0.00 0.32 0.00 0.00 4.33 0.00 02:49:47 02:49:01 0.23 0.00 0.23 0.00 0.00 2.13 0.00 02:49:47 Average: 8.62 2.25 6.37 0.00 670.59 491.08 0.00 02:49:47 02:49:47 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:47 02:43:02 160048 0 604824 32.15 2620 1114052 1091704 37.26 423872 1098920 128 02:49:47 02:44:01 147824 0 617036 32.79 2620 1114064 1090600 37.22 437400 1097964 16 02:49:47 02:45:01 151848 0 613008 32.58 2620 1114068 1073712 36.64 439396 1092280 16 02:49:47 02:46:01 150764 0 614092 32.64 2620 1114068 1073736 36.64 441340 1091836 20 02:49:47 02:47:01 148148 0 616700 32.78 2620 1114076 1073724 36.64 454120 1081616 8 02:49:47 02:48:01 148892 0 615952 32.74 2620 1114080 1071644 36.57 453848 1081480 8 02:49:47 02:49:01 148572 0 616268 32.75 2620 1114084 1071644 36.57 454108 1081476 8 02:49:47 Average: 150871 0 613983 32.63 2620 1114070 1078109 36.79 443441 1089367 29 02:49:47 02:49:47 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:47 02:43:02 eth0 526.26 354.18 892.91 137.24 0.00 0.00 0.00 0.00 02:49:47 02:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:43:02 docker0 10.42 8.54 1.38 23.52 0.00 0.00 0.00 0.00 02:49:47 02:44:01 eth0 39.63 30.40 31.48 54.78 0.00 0.00 0.00 0.00 02:49:47 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:45:01 eth0 5.50 1.00 1.40 0.78 0.00 0.00 0.00 0.00 02:49:47 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:46:01 eth0 3.85 1.05 1.04 0.64 0.00 0.00 0.00 0.00 02:49:47 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:47:01 eth0 4.50 0.95 1.13 0.63 0.00 0.00 0.00 0.00 02:49:47 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:48:01 eth0 1.77 0.78 0.92 0.58 0.00 0.00 0.00 0.00 02:49:47 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:49:01 eth0 0.68 0.45 0.29 0.24 0.00 0.00 0.00 0.00 02:49:47 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 Average: eth0 83.31 55.63 133.05 27.79 0.00 0.00 0.00 0.00 02:49:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:47 Average: docker0 1.49 1.22 0.20 3.37 0.00 0.00 0.00 0.00 02:49:47 02:49:47 02:49:47 ---> sar -P ALL: 02:49:47 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 02:49:47 02:49:47 02:41:29 LINUX RESTART (4 CPU) 02:49:47 02:49:47 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:49:47 02:43:02 all 8.43 0.00 2.76 1.39 0.16 87.27 02:49:47 02:43:02 0 8.05 0.00 3.41 2.38 0.17 86.00 02:49:47 02:43:02 1 8.14 0.00 2.49 1.11 0.17 88.09 02:49:47 02:43:02 2 9.57 0.00 2.36 0.99 0.13 86.94 02:49:47 02:43:02 3 7.96 0.00 2.78 1.06 0.15 88.05 02:49:47 02:44:01 all 0.58 0.00 0.18 0.01 0.01 99.22 02:49:47 02:44:01 0 0.34 0.00 0.17 0.00 0.00 99.49 02:49:47 02:44:01 1 0.71 0.00 0.17 0.00 0.00 99.12 02:49:47 02:44:01 2 0.46 0.00 0.22 0.02 0.02 99.29 02:49:47 02:44:01 3 0.81 0.00 0.15 0.02 0.02 99.00 02:49:47 02:45:01 all 0.17 0.00 0.05 0.00 0.02 99.76 02:49:47 02:45:01 0 0.03 0.00 0.03 0.00 0.02 99.92 02:49:47 02:45:01 1 0.07 0.00 0.05 0.00 0.03 99.85 02:49:47 02:45:01 2 0.25 0.00 0.07 0.00 0.02 99.67 02:49:47 02:45:01 3 0.33 0.00 0.03 0.00 0.02 99.62 02:49:47 02:46:01 all 0.14 0.00 0.03 0.00 0.01 99.82 02:49:47 02:46:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:49:47 02:46:01 1 0.05 0.00 0.05 0.00 0.05 99.85 02:49:47 02:46:01 2 0.45 0.00 0.03 0.00 0.00 99.52 02:49:47 02:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:49:47 02:47:01 all 0.12 0.00 0.04 0.00 0.02 99.82 02:49:47 02:47:01 0 0.00 0.00 0.02 0.00 0.02 99.97 02:49:47 02:47:01 1 0.08 0.00 0.05 0.00 0.02 99.85 02:49:47 02:47:01 2 0.38 0.00 0.08 0.00 0.02 99.52 02:49:47 02:47:01 3 0.02 0.00 0.02 0.00 0.02 99.95 02:49:47 02:48:01 all 0.10 0.00 0.04 0.00 0.01 99.85 02:49:47 02:48:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:49:47 02:48:01 1 0.03 0.00 0.03 0.00 0.03 99.90 02:49:47 02:48:01 2 0.30 0.00 0.08 0.00 0.02 99.60 02:49:47 02:48:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:49:47 02:49:01 all 0.03 0.00 0.02 0.00 0.00 99.95 02:49:47 02:49:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:49:47 02:49:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:49:47 02:49:01 2 0.07 0.00 0.02 0.00 0.00 99.92 02:49:47 02:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:49:47 Average: all 1.36 0.00 0.44 0.20 0.03 97.97 02:49:47 Average: 0 1.20 0.00 0.52 0.34 0.03 97.91 02:49:47 Average: 1 1.30 0.00 0.41 0.16 0.04 98.10 02:49:47 Average: 2 1.63 0.00 0.41 0.14 0.03 97.79 02:49:47 Average: 3 1.30 0.00 0.43 0.15 0.03 98.09 02:49:47 02:49:47 02:49:47