Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 826dc4388710d346dfdba9485e6d47cfaa06628a+24bd13d414fb94824a4c7d4031bbe24e258abd9f (0da6444017f2c8ca61934152f53b0cb06efb11d0) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26886 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [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-784 # 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/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a Merge succeeded, producing 12393217a74ef032b594879f10007a2519e4cc92 Checking out Revision 12393217a74ef032b594879f10007a2519e4cc92 (PR-784) > git config core.sparsecheckout # timeout=10 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # 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 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12393217a74ef032b594879f10007a2519e4cc92 # timeout=10 Commit message: "Merge commit '24bd13d414fb94824a4c7d4031bbe24e258abd9f' into HEAD" > git rev-list --no-walk 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:11 ========================================================= 02:43:11 EdgeX Global Pipelines Version Info 02:43:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:13 ------------------- 02:43:13 stable info: 02:43:13 ------------------- 02:43:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:13 Message: update stable to v1.0.179 02:43:13 ------------------- 02:43:13 experimental info: 02:43:13 ------------------- 02:43:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:13 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-784 [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-784 [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-784 [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12393217a74ef032b594879f10007a2519e4cc92 [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1239321 [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:17 provisioning config files... 02:43:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config8623167044638859933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:17 ---> docker-login.sh 02:43:17 nexus3.edgexfoundry.org:10001 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 nexus3.edgexfoundry.org:10002 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 nexus3.edgexfoundry.org:10003 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 nexus3.edgexfoundry.org:10004 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 docker.io 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:19 Configure a credential helper to remove this warning. See 02:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:19 02:43:19 Login Succeeded 02:43:19 ---> docker-login.sh ends [Pipeline] } 02:43:19 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:43:20 + git log --format=format:%s -1 12393217a74ef032b594879f10007a2519e4cc92 [Pipeline] echo 02:43:20 GIT_COMMIT: 12393217a74ef032b594879f10007a2519e4cc92, Commit Message: Merge commit '24bd13d414fb94824a4c7d4031bbe24e258abd9f' into HEAD [Pipeline] echo 02:43:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:21 02:43:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:21 latest: Pulling from edgex-devops/git-semver 02:43:21 31603596830f: Pulling fs layer 02:43:21 2a8b12db71e7: Pulling fs layer 02:43:21 6ca5941a6612: Pulling fs layer 02:43:21 ecc8261a40a4: Pulling fs layer 02:43:21 ecc8261a40a4: Waiting 02:43:21 2a8b12db71e7: Verifying Checksum 02:43:21 2a8b12db71e7: Download complete 02:43:21 31603596830f: Verifying Checksum 02:43:21 31603596830f: Download complete 02:43:21 ecc8261a40a4: Verifying Checksum 02:43:21 ecc8261a40a4: Download complete 02:43:21 6ca5941a6612: Verifying Checksum 02:43:21 6ca5941a6612: Download complete 02:43:21 31603596830f: Pull complete 02:43:21 2a8b12db71e7: Pull complete 02:43:22 6ca5941a6612: Pull complete 02:43:22 ecc8261a40a4: Pull complete 02:43:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:22 prd-centos7-docker-4c-2g-26886 does not seem to be running inside a container 02:43:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:24 $ docker top fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:25 [ssh-agent] Looking for ssh-agent implementation... 02:43:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:25 $ docker exec fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc ssh-agent 02:43:25 SSH_AUTH_SOCK=/tmp/ssh-P1ZZ10RotVmO/agent.13 02:43:25 SSH_AGENT_PID=18 02:43:25 Running ssh-add (command line suppressed) 02:43:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_2296544869932500677.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_2296544869932500677.key) 02:43:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:26 + git tag --points-at HEAD [Pipeline] } 02:43:26 $ docker exec --env ******** --env ******** fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc ssh-agent -k 02:43:26 unset SSH_AUTH_SOCK; 02:43:26 unset SSH_AGENT_PID; 02:43:26 echo Agent pid 18 killed; 02:43:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:26 [ssh-agent] Looking for ssh-agent implementation... 02:43:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:26 $ docker exec fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc ssh-agent 02:43:26 SSH_AUTH_SOCK=/tmp/ssh-XsPuytX1nPzi/agent.49 02:43:26 SSH_AGENT_PID=54 02:43:26 Running ssh-add (command line suppressed) 02:43:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_3405670044649547528.key (/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/private_key_3405670044649547528.key) 02:43:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:27 + git semver init 02:43:27 # -> Open(): unable to determine branch for HEAD 02:43:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.git 02:43:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-784 02:43:27 # $SEMVER_REMOTE_NAME = origin 02:43:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:27 # $SEMVER_USER_NAME = edgex-jenkins 02:43:27 # $SEMVER_BRANCH = PR-784 02:43:27 # $SEMVER_TEMP = /tmp/semver-818204365 02:43:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:27 # '/tmp/semver-818204365' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver' 02:43:27 # -> Force: false 02:43:27 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-784/.semver [Pipeline] } 02:43:27 $ docker exec --env ******** --env ******** fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc ssh-agent -k 02:43:27 unset SSH_AUTH_SOCK; 02:43:27 unset SSH_AGENT_PID; 02:43:27 echo Agent pid 54 killed; 02:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:28 + git semver [Pipeline] } 02:43:28 $ docker stop --time=1 fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc 02:43:29 $ docker rm -f fe2de089007c5e512d14ea4a9b9b3440f4a57a02995bbfba05af82fe4c964cbc [Pipeline] // withDockerContainer [Pipeline] sh 02:43:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:30 Stashed 1 file(s) [Pipeline] echo 02:43:30 [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:43:46 Still waiting to schedule task 02:43:46 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:46 Still waiting to schedule task 02:43:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:09 Running on prd-centos7-docker-4c-2g-26889 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 02:45:09 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:45:22 using credential edgex-jenkins-ssh 02:45:22 Cloning the remote Git repository 02:45:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:22 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:45:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:22 > git --version # timeout=10 02:45:23 > git --version # 'git version 2.24.3' 02:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:25 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a 02:45:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:25 > git config core.sparsecheckout # timeout=10 02:45:25 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 02:45:26 > git remote # timeout=10 02:45:26 > git config --get remote.origin.url # timeout=10 02:45:26 Merge succeeded, producing a903e7fccbb8221145901e13e7a3559ae89b826b 02:45:26 Checking out Revision a903e7fccbb8221145901e13e7a3559ae89b826b (PR-784) 02:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:26 > git merge 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 02:45:26 > git rev-parse HEAD^{commit} # timeout=10 02:45:26 > git config core.sparsecheckout # timeout=10 02:45:26 > git checkout -f a903e7fccbb8221145901e13e7a3559ae89b826b # timeout=10 02:45:32 Commit message: "Merge commit '24bd13d414fb94824a4c7d4031bbe24e258abd9f' into HEAD" 02:45:32 > git rev-list --no-walk 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:35 + sudo service docker restart 02:45:35 + true 02:45:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:38 provisioning config files... 02:45:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5102624630972604356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:38 ---> docker-login.sh 02:45:38 nexus3.edgexfoundry.org:10001 02:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:40 Configure a credential helper to remove this warning. See 02:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:40 02:45:40 Login Succeeded 02:45:40 nexus3.edgexfoundry.org:10002 02:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 nexus3.edgexfoundry.org:10003 02:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:42 Configure a credential helper to remove this warning. See 02:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:42 02:45:42 Login Succeeded 02:45:42 nexus3.edgexfoundry.org:10004 02:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:43 Configure a credential helper to remove this warning. See 02:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:43 02:45:43 Login Succeeded 02:45:43 docker.io 02:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:43 Configure a credential helper to remove this warning. See 02:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:43 02:45:43 Login Succeeded 02:45:43 ---> docker-login.sh ends [Pipeline] } 02:45:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:45 ========================================================= 02:45:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:45 + 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:45:45 Sending build context to Docker daemon 2.38MB 02:45:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:45 Step 2/8 : FROM ${BASE} 02:45:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:45 188c0c94c7c5: Pulling fs layer 02:45:45 0ef7d3d256c8: Pulling fs layer 02:45:45 de9db76c5a1d: Pulling fs layer 02:45:45 bca2f99d35d6: Pulling fs layer 02:45:45 93359f2a8cfa: Pulling fs layer 02:45:45 7c6f9722023f: Pulling fs layer 02:45:45 a35cf1a2eb13: Pulling fs layer 02:45:45 93359f2a8cfa: Waiting 02:45:45 7c6f9722023f: Waiting 02:45:45 a35cf1a2eb13: Waiting 02:45:45 bca2f99d35d6: Waiting 02:45:45 de9db76c5a1d: Verifying Checksum 02:45:45 de9db76c5a1d: Download complete 02:45:45 0ef7d3d256c8: Download complete 02:45:45 93359f2a8cfa: Verifying Checksum 02:45:45 93359f2a8cfa: Download complete 02:45:46 7c6f9722023f: Verifying Checksum 02:45:46 7c6f9722023f: Download complete 02:45:46 188c0c94c7c5: Verifying Checksum 02:45:46 188c0c94c7c5: Download complete 02:45:47 188c0c94c7c5: Pull complete 02:45:48 0ef7d3d256c8: Pull complete 02:45:48 de9db76c5a1d: Pull complete 02:45:51 a35cf1a2eb13: Verifying Checksum 02:45:51 a35cf1a2eb13: Download complete 02:45:53 bca2f99d35d6: Verifying Checksum 02:45:53 bca2f99d35d6: Download complete 02:46:04 bca2f99d35d6: Pull complete 02:46:06 93359f2a8cfa: Pull complete 02:46:07 7c6f9722023f: Pull complete 02:46:18 a35cf1a2eb13: Pull complete 02:46:18 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:18 ---> a62c8e92a672 02:46:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:18 ---> Running in 779cf1828784 02:46:21 Removing intermediate container 779cf1828784 02:46:21 ---> dd98c9440554 02:46:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:21 ---> Running in b7e0ffb194c6 02:46:23 Removing intermediate container b7e0ffb194c6 02:46:23 ---> 5dc21a4c957d 02:46:23 Step 5/8 : RUN apk add --update --no-cache make git 02:46:24 ---> Running in 43f4353929ba 02:46:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:27 OK: 166 MiB in 39 packages 02:46:28 Removing intermediate container 43f4353929ba 02:46:28 ---> 8a060b69605c 02:46:28 Step 6/8 : WORKDIR /device-sdk-go 02:46:28 ---> Running in ae51265c1bc9 02:46:29 Removing intermediate container ae51265c1bc9 02:46:29 ---> ac2855bceb13 02:46:29 Step 7/8 : COPY . . 02:46:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26890 in /w/workspace/dgexfoundry_device-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 02:46:31 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:46:32 ---> 8fa5f6857f7a 02:46:32 Step 8/8 : RUN go mod download 02:46:33 ---> Running in 3c4834d8ff44 02:46:36 using credential edgex-jenkins-ssh 02:46:36 Cloning the remote Git repository 02:46:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:46:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:36 > git --version # timeout=10 02:46:36 > git --version # 'git version 2.17.1' 02:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:38 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 826dc4388710d346dfdba9485e6d47cfaa06628a 02:46:38 Merge succeeded, producing 1fa961a1012ad4c8173ad0d1aa7fbb8ad8ed7f08 02:46:38 Checking out Revision 1fa961a1012ad4c8173ad0d1aa7fbb8ad8ed7f08 (PR-784) 02:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:38 > git config core.sparsecheckout # timeout=10 02:46:38 > git checkout -f 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 02:46:38 > git remote # timeout=10 02:46:38 > git config --get remote.origin.url # timeout=10 02:46:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:38 > git merge 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 02:46:38 > git rev-parse HEAD^{commit} # timeout=10 02:46:38 > git config core.sparsecheckout # timeout=10 02:46:38 > git checkout -f 1fa961a1012ad4c8173ad0d1aa7fbb8ad8ed7f08 # timeout=10 02:46:43 Commit message: "Merge commit '24bd13d414fb94824a4c7d4031bbe24e258abd9f' into HEAD" 02:46:43 > git rev-list --no-walk 826dc4388710d346dfdba9485e6d47cfaa06628a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:45 + sudo service docker restart 02:46:45 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:47 provisioning config files... 02:46:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1601833544298713913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:47 ---> docker-login.sh 02:46:47 nexus3.edgexfoundry.org:10001 02:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:49 Configure a credential helper to remove this warning. See 02:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:49 02:46:49 Login Succeeded 02:46:49 nexus3.edgexfoundry.org:10002 02:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:50 Configure a credential helper to remove this warning. See 02:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:50 02:46:50 Login Succeeded 02:46:50 nexus3.edgexfoundry.org:10003 02:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:50 Configure a credential helper to remove this warning. See 02:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:50 02:46:50 Login Succeeded 02:46:50 nexus3.edgexfoundry.org:10004 02:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:51 Configure a credential helper to remove this warning. See 02:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:51 02:46:51 Login Succeeded 02:46:51 docker.io 02:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:52 Configure a credential helper to remove this warning. See 02:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:52 02:46:52 Login Succeeded 02:46:52 ---> docker-login.sh ends [Pipeline] } 02:46:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:52 ========================================================= 02:46:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:53 + 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:46:53 Sending build context to Docker daemon 2.377MB 02:46:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:53 Step 2/8 : FROM ${BASE} 02:46:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:53 5f621e34cdf4: Pulling fs layer 02:46:53 a4357932f1b6: Pulling fs layer 02:46:53 18c013af1878: Pulling fs layer 02:46:53 00ac8860ef70: Pulling fs layer 02:46:53 63d7cb157983: Pulling fs layer 02:46:53 b116817d02f9: Pulling fs layer 02:46:53 745a02a5169b: Pulling fs layer 02:46:53 00ac8860ef70: Waiting 02:46:53 63d7cb157983: Waiting 02:46:53 b116817d02f9: Waiting 02:46:53 745a02a5169b: Waiting 02:46:53 18c013af1878: Download complete 02:46:53 a4357932f1b6: Verifying Checksum 02:46:53 a4357932f1b6: Download complete 02:46:53 63d7cb157983: Verifying Checksum 02:46:53 63d7cb157983: Download complete 02:46:53 5f621e34cdf4: Verifying Checksum 02:46:53 5f621e34cdf4: Download complete 02:46:54 b116817d02f9: Download complete 02:46:54 5f621e34cdf4: Pull complete 02:46:55 a4357932f1b6: Pull complete 02:46:55 18c013af1878: Pull complete 02:46:56 745a02a5169b: Verifying Checksum 02:46:56 745a02a5169b: Download complete 02:46:57 00ac8860ef70: Verifying Checksum 02:46:57 00ac8860ef70: Download complete 02:47:07 00ac8860ef70: Pull complete 02:47:07 63d7cb157983: Pull complete 02:47:07 b116817d02f9: Pull complete 02:47:11 745a02a5169b: Pull complete 02:47:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:11 ---> b7e6874047d6 02:47:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:13 ---> Running in 4e136616aa94 02:47:14 Removing intermediate container 4e136616aa94 02:47:14 ---> 2b2aaf861cac 02:47:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:14 ---> Running in d3e061d9a662 02:47:17 Removing intermediate container d3e061d9a662 02:47:17 ---> bc80ba50cccc 02:47:17 Step 5/8 : RUN apk add --update --no-cache make git 02:47:17 ---> Running in e33b9a3af660 02:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:19 OK: 142 MiB in 39 packages 02:47:20 Removing intermediate container e33b9a3af660 02:47:20 ---> 454b384d7a4c 02:47:20 Step 6/8 : WORKDIR /device-sdk-go 02:47:20 ---> Running in d6a7afcea355 02:47:21 Removing intermediate container d6a7afcea355 02:47:21 ---> 88645a37b62c 02:47:21 Step 7/8 : COPY . . 02:47:22 ---> 68251a5d3886 02:47:22 Step 8/8 : RUN go mod download 02:47:22 ---> Running in d1d9c919a804 02:47:23 Removing intermediate container 3c4834d8ff44 02:47:23 ---> 7cb7955fd5e1 02:47:23 Successfully built 7cb7955fd5e1 02:47:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:23 + docker inspect -f . ci-base-image-x86_64 02:47:24 . [Pipeline] withDockerContainer 02:47:24 prd-centos7-docker-4c-2g-26889 does not seem to be running inside a container 02:47:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:26 $ docker top 000db1a404c7d5799273848fc54cfb64aa5063a4586f1ddbd76268ad358a0873 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:27 + go version 02:47:27 go version go1.15.5 linux/amd64 [Pipeline] } 02:47:28 $ docker stop --time=1 000db1a404c7d5799273848fc54cfb64aa5063a4586f1ddbd76268ad358a0873 02:47:29 $ docker rm -f 000db1a404c7d5799273848fc54cfb64aa5063a4586f1ddbd76268ad358a0873 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:31 + docker inspect -f . ci-base-image-x86_64 02:47:31 . [Pipeline] withDockerContainer 02:47:31 prd-centos7-docker-4c-2g-26889 does not seem to be running inside a container 02:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:32 $ docker top 6e0e542f860d18bcbc98e70c7eafd91ee49a6d9f2618edb389011e7b39cf41df -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:35 + make test 02:47:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:49 Removing intermediate container d1d9c919a804 02:47:49 ---> 50ebcbf63492 02:47:49 Successfully built 50ebcbf63492 02:47:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:49 + docker inspect -f . ci-base-image-arm64 02:47:49 . [Pipeline] withDockerContainer 02:47:50 prd-ubuntu18.04-docker-arm64-4c-16g-26890 does not seem to be running inside a container 02:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:51 $ docker top 4dd83558b633cc144010712a857adcc5afe32454794826ba3d8584e6ad80d033 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:52 + go version 02:47:52 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:52 $ docker stop --time=1 4dd83558b633cc144010712a857adcc5afe32454794826ba3d8584e6ad80d033 02:47:54 $ docker rm -f 4dd83558b633cc144010712a857adcc5afe32454794826ba3d8584e6ad80d033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:55 + docker inspect -f . ci-base-image-arm64 02:47:55 . [Pipeline] withDockerContainer 02:47:55 prd-ubuntu18.04-docker-arm64-4c-16g-26890 does not seem to be running inside a container 02:47:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:57 $ docker top 1891c25b3c86ad3d837965526c9c28f479c5bf9dece94c8d51b05d001602e696 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:58 + make test 02:47:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.071s coverage: 25.5% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.101s coverage: 10.1% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.098s coverage: 12.5% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.154s coverage: 84.8% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.130s coverage: 49.2% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.089s coverage: 81.3% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.101s coverage: 24.8% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.367s coverage: 83.5% of statements 02:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 5.3% of statements 02:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:51 GO111MODULE=on go vet ./... 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 25.5% of statements 02:49:10 gofmt -l . 02:49:10 [ "`gofmt -l .`" = "" ] 02:49:10 ./bin/test-attribution-txt.sh 02:49:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:14 $ docker stop --time=1 6e0e542f860d18bcbc98e70c7eafd91ee49a6d9f2618edb389011e7b39cf41df 02:49:16 $ docker rm -f 6e0e542f860d18bcbc98e70c7eafd91ee49a6d9f2618edb389011e7b39cf41df [Pipeline] // withDockerContainer [Pipeline] sh 02:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:23 + ls -al . 02:49:23 total 184 02:49:23 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 19 02:49 . 02:49:23 drwxrwxr-x. 4 jenkins jenkins 28 Feb 19 02:45 .. 02:49:23 drwxrwxr-x. 2 jenkins jenkins 64 Feb 19 02:45 bin 02:49:23 -rw-r--r--. 1 jenkins jenkins 101947 Feb 19 02:48 coverage.out 02:49:23 -rw-rw-r--. 1 jenkins jenkins 949 Feb 19 02:45 Dockerfile.build 02:49:23 -rw-rw-r--. 1 jenkins jenkins 140 Feb 19 02:45 .dockerignore 02:49:23 drwxrwxr-x. 4 jenkins jenkins 48 Feb 19 02:45 example 02:49:23 drwxrwxr-x. 8 jenkins jenkins 179 Feb 19 02:45 .git 02:49:23 drwxrwxr-x. 2 jenkins jenkins 103 Feb 19 02:45 .github 02:49:23 -rw-rw-r--. 1 jenkins jenkins 138 Feb 19 02:45 .gitignore 02:49:23 -rw-r--r--. 1 jenkins jenkins 515 Feb 19 02:49 go.mod 02:49:23 -rw-r--r--. 1 jenkins jenkins 19062 Feb 19 02:49 go.sum 02:49:23 drwxrwxr-x. 13 jenkins jenkins 183 Feb 19 02:45 internal 02:49:23 -rw-rw-r--. 1 jenkins jenkins 901 Feb 19 02:45 Jenkinsfile 02:49:23 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 19 02:45 LICENSE 02:49:23 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 19 02:45 Makefile 02:49:23 drwxrwxr-x. 4 jenkins jenkins 26 Feb 19 02:45 openapi 02:49:23 drwxrwxr-x. 5 jenkins jenkins 50 Feb 19 02:45 pkg 02:49:23 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 19 02:45 README.md 02:49:23 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 19 02:45 RELEASE-NOTES.txt 02:49:23 drwxrwxr-x. 4 jenkins jenkins 54 Feb 19 02:45 snap 02:49:23 -rw-rw-r--. 1 jenkins jenkins 5 Feb 19 02:43 VERSION 02:49:23 -rw-rw-r--. 1 jenkins jenkins 222 Feb 19 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49: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=12393217a74ef032b594879f10007a2519e4cc92 --label arch=amd64 --label version=0.0.0 . 02:49:25 Sending build context to Docker daemon 2.483MB 02:49:25 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:25 Step 2/24 : FROM ${BASE} AS builder 02:49:25 ---> 7cb7955fd5e1 02:49:25 Step 3/24 : ARG MAKE='make build' 02:49:25 ---> Running in ddd6c16b2701 02:49:26 Removing intermediate container ddd6c16b2701 02:49:26 ---> 9700ee683e1d 02:49:26 Step 4/24 : WORKDIR /device-sdk-go 02:49:26 ---> Running in 31eca81af7e4 02:49:26 Removing intermediate container 31eca81af7e4 02:49:26 ---> 334b4bcf449f 02:49:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:26 ---> Running in 9ab8313f1446 02:49:27 Removing intermediate container 9ab8313f1446 02:49:27 ---> 1cbfb7d30823 02:49:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:27 ---> Running in cc682a4628e4 02:49:29 Removing intermediate container cc682a4628e4 02:49:29 ---> f08942baddbc 02:49:29 Step 7/24 : RUN apk add --update --no-cache make git 02:49:29 ---> Running in cf8271f226a9 02:49:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:31 OK: 166 MiB in 39 packages 02:49:32 Removing intermediate container cf8271f226a9 02:49:32 ---> 6475492051ef 02:49:32 Step 8/24 : COPY . . 02:49:33 ---> 1ab4fdd011fe 02:49:33 Step 9/24 : RUN ${MAKE} 02:49:33 ---> Running in 6af971ce5cf4 02:49:34 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:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.132s coverage: 10.1% of statements 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 12.5% of statements 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.164s coverage: 84.8% of statements 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.225s coverage: 49.2% of statements 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.243s coverage: 81.3% of statements 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.177s coverage: 24.8% of statements 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.957s coverage: 83.5% of statements 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.3% of statements 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:40 GO111MODULE=on go vet ./... 02:49:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:51 Removing intermediate container 6af971ce5cf4 02:49:51 ---> b2548a276513 02:49:51 Step 10/24 : FROM scratch 02:49:51 ---> 02:49:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:51 ---> Running in 0a184ecffa42 02:49:51 Removing intermediate container 0a184ecffa42 02:49:51 ---> dd7338271710 02:49:51 Step 12/24 : ENV APP_PORT=49990 02:49:51 ---> Running in 0a52c5a3d039 02:49:52 Removing intermediate container 0a52c5a3d039 02:49:52 ---> 0f91b864834f 02:49:52 Step 13/24 : EXPOSE $APP_PORT 02:49:52 ---> Running in 916d2958b9fb 02:49:52 Removing intermediate container 916d2958b9fb 02:49:52 ---> 6691c5ccccb5 02:49:52 Step 14/24 : WORKDIR / 02:49:52 ---> Running in f625e82ded80 02:49:53 Removing intermediate container f625e82ded80 02:49:53 ---> 78ee5c3e16ec 02:49:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:54 ---> fb3eb32b9835 02:49:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:54 ---> 3aa92e5c3cda 02:49:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:54 ---> 82f84dd03108 02:49:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:55 ---> 02f54d835d74 02:49:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:56 ---> 53384b295680 02:49:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:56 ---> Running in dba113e3dcc1 02:49:56 Removing intermediate container dba113e3dcc1 02:49:56 ---> b6e4f95c15bd 02:49:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:56 ---> Running in f8f237361cce 02:49:56 Removing intermediate container f8f237361cce 02:49:56 ---> 05b1378078c3 02:49:56 Step 22/24 : LABEL arch=amd64 02:49:56 ---> Running in 8720b00916cd 02:49:57 Removing intermediate container 8720b00916cd 02:49:57 ---> e3fd1edc26a2 02:49:57 Step 23/24 : LABEL git_sha=12393217a74ef032b594879f10007a2519e4cc92 02:49:57 ---> Running in 1f7e48e8060c 02:49:57 Removing intermediate container 1f7e48e8060c 02:49:57 ---> 97cffd5aaf92 02:49:57 Step 24/24 : LABEL version=0.0.0 02:49:58 ---> Running in e5dd9d7ab1c9 02:49:58 Removing intermediate container e5dd9d7ab1c9 02:49:58 ---> 12f840cd1ac4 02:49:58 [Warning] One or more build-args [ARCH] were not consumed 02:49:58 Successfully built 12f840cd1ac4 02:49:58 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:50:12 gofmt -l . 02:50:13 [ "`gofmt -l .`" = "" ] 02:50:13 ./bin/test-attribution-txt.sh 02:50:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:15 $ docker stop --time=1 1891c25b3c86ad3d837965526c9c28f479c5bf9dece94c8d51b05d001602e696 02:50:17 $ docker rm -f 1891c25b3c86ad3d837965526c9c28f479c5bf9dece94c8d51b05d001602e696 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:18 Warning: overwriting stash ‘coverage-report’ 02:50:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:21 + ls -al . 02:50:21 total 220 02:50:21 drwxrwxr-x 10 jenkins jenkins 4096 Feb 19 02:50 . 02:50:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 02:46 .. 02:50:21 -rw-rw-r-- 1 jenkins jenkins 140 Feb 19 02:46 .dockerignore 02:50:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 02:46 .git 02:50:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 02:46 .github 02:50:21 -rw-rw-r-- 1 jenkins jenkins 138 Feb 19 02:46 .gitignore 02:50:21 -rw-rw-r-- 1 jenkins jenkins 949 Feb 19 02:46 Dockerfile.build 02:50:21 -rw-rw-r-- 1 jenkins jenkins 901 Feb 19 02:46 Jenkinsfile 02:50:21 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 19 02:46 LICENSE 02:50:21 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 19 02:46 Makefile 02:50:21 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 19 02:46 README.md 02:50:21 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 19 02:46 RELEASE-NOTES.txt 02:50:21 -rw-rw-r-- 1 jenkins jenkins 5 Feb 19 02:43 VERSION 02:50:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 02:46 bin 02:50:21 -rw-r--r-- 1 jenkins jenkins 101947 Feb 19 02:49 coverage.out 02:50:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 02:46 example 02:50:21 -rw-r--r-- 1 jenkins jenkins 515 Feb 19 02:50 go.mod 02:50:21 -rw-r--r-- 1 jenkins jenkins 19062 Feb 19 02:50 go.sum 02:50:21 drwxrwxr-x 13 jenkins jenkins 4096 Feb 19 02:46 internal 02:50:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 02:46 openapi 02:50:21 drwxrwxr-x 5 jenkins jenkins 4096 Feb 19 02:46 pkg 02:50:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 02:46 snap 02:50:21 -rw-rw-r-- 1 jenkins jenkins 222 Feb 19 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:21 + 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=12393217a74ef032b594879f10007a2519e4cc92 --label arch=arm64 --label version=0.0.0 . 02:50:22 Sending build context to Docker daemon 2.48MB 02:50:22 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:22 Step 2/24 : FROM ${BASE} AS builder 02:50:22 ---> 50ebcbf63492 02:50:22 Step 3/24 : ARG MAKE='make build' 02:50:22 ---> Running in 272c473ce701 02:50:23 Removing intermediate container 272c473ce701 02:50:23 ---> 634a0795bde1 02:50:23 Step 4/24 : WORKDIR /device-sdk-go 02:50:23 ---> Running in 310ce19dd5ee 02:50:23 Removing intermediate container 310ce19dd5ee 02:50:23 ---> ed23106641ac 02:50:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:23 ---> Running in 0a0cb7a1dba6 02:50:24 Removing intermediate container 0a0cb7a1dba6 02:50:24 ---> e3d83660d35f 02:50:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:24 ---> Running in d51e0d01e844 02:50:26 Removing intermediate container d51e0d01e844 02:50:26 ---> 896afe95d90e 02:50:26 Step 7/24 : RUN apk add --update --no-cache make git 02:50:26 ---> Running in 2659a4a2647f 02:50:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:29 OK: 142 MiB in 39 packages 02:50:30 Removing intermediate container 2659a4a2647f 02:50:30 ---> 7b8595284b50 02:50:30 Step 8/24 : COPY . . 02:50:31 ---> 644166026342 02:50:31 Step 9/24 : RUN ${MAKE} 02:50:32 ---> Running in 8930a1da2fa0 02:50:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:03 Removing intermediate container 8930a1da2fa0 02:51:03 ---> 44fccc602c52 02:51:03 Step 10/24 : FROM scratch 02:51:03 ---> 02:51:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:03 ---> Running in 7c4d658c7bc9 02:51:03 Removing intermediate container 7c4d658c7bc9 02:51:03 ---> d03dd0d4c6e7 02:51:03 Step 12/24 : ENV APP_PORT=49990 02:51:03 ---> Running in dfbe66bbfa4e 02:51:04 Removing intermediate container dfbe66bbfa4e 02:51:04 ---> a285ab970955 02:51:04 Step 13/24 : EXPOSE $APP_PORT 02:51:04 ---> Running in e6f725dbc18e 02:51:04 Removing intermediate container e6f725dbc18e 02:51:04 ---> 083b3f1b4e7d 02:51:04 Step 14/24 : WORKDIR / 02:51:04 ---> Running in fd74a6c4759c 02:51:05 Removing intermediate container fd74a6c4759c 02:51:05 ---> 4944f49b3451 02:51:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:06 ---> 6606964ce0e3 02:51:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:07 ---> eb047f3d7755 02:51:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:07 ---> 04156e8d8dc3 02:51:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:08 ---> 0da0bd768682 02:51:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:09 ---> 975b2b1ea326 02:51:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:09 ---> Running in 55637e434616 02:51:10 Removing intermediate container 55637e434616 02:51:10 ---> 6c79e29711d0 02:51:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:10 ---> Running in 4c318b10b942 02:51:10 Removing intermediate container 4c318b10b942 02:51:10 ---> 609cc15ea1f0 02:51:10 Step 22/24 : LABEL arch=arm64 02:51:10 ---> Running in 52ef095d86fa 02:51:11 Removing intermediate container 52ef095d86fa 02:51:11 ---> 58ab7a586881 02:51:11 Step 23/24 : LABEL git_sha=12393217a74ef032b594879f10007a2519e4cc92 02:51:11 ---> Running in f8dbb424d61d 02:51:11 Removing intermediate container f8dbb424d61d 02:51:11 ---> fbb29b9650f8 02:51:11 Step 24/24 : LABEL version=0.0.0 02:51:12 ---> Running in ecc81b1bdc93 02:51:12 Removing intermediate container ecc81b1bdc93 02:51:12 ---> a0d3bdb44dcd 02:51:12 [Warning] One or more build-args [ARCH] were not consumed 02:51:12 Successfully built a0d3bdb44dcd 02:51: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:51:14 provisioning config files... 02:51:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config6157440008083826311tmp [Pipeline] { [Pipeline] sh 02:51:14 + set +x 02:51:14 + curl -s https://codecov.io/bash 02:51:14 + bash -s -- 02:51:14 02:51:14 _____ _ 02:51:14 / ____| | | 02:51:14 | | ___ __| | ___ ___ _____ __ 02:51:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:14 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:14 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:14 Bash-20210129-7c25fce 02:51:14 02:51:14 02:51:14 ==> git version 2.24.3 found 02:51:14 ==> 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:51:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:14 ==> Jenkins CI detected. 02:51:14 project root: . 02:51:14 --> token set from env 02:51:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:14 ==> Running gcov in . (disable via -X gcov) 02:51:14 ==> Python coveragepy not found 02:51:14 ==> Searching for coverage reports in: 02:51:14 + . 02:51:14 -> Found 1 reports 02:51:14 ==> Detecting git/mercurial file structure 02:51:14 ==> Reading reports 02:51:14 + ./coverage.out bytes=101947 02:51:14 ==> Appending adjustments 02:51:14 https://docs.codecov.io/docs/fixing-reports 02:51:15 + Found adjustments 02:51:15 ==> Gzipping contents 02:51:15 20K /tmp/codecov.ECWHSl.gz 02:51:15 ==> Uploading reports 02:51:15 url: https://codecov.io 02:51:15 query: branch=PR-784&commit=12393217a74ef032b594879f10007a2519e4cc92&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= 02:51:15 -> Pinging Codecov 02:51:15 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-784&commit=12393217a74ef032b594879f10007a2519e4cc92&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-784%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=784&job=&cmd_args= 02:51:15 -> Uploading to 02:51:15 https://storage.googleapis.com/codecov/v4/raw/2021-02-19/7E55EF52A471D76F132DFD9A03CDDE97/12393217a74ef032b594879f10007a2519e4cc92/bf089f12-1fbc-49d7-9cd4-986303cf4012.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210219T025115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97f49f7678e243437a4fb6b32bb865b66db573d740794ceee5575a6ceae8596b 02:51:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:15 Dload Upload Total Spent Left Speed 02:51:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16514 0 0 100 16514 0 39959 --:--:-- --:--:-- --:--:-- 39888 02:51:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/12393217a74ef032b594879f10007a2519e4cc92 [Pipeline] } 02:51:15 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:51:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:18 ---> package-listing.sh 02:51:18 ++ facter osfamily 02:51:18 ++ tr '[:upper:]' '[:lower:]' 02:51:18 + OS_FAMILY=redhat 02:51:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-784 02:51:18 + START_PACKAGES=/tmp/packages_start.txt 02:51:18 + END_PACKAGES=/tmp/packages_end.txt 02:51:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:18 + PACKAGES=/tmp/packages_start.txt 02:51:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' 02:51:18 + PACKAGES=/tmp/packages_end.txt 02:51:18 + case "${OS_FAMILY}" in 02:51:18 + rpm -qa 02:51:18 + sort 02:51:24 + '[' -f /tmp/packages_start.txt ']' 02:51:24 + '[' -f /tmp/packages_end.txt ']' 02:51:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-784 ']' 02:51:24 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ 02:51:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-784/archives/ [Pipeline] echo 02:51: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-784/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:24 02:51:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:25 alpine: Pulling from edgex-lftools-log-publisher 02:51:25 df20fa9351a1: Pulling fs layer 02:51:25 36b3adc4ff6f: Pulling fs layer 02:51:25 8ad3a11d3b57: Pulling fs layer 02:51:25 46f8f816bc3b: Pulling fs layer 02:51:25 93b61091891f: Pulling fs layer 02:51:25 93b9cdb0e59b: Pulling fs layer 02:51:25 5e14af77c1be: Pulling fs layer 02:51:25 01666e4c0597: Pulling fs layer 02:51:25 aa168da1d23b: Pulling fs layer 02:51:25 93b9cdb0e59b: Waiting 02:51:25 5e14af77c1be: Waiting 02:51:25 01666e4c0597: Waiting 02:51:25 aa168da1d23b: Waiting 02:51:25 46f8f816bc3b: Waiting 02:51:25 93b61091891f: Waiting 02:51:25 36b3adc4ff6f: Download complete 02:51:25 46f8f816bc3b: Verifying Checksum 02:51:25 46f8f816bc3b: Download complete 02:51:25 df20fa9351a1: Verifying Checksum 02:51:25 93b9cdb0e59b: Verifying Checksum 02:51:25 93b9cdb0e59b: Download complete 02:51:25 93b61091891f: Download complete 02:51:25 5e14af77c1be: Verifying Checksum 02:51:25 5e14af77c1be: Download complete 02:51:25 01666e4c0597: Verifying Checksum 02:51:25 01666e4c0597: Download complete 02:51:25 8ad3a11d3b57: Verifying Checksum 02:51:25 8ad3a11d3b57: Download complete 02:51:25 df20fa9351a1: Pull complete 02:51:25 36b3adc4ff6f: Pull complete 02:51:26 8ad3a11d3b57: Pull complete 02:51:26 46f8f816bc3b: Pull complete 02:51:27 aa168da1d23b: Verifying Checksum 02:51:27 aa168da1d23b: Download complete 02:51:27 93b61091891f: Pull complete 02:51:27 93b9cdb0e59b: Pull complete 02:51:27 5e14af77c1be: Pull complete 02:51:27 01666e4c0597: Pull complete 02:51:34 aa168da1d23b: Pull complete 02:51:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:34 prd-centos7-docker-4c-2g-26886 does not seem to be running inside a container 02:51:34 $ 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-784/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-784 -v /w/workspace/dgexfoundry_device-sdk-go_PR-784:/w/workspace/dgexfoundry_device-sdk-go_PR-784:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-784@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:37 $ docker top 95871a54b89f6daa9f1a482c60c340ac809acad44687a794ff8f2dfd934d1afb -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:38 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:38 + mkdir -p /var/log/sa [Pipeline] sh 02:51:39 + ls /var/log/sa-host 02:51:39 + sadf -c /var/log/sa-host/sa19 02:51:39 file_magic: OK 02:51:39 HZ: Using current value: 100 02:51:39 file_header: OK 02:51:39 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:51:39 Statistics: 02:51:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:39 File successfully converted to sysstat format version 12.2.1 02:51:39 + sadf -c /var/log/sa-host/sa23 02:51:39 file_magic: OK 02:51:39 HZ: Using current value: 100 02:51:39 file_header: OK 02:51:39 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:51:39 Statistics: 02:51:39 Hnuu...uuuununununu... 02:51:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:39 provisioning config files... 02:51:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp/config143934503869360254tmp [Pipeline] { [Pipeline] echo 02:51:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:39 ---> create-netrc.sh [Pipeline] } 02:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:40 ---> python-tools-install.sh [Pipeline] echo 02:51:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:40 ---> sudo-logs.sh 02:51:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:51:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:40 ---> job-cost.sh 02:51:40 lf-activate-venv: SKIPPING 02:51:40 INFO: No Stack... 02:51:41 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:42 INFO: Archiving Costs [Pipeline] echo 02:51:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:42 ---> logs-deploy.sh 02:51:42 lf-activate-venv: SKIPPING 02:51:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-784/3 02:51:42 INFO: archiving workspace using pattern(s): 02:51:43 Archives upload complete. 02:51:44 INFO: archiving logs to Nexus 02:51:45 ---> uname -a: 02:51:45 Linux prd-centos7-docker-4c-2g-26886.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:51:45 02:51:45 02:51:45 ---> lscpu: 02:51:45 Architecture: x86_64 02:51:45 CPU op-mode(s): 32-bit, 64-bit 02:51:45 Byte Order: Little Endian 02:51:45 Address sizes: 40 bits physical, 48 bits virtual 02:51:45 CPU(s): 4 02:51:45 On-line CPU(s) list: 0-3 02:51:45 Thread(s) per core: 1 02:51:45 Core(s) per socket: 1 02:51:45 Socket(s): 4 02:51:45 NUMA node(s): 1 02:51:45 Vendor ID: GenuineIntel 02:51:45 CPU family: 6 02:51:45 Model: 44 02:51:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:45 Stepping: 1 02:51:45 CPU MHz: 2933.438 02:51:45 BogoMIPS: 5866.87 02:51:45 Virtualization: VT-x 02:51:45 Hypervisor vendor: KVM 02:51:45 Virtualization type: full 02:51:45 L1d cache: 128 KiB 02:51:45 L1i cache: 128 KiB 02:51:45 L2 cache: 16 MiB 02:51:45 L3 cache: 64 MiB 02:51:45 NUMA node0 CPU(s): 0-3 02:51:45 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:45 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:45 Vulnerability Meltdown: Mitigation; PTI 02:51:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:45 Vulnerability Srbds: Not affected 02:51:45 Vulnerability Tsx async abort: Not affected 02:51:45 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:51:45 02:51:45 02:51:45 ---> nproc: 02:51:45 4 02:51:45 02:51:45 02:51:45 ---> df -h: 02:51:45 Filesystem Size Used Available Use% Mounted on 02:51:45 overlay 50.0G 7.3G 42.7G 15% / 02:51:45 tmpfs 64.0M 0 64.0M 0% /dev 02:51:45 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:45 shm 64.0M 0 64.0M 0% /dev/shm 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-784 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-784@tmp 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:45 02:51:45 02:51:45 ---> free -m: 02:51:45 total used free shared buff/cache available 02:51:45 Mem: 1837 688 107 0 1040 1044 02:51:45 Swap: 1023 0 1023 02:51:45 02:51:45 02:51:45 ---> ip addr: 02:51:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:45 inet 127.0.0.1/8 scope host lo 02:51:45 valid_lft forever preferred_lft forever 02:51:45 inet6 ::1/128 scope host 02:51:45 valid_lft forever preferred_lft forever 02:51:45 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:45 link/ether fa:16:3e:83:88:43 brd ff:ff:ff:ff:ff:ff 02:51:45 inet 10.30.122.234/23 brd 10.30.123.255 scope global dynamic eth0 02:51:45 valid_lft 85855sec preferred_lft 85855sec 02:51:45 inet6 fe80::f816:3eff:fe83:8843/64 scope link 02:51:45 valid_lft forever preferred_lft forever 02:51:45 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:45 link/ether 02:42:ea:b7:a3:af brd ff:ff:ff:ff:ff:ff 02:51:45 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:45 valid_lft forever preferred_lft forever 02:51:45 inet6 fe80::42:eaff:feb7:a3af/64 scope link 02:51:45 valid_lft forever preferred_lft forever 02:51:45 02:51:45 02:51:45 ---> sar -b -r -n DEV: 02:51:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/19/21 _x86_64_ (4 CPU) 02:51:45 02:51:45 02:42:29 LINUX RESTART (4 CPU) 02:51:45 02:51:45 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:45 02:44:01 50.39 15.40 34.99 0.00 4644.58 3290.68 0.00 02:51:45 02:45:01 0.85 0.00 0.85 0.00 0.00 19.25 0.00 02:51:45 02:46:01 0.30 0.00 0.30 0.00 0.00 4.03 0.00 02:51:45 02:47:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 02:51:45 02:48:01 0.27 0.00 0.27 0.00 0.00 3.13 0.00 02:51:45 02:49:01 0.30 0.00 0.30 0.00 0.00 4.21 0.00 02:51:45 02:50:01 0.23 0.00 0.23 0.00 0.00 1.92 0.00 02:51:45 02:51:01 0.25 0.00 0.25 0.00 0.00 3.06 0.00 02:51:45 Average: 6.61 1.93 4.68 0.00 580.81 416.31 0.00 02:51:45 02:51:45 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:45 02:44:01 151064 0 579984 30.82 2620 1147876 1101992 37.61 384308 1146832 16 02:51:45 02:45:01 154548 0 576492 30.64 2620 1147884 1078772 36.82 383140 1144692 8 02:51:45 02:46:01 155648 0 575388 30.58 2620 1147888 1063496 36.30 388272 1138884 8 02:51:45 02:47:01 156324 0 574712 30.54 2620 1147888 1063472 36.29 388264 1138884 8 02:51:45 02:48:01 152480 0 578548 30.75 2620 1147896 1063400 36.29 394996 1135988 12 02:51:45 02:49:01 151420 0 579604 30.80 2620 1147900 1063584 36.30 395688 1135988 8 02:51:45 02:50:01 151228 0 579792 30.81 2620 1147904 1063416 36.29 396960 1134740 8 02:51:45 02:51:01 150936 0 580080 30.83 2620 1147908 1063600 36.30 397560 1134740 8 02:51:45 Average: 152956 0 578075 30.72 2620 1147893 1070216 36.52 391148 1138844 10 02:51:45 02:51:45 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:45 02:44:01 eth0 483.07 308.36 871.33 93.68 0.00 0.00 0.00 0.00 02:51:45 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:44:01 docker0 6.03 4.59 1.09 22.32 0.00 0.00 0.00 0.00 02:51:45 02:45:01 eth0 0.53 0.30 0.27 0.23 0.00 0.00 0.00 0.00 02:51:45 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:46:01 eth0 1.22 0.38 0.35 0.21 0.00 0.00 0.00 0.00 02:51:45 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:47:01 eth0 1.08 0.32 0.31 0.20 0.00 0.00 0.00 0.00 02:51:45 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:48:01 eth0 0.38 0.12 0.07 0.04 0.00 0.00 0.00 0.00 02:51:45 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:49:01 eth0 1.57 0.42 0.43 0.23 0.00 0.00 0.00 0.00 02:51:45 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:50:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:51:45 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:51:01 eth0 0.53 0.42 0.27 0.21 0.00 0.00 0.00 0.00 02:51:45 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 Average: eth0 61.09 38.81 109.18 11.85 0.00 0.00 0.00 0.00 02:51:45 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:45 Average: docker0 0.75 0.57 0.14 2.79 0.00 0.00 0.00 0.00 02:51:45 02:51:45 02:51:45 ---> sar -P ALL: 02:51:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/19/21 _x86_64_ (4 CPU) 02:51:45 02:51:45 02:42:29 LINUX RESTART (4 CPU) 02:51:45 02:51:45 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:51:45 02:44:01 all 8.27 0.00 2.59 1.11 0.01 88.03 02:51:45 02:44:01 0 9.84 0.00 2.55 0.15 0.02 87.44 02:51:45 02:44:01 1 9.78 0.00 2.54 2.78 0.00 84.90 02:51:45 02:44:01 2 6.95 0.00 2.45 0.23 0.02 90.35 02:51:45 02:44:01 3 6.49 0.00 2.82 1.27 0.00 89.42 02:51:45 02:45:01 all 0.14 0.00 0.04 0.00 0.00 99.82 02:51:45 02:45:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:51:45 02:45:01 1 0.43 0.00 0.03 0.00 0.00 99.53 02:51:45 02:45:01 2 0.07 0.00 0.07 0.00 0.00 99.87 02:51:45 02:45:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:51:45 02:46:01 all 0.14 0.00 0.05 0.00 0.00 99.81 02:51:45 02:46:01 0 0.02 0.00 0.05 0.00 0.00 99.93 02:51:45 02:46:01 1 0.45 0.00 0.08 0.00 0.00 99.47 02:51:45 02:46:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:51:45 02:46:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:51:45 02:47:01 all 0.04 0.00 0.02 0.00 0.00 99.94 02:51:45 02:47:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:51:45 02:47:01 1 0.05 0.00 0.02 0.00 0.00 99.93 02:51:45 02:47:01 2 0.05 0.00 0.03 0.00 0.02 99.90 02:51:45 02:47:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:51:45 02:48:01 all 0.13 0.00 0.04 0.00 0.00 99.83 02:51:45 02:48:01 0 0.03 0.00 0.07 0.00 0.00 99.90 02:51:45 02:48:01 1 0.40 0.00 0.03 0.00 0.02 99.55 02:51:45 02:48:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:51:45 02:48:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:51:45 02:49:01 all 0.17 0.00 0.04 0.00 0.00 99.79 02:51:45 02:49:01 0 0.00 0.00 0.05 0.00 0.00 99.95 02:51:45 02:49:01 1 0.58 0.00 0.03 0.00 0.00 99.38 02:51:45 02:49:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:51:45 02:49:01 3 0.05 0.00 0.05 0.00 0.02 99.88 02:51:45 02:50:01 all 0.16 0.00 0.02 0.00 0.00 99.82 02:51:45 02:50:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:51:45 02:50:01 1 0.50 0.00 0.02 0.00 0.00 99.48 02:51:45 02:50:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:51:45 02:50:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:51:45 02:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:51:45 02:51:01 0 0.03 0.00 0.03 0.00 0.02 99.92 02:51:45 02:51:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:51:45 02:51:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:51:45 02:51:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:51:45 Average: all 1.14 0.00 0.35 0.14 0.00 98.36 02:51:45 Average: 0 1.24 0.00 0.35 0.02 0.00 98.38 02:51:45 Average: 1 1.59 0.00 0.35 0.35 0.00 97.72 02:51:45 Average: 2 0.91 0.00 0.33 0.03 0.00 98.73 02:51:45 Average: 3 0.84 0.00 0.38 0.16 0.00 98.62 02:51:45 02:51:45 02:51:45