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 b316d89914afe89a17a947d728b9e30b253306fb+42e5a1ea61e0adb23423a933a3224d1395f33e87 (b069d9d9e114f4ec4b824cd7f2a61c1952310e16) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17565 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [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-699 # 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/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit b316d89914afe89a17a947d728b9e30b253306fb Merge succeeded, producing cb8b740659a7fba2ac5e869b496da7a05930bcd5 Checking out Revision cb8b740659a7fba2ac5e869b496da7a05930bcd5 (PR-699) > git config core.sparsecheckout # timeout=10 > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb8b740659a7fba2ac5e869b496da7a05930bcd5 # timeout=10 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:15 ========================================================= 02:42:15 EdgeX Global Pipelines Version Info 02:42:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 59e15549ad9670581d27ef605d1b7f55c44b92a4 # timeout=10 02:42:17 ------------------- 02:42:17 stable info: 02:42:17 ------------------- 02:42:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:17 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:17 Message: update stable to v1.0.173 02:42:18 ------------------- 02:42:18 experimental info: 02:42:18 ------------------- 02:42:18 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:18 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:18 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-699 [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-699 [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-699 [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb8b740659a7fba2ac5e869b496da7a05930bcd5 [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb8b740 [Pipeline] echo 02:42:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:22 provisioning config files... 02:42:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config2405920147710602130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:22 ---> docker-login.sh 02:42:22 nexus3.edgexfoundry.org:10001 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 nexus3.edgexfoundry.org:10002 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:22 Configure a credential helper to remove this warning. See 02:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:22 02:42:22 Login Succeeded 02:42:22 nexus3.edgexfoundry.org:10003 02:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:23 Configure a credential helper to remove this warning. See 02:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:23 02:42:23 Login Succeeded 02:42:23 nexus3.edgexfoundry.org:10004 02:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:23 Configure a credential helper to remove this warning. See 02:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:23 02:42:23 Login Succeeded 02:42:23 docker.io 02:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:23 Configure a credential helper to remove this warning. See 02:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:23 02:42:23 Login Succeeded 02:42:23 ---> docker-login.sh ends [Pipeline] } 02:42:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:24 + git log --format=format:%s -1 cb8b740659a7fba2ac5e869b496da7a05930bcd5 [Pipeline] echo 02:42:24 GIT_COMMIT: cb8b740659a7fba2ac5e869b496da7a05930bcd5, Commit Message: Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD [Pipeline] echo 02:42:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:25 02:42:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:25 latest: Pulling from edgex-devops/git-semver 02:42:25 31603596830f: Pulling fs layer 02:42:25 2a8b12db71e7: Pulling fs layer 02:42:25 6ca5941a6612: Pulling fs layer 02:42:25 ecc8261a40a4: Pulling fs layer 02:42:25 ecc8261a40a4: Waiting 02:42:25 2a8b12db71e7: Verifying Checksum 02:42:25 2a8b12db71e7: Download complete 02:42:25 31603596830f: Verifying Checksum 02:42:25 31603596830f: Download complete 02:42:26 ecc8261a40a4: Verifying Checksum 02:42:26 ecc8261a40a4: Download complete 02:42:26 6ca5941a6612: Verifying Checksum 02:42:26 6ca5941a6612: Download complete 02:42:26 31603596830f: Pull complete 02:42:26 2a8b12db71e7: Pull complete 02:42:27 6ca5941a6612: Pull complete 02:42:27 ecc8261a40a4: Pull complete 02:42:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:27 prd-centos7-docker-4c-2g-17565 does not seem to be running inside a container 02:42:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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:10004/edgex-devops/git-semver:latest cat 02:42:30 $ docker top 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:30 [ssh-agent] Looking for ssh-agent implementation... 02:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:30 $ docker exec 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 ssh-agent 02:42:30 SSH_AUTH_SOCK=/tmp/ssh-ueIrqZ3aPHsB/agent.12 02:42:30 SSH_AGENT_PID=18 02:42:30 Running ssh-add (command line suppressed) 02:42:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_8120145250347898078.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_8120145250347898078.key) 02:42:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:31 + git tag --points-at HEAD [Pipeline] } 02:42:31 $ docker exec --env ******** --env ******** 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 ssh-agent -k 02:42:31 unset SSH_AUTH_SOCK; 02:42:31 unset SSH_AGENT_PID; 02:42:31 echo Agent pid 18 killed; 02:42:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:31 [ssh-agent] Looking for ssh-agent implementation... 02:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:32 $ docker exec 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 ssh-agent 02:42:32 SSH_AUTH_SOCK=/tmp/ssh-BPqa6bhW7ckj/agent.48 02:42:32 SSH_AGENT_PID=53 02:42:32 Running ssh-add (command line suppressed) 02:42:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_8814204010827912033.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_8814204010827912033.key) 02:42:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:32 + git semver init 02:42:32 # -> Open(): unable to determine branch for HEAD 02:42:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.git 02:42:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-699 02:42:32 # $SEMVER_REMOTE_NAME = origin 02:42:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:32 # $SEMVER_USER_NAME = edgex-jenkins 02:42:32 # $SEMVER_BRANCH = PR-699 02:42:32 # $SEMVER_TEMP = /tmp/semver-104629114 02:42:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:33 # '/tmp/semver-104629114' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver' 02:42:33 # -> Force: false 02:42:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver [Pipeline] } 02:42:33 $ docker exec --env ******** --env ******** 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 ssh-agent -k 02:42:33 unset SSH_AUTH_SOCK; 02:42:33 unset SSH_AGENT_PID; 02:42:33 echo Agent pid 53 killed; 02:42:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:34 + git semver [Pipeline] } 02:42:34 $ docker stop --time=1 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 02:42:35 $ docker rm -f 23cc71043dfdbf4877601fec29c2873ff86bd4db76fb14a461d1295884c6d6e8 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:36 Stashed 1 file(s) [Pipeline] echo 02:42:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:42:52 Still waiting to schedule task 02:42:52 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17568’ is offline 02:42:52 Still waiting to schedule task 02:42:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:21 Running on prd-centos7-docker-4c-2g-17573 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws 02:45:21 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:45:24 using credential edgex-jenkins-ssh 02:45:24 Cloning the remote Git repository 02:45:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:24 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:45:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:24 > git --version # timeout=10 02:45:24 > git --version # 'git version 2.24.3' 02:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:25 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit b316d89914afe89a17a947d728b9e30b253306fb 02:45:25 Merge succeeded, producing df941990f1381a0a68ed2693ccd81de1c5b19eae 02:45:25 Checking out Revision df941990f1381a0a68ed2693ccd81de1c5b19eae (PR-699) 02:45:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:25 > 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/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:25 > git config core.sparsecheckout # timeout=10 02:45:25 > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 02:45:25 > git remote # timeout=10 02:45:25 > git config --get remote.origin.url # timeout=10 02:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:25 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 02:45:25 > git rev-parse HEAD^{commit} # timeout=10 02:45:25 > git config core.sparsecheckout # timeout=10 02:45:25 > git checkout -f df941990f1381a0a68ed2693ccd81de1c5b19eae # timeout=10 02:45:29 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" 02:45:29 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 02:45:29 > git rev-list --no-walk 59e15549ad9670581d27ef605d1b7f55c44b92a4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:31 + true 02:45:31 + sudo service docker restart 02:45:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:32 provisioning config files... 02:45:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6237210788244458981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:32 ---> docker-login.sh 02:45:32 nexus3.edgexfoundry.org:10001 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 nexus3.edgexfoundry.org:10002 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 nexus3.edgexfoundry.org:10003 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 nexus3.edgexfoundry.org:10004 02:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:34 Configure a credential helper to remove this warning. See 02:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:34 02:45:34 Login Succeeded 02:45:34 docker.io 02:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:34 Configure a credential helper to remove this warning. See 02:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:34 02:45:34 Login Succeeded 02:45:34 ---> docker-login.sh ends [Pipeline] } 02:45:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:34 ========================================================= 02:45:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:35 + 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:35 Sending build context to Docker daemon 2.442MB 02:45:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:35 Step 2/8 : FROM ${BASE} 02:45:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:35 188c0c94c7c5: Pulling fs layer 02:45:35 0ef7d3d256c8: Pulling fs layer 02:45:35 de9db76c5a1d: Pulling fs layer 02:45:35 bca2f99d35d6: Pulling fs layer 02:45:35 93359f2a8cfa: Pulling fs layer 02:45:35 7c6f9722023f: Pulling fs layer 02:45:35 a35cf1a2eb13: Pulling fs layer 02:45:35 bca2f99d35d6: Waiting 02:45:35 93359f2a8cfa: Waiting 02:45:35 7c6f9722023f: Waiting 02:45:35 a35cf1a2eb13: Waiting 02:45:35 de9db76c5a1d: Verifying Checksum 02:45:35 de9db76c5a1d: Download complete 02:45:35 0ef7d3d256c8: Verifying Checksum 02:45:35 0ef7d3d256c8: Download complete 02:45:35 93359f2a8cfa: Verifying Checksum 02:45:35 93359f2a8cfa: Download complete 02:45:35 7c6f9722023f: Verifying Checksum 02:45:35 7c6f9722023f: Download complete 02:45:35 188c0c94c7c5: Verifying Checksum 02:45:35 188c0c94c7c5: Download complete 02:45:35 188c0c94c7c5: Pull complete 02:45:35 0ef7d3d256c8: Pull complete 02:45:36 de9db76c5a1d: Pull complete 02:45:37 a35cf1a2eb13: Verifying Checksum 02:45:37 a35cf1a2eb13: Download complete 02:45:38 bca2f99d35d6: Verifying Checksum 02:45:38 bca2f99d35d6: Download complete 02:45:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17570 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws 02:45:43 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:45:44 bca2f99d35d6: Pull complete 02:45:44 93359f2a8cfa: Pull complete 02:45:44 7c6f9722023f: Pull complete 02:45:48 using credential edgex-jenkins-ssh 02:45:48 Cloning the remote Git repository 02:45:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:48 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:45:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:48 > git --version # timeout=10 02:45:48 > git --version # 'git version 2.17.1' 02:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:50 a35cf1a2eb13: Pull complete 02:45:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:50 ---> a62c8e92a672 02:45:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:50 ---> Running in 77daf3718c97 02:45:50 Removing intermediate container 77daf3718c97 02:45:50 ---> 16e8a8c3fe4e 02:45:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:50 ---> Running in d822b2f05b66 02:45:50 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit b316d89914afe89a17a947d728b9e30b253306fb 02:45:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:50 > git config core.sparsecheckout # timeout=10 02:45:50 > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 02:45:51 > git remote # timeout=10 02:45:51 > git config --get remote.origin.url # timeout=10 02:45:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:51 Merge succeeded, producing 8afe95cdf4c020d6b01371f174cfee02a24cac72 02:45:51 Checking out Revision 8afe95cdf4c020d6b01371f174cfee02a24cac72 (PR-699) 02:45:51 Removing intermediate container d822b2f05b66 02:45:51 ---> 906ff0d178b2 02:45:51 Step 5/8 : RUN apk add --no-cache make git 02:45:51 ---> Running in dfd5136d01a8 02:45:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:51 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 02:45:51 > git rev-parse HEAD^{commit} # timeout=10 02:45:51 > git config core.sparsecheckout # timeout=10 02:45:51 > git checkout -f 8afe95cdf4c020d6b01371f174cfee02a24cac72 # timeout=10 02:45:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:53 OK: 166 MiB in 39 packages 02:45:53 Removing intermediate container dfd5136d01a8 02:45:53 ---> caa26e2101ce 02:45:53 Step 6/8 : WORKDIR /device-sdk-go 02:45:53 ---> Running in c75d26bc9ce5 02:45:53 Removing intermediate container c75d26bc9ce5 02:45:53 ---> 517b655ba4f5 02:45:53 Step 7/8 : COPY . . 02:45:55 ---> 8eadc5ab4f70 02:45:55 Step 8/8 : RUN go mod download 02:45:55 ---> Running in cf569872e2d7 02:45:55 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" 02:45:55 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:55 > git rev-list --no-walk 59e15549ad9670581d27ef605d1b7f55c44b92a4 # timeout=10 02:45:57 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:58 + sudo service docker restart 02:45:58 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:00 provisioning config files... 02:46:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2739976045424491078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:00 ---> docker-login.sh 02:46:00 nexus3.edgexfoundry.org:10001 02:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:01 Configure a credential helper to remove this warning. See 02:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:01 02:46:01 Login Succeeded 02:46:01 nexus3.edgexfoundry.org:10002 02:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:02 Configure a credential helper to remove this warning. See 02:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:02 02:46:02 Login Succeeded 02:46:02 nexus3.edgexfoundry.org:10003 02:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:03 Configure a credential helper to remove this warning. See 02:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:03 02:46:03 Login Succeeded 02:46:03 nexus3.edgexfoundry.org:10004 02:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:03 Configure a credential helper to remove this warning. See 02:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:03 02:46:03 Login Succeeded 02:46:03 docker.io 02:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:04 Configure a credential helper to remove this warning. See 02:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:04 02:46:04 Login Succeeded 02:46:04 ---> docker-login.sh ends [Pipeline] } 02:46:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:05 ========================================================= 02:46:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:05 + 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:05 Sending build context to Docker daemon 2.441MB 02:46:06 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:06 Step 2/8 : FROM ${BASE} 02:46:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:06 5f621e34cdf4: Pulling fs layer 02:46:06 a4357932f1b6: Pulling fs layer 02:46:06 18c013af1878: Pulling fs layer 02:46:06 00ac8860ef70: Pulling fs layer 02:46:06 63d7cb157983: Pulling fs layer 02:46:06 b116817d02f9: Pulling fs layer 02:46:06 745a02a5169b: Pulling fs layer 02:46:06 00ac8860ef70: Waiting 02:46:06 63d7cb157983: Waiting 02:46:06 b116817d02f9: Waiting 02:46:06 745a02a5169b: Waiting 02:46:06 18c013af1878: Verifying Checksum 02:46:06 18c013af1878: Download complete 02:46:06 a4357932f1b6: Verifying Checksum 02:46:06 a4357932f1b6: Download complete 02:46:06 63d7cb157983: Verifying Checksum 02:46:06 63d7cb157983: Download complete 02:46:06 b116817d02f9: Verifying Checksum 02:46:06 b116817d02f9: Download complete 02:46:06 5f621e34cdf4: Verifying Checksum 02:46:06 5f621e34cdf4: Download complete 02:46:06 5f621e34cdf4: Pull complete 02:46:07 a4357932f1b6: Pull complete 02:46:07 18c013af1878: Pull complete 02:46:08 745a02a5169b: Verifying Checksum 02:46:08 745a02a5169b: Download complete 02:46:10 00ac8860ef70: Verifying Checksum 02:46:10 00ac8860ef70: Download complete 02:46:13 Removing intermediate container cf569872e2d7 02:46:13 ---> 69f74afafcaa 02:46:13 Successfully built 69f74afafcaa 02:46:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker inspect -f . ci-base-image-x86_64 02:46:13 . [Pipeline] withDockerContainer 02:46:14 prd-centos7-docker-4c-2g-17573 does not seem to be running inside a container 02:46:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 02:46:15 $ docker top 2d43c530177c923fdf5eb26978ce23c8b79e7c5f8eaad432715b462d87938470 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:15 + go version 02:46:15 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:15 $ docker stop --time=1 2d43c530177c923fdf5eb26978ce23c8b79e7c5f8eaad432715b462d87938470 02:46:17 $ docker rm -f 2d43c530177c923fdf5eb26978ce23c8b79e7c5f8eaad432715b462d87938470 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:18 + docker inspect -f . ci-base-image-x86_64 02:46:18 . [Pipeline] withDockerContainer 02:46:18 prd-centos7-docker-4c-2g-17573 does not seem to be running inside a container 02:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 02:46:18 $ docker top c32c3bbda03bcca23c08230117d83c23e6bffea9424e0271854c56412a6e5b44 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:19 + make test 02:46:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:21 00ac8860ef70: Pull complete 02:46:21 63d7cb157983: Pull complete 02:46:21 b116817d02f9: Pull complete 02:46:24 745a02a5169b: Pull complete 02:46:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:24 ---> b7e6874047d6 02:46:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:27 ---> Running in 42b27aacfd67 02:46:28 Removing intermediate container 42b27aacfd67 02:46:28 ---> 8b059af13519 02:46:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:28 ---> Running in 284020c8c075 02:46:31 Removing intermediate container 284020c8c075 02:46:31 ---> c70d817df88f 02:46:31 Step 5/8 : RUN apk add --no-cache make git 02:46:31 ---> Running in 28c3a2aa25e1 02:46:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:33 OK: 142 MiB in 39 packages 02:46:35 Removing intermediate container 28c3a2aa25e1 02:46:35 ---> 32251187fed0 02:46:35 Step 6/8 : WORKDIR /device-sdk-go 02:46:35 ---> Running in 6466bcf8c58b 02:46:36 Removing intermediate container 6466bcf8c58b 02:46:36 ---> 771566615cd7 02:46:36 Step 7/8 : COPY . . 02:46:37 ---> 07ffd06451cf 02:46:37 Step 8/8 : RUN go mod download 02:46:37 ---> Running in 5695b7d288d9 02:46:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 19.4% of statements 02:46:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.481s coverage: 97.1% of statements 02:46:59 Removing intermediate container 5695b7d288d9 02:46:59 ---> 8a0fb4f03f2e 02:46:59 Successfully built 8a0fb4f03f2e 02:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:00 + docker inspect -f . ci-base-image-arm64 02:47:00 . [Pipeline] withDockerContainer 02:47:00 prd-ubuntu18.04-docker-arm64-4c-16g-17570 does not seem to be running inside a container 02:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:47:02 $ docker top c66a01e721e3e4fae2c8158b1413551409d9f02c193189e372fa4042776f6b45 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:03 + go version 02:47:03 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:03 $ docker stop --time=1 c66a01e721e3e4fae2c8158b1413551409d9f02c193189e372fa4042776f6b45 02:47:05 $ docker rm -f c66a01e721e3e4fae2c8158b1413551409d9f02c193189e372fa4042776f6b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:06 + docker inspect -f . ci-base-image-arm64 02:47:06 . [Pipeline] withDockerContainer 02:47:06 prd-ubuntu18.04-docker-arm64-4c-16g-17570 does not seem to be running inside a container 02:47:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:47:08 $ docker top 59618f01882e9b5f083673f2f0527f3aa5f070945375c896205346f00e80bd93 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:09 + make test 02:47:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 9.4% of statements 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.9% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 42.5% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.371s coverage: 68.9% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 53.8% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.382s coverage: 68.9% of statements 02:47:18 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 02:47:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:18 GO111MODULE=on go vet ./... 02:47:25 gofmt -l . 02:47:25 [ "`gofmt -l .`" = "" ] 02:47:25 ./bin/test-attribution-txt.sh 02:47:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:26 $ docker stop --time=1 c32c3bbda03bcca23c08230117d83c23e6bffea9424e0271854c56412a6e5b44 02:47:28 $ docker rm -f c32c3bbda03bcca23c08230117d83c23e6bffea9424e0271854c56412a6e5b44 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:47:31 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] sh 02:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:32 + ls -al . 02:47:32 total 208 02:47:32 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 29 02:47 . 02:47:32 drwxrwxr-x. 4 jenkins jenkins 28 Dec 29 02:45 .. 02:47:32 drwxrwxr-x. 2 jenkins jenkins 64 Dec 29 02:45 bin 02:47:32 -rw-r--r--. 1 jenkins jenkins 130527 Dec 29 02:47 coverage.out 02:47:32 -rw-rw-r--. 1 jenkins jenkins 940 Dec 29 02:45 Dockerfile.build 02:47:32 -rw-rw-r--. 1 jenkins jenkins 140 Dec 29 02:45 .dockerignore 02:47:32 drwxrwxr-x. 4 jenkins jenkins 48 Dec 29 02:45 example 02:47:32 drwxrwxr-x. 8 jenkins jenkins 179 Dec 29 02:45 .git 02:47:32 drwxrwxr-x. 2 jenkins jenkins 103 Dec 29 02:45 .github 02:47:32 -rw-rw-r--. 1 jenkins jenkins 138 Dec 29 02:45 .gitignore 02:47:32 -rw-r--r--. 1 jenkins jenkins 488 Dec 29 02:47 go.mod 02:47:32 -rw-r--r--. 1 jenkins jenkins 13631 Dec 29 02:47 go.sum 02:47:32 drwxrwxr-x. 15 jenkins jenkins 211 Dec 29 02:45 internal 02:47:32 -rw-rw-r--. 1 jenkins jenkins 901 Dec 29 02:45 Jenkinsfile 02:47:32 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 29 02:45 LICENSE 02:47:32 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 29 02:45 Makefile 02:47:32 drwxrwxr-x. 4 jenkins jenkins 26 Dec 29 02:45 openapi 02:47:32 drwxrwxr-x. 5 jenkins jenkins 50 Dec 29 02:45 pkg 02:47:32 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 29 02:45 README.md 02:47:32 -rw-rw-r--. 1 jenkins jenkins 6616 Dec 29 02:45 RELEASE-NOTES.txt 02:47:32 drwxrwxr-x. 4 jenkins jenkins 54 Dec 29 02:45 snap 02:47:32 -rw-rw-r--. 1 jenkins jenkins 5 Dec 29 02:42 VERSION 02:47:32 -rw-rw-r--. 1 jenkins jenkins 222 Dec 29 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:32 + 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=cb8b740659a7fba2ac5e869b496da7a05930bcd5 --label arch=amd64 --label version=0.0.0 . 02:47:32 Sending build context to Docker daemon 2.573MB 02:47:32 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:32 Step 2/24 : FROM ${BASE} AS builder 02:47:32 ---> 69f74afafcaa 02:47:32 Step 3/24 : ARG MAKE='make build' 02:47:33 ---> Running in d8a70b267d55 02:47:33 Removing intermediate container d8a70b267d55 02:47:33 ---> b5a6713f4321 02:47:33 Step 4/24 : WORKDIR /device-sdk-go 02:47:33 ---> Running in 9063c3c5f6ad 02:47:33 Removing intermediate container 9063c3c5f6ad 02:47:33 ---> 3839194ec3cd 02:47:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:33 ---> Running in 4d9bf6174297 02:47:33 Removing intermediate container 4d9bf6174297 02:47:33 ---> 3734d16d7cc4 02:47:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:34 ---> Running in 5734a575df7d 02:47:34 Removing intermediate container 5734a575df7d 02:47:34 ---> 6202de9ff6c2 02:47:34 Step 7/24 : RUN apk add --update --no-cache make git 02:47:35 ---> Running in 097b66873a07 02:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:38 OK: 166 MiB in 39 packages 02:47:38 Removing intermediate container 097b66873a07 02:47:38 ---> 17ffab54e57d 02:47:38 Step 8/24 : COPY . . 02:47:39 ---> 0be969589a4d 02:47:39 Step 9/24 : RUN ${MAKE} 02:47:39 ---> Running in 1ceb853b4162 02:47:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:50 Removing intermediate container 1ceb853b4162 02:47:50 ---> 6f2001fc9767 02:47:50 Step 10/24 : FROM scratch 02:47:50 ---> 02:47:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:50 ---> Running in ba65f947cd2b 02:47:50 Removing intermediate container ba65f947cd2b 02:47:50 ---> 811538f63d2e 02:47:50 Step 12/24 : ENV APP_PORT=49990 02:47:50 ---> Running in de7082afd66d 02:47:50 Removing intermediate container de7082afd66d 02:47:50 ---> ccd53f611670 02:47:50 Step 13/24 : EXPOSE $APP_PORT 02:47:50 ---> Running in b36e0237c1d5 02:47:51 Removing intermediate container b36e0237c1d5 02:47:51 ---> 91c1a1aedcd3 02:47:51 Step 14/24 : WORKDIR / 02:47:51 ---> Running in b659bcb2ceeb 02:47:51 Removing intermediate container b659bcb2ceeb 02:47:51 ---> 89af70b086b7 02:47:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:52 ---> 5113f0ddea6f 02:47:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:52 ---> 6dddfe13b5d3 02:47:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:52 ---> 880efc31c2f0 02:47:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:52 ---> a03555ed90eb 02:47:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:52 ---> ad67c527e024 02:47:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:52 ---> Running in d6dfb479705d 02:47:53 Removing intermediate container d6dfb479705d 02:47:53 ---> 59efe014ef7c 02:47:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:53 ---> Running in db96fb10eb4d 02:47:53 Removing intermediate container db96fb10eb4d 02:47:53 ---> fd7fc48dd114 02:47:53 Step 22/24 : LABEL arch=amd64 02:47:53 ---> Running in 46450bd80cc3 02:47:53 Removing intermediate container 46450bd80cc3 02:47:53 ---> 2d7aa741378b 02:47:53 Step 23/24 : LABEL git_sha=cb8b740659a7fba2ac5e869b496da7a05930bcd5 02:47:53 ---> Running in 81abbd96d733 02:47:53 Removing intermediate container 81abbd96d733 02:47:53 ---> 4830d8ee1e40 02:47:53 Step 24/24 : LABEL version=0.0.0 02:47:53 ---> Running in 2356ca9f29b9 02:47:53 Removing intermediate container 2356ca9f29b9 02:47:53 ---> 7c599fccccf6 02:47:53 [Warning] One or more build-args [ARCH] were not consumed 02:47:54 Successfully built 7c599fccccf6 02:47:54 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:48:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.143s coverage: 19.4% of statements 02:48:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.199s coverage: 97.1% of statements 02:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements 02:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.9% of statements 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.647s coverage: 42.5% of statements 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.842s coverage: 68.9% of statements 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.192s coverage: 53.8% of statements 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.901s coverage: 68.9% of statements 02:48:45 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.2% of statements 02:48:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:45 GO111MODULE=on go vet ./... 02:49:18 gofmt -l . 02:49:18 [ "`gofmt -l .`" = "" ] 02:49:18 ./bin/test-attribution-txt.sh 02:49:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:18 $ docker stop --time=1 59618f01882e9b5f083673f2f0527f3aa5f070945375c896205346f00e80bd93 02:49:20 $ docker rm -f 59618f01882e9b5f083673f2f0527f3aa5f070945375c896205346f00e80bd93 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:21 Warning: overwriting stash ‘coverage-report’ 02:49:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:23 + ls -al . 02:49:23 total 244 02:49:23 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 02:49 . 02:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:45 .. 02:49:23 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 02:45 .dockerignore 02:49:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 02:45 .git 02:49:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 02:45 .github 02:49:23 -rw-rw-r-- 1 jenkins jenkins 138 Dec 29 02:45 .gitignore 02:49:23 -rw-rw-r-- 1 jenkins jenkins 940 Dec 29 02:45 Dockerfile.build 02:49:23 -rw-rw-r-- 1 jenkins jenkins 901 Dec 29 02:45 Jenkinsfile 02:49:23 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 29 02:45 LICENSE 02:49:23 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 29 02:45 Makefile 02:49:23 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 29 02:45 README.md 02:49:23 -rw-rw-r-- 1 jenkins jenkins 6616 Dec 29 02:45 RELEASE-NOTES.txt 02:49:23 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 02:42 VERSION 02:49:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 02:45 bin 02:49:23 -rw-r--r-- 1 jenkins jenkins 130526 Dec 29 02:48 coverage.out 02:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:45 example 02:49:23 -rw-r--r-- 1 jenkins jenkins 488 Dec 29 02:49 go.mod 02:49:23 -rw-r--r-- 1 jenkins jenkins 13631 Dec 29 02:49 go.sum 02:49:23 drwxrwxr-x 15 jenkins jenkins 4096 Dec 29 02:45 internal 02:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:45 openapi 02:49:23 drwxrwxr-x 5 jenkins jenkins 4096 Dec 29 02:45 pkg 02:49:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:45 snap 02:49:23 -rw-rw-r-- 1 jenkins jenkins 222 Dec 29 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:23 + 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=cb8b740659a7fba2ac5e869b496da7a05930bcd5 --label arch=arm64 --label version=0.0.0 . 02:49:24 Sending build context to Docker daemon 2.572MB 02:49:24 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:24 Step 2/24 : FROM ${BASE} AS builder 02:49:24 ---> 8a0fb4f03f2e 02:49:24 Step 3/24 : ARG MAKE='make build' 02:49:24 ---> Running in ed0a97da09b3 02:49:24 Removing intermediate container ed0a97da09b3 02:49:24 ---> 50ec76f30335 02:49:24 Step 4/24 : WORKDIR /device-sdk-go 02:49:25 ---> Running in cf0d7a81fd4e 02:49:25 Removing intermediate container cf0d7a81fd4e 02:49:25 ---> 8a853cd7334b 02:49:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:25 ---> Running in 62c93a20f2cb 02:49:26 Removing intermediate container 62c93a20f2cb 02:49:26 ---> c1f49bd96fb9 02:49:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:26 ---> Running in 0c53e76f6b1c 02:49:29 Removing intermediate container 0c53e76f6b1c 02:49:29 ---> 05f51ccf6094 02:49:29 Step 7/24 : RUN apk add --update --no-cache make git 02:49:29 ---> Running in dbbd2380ccfb 02:49:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:32 OK: 142 MiB in 39 packages 02:49:33 Removing intermediate container dbbd2380ccfb 02:49:33 ---> 69c489b1458e 02:49:33 Step 8/24 : COPY . . 02:49:34 ---> 65d9eb81fba4 02:49:34 Step 9/24 : RUN ${MAKE} 02:49:34 ---> Running in 591a708b7803 02:49:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:03 Removing intermediate container 591a708b7803 02:50:03 ---> 2944fccc0e29 02:50:03 Step 10/24 : FROM scratch 02:50:03 ---> 02:50:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:03 ---> Running in 58b1d1b3d793 02:50:03 Removing intermediate container 58b1d1b3d793 02:50:03 ---> 28d7f42446e4 02:50:03 Step 12/24 : ENV APP_PORT=49990 02:50:03 ---> Running in 3950fdac56cb 02:50:03 Removing intermediate container 3950fdac56cb 02:50:03 ---> 30fd29a50df3 02:50:03 Step 13/24 : EXPOSE $APP_PORT 02:50:03 ---> Running in 21a13f76a6ca 02:50:04 Removing intermediate container 21a13f76a6ca 02:50:04 ---> e942fae76747 02:50:04 Step 14/24 : WORKDIR / 02:50:04 ---> Running in d786408f8fb5 02:50:05 Removing intermediate container d786408f8fb5 02:50:05 ---> 41385cc9bce0 02:50:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:06 ---> a79d7c9e7153 02:50:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:06 ---> 2516d8d6dc38 02:50:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:07 ---> 70ccd6a67432 02:50:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:08 ---> ef94d3b3d6ba 02:50:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:08 ---> 8840daa6fd5a 02:50:08 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:09 ---> Running in 69bd7b2f109a 02:50:09 Removing intermediate container 69bd7b2f109a 02:50:09 ---> a88242d9c698 02:50:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:09 ---> Running in 4d5941ee0bc9 02:50:10 Removing intermediate container 4d5941ee0bc9 02:50:10 ---> c353dd8b04ae 02:50:10 Step 22/24 : LABEL arch=arm64 02:50:10 ---> Running in 5460470577e3 02:50:10 Removing intermediate container 5460470577e3 02:50:10 ---> 06a571798642 02:50:10 Step 23/24 : LABEL git_sha=cb8b740659a7fba2ac5e869b496da7a05930bcd5 02:50:10 ---> Running in eff224be5307 02:50:11 Removing intermediate container eff224be5307 02:50:11 ---> df6833077a07 02:50:11 Step 24/24 : LABEL version=0.0.0 02:50:11 ---> Running in ab26e2384d72 02:50:12 Removing intermediate container ab26e2384d72 02:50:12 ---> 99fd19c1f493 02:50:12 [Warning] One or more build-args [ARCH] were not consumed 02:50:12 Successfully built 99fd19c1f493 02:50: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:50:14 provisioning config files... 02:50:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config1145226815463134626tmp [Pipeline] { [Pipeline] sh 02:50:14 + set +x 02:50:14 + curl -s https://codecov.io/bash 02:50:14 + bash -s -- 02:50:14 02:50:14 _____ _ 02:50:14 / ____| | | 02:50:14 | | ___ __| | ___ ___ _____ __ 02:50:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:14 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:14 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:14 Bash-20201223-5ad85e3 02:50:14 02:50:14 02:50:14 ==> git version 2.24.3 found 02:50: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:50:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:14 ==> Jenkins CI detected. 02:50:14 project root: . 02:50:14 --> token set from env 02:50:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:14 ==> Running gcov in . (disable via -X gcov) 02:50:14 ==> Python coveragepy not found 02:50:14 ==> Searching for coverage reports in: 02:50:14 + . 02:50:14 -> Found 1 reports 02:50:14 ==> Detecting git/mercurial file structure 02:50:14 ==> Reading reports 02:50:14 + ./coverage.out bytes=130526 02:50:14 ==> Appending adjustments 02:50:14 https://docs.codecov.io/docs/fixing-reports 02:50:15 + Found adjustments 02:50:15 ==> Gzipping contents 02:50:15 24K /tmp/codecov.iAjp7M.gz 02:50:15 ==> Uploading reports 02:50:15 url: https://codecov.io 02:50:15 query: branch=PR-699&commit=cb8b740659a7fba2ac5e869b496da7a05930bcd5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= 02:50:15 -> Pinging Codecov 02:50:15 https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=PR-699&commit=cb8b740659a7fba2ac5e869b496da7a05930bcd5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= 02:50:15 -> Uploading to 02:50:15 https://storage.googleapis.com/codecov/v4/raw/2020-12-29/7E55EF52A471D76F132DFD9A03CDDE97/cb8b740659a7fba2ac5e869b496da7a05930bcd5/bb00b7d0-bb98-40a5-85a6-2f58d5178277.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201229T025015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd0005163f31ed91650d7f928d190dfe7edd540549c4a68703dfa12bb9f4701e 02:50:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:15 Dload Upload Total Spent Left Speed 02:50:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21292 0 0 100 21292 0 37804 --:--:-- --:--:-- --:--:-- 37751 02:50:16 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb8b740659a7fba2ac5e869b496da7a05930bcd5 [Pipeline] } 02:50:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:50:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:19 ---> package-listing.sh 02:50:19 ++ facter osfamily 02:50:19 ++ tr '[:upper:]' '[:lower:]' 02:50:19 + OS_FAMILY=redhat 02:50:19 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-699 02:50:19 + START_PACKAGES=/tmp/packages_start.txt 02:50:19 + END_PACKAGES=/tmp/packages_end.txt 02:50:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:19 + PACKAGES=/tmp/packages_start.txt 02:50:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' 02:50:19 + PACKAGES=/tmp/packages_end.txt 02:50:19 + case "${OS_FAMILY}" in 02:50:19 + rpm -qa 02:50:19 + sort 02:50:23 + '[' -f /tmp/packages_start.txt ']' 02:50:23 + '[' -f /tmp/packages_end.txt ']' 02:50:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' 02:50:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ 02:50:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ [Pipeline] echo 02:50:23 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-699/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:23 02:50:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:24 alpine: Pulling from edgex-lftools-log-publisher 02:50:24 df20fa9351a1: Pulling fs layer 02:50:24 36b3adc4ff6f: Pulling fs layer 02:50:24 8ad3a11d3b57: Pulling fs layer 02:50:24 46f8f816bc3b: Pulling fs layer 02:50:24 93b61091891f: Pulling fs layer 02:50:24 93b9cdb0e59b: Pulling fs layer 02:50:24 5e14af77c1be: Pulling fs layer 02:50:24 01666e4c0597: Pulling fs layer 02:50:24 aa168da1d23b: Pulling fs layer 02:50:24 46f8f816bc3b: Waiting 02:50:24 93b61091891f: Waiting 02:50:24 93b9cdb0e59b: Waiting 02:50:24 5e14af77c1be: Waiting 02:50:24 01666e4c0597: Waiting 02:50:24 aa168da1d23b: Waiting 02:50:24 36b3adc4ff6f: Verifying Checksum 02:50:24 36b3adc4ff6f: Download complete 02:50:24 46f8f816bc3b: Verifying Checksum 02:50:24 46f8f816bc3b: Download complete 02:50:24 df20fa9351a1: Verifying Checksum 02:50:24 93b61091891f: Verifying Checksum 02:50:24 93b61091891f: Download complete 02:50:24 93b9cdb0e59b: Download complete 02:50:24 5e14af77c1be: Verifying Checksum 02:50:24 5e14af77c1be: Download complete 02:50:24 01666e4c0597: Verifying Checksum 02:50:24 01666e4c0597: Download complete 02:50:24 df20fa9351a1: Pull complete 02:50:25 36b3adc4ff6f: Pull complete 02:50:25 8ad3a11d3b57: Verifying Checksum 02:50:25 8ad3a11d3b57: Download complete 02:50:26 8ad3a11d3b57: Pull complete 02:50:26 46f8f816bc3b: Pull complete 02:50:26 93b61091891f: Pull complete 02:50:27 aa168da1d23b: Verifying Checksum 02:50:27 aa168da1d23b: Download complete 02:50:27 93b9cdb0e59b: Pull complete 02:50:27 5e14af77c1be: Pull complete 02:50:27 01666e4c0597: Pull complete 02:50:34 aa168da1d23b: Pull complete 02:50:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:34 prd-centos7-docker-4c-2g-17565 does not seem to be running inside a container 02:50: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-699/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-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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:10003/edgex-lftools-log-publisher:alpine cat 02:50:37 $ docker top 4950f0d04d0092cfd666cf65d02fec2da21e2b917b353077ba5aef591167f6ed -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:38 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:38 + mkdir -p /var/log/sa [Pipeline] sh 02:50:38 + ls /var/log/sa-host 02:50:38 + sadf -c /var/log/sa-host/sa23 02:50:38 file_magic: OK 02:50:38 HZ: Using current value: 100 02:50:38 file_header: OK 02:50:38 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:50:38 Statistics: 02:50:38 Hnuu...uuuununununu... 02:50:38 File successfully converted to sysstat format version 12.2.1 02:50:38 + sadf -c /var/log/sa-host/sa29 02:50:38 file_magic: OK 02:50:38 HZ: Using current value: 100 02:50:38 file_header: OK 02:50:38 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:50:38 Statistics: 02:50:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:39 provisioning config files... 02:50:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config6131421667056552248tmp [Pipeline] { [Pipeline] echo 02:50:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> create-netrc.sh [Pipeline] } 02:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> python-tools-install.sh [Pipeline] echo 02:50:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:40 ---> sudo-logs.sh 02:50:40 Archiving 'sudo' log.. [Pipeline] echo 02:50:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:40 ---> job-cost.sh 02:50:40 lf-activate-venv: SKIPPING 02:50:40 INFO: No Stack... 02:50:41 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:42 INFO: Archiving Costs [Pipeline] echo 02:50:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:42 ---> logs-deploy.sh 02:50:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-699/4 02:50:42 INFO: archiving workspace using pattern(s): 02:50:44 Archives upload complete. 02:50:44 INFO: archiving logs to Nexus 02:50:45 ---> uname -a: 02:50:45 Linux prd-centos7-docker-4c-2g-17565.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:50:45 02:50:45 02:50:45 ---> lscpu: 02:50:45 Architecture: x86_64 02:50:45 CPU op-mode(s): 32-bit, 64-bit 02:50:45 Byte Order: Little Endian 02:50:45 Address sizes: 40 bits physical, 48 bits virtual 02:50:45 CPU(s): 4 02:50:45 On-line CPU(s) list: 0-3 02:50:45 Thread(s) per core: 1 02:50:45 Core(s) per socket: 1 02:50:45 Socket(s): 4 02:50:45 NUMA node(s): 1 02:50:45 Vendor ID: GenuineIntel 02:50:45 CPU family: 6 02:50:45 Model: 44 02:50:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:50:45 Stepping: 1 02:50:45 CPU MHz: 2933.438 02:50:45 BogoMIPS: 5866.87 02:50:45 Virtualization: VT-x 02:50:45 Hypervisor vendor: KVM 02:50:45 Virtualization type: full 02:50:45 L1d cache: 128 KiB 02:50:45 L1i cache: 128 KiB 02:50:45 L2 cache: 16 MiB 02:50:45 L3 cache: 64 MiB 02:50:45 NUMA node0 CPU(s): 0-3 02:50:45 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:50:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:50:45 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:50:45 Vulnerability Meltdown: Mitigation; PTI 02:50:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:50:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:50:45 Vulnerability Srbds: Not affected 02:50:45 Vulnerability Tsx async abort: Not affected 02:50: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:50:45 02:50:45 02:50:45 ---> nproc: 02:50:45 4 02:50:45 02:50:45 02:50:45 ---> df -h: 02:50:45 Filesystem Size Used Available Use% Mounted on 02:50:45 overlay 50.0G 7.3G 42.7G 15% / 02:50:45 tmpfs 64.0M 0 64.0M 0% /dev 02:50:45 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:50:45 shm 64.0M 0 64.0M 0% /dev/shm 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-699 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:50:45 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:50:45 02:50:45 02:50:45 ---> free -m: 02:50:45 total used free shared buff/cache available 02:50:45 Mem: 1837 732 110 0 994 1000 02:50:45 Swap: 1023 0 1023 02:50:45 02:50:45 02:50:45 ---> ip addr: 02:50:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:50:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:50:45 inet 127.0.0.1/8 scope host lo 02:50:45 valid_lft forever preferred_lft forever 02:50:45 inet6 ::1/128 scope host 02:50:45 valid_lft forever preferred_lft forever 02:50:45 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:50:45 link/ether fa:16:3e:8a:f9:12 brd ff:ff:ff:ff:ff:ff 02:50:45 inet 10.30.123.48/23 brd 10.30.123.255 scope global dynamic eth0 02:50:45 valid_lft 85856sec preferred_lft 85856sec 02:50:45 inet6 fe80::f816:3eff:fe8a:f912/64 scope link 02:50:45 valid_lft forever preferred_lft forever 02:50:45 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:50:45 link/ether 02:42:97:63:cd:33 brd ff:ff:ff:ff:ff:ff 02:50:45 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:50:45 valid_lft forever preferred_lft forever 02:50:45 inet6 fe80::42:97ff:fe63:cd33/64 scope link 02:50:45 valid_lft forever preferred_lft forever 02:50:45 02:50:45 02:50:45 ---> sar -b -r -n DEV: 02:50:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/29/20 _x86_64_ (4 CPU) 02:50:45 02:50:45 02:41:29 LINUX RESTART (4 CPU) 02:50:45 02:50:45 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:45 02:43:01 67.04 19.24 47.79 0.00 5372.83 3903.53 0.00 02:50:45 02:44:01 2.00 0.00 2.00 0.00 0.00 40.20 0.00 02:50:45 02:45:01 0.22 0.00 0.22 0.00 0.00 3.25 0.00 02:50:45 02:46:01 0.18 0.00 0.18 0.00 0.00 1.88 0.00 02:50:45 02:47:01 0.23 0.00 0.23 0.00 0.00 3.51 0.00 02:50:45 02:48:01 0.37 0.00 0.37 0.00 0.00 5.58 0.00 02:50:45 02:49:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 02:50:45 02:50:01 0.22 0.00 0.22 0.00 0.00 2.16 0.00 02:50:45 Average: 8.82 2.41 6.41 0.00 671.77 495.54 0.00 02:50:45 02:50:45 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:45 02:43:01 125188 0 634560 33.73 2620 1119176 1109952 37.88 423784 1133236 132 02:50:45 02:44:01 132516 0 627224 33.34 2620 1119184 1076384 36.74 420388 1130248 20 02:50:45 02:45:01 132132 0 627604 33.36 2620 1119188 1076516 36.74 417732 1133488 8 02:50:45 02:46:01 131916 0 627820 33.37 2620 1119188 1076540 36.74 417952 1133488 20 02:50:45 02:47:01 131724 0 628004 33.38 2620 1119196 1076588 36.74 416820 1134960 8 02:50:45 02:48:01 131564 0 628160 33.39 2620 1119200 1076576 36.74 416692 1134960 8 02:50:45 02:49:01 133104 0 626596 33.30 2620 1119224 1076384 36.74 415556 1135008 12 02:50:45 02:50:01 132592 0 627124 33.33 2620 1119208 1076384 36.74 415516 1135004 8 02:50:45 Average: 131342 0 628386 33.40 2620 1119196 1080666 36.88 418055 1133799 27 02:50:45 02:50:45 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:45 02:43:01 eth0 605.33 381.89 1128.10 177.87 0.00 0.00 0.00 0.00 02:50:45 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:43:01 docker0 7.31 5.84 1.24 20.70 0.00 0.00 0.00 0.00 02:50:45 02:44:01 eth0 0.60 0.08 0.06 0.04 0.00 0.00 0.00 0.00 02:50:45 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:45:01 eth0 4.00 0.30 0.63 0.20 0.00 0.00 0.00 0.00 02:50:45 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:46:01 eth0 3.38 0.72 0.78 0.38 0.00 0.00 0.00 0.00 02:50:45 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:47:01 eth0 1.97 0.62 0.65 0.40 0.00 0.00 0.00 0.00 02:50:45 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:48:01 eth0 1.20 0.72 0.68 0.50 0.00 0.00 0.00 0.00 02:50:45 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:49:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:45 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:50:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:45 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 Average: eth0 77.11 48.07 141.40 22.43 0.00 0.00 0.00 0.00 02:50:45 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:45 Average: docker0 0.91 0.73 0.15 2.59 0.00 0.00 0.00 0.00 02:50:45 02:50:45 02:50:45 ---> sar -P ALL: 02:50:45 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/29/20 _x86_64_ (4 CPU) 02:50:45 02:50:45 02:41:29 LINUX RESTART (4 CPU) 02:50:45 02:50:45 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:50:45 02:43:01 all 13.30 0.00 4.20 1.72 0.05 80.74 02:50:45 02:43:01 0 12.33 0.00 5.37 0.69 0.03 81.57 02:50:45 02:43:01 1 11.92 0.00 3.54 1.79 0.03 82.71 02:50:45 02:43:01 2 14.59 0.00 4.02 3.21 0.05 78.12 02:50:45 02:43:01 3 14.36 0.00 3.86 1.17 0.07 80.54 02:50:45 02:44:01 all 0.17 0.00 0.05 0.00 0.00 99.78 02:50:45 02:44:01 0 0.53 0.00 0.03 0.00 0.00 99.43 02:50:45 02:44:01 1 0.08 0.00 0.08 0.00 0.00 99.83 02:50:45 02:44:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:50:45 02:44:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:50:45 02:45:01 all 0.13 0.00 0.06 0.00 0.01 99.80 02:50:45 02:45:01 0 0.32 0.00 0.10 0.00 0.00 99.58 02:50:45 02:45:01 1 0.08 0.00 0.07 0.00 0.03 99.82 02:50:45 02:45:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:50:45 02:45:01 3 0.07 0.00 0.03 0.00 0.02 99.88 02:50:45 02:46:01 all 0.18 0.00 0.05 0.00 0.02 99.75 02:50:45 02:46:01 0 0.50 0.00 0.03 0.00 0.02 99.45 02:50:45 02:46:01 1 0.12 0.00 0.03 0.00 0.02 99.83 02:50:45 02:46:01 2 0.07 0.00 0.07 0.00 0.03 99.83 02:50:45 02:46:01 3 0.03 0.00 0.05 0.00 0.02 99.90 02:50:45 02:47:01 all 0.12 0.00 0.08 0.00 0.03 99.77 02:50:45 02:47:01 0 0.25 0.00 0.05 0.00 0.03 99.67 02:50:45 02:47:01 1 0.10 0.00 0.10 0.00 0.03 99.77 02:50:45 02:47:01 2 0.08 0.00 0.10 0.00 0.03 99.78 02:50:45 02:47:01 3 0.03 0.00 0.07 0.00 0.03 99.87 02:50:45 02:48:01 all 0.11 0.00 0.04 0.00 0.00 99.85 02:50:45 02:48:01 0 0.07 0.00 0.05 0.00 0.00 99.88 02:50:45 02:48:01 1 0.05 0.00 0.05 0.00 0.02 99.88 02:50:45 02:48:01 2 0.27 0.00 0.05 0.00 0.00 99.68 02:50:45 02:48:01 3 0.05 0.00 0.02 0.00 0.00 99.93 02:50:45 02:49:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:50:45 02:49:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:50:45 02:49:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:50:45 02:49:01 2 0.50 0.00 0.02 0.00 0.00 99.48 02:50:45 02:49:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:50:45 02:50:01 all 0.15 0.00 0.04 0.00 0.00 99.81 02:50:45 02:50:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:50:45 02:50:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:50:45 02:50:01 2 0.53 0.00 0.03 0.00 0.00 99.43 02:50:45 02:50:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:50:45 Average: all 1.77 0.00 0.56 0.21 0.01 97.44 02:50:45 Average: 0 1.74 0.00 0.71 0.09 0.01 97.46 02:50:45 Average: 1 1.54 0.00 0.49 0.22 0.02 97.74 02:50:45 Average: 2 2.00 0.00 0.54 0.40 0.01 97.05 02:50:45 Average: 3 1.81 0.00 0.51 0.14 0.02 97.52 02:50:45 02:50:45 02:50:45