Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+76d059c2e27a3d5d488ff0022063f09e99d334bf (6de0187909122a67146da136bea42b3c7d882eae) 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: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: 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-23325 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 8b218264e3c3b99d955a31588396af8a0b49522f Checking out Revision 8b218264e3c3b99d955a31588396af8a0b49522f (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 8b218264e3c3b99d955a31588396af8a0b49522f # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:44:09 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk dd2d7b72684800c38176f58320e68061d2b6dc5c # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:44:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:44:09 ========================================================= 02:44:09 EdgeX Global Pipelines Version Info 02:44:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:44:12 ------------------- 02:44:12 stable info: 02:44:12 ------------------- 02:44:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:44:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:44:12 Message: update stable to v1.0.179 02:44:13 ------------------- 02:44:13 experimental info: 02:44:13 ------------------- 02:44:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:44:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:44:13 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:44:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:44:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:44:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:44:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:44:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b218264e3c3b99d955a31588396af8a0b49522f [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b21826 [Pipeline] echo 02:44:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:16 provisioning config files... 02:44:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4525239744756855473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:17 ---> docker-login.sh 02:44:17 nexus3.edgexfoundry.org:10001 02:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:18 Configure a credential helper to remove this warning. See 02:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:18 02:44:18 Login Succeeded 02:44:18 nexus3.edgexfoundry.org:10002 02:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:19 Configure a credential helper to remove this warning. See 02:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:19 02:44:19 Login Succeeded 02:44:19 nexus3.edgexfoundry.org:10003 02:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:20 Configure a credential helper to remove this warning. See 02:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:20 02:44:20 Login Succeeded 02:44:20 nexus3.edgexfoundry.org:10004 02:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:20 Configure a credential helper to remove this warning. See 02:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:20 02:44:20 Login Succeeded 02:44:20 docker.io 02:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 ---> docker-login.sh ends [Pipeline] } 02:44:21 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:44:22 + git log --format=format:%s -1 8b218264e3c3b99d955a31588396af8a0b49522f [Pipeline] echo 02:44:22 GIT_COMMIT: 8b218264e3c3b99d955a31588396af8a0b49522f, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:44:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:23 02:44:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:44:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:23 latest: Pulling from edgex-devops/git-semver 02:44:23 31603596830f: Pulling fs layer 02:44:23 2a8b12db71e7: Pulling fs layer 02:44:23 6ca5941a6612: Pulling fs layer 02:44:23 ecc8261a40a4: Pulling fs layer 02:44:23 ecc8261a40a4: Waiting 02:44:23 2a8b12db71e7: Verifying Checksum 02:44:23 2a8b12db71e7: Download complete 02:44:24 31603596830f: Verifying Checksum 02:44:24 31603596830f: Download complete 02:44:24 ecc8261a40a4: Verifying Checksum 02:44:24 ecc8261a40a4: Download complete 02:44:24 6ca5941a6612: Verifying Checksum 02:44:24 6ca5941a6612: Download complete 02:44:25 31603596830f: Pull complete 02:44:25 2a8b12db71e7: Pull complete 02:44:28 6ca5941a6612: Pull complete 02:44:28 ecc8261a40a4: Pull complete 02:44:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:44:29 prd-centos7-docker-4c-2g-23325 does not seem to be running inside a container 02:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:44:32 $ docker top 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:33 [ssh-agent] Looking for ssh-agent implementation... 02:44:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:34 $ docker exec 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 ssh-agent 02:44:34 SSH_AUTH_SOCK=/tmp/ssh-NQmzEivKGTwd/agent.12 02:44:34 SSH_AGENT_PID=17 02:44:34 Running ssh-add (command line suppressed) 02:44:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_9067752700695439732.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_9067752700695439732.key) 02:44:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:35 + git tag --points-at HEAD [Pipeline] } 02:44:35 $ docker exec --env ******** --env ******** 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 ssh-agent -k 02:44:36 unset SSH_AUTH_SOCK; 02:44:36 unset SSH_AGENT_PID; 02:44:36 echo Agent pid 17 killed; 02:44:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:36 [ssh-agent] Looking for ssh-agent implementation... 02:44:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:37 $ docker exec 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 ssh-agent 02:44:38 SSH_AUTH_SOCK=/tmp/ssh-CuUdFuKfcqsl/agent.46 02:44:38 SSH_AGENT_PID=51 02:44:38 Running ssh-add (command line suppressed) 02:44:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7628384666684223675.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7628384666684223675.key) 02:44:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:40 + git semver init 02:44:40 # -> Open(): unable to determine branch for HEAD 02:44:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:44:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:44:40 # $SEMVER_REMOTE_NAME = origin 02:44:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:44:40 # $SEMVER_USER_NAME = edgex-jenkins 02:44:40 # $SEMVER_BRANCH = PR-725 02:44:40 # $SEMVER_TEMP = /tmp/semver-942873551 02:44:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:44:42 # '/tmp/semver-942873551' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:44:42 # -> Force: false 02:44:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:44:42 $ docker exec --env ******** --env ******** 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 ssh-agent -k 02:44:42 unset SSH_AUTH_SOCK; 02:44:42 unset SSH_AGENT_PID; 02:44:42 echo Agent pid 51 killed; 02:44:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:44 + git semver [Pipeline] } 02:44:44 $ docker stop --time=1 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 02:44:46 $ docker rm -f 96d05a1be000df123c844b24b42c5de272b0563be73309b6617a80725487b5c7 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:48 Stashed 1 file(s) [Pipeline] echo 02:44:48 [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:45:04 Still waiting to schedule task 02:45:04 ‘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-23338’ 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:45:04 Still waiting to schedule task 02:45:04 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:47:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23347 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:47:35 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:47:41 using credential edgex-jenkins-ssh 02:47:41 Cloning the remote Git repository 02:47:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:41 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:47:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:41 > git --version # timeout=10 02:47:41 > git --version # 'git version 2.17.1' 02:47:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:43 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:47:44 Merge succeeded, producing ce14e15d5fbcabf2b7a02d92d5612d8a90308053 02:47:44 Checking out Revision ce14e15d5fbcabf2b7a02d92d5612d8a90308053 (PR-725) 02:47:43 > git config core.sparsecheckout # timeout=10 02:47:44 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:47:44 > git remote # timeout=10 02:47:44 > git config --get remote.origin.url # timeout=10 02:47:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:44 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:47:44 > git rev-parse HEAD^{commit} # timeout=10 02:47:44 > git config core.sparsecheckout # timeout=10 02:47:44 > git checkout -f ce14e15d5fbcabf2b7a02d92d5612d8a90308053 # timeout=10 02:47:48 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:47:48 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:47:48 > git rev-list --no-walk dd2d7b72684800c38176f58320e68061d2b6dc5c # timeout=10 [Pipeline] sh 02:47:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:50 + + true 02:47:50 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:53 provisioning config files... 02:47:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3571908736578823517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:54 ---> docker-login.sh 02:47:54 nexus3.edgexfoundry.org:10001 02:47:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:55 Configure a credential helper to remove this warning. See 02:47:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:55 02:47:55 Login Succeeded 02:47:55 nexus3.edgexfoundry.org:10002 02:47:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:56 Configure a credential helper to remove this warning. See 02:47:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:56 02:47:56 Login Succeeded 02:47:56 nexus3.edgexfoundry.org:10003 02:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:57 Configure a credential helper to remove this warning. See 02:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:57 02:47:57 Login Succeeded 02:47:57 nexus3.edgexfoundry.org:10004 02:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:57 Configure a credential helper to remove this warning. See 02:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:57 02:47:57 Login Succeeded 02:47:57 docker.io 02:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:58 Configure a credential helper to remove this warning. See 02:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:58 02:47:58 Login Succeeded 02:47:58 ---> docker-login.sh ends [Pipeline] } 02:47:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:59 ========================================================= 02:47:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47: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:47:59 Sending build context to Docker daemon 2.574MB 02:47:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:59 Step 2/8 : FROM ${BASE} 02:47:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:59 5f621e34cdf4: Pulling fs layer 02:47:59 a4357932f1b6: Pulling fs layer 02:47:59 18c013af1878: Pulling fs layer 02:47:59 00ac8860ef70: Pulling fs layer 02:47:59 63d7cb157983: Pulling fs layer 02:47:59 b116817d02f9: Pulling fs layer 02:47:59 745a02a5169b: Pulling fs layer 02:47:59 b116817d02f9: Waiting 02:47:59 745a02a5169b: Waiting 02:47:59 00ac8860ef70: Waiting 02:47:59 63d7cb157983: Waiting 02:47:59 18c013af1878: Verifying Checksum 02:47:59 18c013af1878: Download complete 02:47:59 a4357932f1b6: Verifying Checksum 02:47:59 a4357932f1b6: Download complete 02:47:59 63d7cb157983: Verifying Checksum 02:47:59 63d7cb157983: Download complete 02:47:59 b116817d02f9: Verifying Checksum 02:47:59 b116817d02f9: Download complete 02:48:00 5f621e34cdf4: Verifying Checksum 02:48:00 5f621e34cdf4: Download complete 02:48:00 5f621e34cdf4: Pull complete 02:48:01 a4357932f1b6: Pull complete 02:48:01 18c013af1878: Pull complete 02:48:02 745a02a5169b: Verifying Checksum 02:48:02 745a02a5169b: Download complete 02:48:03 00ac8860ef70: Verifying Checksum 02:48:03 00ac8860ef70: Download complete 02:48:14 00ac8860ef70: Pull complete 02:48:14 63d7cb157983: Pull complete 02:48:14 b116817d02f9: Pull complete 02:48:19 745a02a5169b: Pull complete 02:48:19 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:19 ---> b7e6874047d6 02:48:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:21 ---> Running in 7b937eeff989 02:48:21 Removing intermediate container 7b937eeff989 02:48:21 ---> 8943659d9431 02:48:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:21 ---> Running in 726756bb26ac 02:48:24 Removing intermediate container 726756bb26ac 02:48:24 ---> b0ac8ccd2784 02:48:24 Step 5/8 : RUN apk add --update --no-cache make git 02:48:24 ---> Running in 713ce4228a13 02:48:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:27 OK: 142 MiB in 39 packages 02:48:29 Removing intermediate container 713ce4228a13 02:48:29 ---> 9ba9d1d20489 02:48:29 Step 6/8 : WORKDIR /device-sdk-go 02:48:29 ---> Running in 7e85610f8b25 02:48:29 Removing intermediate container 7e85610f8b25 02:48:29 ---> 72edd938c06c 02:48:29 Step 7/8 : COPY . . 02:48:30 ---> 122bf3e93c2d 02:48:30 Step 8/8 : RUN go mod download 02:48:31 ---> Running in 5045c2db6f2f 02:48:53 Removing intermediate container 5045c2db6f2f 02:48:53 ---> 1aff052f24e5 02:48:53 Successfully built 1aff052f24e5 02:48:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:53 + docker inspect -f . ci-base-image-arm64 02:48:53 . [Pipeline] withDockerContainer 02:48:53 prd-ubuntu18.04-docker-arm64-4c-16g-23347 does not seem to be running inside a container 02:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-arm64 cat 02:48:55 $ docker top bb4d4503e43abaac65d84897ec27c9199be47a7fffa60d4e03fc6e4eb482bb2a -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:56 + go version 02:48:56 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:56 $ docker stop --time=1 bb4d4503e43abaac65d84897ec27c9199be47a7fffa60d4e03fc6e4eb482bb2a 02:48:58 $ docker rm -f bb4d4503e43abaac65d84897ec27c9199be47a7fffa60d4e03fc6e4eb482bb2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:59 + docker inspect -f . ci-base-image-arm64 02:48:59 . [Pipeline] withDockerContainer 02:48:59 prd-ubuntu18.04-docker-arm64-4c-16g-23347 does not seem to be running inside a container 02:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-arm64 cat 02:49:01 $ docker top acce8877a15b1a4ebc207f8a6991d4afca4ae87f2efc96c9caaea6735e38b2b2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:02 + make test 02:49:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 19.4% of statements 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.407s coverage: 97.1% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.149s coverage: 9.4% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.134s coverage: 21.7% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.631s coverage: 43.2% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.800s coverage: 68.9% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.203s coverage: 53.8% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s coverage: 26.8% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.998s coverage: 83.5% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:45 GO111MODULE=on go vet ./... 02:51:17 gofmt -l . 02:51:18 [ "`gofmt -l .`" = "" ] 02:51:18 ./bin/test-attribution-txt.sh 02:51:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:20 $ docker stop --time=1 acce8877a15b1a4ebc207f8a6991d4afca4ae87f2efc96c9caaea6735e38b2b2 02:51:22 $ docker rm -f acce8877a15b1a4ebc207f8a6991d4afca4ae87f2efc96c9caaea6735e38b2b2 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:25 + ls -al . 02:51:25 total 252 02:51:25 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:51 . 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 .. 02:51:25 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:47 .dockerignore 02:51:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:47 .git 02:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 .github 02:51:25 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:47 .gitignore 02:51:25 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:47 Dockerfile.build 02:51:25 -rw-rw-r-- 1 jenkins jenkins 894 Jan 27 02:47 Jenkinsfile 02:51:25 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:47 LICENSE 02:51:25 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:47 Makefile 02:51:25 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:47 README.md 02:51:25 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:47 RELEASE-NOTES.txt 02:51:25 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:44 VERSION 02:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 bin 02:51:25 -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 02:50 coverage.out 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 example 02:51:25 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:51 go.mod 02:51:25 -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 02:51 go.sum 02:51:25 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:47 internal 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 openapi 02:51:25 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:47 pkg 02:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 snap 02:51:25 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:26 + docker build -t 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=8b218264e3c3b99d955a31588396af8a0b49522f --label arch=arm64 --label version=0.0.0 . 02:51:26 Sending build context to Docker daemon 2.712MB 02:51:26 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:51:26 Step 2/24 : FROM ${BASE} AS builder 02:51:26 ---> 1aff052f24e5 02:51:26 Step 3/24 : ARG MAKE='make build' 02:51:26 ---> Running in c6b440900884 02:51:27 Removing intermediate container c6b440900884 02:51:27 ---> c5428dd19d9b 02:51:27 Step 4/24 : WORKDIR /device-sdk-go 02:51:27 ---> Running in 1faccee01f9f 02:51:27 Removing intermediate container 1faccee01f9f 02:51:27 ---> 4ab807a2faa5 02:51:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:27 ---> Running in 39f6aa849e56 02:51:28 Removing intermediate container 39f6aa849e56 02:51:28 ---> c95cfe318860 02:51:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:28 ---> Running in f607a3029c66 02:51:30 Removing intermediate container f607a3029c66 02:51:30 ---> d4b0fe81e9d6 02:51:30 Step 7/24 : RUN apk add --update --no-cache make git 02:51:30 ---> Running in a7aa1cc8da1e 02:51:30 Running on prd-centos7-docker-4c-2g-23349 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:51:30 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:51:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:33 using credential edgex-jenkins-ssh 02:51:33 Cloning the remote Git repository 02:51:33 OK: 142 MiB in 39 packages 02:51:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:51:33 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:51:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:51:33 > git --version # timeout=10 02:51:33 > git --version # 'git version 2.24.3' 02:51:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:34 Removing intermediate container a7aa1cc8da1e 02:51:34 ---> 4b93667eac46 02:51:34 Step 8/24 : COPY . . 02:51:34 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:51:35 Merge succeeded, producing fec2181226cd6a753b42acb5c459f160f6e5ac83 02:51:35 Checking out Revision fec2181226cd6a753b42acb5c459f160f6e5ac83 (PR-725) 02:51:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:51:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:51:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:51:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:51:35 > git config core.sparsecheckout # timeout=10 02:51:35 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:51:35 > git remote # timeout=10 02:51:35 > git config --get remote.origin.url # timeout=10 02:51:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:35 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:51:35 > git rev-parse HEAD^{commit} # timeout=10 02:51:35 > git config core.sparsecheckout # timeout=10 02:51:35 > git checkout -f fec2181226cd6a753b42acb5c459f160f6e5ac83 # timeout=10 02:51:36 ---> 90e16b0ef562 02:51:36 Step 9/24 : RUN ${MAKE} 02:51:36 ---> Running in 4c805b629329 02:51:37 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:51:38 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:51:38 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 02:51:38 > git rev-list --no-walk dd2d7b72684800c38176f58320e68061d2b6dc5c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:51:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:51:40 + sudo service docker restart 02:51:40 + true 02:51:40 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:51:42 provisioning config files... 02:51:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config1725483461326928949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:42 ---> docker-login.sh 02:51:42 nexus3.edgexfoundry.org:10001 02:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:42 Configure a credential helper to remove this warning. See 02:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:42 02:51:42 Login Succeeded 02:51:42 nexus3.edgexfoundry.org:10002 02:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:43 Configure a credential helper to remove this warning. See 02:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:43 02:51:43 Login Succeeded 02:51:43 nexus3.edgexfoundry.org:10003 02:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:43 Configure a credential helper to remove this warning. See 02:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:43 02:51:43 Login Succeeded 02:51:43 nexus3.edgexfoundry.org:10004 02:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:43 Configure a credential helper to remove this warning. See 02:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:43 02:51:43 Login Succeeded 02:51:43 docker.io 02:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:43 Configure a credential helper to remove this warning. See 02:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:43 02:51:43 Login Succeeded 02:51:43 ---> docker-login.sh ends [Pipeline] } 02:51:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:51:44 ========================================================= 02:51:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:51:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:51:44 + 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:51:44 Sending build context to Docker daemon 2.584MB 02:51:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:51:44 Step 2/8 : FROM ${BASE} 02:51:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:51:44 188c0c94c7c5: Pulling fs layer 02:51:44 0ef7d3d256c8: Pulling fs layer 02:51:44 de9db76c5a1d: Pulling fs layer 02:51:44 bca2f99d35d6: Pulling fs layer 02:51:44 93359f2a8cfa: Pulling fs layer 02:51:44 7c6f9722023f: Pulling fs layer 02:51:44 a35cf1a2eb13: Pulling fs layer 02:51:44 93359f2a8cfa: Waiting 02:51:44 7c6f9722023f: Waiting 02:51:44 a35cf1a2eb13: Waiting 02:51:44 bca2f99d35d6: Waiting 02:51:44 de9db76c5a1d: Verifying Checksum 02:51:44 de9db76c5a1d: Download complete 02:51:44 0ef7d3d256c8: Download complete 02:51:44 93359f2a8cfa: Verifying Checksum 02:51:44 93359f2a8cfa: Download complete 02:51:44 188c0c94c7c5: Verifying Checksum 02:51:44 188c0c94c7c5: Download complete 02:51:44 7c6f9722023f: Verifying Checksum 02:51:44 7c6f9722023f: Download complete 02:51:45 188c0c94c7c5: Pull complete 02:51:45 0ef7d3d256c8: Pull complete 02:51:45 de9db76c5a1d: Pull complete 02:51:47 a35cf1a2eb13: Download complete 02:51:47 bca2f99d35d6: Verifying Checksum 02:51:47 bca2f99d35d6: Download complete 02:51:52 bca2f99d35d6: Pull complete 02:51:52 93359f2a8cfa: Pull complete 02:51:52 7c6f9722023f: Pull complete 02:51:58 a35cf1a2eb13: Pull complete 02:51:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:51:58 ---> a62c8e92a672 02:51:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:58 ---> Running in 0a6acb84055a 02:51:58 Removing intermediate container 0a6acb84055a 02:51:58 ---> 5f03cd4b4f58 02:51:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:58 ---> Running in 38d4de901eaf 02:51:59 Removing intermediate container 38d4de901eaf 02:51:59 ---> 0cd12fe1223d 02:51:59 Step 5/8 : RUN apk add --update --no-cache make git 02:51:59 ---> Running in e6a2b1dabfcb 02:52:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:52:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:52:02 OK: 166 MiB in 39 packages 02:52:02 Removing intermediate container e6a2b1dabfcb 02:52:02 ---> 3194be6aba33 02:52:02 Step 6/8 : WORKDIR /device-sdk-go 02:52:02 ---> Running in cecea2075be8 02:52:02 Removing intermediate container cecea2075be8 02:52:02 ---> d868f7c02c59 02:52:02 Step 7/8 : COPY . . 02:52:04 ---> 823ddf9ce03c 02:52:04 Step 8/8 : RUN go mod download 02:52:04 ---> Running in 59df5ad2c580 02:52:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:06 Removing intermediate container 4c805b629329 02:52:06 ---> 32a076a4fa1f 02:52:06 Step 10/24 : FROM scratch 02:52:06 ---> 02:52:06 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:06 ---> Running in efae4ab61132 02:52:06 Removing intermediate container efae4ab61132 02:52:06 ---> 3fe100f00ba3 02:52:06 Step 12/24 : ENV APP_PORT=49990 02:52:06 ---> Running in 6ce3ae555abe 02:52:07 Removing intermediate container 6ce3ae555abe 02:52:07 ---> cf9644ab6a20 02:52:07 Step 13/24 : EXPOSE $APP_PORT 02:52:07 ---> Running in 0ab0d92d85a6 02:52:07 Removing intermediate container 0ab0d92d85a6 02:52:07 ---> cc032114c63b 02:52:07 Step 14/24 : WORKDIR / 02:52:07 ---> Running in 152c45eeb3e9 02:52:08 Removing intermediate container 152c45eeb3e9 02:52:08 ---> 781ee4ec91a0 02:52:08 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:09 ---> afa2a79415a8 02:52:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:10 ---> 767e2d818304 02:52:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:10 ---> f65f191b17a1 02:52:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:11 ---> 930bc9acffd9 02:52:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:12 ---> 4adf01a0426f 02:52:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:12 ---> Running in 91461c6355e8 02:52:12 Removing intermediate container 91461c6355e8 02:52:12 ---> f46d42d6f89e 02:52:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:12 ---> Running in ed469e07c364 02:52:13 Removing intermediate container ed469e07c364 02:52:13 ---> 1ce4d1d7525a 02:52:13 Step 22/24 : LABEL arch=arm64 02:52:13 ---> Running in d4844678c100 02:52:13 Removing intermediate container d4844678c100 02:52:13 ---> f4bef839067f 02:52:13 Step 23/24 : LABEL git_sha=8b218264e3c3b99d955a31588396af8a0b49522f 02:52:14 ---> Running in 6e5c2e481635 02:52:14 Removing intermediate container 6e5c2e481635 02:52:14 ---> b1a011983762 02:52:14 Step 24/24 : LABEL version=0.0.0 02:52:14 ---> Running in 44515a0d10a8 02:52:14 Removing intermediate container 44515a0d10a8 02:52:14 ---> 145371055e0d 02:52:14 [Warning] One or more build-args [ARCH] were not consumed 02:52:15 Successfully built 145371055e0d 02:52:15 Successfully tagged 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] } 02:52:22 Removing intermediate container 59df5ad2c580 02:52:22 ---> 8d801c929bb4 02:52:22 Successfully built 8d801c929bb4 02:52:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:52:22 + docker inspect -f . ci-base-image-x86_64 02:52:22 . [Pipeline] withDockerContainer 02:52:22 prd-centos7-docker-4c-2g-23349 does not seem to be running inside a container 02:52:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:52:23 $ docker top 99b921b6b82f077a52f6215187cf59f13e6b44ab71e08841ad577a5c756ae6df -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:24 + go version 02:52:24 go version go1.15.5 linux/amd64 [Pipeline] } 02:52:24 $ docker stop --time=1 99b921b6b82f077a52f6215187cf59f13e6b44ab71e08841ad577a5c756ae6df 02:52:25 $ docker rm -f 99b921b6b82f077a52f6215187cf59f13e6b44ab71e08841ad577a5c756ae6df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:52:26 + docker inspect -f . ci-base-image-x86_64 02:52:26 . [Pipeline] withDockerContainer 02:52:26 prd-centos7-docker-4c-2g-23349 does not seem to be running inside a container 02:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:52:27 $ docker top 9dddc9986fed92f32c03baab68f627b389b716e32f04f45e902a59cde374ee51 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:27 + make test 02:52:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:52:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:52:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:52:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:52:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:52:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.071s coverage: 19.4% of statements 02:52:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.452s coverage: 97.1% of statements 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 9.4% of statements 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.052s coverage: 21.7% of statements 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.256s coverage: 43.2% of statements 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.296s coverage: 68.9% of statements 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 53.8% of statements 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 26.8% of statements 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.416s coverage: 83.5% of statements 02:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 02:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:53:26 GO111MODULE=on go vet ./... 02:53:32 gofmt -l . 02:53:32 [ "`gofmt -l .`" = "" ] 02:53:32 ./bin/test-attribution-txt.sh 02:53:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:53:33 $ docker stop --time=1 9dddc9986fed92f32c03baab68f627b389b716e32f04f45e902a59cde374ee51 02:53:35 $ docker rm -f 9dddc9986fed92f32c03baab68f627b389b716e32f04f45e902a59cde374ee51 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:35 Warning: overwriting stash ‘coverage-report’ 02:53:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:37 + ls -al . 02:53:37 total 216 02:53:37 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:53 . 02:53:37 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:51 .. 02:53:37 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:51 bin 02:53:37 -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 02:53 coverage.out 02:53:37 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:51 Dockerfile.build 02:53:37 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:51 .dockerignore 02:53:37 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:51 example 02:53:37 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:51 .git 02:53:37 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:51 .github 02:53:37 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:51 .gitignore 02:53:37 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:53 go.mod 02:53:37 -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 02:53 go.sum 02:53:37 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:51 internal 02:53:37 -rw-rw-r--. 1 jenkins jenkins 894 Jan 27 02:51 Jenkinsfile 02:53:37 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:51 LICENSE 02:53:37 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:51 Makefile 02:53:37 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:51 openapi 02:53:37 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:51 pkg 02:53:37 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:51 README.md 02:53:37 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:51 RELEASE-NOTES.txt 02:53:37 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:51 snap 02:53:37 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:44 VERSION 02:53:37 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:51 version.go [Pipeline] isUnix [Pipeline] sh 02:53:37 + docker build -t 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=8b218264e3c3b99d955a31588396af8a0b49522f --label arch=amd64 --label version=0.0.0 . 02:53:37 Sending build context to Docker daemon 2.722MB 02:53:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:53:37 Step 2/24 : FROM ${BASE} AS builder 02:53:37 ---> 8d801c929bb4 02:53:37 Step 3/24 : ARG MAKE='make build' 02:53:38 ---> Running in 91a921b70d3d 02:53:38 Removing intermediate container 91a921b70d3d 02:53:38 ---> f0bfddb2b3e9 02:53:38 Step 4/24 : WORKDIR /device-sdk-go 02:53:38 ---> Running in 6e353c59430e 02:53:38 Removing intermediate container 6e353c59430e 02:53:38 ---> af9eab777ec1 02:53:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:38 ---> Running in 240b826b56b5 02:53:38 Removing intermediate container 240b826b56b5 02:53:38 ---> ad389a262bbb 02:53:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:53:38 ---> Running in cfb6ec37ed0c 02:53:39 Removing intermediate container cfb6ec37ed0c 02:53:39 ---> 7b267bce5d64 02:53:39 Step 7/24 : RUN apk add --update --no-cache make git 02:53:39 ---> Running in bd642ace6b67 02:53:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:53:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:53:41 OK: 166 MiB in 39 packages 02:53:42 Removing intermediate container bd642ace6b67 02:53:42 ---> 801d3df94aa2 02:53:42 Step 8/24 : COPY . . 02:53:43 ---> b3ecc27b1ad9 02:53:43 Step 9/24 : RUN ${MAKE} 02:53:43 ---> Running in e9c3abdeb41d 02:53:44 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:53:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:53:54 Removing intermediate container e9c3abdeb41d 02:53:54 ---> d65ae949c2ad 02:53:54 Step 10/24 : FROM scratch 02:53:54 ---> 02:53:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:54 ---> Running in 49ac0811b5a2 02:53:54 Removing intermediate container 49ac0811b5a2 02:53:54 ---> 4d5172efadcd 02:53:54 Step 12/24 : ENV APP_PORT=49990 02:53:54 ---> Running in 9376377d5a0d 02:53:55 Removing intermediate container 9376377d5a0d 02:53:55 ---> 5bd5e3594cf1 02:53:55 Step 13/24 : EXPOSE $APP_PORT 02:53:55 ---> Running in 6e881160895f 02:53:55 Removing intermediate container 6e881160895f 02:53:55 ---> 942fd52291d1 02:53:55 Step 14/24 : WORKDIR / 02:53:55 ---> Running in 8107828ed50d 02:53:55 Removing intermediate container 8107828ed50d 02:53:55 ---> 347f74e91e3c 02:53:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:53:56 ---> 66de3d8e2725 02:53:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:53:56 ---> 285cf8e55948 02:53:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:53:56 ---> 93e913186a46 02:53:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:53:56 ---> f097ce1a25bc 02:53:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:53:57 ---> d56476a959b8 02:53:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:53:57 ---> Running in 607e4095a231 02:53:57 Removing intermediate container 607e4095a231 02:53:57 ---> 4ceedff41289 02:53:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:53:57 ---> Running in 1265266b5cdc 02:53:57 Removing intermediate container 1265266b5cdc 02:53:57 ---> ae83ba783aa0 02:53:57 Step 22/24 : LABEL arch=amd64 02:53:57 ---> Running in b44bc30ed06a 02:53:57 Removing intermediate container b44bc30ed06a 02:53:57 ---> d77ca9eaa080 02:53:57 Step 23/24 : LABEL git_sha=8b218264e3c3b99d955a31588396af8a0b49522f 02:53:57 ---> Running in e04a06694ed7 02:53:58 Removing intermediate container e04a06694ed7 02:53:58 ---> 06a0605dc049 02:53:58 Step 24/24 : LABEL version=0.0.0 02:53:58 ---> Running in a5672af84d93 02:53:58 Removing intermediate container a5672af84d93 02:53:58 ---> 785c4c2c4a12 02:53:58 [Warning] One or more build-args [ARCH] were not consumed 02:53:58 Successfully built 785c4c2c4a12 02:53:58 Successfully tagged 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:54:00 provisioning config files... 02:54:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5390423355218334182tmp [Pipeline] { [Pipeline] sh 02:54:00 + set +x 02:54:00 + curl -s https://codecov.io/bash 02:54:00 + bash -s -- 02:54:00 02:54:00 _____ _ 02:54:00 / ____| | | 02:54:00 | | ___ __| | ___ ___ _____ __ 02:54:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:00 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:00 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:00 Bash-20210115-cec3c92 02:54:00 02:54:00 02:54:00 ==> git version 2.24.3 found 02:54:00 ==> 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:54:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:54:00 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:54:00 ==> Jenkins CI detected. 02:54:00 project root: . 02:54:00 --> token set from env 02:54:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:01 ==> Running gcov in . (disable via -X gcov) 02:54:01 ==> Python coveragepy not found 02:54:01 ==> Searching for coverage reports in: 02:54:01 + . 02:54:01 -> Found 1 reports 02:54:01 ==> Detecting git/mercurial file structure 02:54:01 ==> Reading reports 02:54:01 + ./coverage.out bytes=136842 02:54:01 ==> Appending adjustments 02:54:01 https://docs.codecov.io/docs/fixing-reports 02:54:02 + Found adjustments 02:54:02 ==> Gzipping contents 02:54:02 24K /tmp/codecov.d0O21H.gz 02:54:02 ==> Uploading reports 02:54:02 url: https://codecov.io 02:54:02 query: branch=PR-725&commit=8b218264e3c3b99d955a31588396af8a0b49522f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:54:02 -> Pinging Codecov 02:54:02 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-725&commit=8b218264e3c3b99d955a31588396af8a0b49522f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:54:03 -> Uploading to 02:54:03 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/8b218264e3c3b99d955a31588396af8a0b49522f/b042f1e4-45f4-4a51-b094-7f7e3a9975d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=714ec960af42b79766056be2a7d08146c655d8c698b77ae73f25ad2e4cbd9ebc 02:54:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:03 Dload Upload Total Spent Left Speed 02:54:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21530 0 0 100 21530 0 38959 --:--:-- --:--:-- --:--:-- 39074 02:54:03 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8b218264e3c3b99d955a31588396af8a0b49522f [Pipeline] } 02:54:03 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:54:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:07 ---> package-listing.sh 02:54:07 ++ tr '[:upper:]' '[:lower:]' 02:54:07 ++ facter osfamily 02:54:07 + OS_FAMILY=redhat 02:54:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:54:07 + START_PACKAGES=/tmp/packages_start.txt 02:54:07 + END_PACKAGES=/tmp/packages_end.txt 02:54:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:07 + PACKAGES=/tmp/packages_start.txt 02:54:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:54:07 + PACKAGES=/tmp/packages_end.txt 02:54:07 + case "${OS_FAMILY}" in 02:54:07 + rpm -qa 02:54:07 + sort 02:54:13 + '[' -f /tmp/packages_start.txt ']' 02:54:13 + '[' -f /tmp/packages_end.txt ']' 02:54:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:54:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:54:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:54:13 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:54:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:14 02:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:54:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:14 alpine: Pulling from edgex-lftools-log-publisher 02:54:14 df20fa9351a1: Pulling fs layer 02:54:14 36b3adc4ff6f: Pulling fs layer 02:54:14 8ad3a11d3b57: Pulling fs layer 02:54:14 46f8f816bc3b: Pulling fs layer 02:54:14 93b61091891f: Pulling fs layer 02:54:14 93b9cdb0e59b: Pulling fs layer 02:54:14 5e14af77c1be: Pulling fs layer 02:54:14 01666e4c0597: Pulling fs layer 02:54:14 aa168da1d23b: Pulling fs layer 02:54:14 93b9cdb0e59b: Waiting 02:54:14 5e14af77c1be: Waiting 02:54:14 01666e4c0597: Waiting 02:54:14 aa168da1d23b: Waiting 02:54:14 93b61091891f: Waiting 02:54:14 46f8f816bc3b: Waiting 02:54:14 36b3adc4ff6f: Download complete 02:54:14 46f8f816bc3b: Download complete 02:54:14 df20fa9351a1: Verifying Checksum 02:54:14 df20fa9351a1: Download complete 02:54:14 93b9cdb0e59b: Download complete 02:54:15 5e14af77c1be: Verifying Checksum 02:54:15 5e14af77c1be: Download complete 02:54:15 01666e4c0597: Verifying Checksum 02:54:15 01666e4c0597: Download complete 02:54:15 93b61091891f: Verifying Checksum 02:54:15 93b61091891f: Download complete 02:54:15 df20fa9351a1: Pull complete 02:54:16 8ad3a11d3b57: Verifying Checksum 02:54:16 8ad3a11d3b57: Download complete 02:54:16 36b3adc4ff6f: Pull complete 02:54:18 8ad3a11d3b57: Pull complete 02:54:19 46f8f816bc3b: Pull complete 02:54:20 93b61091891f: Pull complete 02:54:20 93b9cdb0e59b: Pull complete 02:54:21 5e14af77c1be: Pull complete 02:54:21 01666e4c0597: Pull complete 02:54:22 aa168da1d23b: Verifying Checksum 02:54:22 aa168da1d23b: Download complete 02:54:37 aa168da1d23b: Pull complete 02:54:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:54:37 prd-centos7-docker-4c-2g-23325 does not seem to be running inside a container 02:54: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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:54:42 $ docker top 9a607d8651689afc2413d6ac5d1e93cd059898ce4180bd407c0c78082612bc9a -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:43 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:44 + mkdir -p /var/log/sa [Pipeline] sh 02:54:44 + ls /var/log/sa-host 02:54:44 + sadf -c /var/log/sa-host/sa23 02:54:44 file_magic: OK 02:54:44 HZ: Using current value: 100 02:54:44 file_header: OK 02:54:44 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:54:44 Statistics: 02:54:44 Hnuu...uuuununununu... 02:54:44 File successfully converted to sysstat format version 12.2.1 02:54:44 + sadf -c /var/log/sa-host/sa27 02:54:44 file_magic: OK 02:54:44 HZ: Using current value: 100 02:54:44 file_header: OK 02:54:44 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:54:44 Statistics: 02:54:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:54:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:45 provisioning config files... 02:54:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8736013570077166625tmp [Pipeline] { [Pipeline] echo 02:54:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:45 ---> create-netrc.sh [Pipeline] } 02:54:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:54:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:54:46 ---> python-tools-install.sh [Pipeline] echo 02:54:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:46 ---> sudo-logs.sh 02:54:46 Archiving 'sudo' log.. [Pipeline] echo 02:54:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:47 ---> job-cost.sh 02:54:47 lf-activate-venv: SKIPPING 02:54:47 INFO: No Stack... 02:54:48 INFO: Retrieving Pricing Info for: v1-standard-2 02:54:49 INFO: Archiving Costs [Pipeline] echo 02:54:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:50 ---> logs-deploy.sh 02:54:50 lf-activate-venv: SKIPPING 02:54:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/8 02:54:50 INFO: archiving workspace using pattern(s): 02:54:52 Archives upload complete. 02:54:52 INFO: archiving logs to Nexus 02:54:54 ---> uname -a: 02:54:54 Linux prd-centos7-docker-4c-2g-23325.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:54:54 02:54:54 02:54:54 ---> lscpu: 02:54:54 Architecture: x86_64 02:54:54 CPU op-mode(s): 32-bit, 64-bit 02:54:54 Byte Order: Little Endian 02:54:54 Address sizes: 40 bits physical, 48 bits virtual 02:54:54 CPU(s): 4 02:54:54 On-line CPU(s) list: 0-3 02:54:54 Thread(s) per core: 1 02:54:54 Core(s) per socket: 1 02:54:54 Socket(s): 4 02:54:54 NUMA node(s): 1 02:54:54 Vendor ID: GenuineIntel 02:54:54 CPU family: 6 02:54:54 Model: 44 02:54:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:54:54 Stepping: 1 02:54:54 CPU MHz: 2933.438 02:54:54 BogoMIPS: 5866.87 02:54:54 Virtualization: VT-x 02:54:54 Hypervisor vendor: KVM 02:54:54 Virtualization type: full 02:54:54 L1d cache: 128 KiB 02:54:54 L1i cache: 128 KiB 02:54:54 L2 cache: 16 MiB 02:54:54 L3 cache: 64 MiB 02:54:54 NUMA node0 CPU(s): 0-3 02:54:54 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:54:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:54:54 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:54:54 Vulnerability Meltdown: Mitigation; PTI 02:54:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:54:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:54:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:54:54 Vulnerability Srbds: Not affected 02:54:54 Vulnerability Tsx async abort: Not affected 02:54:54 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:54:54 02:54:54 02:54:54 ---> nproc: 02:54:54 4 02:54:54 02:54:54 02:54:54 ---> df -h: 02:54:54 Filesystem Size Used Available Use% Mounted on 02:54:54 overlay 50.0G 7.3G 42.7G 15% / 02:54:54 tmpfs 64.0M 0 64.0M 0% /dev 02:54:54 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:54:54 shm 64.0M 0 64.0M 0% /dev/shm 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:54:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:54:54 02:54:54 02:54:54 ---> free -m: 02:54:54 total used free shared buff/cache available 02:54:54 Mem: 1837 707 106 0 1023 1024 02:54:54 Swap: 1023 1 1022 02:54:54 02:54:54 02:54:54 ---> ip addr: 02:54:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:54:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:54:54 inet 127.0.0.1/8 scope host lo 02:54:54 valid_lft forever preferred_lft forever 02:54:54 inet6 ::1/128 scope host 02:54:54 valid_lft forever preferred_lft forever 02:54:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:54:54 link/ether fa:16:3e:28:19:34 brd ff:ff:ff:ff:ff:ff 02:54:54 inet 10.30.122.118/23 brd 10.30.123.255 scope global dynamic eth0 02:54:54 valid_lft 85655sec preferred_lft 85655sec 02:54:54 inet6 fe80::f816:3eff:fe28:1934/64 scope link 02:54:54 valid_lft forever preferred_lft forever 02:54:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:54:54 link/ether 02:42:2f:a1:13:cc brd ff:ff:ff:ff:ff:ff 02:54:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:54:54 valid_lft forever preferred_lft forever 02:54:54 inet6 fe80::42:2fff:fea1:13cc/64 scope link 02:54:54 valid_lft forever preferred_lft forever 02:54:54 02:54:54 02:54:54 ---> sar -b -r -n DEV: 02:54:54 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:54:54 02:54:54 02:42:13 LINUX RESTART (4 CPU) 02:54:54 02:54:54 02:43:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:54:54 02:44:01 132.21 83.89 48.32 0.00 5477.54 37616.47 0.00 02:54:54 02:45:02 48.72 12.48 36.24 0.00 4518.29 2241.52 0.00 02:54:54 02:46:01 2.55 0.00 2.55 0.00 0.00 58.01 0.00 02:54:54 02:47:01 0.15 0.00 0.15 0.00 0.00 1.86 0.00 02:54:54 02:48:01 0.25 0.00 0.25 0.00 0.00 3.38 0.00 02:54:54 02:49:01 0.33 0.00 0.33 0.00 0.00 4.19 0.00 02:54:54 02:50:01 0.27 0.00 0.27 0.00 0.00 3.53 0.00 02:54:54 02:51:01 0.23 0.00 0.23 0.00 0.00 3.46 0.00 02:54:54 02:52:02 0.27 0.00 0.27 0.00 0.00 2.84 0.00 02:54:54 02:53:01 0.29 0.00 0.29 0.00 0.00 3.54 0.00 02:54:54 02:54:01 0.30 0.05 0.25 0.00 3.59 2.43 0.00 02:54:54 Average: 16.66 8.62 8.04 0.00 902.28 3565.44 0.00 02:54:54 02:54:54 02:43:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:54:54 02:44:01 83672 0 565836 30.07 2620 1229416 1057980 36.11 387176 1214680 204 02:54:54 02:45:02 161100 0 610168 32.43 2620 1107656 1141676 38.96 410616 1107444 128 02:54:54 02:46:01 171112 0 600148 31.90 2620 1107664 1079376 36.84 413264 1096292 20 02:54:54 02:47:01 170888 0 600372 31.91 2620 1107664 1059912 36.17 410384 1099772 8 02:54:54 02:48:01 171144 0 600112 31.89 2620 1107668 1060024 36.18 415552 1095020 8 02:54:54 02:49:01 170064 0 601184 31.95 2620 1107676 1058948 36.14 449344 1061836 8 02:54:54 02:50:01 173904 0 597344 31.75 2620 1107676 1026864 35.05 447988 1060140 8 02:54:54 02:51:01 174340 0 596900 31.72 2620 1107684 1026864 35.05 447880 1060136 8 02:54:54 02:52:02 173020 0 598216 31.79 2620 1107688 1027092 35.05 449248 1060136 8 02:54:54 02:53:01 173828 0 597400 31.75 2620 1107696 1026864 35.05 448020 1060136 8 02:54:54 02:54:01 167912 0 602916 32.04 2620 1108096 1032312 35.23 452716 1060316 352 02:54:54 Average: 162817 0 597327 31.75 2620 1118780 1054356 35.98 430199 1088719 69 02:54:54 02:54:54 02:43:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:54:54 02:44:01 eth0 156.68 122.75 607.39 40.32 0.00 0.00 0.00 0.00 02:54:54 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:45:02 eth0 117.21 99.29 496.36 62.31 0.00 0.00 0.00 0.00 02:54:54 02:45:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:45:02 docker0 13.59 10.90 1.64 24.53 0.00 0.00 0.00 0.00 02:54:54 02:46:01 eth0 3.51 0.79 1.00 0.67 0.00 0.00 0.00 0.00 02:54:54 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:47:01 eth0 4.33 0.93 1.07 0.57 0.00 0.00 0.00 0.00 02:54:54 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:48:01 eth0 1.63 0.90 0.83 0.64 0.00 0.00 0.00 0.00 02:54:54 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:49:01 eth0 0.83 0.50 0.42 0.27 0.00 0.00 0.00 0.00 02:54:54 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:50:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:54:54 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:51:01 eth0 0.55 0.08 0.05 0.01 0.00 0.00 0.00 0.00 02:54:54 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:52:02 eth0 0.95 0.37 0.44 0.20 0.00 0.00 0.00 0.00 02:54:54 02:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:52:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:53:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:54:54 02:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:54:01 eth0 3.31 2.28 3.59 1.01 0.00 0.00 0.00 0.00 02:54:54 02:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 02:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 Average: eth0 26.10 20.58 100.26 9.61 0.00 0.00 0.00 0.00 02:54:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:54:54 Average: docker0 1.24 1.00 0.15 2.25 0.00 0.00 0.00 0.00 02:54:54 02:54:54