Pull request #789 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 57dae82459387a357bb33c28b656f336a5dcd1c4+6125dba09cfc805438589ab7aad954d8cad7589e (4139b1e4cbae54207a10c65dfc7faff329d64e05) 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26774’ Running on prd-centos7-docker-4c-2g-26776 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-789 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 57dae82459387a357bb33c28b656f336a5dcd1c4 Merge succeeded, producing 57dae82459387a357bb33c28b656f336a5dcd1c4 Checking out Revision 57dae82459387a357bb33c28b656f336a5dcd1c4 (PR-789) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 Commit message: "test: add unit tests for v2 cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 # timeout=10 [Pipeline] timeout 06:59:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:59:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:59:05 ========================================================= 06:59:05 EdgeX Global Pipelines Version Info 06:59:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:59:07 ------------------- 06:59:07 stable info: 06:59:07 ------------------- 06:59:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:59:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:59:07 Message: update stable to v1.0.179 06:59:07 ------------------- 06:59:07 experimental info: 06:59:07 ------------------- 06:59:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:59:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:59:07 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo 06:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo 06:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo 06:59:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57dae82459387a357bb33c28b656f336a5dcd1c4 [Pipeline] echo 06:59:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57dae82 [Pipeline] echo 06:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:59:11 provisioning config files... 06:59:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config7482370177527988921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:11 ---> docker-login.sh 06:59:11 nexus3.edgexfoundry.org:10001 06:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:12 Configure a credential helper to remove this warning. See 06:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:12 06:59:12 Login Succeeded 06:59:12 nexus3.edgexfoundry.org:10002 06:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:12 Configure a credential helper to remove this warning. See 06:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:12 06:59:12 Login Succeeded 06:59:12 nexus3.edgexfoundry.org:10003 06:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:12 Configure a credential helper to remove this warning. See 06:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:12 06:59:12 Login Succeeded 06:59:12 nexus3.edgexfoundry.org:10004 06:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:13 Configure a credential helper to remove this warning. See 06:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:13 06:59:13 Login Succeeded 06:59:13 docker.io 06:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:13 Configure a credential helper to remove this warning. See 06:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:13 06:59:13 Login Succeeded 06:59:13 ---> docker-login.sh ends [Pipeline] } 06:59:13 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 06:59:14 + git log --format=format:%s -1 57dae82459387a357bb33c28b656f336a5dcd1c4 [Pipeline] echo 06:59:14 GIT_COMMIT: 57dae82459387a357bb33c28b656f336a5dcd1c4, Commit Message: test: add unit tests for v2 cache [Pipeline] echo 06:59:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:59:14 06:59:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:59:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:59:15 latest: Pulling from edgex-devops/git-semver 06:59:15 31603596830f: Pulling fs layer 06:59:15 2a8b12db71e7: Pulling fs layer 06:59:15 6ca5941a6612: Pulling fs layer 06:59:15 ecc8261a40a4: Pulling fs layer 06:59:15 ecc8261a40a4: Waiting 06:59:15 2a8b12db71e7: Verifying Checksum 06:59:15 2a8b12db71e7: Download complete 06:59:15 31603596830f: Verifying Checksum 06:59:15 31603596830f: Download complete 06:59:15 6ca5941a6612: Verifying Checksum 06:59:15 6ca5941a6612: Download complete 06:59:15 ecc8261a40a4: Verifying Checksum 06:59:15 ecc8261a40a4: Download complete 06:59:15 31603596830f: Pull complete 06:59:15 2a8b12db71e7: Pull complete 06:59:16 6ca5941a6612: Pull complete 06:59:16 ecc8261a40a4: Pull complete 06:59:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:59:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:59:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:59:17 prd-centos7-docker-4c-2g-26776 does not seem to be running inside a container 06:59:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:59:19 $ docker top 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:59:19 [ssh-agent] Looking for ssh-agent implementation... 06:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:59:19 $ docker exec 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent 06:59:19 SSH_AUTH_SOCK=/tmp/ssh-XmlVLqVcReh5/agent.12 06:59:19 SSH_AGENT_PID=17 06:59:19 Running ssh-add (command line suppressed) 06:59:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3904000456459857990.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_3904000456459857990.key) 06:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:59:20 + git tag --points-at HEAD [Pipeline] } 06:59:20 $ docker exec --env ******** --env ******** 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent -k 06:59:20 unset SSH_AUTH_SOCK; 06:59:20 unset SSH_AGENT_PID; 06:59:20 echo Agent pid 17 killed; 06:59:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:59:20 [ssh-agent] Looking for ssh-agent implementation... 06:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:59:21 $ docker exec 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent 06:59:21 SSH_AUTH_SOCK=/tmp/ssh-jm5Uaq3A3WG1/agent.46 06:59:21 SSH_AGENT_PID=51 06:59:21 Running ssh-add (command line suppressed) 06:59:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_8525967266844706444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_8525967266844706444.key) 06:59:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:59:21 + git semver init 06:59:21 # -> Open(): unable to determine branch for HEAD 06:59:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git 06:59:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 06:59:21 # $SEMVER_REMOTE_NAME = origin 06:59:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:59:21 # $SEMVER_USER_NAME = edgex-jenkins 06:59:21 # $SEMVER_BRANCH = PR-789 06:59:21 # $SEMVER_TEMP = /tmp/semver-271616953 06:59:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:59:22 # '/tmp/semver-271616953' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' 06:59:22 # -> Force: false 06:59:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } 06:59:22 $ docker exec --env ******** --env ******** 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea ssh-agent -k 06:59:22 unset SSH_AUTH_SOCK; 06:59:22 unset SSH_AGENT_PID; 06:59:22 echo Agent pid 51 killed; 06:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:59:22 + git semver [Pipeline] } 06:59:22 $ docker stop --time=1 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea 06:59:24 $ docker rm -f 83446b6dbc1b70611b9d0ce0c92329592889809c5dd214a60979278d943d95ea [Pipeline] // withDockerContainer [Pipeline] sh 06:59:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:59:25 Stashed 1 file(s) [Pipeline] echo 06:59:25 [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 06:59:41 Still waiting to schedule task 06:59:41 ‘prd-centos7-docker-4c-2g-26777’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26775’ doesn’t have label ‘centos7-docker-4c-2g’ 06:59:41 Still waiting to schedule task 06:59:41 ‘prd-centos7-docker-4c-2g-26777’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26775’ is offline 07:00:48 Running on prd-centos7-docker-4c-2g-26778 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 07:00:48 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:00:50 using credential edgex-jenkins-ssh 07:00:50 Cloning the remote Git repository 07:00:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:00:51 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:00:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:00:51 > git --version # timeout=10 07:00:51 > git --version # 'git version 2.24.3' 07:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:52 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 57dae82459387a357bb33c28b656f336a5dcd1c4 07:00:52 Merge succeeded, producing 57dae82459387a357bb33c28b656f336a5dcd1c4 07:00:52 Checking out Revision 57dae82459387a357bb33c28b656f336a5dcd1c4 (PR-789) 07:00:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:00:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:00:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:00:52 > git config core.sparsecheckout # timeout=10 07:00:52 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 07:00:52 > git remote # timeout=10 07:00:52 > git config --get remote.origin.url # timeout=10 07:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:52 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 07:00:52 > git rev-parse HEAD^{commit} # timeout=10 07:00:52 > git config core.sparsecheckout # timeout=10 07:00:52 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 07:00:56 Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:00:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:00:58 + true 07:00:58 + sudo service docker restart 07:00:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:00:59 provisioning config files... 07:00:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5644408751069280623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:59 ---> docker-login.sh 07:00:59 nexus3.edgexfoundry.org:10001 07:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:59 Configure a credential helper to remove this warning. See 07:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:59 07:00:59 Login Succeeded 07:00:59 nexus3.edgexfoundry.org:10002 07:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:00 Configure a credential helper to remove this warning. See 07:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:00 07:01:00 Login Succeeded 07:01:00 nexus3.edgexfoundry.org:10003 07:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:00 Configure a credential helper to remove this warning. See 07:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:00 07:01:00 Login Succeeded 07:01:00 nexus3.edgexfoundry.org:10004 07:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:00 Configure a credential helper to remove this warning. See 07:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:00 07:01:00 Login Succeeded 07:01:00 docker.io 07:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:00 Configure a credential helper to remove this warning. See 07:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:00 07:01:00 Login Succeeded 07:01:00 ---> docker-login.sh ends [Pipeline] } 07:01:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:01:01 ========================================================= 07:01:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:01:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:01:01 + 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 . 07:01:01 Sending build context to Docker daemon 2.435MB 07:01:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:01:01 Step 2/8 : FROM ${BASE} 07:01:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:01:01 188c0c94c7c5: Pulling fs layer 07:01:01 0ef7d3d256c8: Pulling fs layer 07:01:01 de9db76c5a1d: Pulling fs layer 07:01:01 bca2f99d35d6: Pulling fs layer 07:01:01 93359f2a8cfa: Pulling fs layer 07:01:01 7c6f9722023f: Pulling fs layer 07:01:01 a35cf1a2eb13: Pulling fs layer 07:01:01 93359f2a8cfa: Waiting 07:01:01 7c6f9722023f: Waiting 07:01:01 a35cf1a2eb13: Waiting 07:01:01 bca2f99d35d6: Waiting 07:01:01 de9db76c5a1d: Verifying Checksum 07:01:01 de9db76c5a1d: Download complete 07:01:01 0ef7d3d256c8: Verifying Checksum 07:01:01 0ef7d3d256c8: Download complete 07:01:01 93359f2a8cfa: Verifying Checksum 07:01:01 93359f2a8cfa: Download complete 07:01:01 7c6f9722023f: Verifying Checksum 07:01:01 7c6f9722023f: Download complete 07:01:01 188c0c94c7c5: Verifying Checksum 07:01:01 188c0c94c7c5: Download complete 07:01:02 188c0c94c7c5: Pull complete 07:01:02 0ef7d3d256c8: Pull complete 07:01:02 de9db76c5a1d: Pull complete 07:01:04 a35cf1a2eb13: Verifying Checksum 07:01:04 a35cf1a2eb13: Download complete 07:01:04 bca2f99d35d6: Verifying Checksum 07:01:04 bca2f99d35d6: Download complete 07:01:10 bca2f99d35d6: Pull complete 07:01:10 93359f2a8cfa: Pull complete 07:01:10 7c6f9722023f: Pull complete 07:01:16 a35cf1a2eb13: Pull complete 07:01:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:01:16 ---> a62c8e92a672 07:01:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:17 ---> Running in 862dbe86d26e 07:01:17 Removing intermediate container 862dbe86d26e 07:01:17 ---> 83f1644fb3ff 07:01:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:17 ---> Running in 860a361071ad 07:01:18 Removing intermediate container 860a361071ad 07:01:18 ---> 3018c0a3c486 07:01:18 Step 5/8 : RUN apk add --update --no-cache make git 07:01:18 ---> Running in eb64877bf6cd 07:01:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:01:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:01:20 OK: 166 MiB in 39 packages 07:01:21 Removing intermediate container eb64877bf6cd 07:01:21 ---> b2b30812d4f7 07:01:21 Step 6/8 : WORKDIR /device-sdk-go 07:01:21 ---> Running in 22c6e93f79e7 07:01:21 Removing intermediate container 22c6e93f79e7 07:01:21 ---> 83d62d96c99f 07:01:21 Step 7/8 : COPY . . 07:01:22 ---> 354790f69443 07:01:22 Step 8/8 : RUN go mod download 07:01:22 ---> Running in 0a4c6132fc73 07:01:44 Removing intermediate container 0a4c6132fc73 07:01:44 ---> da04ff2e92c6 07:01:44 Successfully built da04ff2e92c6 07:01:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:01:45 + docker inspect -f . ci-base-image-x86_64 07:01:45 . [Pipeline] withDockerContainer 07:01:45 prd-centos7-docker-4c-2g-26778 does not seem to be running inside a container 07:01:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:01:46 $ docker top 593b2c54c02b00fd0c6bc89a5c8fc9a1ed34a6227c7413234c81346ac1fb8753 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:46 + go version 07:01:46 go version go1.15.5 linux/amd64 [Pipeline] } 07:01:46 $ docker stop --time=1 593b2c54c02b00fd0c6bc89a5c8fc9a1ed34a6227c7413234c81346ac1fb8753 07:01:48 $ docker rm -f 593b2c54c02b00fd0c6bc89a5c8fc9a1ed34a6227c7413234c81346ac1fb8753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:01:49 + docker inspect -f . ci-base-image-x86_64 07:01:49 . [Pipeline] withDockerContainer 07:01:49 prd-centos7-docker-4c-2g-26778 does not seem to be running inside a container 07:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:01:49 $ docker top a22c30809e522f78babdaa87e3983362fc8a26adf3e4c2698a9980316f99cbc3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:50 + make test 07:01:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:01:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26779 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 07:01:57 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:01:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:02:02 using credential edgex-jenkins-ssh 07:02:02 Cloning the remote Git repository 07:02:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:02:02 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:02:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:02:02 > git --version # timeout=10 07:02:02 > git --version # 'git version 2.17.1' 07:02:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:02:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:02:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:02:04 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 57dae82459387a357bb33c28b656f336a5dcd1c4 07:02:05 Merge succeeded, producing 57dae82459387a357bb33c28b656f336a5dcd1c4 07:02:05 Checking out Revision 57dae82459387a357bb33c28b656f336a5dcd1c4 (PR-789) 07:02:04 > git config core.sparsecheckout # timeout=10 07:02:04 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 07:02:04 > git remote # timeout=10 07:02:04 > git config --get remote.origin.url # timeout=10 07:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:04 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 07:02:05 > git rev-parse HEAD^{commit} # timeout=10 07:02:05 > git config core.sparsecheckout # timeout=10 07:02:05 > git checkout -f 57dae82459387a357bb33c28b656f336a5dcd1c4 # timeout=10 07:02:09 Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:02:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:02:11 + true 07:02:11 + sudo service docker restart 07:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:02:14 provisioning config files... 07:02:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1101674709125252021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:15 ---> docker-login.sh 07:02:15 nexus3.edgexfoundry.org:10001 07:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:16 Configure a credential helper to remove this warning. See 07:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:16 07:02:16 Login Succeeded 07:02:16 nexus3.edgexfoundry.org:10002 07:02:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 25.5% of statements 07:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:16 Configure a credential helper to remove this warning. See 07:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:16 07:02:16 Login Succeeded 07:02:16 nexus3.edgexfoundry.org:10003 07:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:17 Configure a credential helper to remove this warning. See 07:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:17 07:02:17 Login Succeeded 07:02:17 nexus3.edgexfoundry.org:10004 07:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:18 Configure a credential helper to remove this warning. See 07:02:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:18 07:02:18 Login Succeeded 07:02:18 docker.io 07:02:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:18 Configure a credential helper to remove this warning. See 07:02:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:18 07:02:18 Login Succeeded 07:02:18 ---> docker-login.sh ends [Pipeline] } 07:02:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:02:19 ========================================================= 07:02:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:02:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:02:19 + 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 . 07:02:20 Sending build context to Docker daemon 2.443MB 07:02:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:02:20 Step 2/8 : FROM ${BASE} 07:02:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:02:20 5f621e34cdf4: Pulling fs layer 07:02:20 a4357932f1b6: Pulling fs layer 07:02:20 18c013af1878: Pulling fs layer 07:02:20 00ac8860ef70: Pulling fs layer 07:02:20 63d7cb157983: Pulling fs layer 07:02:20 b116817d02f9: Pulling fs layer 07:02:20 745a02a5169b: Pulling fs layer 07:02:20 00ac8860ef70: Waiting 07:02:20 63d7cb157983: Waiting 07:02:20 b116817d02f9: Waiting 07:02:20 745a02a5169b: Waiting 07:02:20 18c013af1878: Download complete 07:02:20 a4357932f1b6: Verifying Checksum 07:02:20 a4357932f1b6: Download complete 07:02:20 63d7cb157983: Verifying Checksum 07:02:20 63d7cb157983: Download complete 07:02:20 b116817d02f9: Verifying Checksum 07:02:20 b116817d02f9: Download complete 07:02:20 5f621e34cdf4: Verifying Checksum 07:02:20 5f621e34cdf4: Download complete 07:02:21 5f621e34cdf4: Pull complete 07:02:21 a4357932f1b6: Pull complete 07:02:21 18c013af1878: Pull complete 07:02:22 745a02a5169b: Verifying Checksum 07:02:22 745a02a5169b: Download complete 07:02:23 00ac8860ef70: Download complete 07:02:33 00ac8860ef70: Pull complete 07:02:34 63d7cb157983: Pull complete 07:02:34 b116817d02f9: Pull complete 07:02:38 745a02a5169b: Pull complete 07:02:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:02:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:02:38 ---> b7e6874047d6 07:02:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:02:41 ---> Running in 6b62b06d7eb9 07:02:41 Removing intermediate container 6b62b06d7eb9 07:02:41 ---> 585fa0ebea16 07:02:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:02:41 ---> Running in a8c359d5c825 07:02:44 Removing intermediate container a8c359d5c825 07:02:44 ---> c7653aacb8f9 07:02:44 Step 5/8 : RUN apk add --update --no-cache make git 07:02:44 ---> Running in c0602124b998 07:02:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:02:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:02:46 OK: 142 MiB in 39 packages 07:02:47 Removing intermediate container c0602124b998 07:02:47 ---> 48d80f74cb61 07:02:47 Step 6/8 : WORKDIR /device-sdk-go 07:02:47 ---> Running in 25894cb9ee57 07:02:48 Removing intermediate container 25894cb9ee57 07:02:48 ---> 1168b4a7a09c 07:02:48 Step 7/8 : COPY . . 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 10.1% of statements 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 12.5% of statements 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.066s coverage: 84.8% of statements 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 49.2% of statements 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.064s coverage: 80.2% of statements 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 24.8% of statements 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.332s coverage: 83.5% of statements 07:02:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 5.3% of statements 07:02:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:02:48 GO111MODULE=on go vet ./... 07:02:49 ---> f90deb2ce576 07:02:49 Step 8/8 : RUN go mod download 07:02:49 ---> Running in 0b97566ba649 07:02:55 gofmt -l . 07:02:55 [ "`gofmt -l .`" = "" ] 07:02:55 ./bin/test-attribution-txt.sh 07:02:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:02:56 $ docker stop --time=1 a22c30809e522f78babdaa87e3983362fc8a26adf3e4c2698a9980316f99cbc3 07:02:58 $ docker rm -f a22c30809e522f78babdaa87e3983362fc8a26adf3e4c2698a9980316f99cbc3 [Pipeline] // withDockerContainer [Pipeline] sh 07:02:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:02:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:03:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:03:02 + ls -al . 07:03:02 total 184 07:03:02 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 07:02 . 07:03:02 drwxrwxr-x. 4 jenkins jenkins 28 Feb 18 07:00 .. 07:03:02 drwxrwxr-x. 2 jenkins jenkins 64 Feb 18 07:00 bin 07:03:02 -rw-r--r--. 1 jenkins jenkins 101947 Feb 18 07:02 coverage.out 07:03:02 -rw-rw-r--. 1 jenkins jenkins 949 Feb 18 07:00 Dockerfile.build 07:03:02 -rw-rw-r--. 1 jenkins jenkins 140 Feb 18 07:00 .dockerignore 07:03:02 drwxrwxr-x. 4 jenkins jenkins 48 Feb 18 07:00 example 07:03:02 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 07:00 .git 07:03:02 drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 07:00 .github 07:03:02 -rw-rw-r--. 1 jenkins jenkins 138 Feb 18 07:00 .gitignore 07:03:02 -rw-r--r--. 1 jenkins jenkins 515 Feb 18 07:02 go.mod 07:03:02 -rw-r--r--. 1 jenkins jenkins 19062 Feb 18 07:02 go.sum 07:03:02 drwxrwxr-x. 13 jenkins jenkins 183 Feb 18 07:00 internal 07:03:02 -rw-rw-r--. 1 jenkins jenkins 901 Feb 18 07:00 Jenkinsfile 07:03:02 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 18 07:00 LICENSE 07:03:02 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 18 07:00 Makefile 07:03:02 drwxrwxr-x. 4 jenkins jenkins 26 Feb 18 07:00 openapi 07:03:02 drwxrwxr-x. 5 jenkins jenkins 50 Feb 18 07:00 pkg 07:03:02 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 18 07:00 README.md 07:03:02 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 18 07:00 RELEASE-NOTES.txt 07:03:02 drwxrwxr-x. 4 jenkins jenkins 54 Feb 18 07:00 snap 07:03:02 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 06:59 VERSION 07:03:02 -rw-rw-r--. 1 jenkins jenkins 222 Feb 18 07:00 version.go [Pipeline] isUnix [Pipeline] sh 07:03:02 + 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=57dae82459387a357bb33c28b656f336a5dcd1c4 --label arch=amd64 --label version=0.0.0 . 07:03:03 Sending build context to Docker daemon 2.538MB 07:03:03 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:03:03 Step 2/24 : FROM ${BASE} AS builder 07:03:03 ---> da04ff2e92c6 07:03:03 Step 3/24 : ARG MAKE='make build' 07:03:03 ---> Running in 9924a5d1d076 07:03:04 Removing intermediate container 9924a5d1d076 07:03:04 ---> e5ff653cb324 07:03:04 Step 4/24 : WORKDIR /device-sdk-go 07:03:04 ---> Running in 2e24e756b2a0 07:03:04 Removing intermediate container 2e24e756b2a0 07:03:04 ---> afbc628e8d5f 07:03:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:03:04 ---> Running in ca653b643b13 07:03:04 Removing intermediate container ca653b643b13 07:03:04 ---> 79dea2ffb63f 07:03:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:03:04 ---> Running in 022aebad80d2 07:03:05 Removing intermediate container 022aebad80d2 07:03:05 ---> 6bb35213417d 07:03:05 Step 7/24 : RUN apk add --update --no-cache make git 07:03:05 ---> Running in ab7e59ac7c0c 07:03:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:03:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:03:07 OK: 166 MiB in 39 packages 07:03:07 Removing intermediate container ab7e59ac7c0c 07:03:07 ---> a87087cf006b 07:03:07 Step 8/24 : COPY . . 07:03:08 ---> bc0125d0caa4 07:03:08 Step 9/24 : RUN ${MAKE} 07:03:08 ---> Running in 1a36fa8db26f 07:03:09 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 07:03:16 Removing intermediate container 0b97566ba649 07:03:16 ---> 6601d78d8bdc 07:03:16 Successfully built 6601d78d8bdc 07:03:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:03:16 + docker inspect -f . ci-base-image-arm64 07:03:16 . [Pipeline] withDockerContainer 07:03:16 prd-ubuntu18.04-docker-arm64-4c-16g-26779 does not seem to be running inside a container 07:03:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:03:18 $ docker top f5b829684204f9ad9c97dcc07d3d40ea31cd6b6e9a17219db9ab53b5d3d8e1b4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:03:19 + go version 07:03:19 go version go1.15.5 linux/arm64 [Pipeline] } 07:03:19 $ docker stop --time=1 f5b829684204f9ad9c97dcc07d3d40ea31cd6b6e9a17219db9ab53b5d3d8e1b4 07:03:19 Removing intermediate container 1a36fa8db26f 07:03:19 ---> 08a7838d107d 07:03:19 Step 10/24 : FROM scratch 07:03:19 ---> 07:03:19 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:03:19 ---> Running in e76df68335af 07:03:19 Removing intermediate container e76df68335af 07:03:19 ---> 13ca5c736186 07:03:19 Step 12/24 : ENV APP_PORT=49990 07:03:19 ---> Running in f5f8c7b49081 07:03:20 Removing intermediate container f5f8c7b49081 07:03:20 ---> b2a65804ce75 07:03:20 Step 13/24 : EXPOSE $APP_PORT 07:03:20 ---> Running in 2ae0f72920f6 07:03:20 Removing intermediate container 2ae0f72920f6 07:03:20 ---> f323eae1d1b8 07:03:20 Step 14/24 : WORKDIR / 07:03:20 ---> Running in 99660f778a2c 07:03:20 Removing intermediate container 99660f778a2c 07:03:20 ---> 049ec849b911 07:03:20 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:03:21 ---> 91d74fe223a3 07:03:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:03:21 $ docker rm -f f5b829684204f9ad9c97dcc07d3d40ea31cd6b6e9a17219db9ab53b5d3d8e1b4 07:03:21 ---> 5d6c55d66460 07:03:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:03:21 ---> 3cfb1203576c 07:03:21 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 07:03:21 ---> f5affe8e6470 07:03:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:03:22 ---> 385aa52c3add 07:03:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:03:22 ---> Running in 92ac64041f9e 07:03:22 + docker inspect -f . ci-base-image-arm64 07:03:22 . [Pipeline] withDockerContainer 07:03:22 Removing intermediate container 92ac64041f9e 07:03:22 ---> 8818d5a6a551 07:03:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:03:22 ---> Running in b5d1cdaab123 07:03:22 Removing intermediate container b5d1cdaab123 07:03:22 ---> 1f934537ae18 07:03:22 Step 22/24 : LABEL arch=amd64 07:03:22 prd-ubuntu18.04-docker-arm64-4c-16g-26779 does not seem to be running inside a container 07:03:22 ---> Running in 8f8e907273be 07:03:22 Removing intermediate container 8f8e907273be 07:03:22 ---> a4f58ae7798e 07:03:22 Step 23/24 : LABEL git_sha=57dae82459387a357bb33c28b656f336a5dcd1c4 07:03:22 ---> Running in 528fc42a19ed 07:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:03:22 Removing intermediate container 528fc42a19ed 07:03:22 ---> 9c3677eed273 07:03:22 Step 24/24 : LABEL version=0.0.0 07:03:22 ---> Running in 857e7fbfce70 07:03:23 Removing intermediate container 857e7fbfce70 07:03:23 ---> 610e7b0dcc13 07:03:23 [Warning] One or more build-args [ARCH] were not consumed 07:03:23 Successfully built 610e7b0dcc13 07:03:23 Successfully tagged docker-device-sdk-simple:latest 07:03:24 $ docker top 2cd4e752f639646b8e614e0868f3dd8d52392c8a70b2e302edbca4f146ae5c77 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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 07:03:25 + make test 07:03:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:03:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:04:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 25.5% of statements 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.117s coverage: 10.1% of statements 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.144s coverage: 12.5% of statements 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.167s coverage: 84.8% of statements 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 49.2% of statements 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 80.2% of statements 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.164s coverage: 24.8% of statements 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.900s coverage: 83.5% of statements 07:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.3% of statements 07:05:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:05:01 GO111MODULE=on go vet ./... 07:05:33 gofmt -l . 07:05:33 [ "`gofmt -l .`" = "" ] 07:05:33 ./bin/test-attribution-txt.sh 07:05:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:05:34 $ docker stop --time=1 2cd4e752f639646b8e614e0868f3dd8d52392c8a70b2e302edbca4f146ae5c77 07:05:37 $ docker rm -f 2cd4e752f639646b8e614e0868f3dd8d52392c8a70b2e302edbca4f146ae5c77 [Pipeline] // withDockerContainer [Pipeline] sh 07:05:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:05:38 Warning: overwriting stash ‘coverage-report’ 07:05:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:40 + ls -al . 07:05:40 total 220 07:05:40 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 07:05 . 07:05:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 .. 07:05:40 -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 07:02 .dockerignore 07:05:40 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 07:02 .git 07:05:40 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:02 .github 07:05:40 -rw-rw-r-- 1 jenkins jenkins 138 Feb 18 07:02 .gitignore 07:05:40 -rw-rw-r-- 1 jenkins jenkins 949 Feb 18 07:02 Dockerfile.build 07:05:40 -rw-rw-r-- 1 jenkins jenkins 901 Feb 18 07:02 Jenkinsfile 07:05:40 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 07:02 LICENSE 07:05:40 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 18 07:02 Makefile 07:05:40 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 18 07:02 README.md 07:05:40 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 18 07:02 RELEASE-NOTES.txt 07:05:40 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 06:59 VERSION 07:05:40 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:02 bin 07:05:40 -rw-r--r-- 1 jenkins jenkins 101947 Feb 18 07:04 coverage.out 07:05:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 example 07:05:40 -rw-r--r-- 1 jenkins jenkins 515 Feb 18 07:05 go.mod 07:05:40 -rw-r--r-- 1 jenkins jenkins 19062 Feb 18 07:05 go.sum 07:05:40 drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 07:02 internal 07:05:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 openapi 07:05:40 drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 07:02 pkg 07:05:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:02 snap 07:05:40 -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 07:02 version.go [Pipeline] isUnix [Pipeline] sh 07:05:40 + 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=57dae82459387a357bb33c28b656f336a5dcd1c4 --label arch=arm64 --label version=0.0.0 . 07:05:40 Sending build context to Docker daemon 2.546MB 07:05:41 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:05:41 Step 2/24 : FROM ${BASE} AS builder 07:05:41 ---> 6601d78d8bdc 07:05:41 Step 3/24 : ARG MAKE='make build' 07:05:41 ---> Running in b56b6766051a 07:05:41 Removing intermediate container b56b6766051a 07:05:41 ---> 27c82f23ed73 07:05:41 Step 4/24 : WORKDIR /device-sdk-go 07:05:42 ---> Running in f1532022794f 07:05:42 Removing intermediate container f1532022794f 07:05:42 ---> 95eb75527b62 07:05:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:42 ---> Running in 0ec9804cfc11 07:05:43 Removing intermediate container 0ec9804cfc11 07:05:43 ---> 35f4649303c5 07:05:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:43 ---> Running in 848d0a3e8e20 07:05:45 Removing intermediate container 848d0a3e8e20 07:05:45 ---> 632612f3b961 07:05:45 Step 7/24 : RUN apk add --update --no-cache make git 07:05:45 ---> Running in 86b4b472f228 07:05:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:05:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:05:48 OK: 142 MiB in 39 packages 07:05:49 Removing intermediate container 86b4b472f228 07:05:49 ---> df2d2f3ab36f 07:05:49 Step 8/24 : COPY . . 07:05:50 ---> 65a95a29bda4 07:05:50 Step 9/24 : RUN ${MAKE} 07:05:50 ---> Running in 07a505e9afc8 07:05:51 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 07:06:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:06:19 Removing intermediate container 07a505e9afc8 07:06:19 ---> e3af6d1168c3 07:06:19 Step 10/24 : FROM scratch 07:06:19 ---> 07:06:19 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:06:19 ---> Running in 48da8cd717cd 07:06:19 Removing intermediate container 48da8cd717cd 07:06:19 ---> 8c58b02b1912 07:06:19 Step 12/24 : ENV APP_PORT=49990 07:06:19 ---> Running in ac6559f25713 07:06:19 Removing intermediate container ac6559f25713 07:06:19 ---> 0c203870fcc7 07:06:19 Step 13/24 : EXPOSE $APP_PORT 07:06:19 ---> Running in 34a050fc70ec 07:06:20 Removing intermediate container 34a050fc70ec 07:06:20 ---> 502d87a1cdc1 07:06:20 Step 14/24 : WORKDIR / 07:06:20 ---> Running in 33603a98488f 07:06:21 Removing intermediate container 33603a98488f 07:06:21 ---> 69b2e7f7123a 07:06:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:06:22 ---> ac9c0c560f77 07:06:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:06:22 ---> af1882ebf84e 07:06:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:06:23 ---> 4cfb0fc6000b 07:06:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:06:24 ---> a728d1b1a0bb 07:06:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:06:24 ---> 5c9c63d8dd62 07:06:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:06:25 ---> Running in 2dc9fd3d80aa 07:06:25 Removing intermediate container 2dc9fd3d80aa 07:06:25 ---> 5d0ea07a9b1f 07:06:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:06:25 ---> Running in ee6f936aa92d 07:06:25 Removing intermediate container ee6f936aa92d 07:06:25 ---> 68017ed9f821 07:06:25 Step 22/24 : LABEL arch=arm64 07:06:25 ---> Running in c5e11aa4cca6 07:06:26 Removing intermediate container c5e11aa4cca6 07:06:26 ---> ce9c1e2ea220 07:06:26 Step 23/24 : LABEL git_sha=57dae82459387a357bb33c28b656f336a5dcd1c4 07:06:26 ---> Running in 92961700faed 07:06:27 Removing intermediate container 92961700faed 07:06:27 ---> 9cb6ec075e2b 07:06:27 Step 24/24 : LABEL version=0.0.0 07:06:27 ---> Running in 6d15bc3b512f 07:06:27 Removing intermediate container 6d15bc3b512f 07:06:27 ---> de04c8c32c27 07:06:27 [Warning] One or more build-args [ARCH] were not consumed 07:06:27 Successfully built de04c8c32c27 07:06:27 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 07:06:29 provisioning config files... 07:06:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config1407246333369098288tmp [Pipeline] { [Pipeline] sh 07:06:29 + set +x 07:06:29 + bash -s -- 07:06:29 + curl -s https://codecov.io/bash 07:06:30 07:06:30 _____ _ 07:06:30 / ____| | | 07:06:30 | | ___ __| | ___ ___ _____ __ 07:06:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:06:30 | |___| (_) | (_| | __/ (_| (_) \ V / 07:06:30 \_____\___/ \__,_|\___|\___\___/ \_/ 07:06:30 Bash-20210129-7c25fce 07:06:30 07:06:30 07:06:30 ==> git version 2.24.3 found 07:06:30 ==> 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 07:06:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:06:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:06:30 ==> Jenkins CI detected. 07:06:30 project root: . 07:06:30 --> token set from env 07:06:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:06:30 ==> Running gcov in . (disable via -X gcov) 07:06:30 ==> Python coveragepy not found 07:06:30 ==> Searching for coverage reports in: 07:06:30 + . 07:06:30 -> Found 1 reports 07:06:30 ==> Detecting git/mercurial file structure 07:06:30 ==> Reading reports 07:06:30 + ./coverage.out bytes=101947 07:06:30 ==> Appending adjustments 07:06:30 https://docs.codecov.io/docs/fixing-reports 07:06:30 + Found adjustments 07:06:30 ==> Gzipping contents 07:06:30 20K /tmp/codecov.tgRj5c.gz 07:06:30 ==> Uploading reports 07:06:30 url: https://codecov.io 07:06:30 query: branch=PR-789&commit=57dae82459387a357bb33c28b656f336a5dcd1c4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= 07:06:30 -> Pinging Codecov 07:06:30 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-789&commit=57dae82459387a357bb33c28b656f336a5dcd1c4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= 07:06:31 -> Uploading to 07:06:31 https://storage.googleapis.com/codecov/v4/raw/2021-02-18/7E55EF52A471D76F132DFD9A03CDDE97/57dae82459387a357bb33c28b656f336a5dcd1c4/93519de4-76fa-4b0b-9ddd-d051a0ebc501.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T070631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0590be5280324ee790152083eb6d2dd123ba089010e2e3f60b42077271414cb4 07:06:31 % Total % Received % Xferd Average Speed Time Time Time Current 07:06:31 Dload Upload Total Spent Left Speed 07:06:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16529 0 0 100 16529 0 33392 --:--:-- --:--:-- --:--:-- 33459 07:06:32 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/57dae82459387a357bb33c28b656f336a5dcd1c4 [Pipeline] } 07:06:32 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 07:06:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:06:35 ---> package-listing.sh 07:06:35 ++ tr '[:upper:]' '[:lower:]' 07:06:35 ++ facter osfamily 07:06:35 + OS_FAMILY=redhat 07:06:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 07:06:35 + START_PACKAGES=/tmp/packages_start.txt 07:06:35 + END_PACKAGES=/tmp/packages_end.txt 07:06:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:06:35 + PACKAGES=/tmp/packages_start.txt 07:06:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 07:06:35 + PACKAGES=/tmp/packages_end.txt 07:06:35 + case "${OS_FAMILY}" in 07:06:35 + rpm -qa 07:06:35 + sort 07:06:39 + '[' -f /tmp/packages_start.txt ']' 07:06:39 + '[' -f /tmp/packages_end.txt ']' 07:06:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:06:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 07:06:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ 07:06:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo 07:06:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:06:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:06:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:06:40 07:06:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:06:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:06:40 alpine: Pulling from edgex-lftools-log-publisher 07:06:40 df20fa9351a1: Pulling fs layer 07:06:40 36b3adc4ff6f: Pulling fs layer 07:06:40 8ad3a11d3b57: Pulling fs layer 07:06:40 46f8f816bc3b: Pulling fs layer 07:06:40 93b61091891f: Pulling fs layer 07:06:40 93b9cdb0e59b: Pulling fs layer 07:06:40 5e14af77c1be: Pulling fs layer 07:06:40 01666e4c0597: Pulling fs layer 07:06:40 aa168da1d23b: Pulling fs layer 07:06:40 93b9cdb0e59b: Waiting 07:06:40 5e14af77c1be: Waiting 07:06:40 01666e4c0597: Waiting 07:06:40 aa168da1d23b: Waiting 07:06:40 46f8f816bc3b: Waiting 07:06:40 93b61091891f: Waiting 07:06:40 36b3adc4ff6f: Verifying Checksum 07:06:40 36b3adc4ff6f: Download complete 07:06:40 46f8f816bc3b: Verifying Checksum 07:06:40 46f8f816bc3b: Download complete 07:06:40 df20fa9351a1: Verifying Checksum 07:06:40 df20fa9351a1: Download complete 07:06:40 93b9cdb0e59b: Verifying Checksum 07:06:40 93b9cdb0e59b: Download complete 07:06:40 5e14af77c1be: Verifying Checksum 07:06:40 5e14af77c1be: Download complete 07:06:40 93b61091891f: Verifying Checksum 07:06:40 93b61091891f: Download complete 07:06:40 01666e4c0597: Download complete 07:06:41 df20fa9351a1: Pull complete 07:06:41 36b3adc4ff6f: Pull complete 07:06:41 8ad3a11d3b57: Verifying Checksum 07:06:41 8ad3a11d3b57: Download complete 07:06:42 8ad3a11d3b57: Pull complete 07:06:42 46f8f816bc3b: Pull complete 07:06:42 93b61091891f: Pull complete 07:06:43 93b9cdb0e59b: Pull complete 07:06:43 5e14af77c1be: Pull complete 07:06:43 aa168da1d23b: Verifying Checksum 07:06:43 aa168da1d23b: Download complete 07:06:43 01666e4c0597: Pull complete 07:06:50 aa168da1d23b: Pull complete 07:06:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:06:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:06:50 prd-centos7-docker-4c-2g-26776 does not seem to be running inside a container 07:06:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:06:54 $ docker top eae650f7fa1f757733e963de87f329810ed15fcd164b18c8a19ddff7c751f6b8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:54 + touch /tmp/pre-build-complete [Pipeline] sh 07:06:54 + mkdir -p /var/log/sa [Pipeline] sh 07:06:55 + ls /var/log/sa-host 07:06:55 + sadf -c /var/log/sa-host/sa18 07:06:55 file_magic: OK 07:06:55 HZ: Using current value: 100 07:06:55 file_header: OK 07:06:55 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 07:06:55 Statistics: 07:06:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:06:55 File successfully converted to sysstat format version 12.2.1 07:06:55 + sadf -c /var/log/sa-host/sa23 07:06:55 file_magic: OK 07:06:55 HZ: Using current value: 100 07:06:55 file_header: OK 07:06:55 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 07:06:55 Statistics: 07:06:55 Hnuu...uuuununununu... 07:06:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:06:55 provisioning config files... 07:06:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config6327929511756360963tmp [Pipeline] { [Pipeline] echo 07:06:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:06:55 ---> create-netrc.sh [Pipeline] } 07:06:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:06:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:06:56 ---> python-tools-install.sh [Pipeline] echo 07:06:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:06:56 ---> sudo-logs.sh 07:06:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:06:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:06:57 ---> job-cost.sh 07:06:57 lf-activate-venv: SKIPPING 07:06:57 INFO: No Stack... 07:06:58 INFO: Retrieving Pricing Info for: v1-standard-2 07:06:59 INFO: Archiving Costs [Pipeline] echo 07:06:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:06:59 ---> logs-deploy.sh 07:06:59 lf-activate-venv: SKIPPING 07:06:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/2 07:06:59 INFO: archiving workspace using pattern(s): 07:07:01 Archives upload complete. 07:07:01 INFO: archiving logs to Nexus 07:07:02 ---> uname -a: 07:07:02 Linux prd-centos7-docker-4c-2g-26776.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:07:02 07:07:02 07:07:02 ---> lscpu: 07:07:02 Architecture: x86_64 07:07:02 CPU op-mode(s): 32-bit, 64-bit 07:07:02 Byte Order: Little Endian 07:07:02 Address sizes: 40 bits physical, 48 bits virtual 07:07:02 CPU(s): 4 07:07:02 On-line CPU(s) list: 0-3 07:07:02 Thread(s) per core: 1 07:07:02 Core(s) per socket: 1 07:07:02 Socket(s): 4 07:07:02 NUMA node(s): 1 07:07:02 Vendor ID: GenuineIntel 07:07:02 CPU family: 6 07:07:02 Model: 44 07:07:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:07:02 Stepping: 1 07:07:02 CPU MHz: 2933.438 07:07:02 BogoMIPS: 5866.87 07:07:02 Virtualization: VT-x 07:07:02 Hypervisor vendor: KVM 07:07:02 Virtualization type: full 07:07:02 L1d cache: 128 KiB 07:07:02 L1i cache: 128 KiB 07:07:02 L2 cache: 16 MiB 07:07:02 L3 cache: 64 MiB 07:07:02 NUMA node0 CPU(s): 0-3 07:07:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:07:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:07:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:07:02 Vulnerability Meltdown: Mitigation; PTI 07:07:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:07:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:07:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:07:02 Vulnerability Srbds: Not affected 07:07:02 Vulnerability Tsx async abort: Not affected 07:07:02 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 07:07:02 07:07:02 07:07:02 ---> nproc: 07:07:02 4 07:07:02 07:07:02 07:07:02 ---> df -h: 07:07:02 Filesystem Size Used Available Use% Mounted on 07:07:02 overlay 50.0G 7.3G 42.7G 15% / 07:07:02 tmpfs 64.0M 0 64.0M 0% /dev 07:07:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:07:02 shm 64.0M 0 64.0M 0% /dev/shm 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-789 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:07:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:07:02 07:07:02