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 gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 2e0b14878cfb4a574be8745ab7c226ce26d53775 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 2e0b14878cfb4a574be8745ab7c226ce26d53775 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 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-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22167’ is offline; ‘prd-centos7-docker-4c-2g-22170’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22169’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22172 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c > 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 Merge succeeded, producing 2c6ebf06d77d34a5dd31816cd3384181c472a805 Checking out Revision 2c6ebf06d77d34a5dd31816cd3384181c472a805 (PR-732) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c6ebf06d77d34a5dd31816cd3384181c472a805 # timeout=10 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:01 ========================================================= 02:43:01 EdgeX Global Pipelines Version Info 02:43:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 206cdd90e7f57c2b384880b9f580462930fd44c2 # timeout=10 02:43:04 ------------------- 02:43:04 stable info: 02:43:04 ------------------- 02:43:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:04 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:04 Message: update stable to v1.0.179 02:43:05 ------------------- 02:43:05 experimental info: 02:43:05 ------------------- 02:43:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:05 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c6ebf06d77d34a5dd31816cd3384181c472a805 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c6ebf0 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:09 provisioning config files... 02:43:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3347449823302731273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:09 ---> docker-login.sh 02:43:09 nexus3.edgexfoundry.org:10001 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:10 Configure a credential helper to remove this warning. See 02:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:10 02:43:10 Login Succeeded 02:43:10 nexus3.edgexfoundry.org:10002 02:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 nexus3.edgexfoundry.org:10003 02:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 nexus3.edgexfoundry.org:10004 02:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 docker.io 02:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:12 Configure a credential helper to remove this warning. See 02:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:12 02:43:12 Login Succeeded 02:43:12 ---> docker-login.sh ends [Pipeline] } 02:43:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:13 + git log --format=format:%s -1 2c6ebf06d77d34a5dd31816cd3384181c472a805 [Pipeline] echo 02:43:13 GIT_COMMIT: 2c6ebf06d77d34a5dd31816cd3384181c472a805, Commit Message: Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD [Pipeline] echo 02:43:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:14 02:43:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:15 latest: Pulling from edgex-devops/git-semver 02:43:15 31603596830f: Pulling fs layer 02:43:15 2a8b12db71e7: Pulling fs layer 02:43:15 6ca5941a6612: Pulling fs layer 02:43:15 ecc8261a40a4: Pulling fs layer 02:43:15 ecc8261a40a4: Waiting 02:43:15 2a8b12db71e7: Verifying Checksum 02:43:15 2a8b12db71e7: Download complete 02:43:16 31603596830f: Verifying Checksum 02:43:16 31603596830f: Download complete 02:43:16 6ca5941a6612: Verifying Checksum 02:43:16 6ca5941a6612: Download complete 02:43:17 ecc8261a40a4: Verifying Checksum 02:43:17 ecc8261a40a4: Download complete 02:43:17 31603596830f: Pull complete 02:43:17 2a8b12db71e7: Pull complete 02:43:20 6ca5941a6612: Pull complete 02:43:20 ecc8261a40a4: Pull complete 02:43:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:20 prd-centos7-docker-4c-2g-22172 does not seem to be running inside a container 02:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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:43:24 $ docker top 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:25 [ssh-agent] Looking for ssh-agent implementation... 02:43:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:26 $ docker exec 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d ssh-agent 02:43:26 SSH_AUTH_SOCK=/tmp/ssh-dl2rzQDySH1D/agent.11 02:43:26 SSH_AGENT_PID=16 02:43:26 Running ssh-add (command line suppressed) 02:43:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_8664885542415067204.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_8664885542415067204.key) 02:43:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:27 + git tag --points-at HEAD [Pipeline] } 02:43:27 $ docker exec --env ******** --env ******** 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d ssh-agent -k 02:43:27 unset SSH_AUTH_SOCK; 02:43:27 unset SSH_AGENT_PID; 02:43:27 echo Agent pid 16 killed; 02:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:28 [ssh-agent] Looking for ssh-agent implementation... 02:43:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:28 $ docker exec 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d ssh-agent 02:43:29 SSH_AUTH_SOCK=/tmp/ssh-E7J4PjhzFW8Q/agent.44 02:43:29 SSH_AGENT_PID=49 02:43:29 Running ssh-add (command line suppressed) 02:43:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_7671282393567692879.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_7671282393567692879.key) 02:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:30 + git semver init 02:43:30 # -> Open(): unable to determine branch for HEAD 02:43:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:43:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:43:30 # $SEMVER_REMOTE_NAME = origin 02:43:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:30 # $SEMVER_USER_NAME = edgex-jenkins 02:43:30 # $SEMVER_BRANCH = PR-732 02:43:30 # $SEMVER_TEMP = /tmp/semver-511341469 02:43:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:31 # '/tmp/semver-511341469' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:43:31 # -> Force: false 02:43:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:43:32 $ docker exec --env ******** --env ******** 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d ssh-agent -k 02:43:32 unset SSH_AUTH_SOCK; 02:43:32 unset SSH_AGENT_PID; 02:43:32 echo Agent pid 49 killed; 02:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:33 + git semver [Pipeline] } 02:43:33 $ docker stop --time=1 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d 02:43:35 $ docker rm -f 0c40bdc0ea2c366b108fb7bcd69981bb9d6b01dd3cfcf91745402899a138519d [Pipeline] // withDockerContainer [Pipeline] sh 02:43:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:37 Stashed 1 file(s) [Pipeline] echo 02:43:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:43:52 Still waiting to schedule task 02:43:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:52 Still waiting to schedule task 02:43:52 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:45:06 Running on prd-centos7-docker-4c-2g-22178 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:45:06 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:45:09 using credential edgex-jenkins-ssh 02:45:09 Cloning the remote Git repository 02:45:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:09 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:45:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:09 > git --version # timeout=10 02:45:09 > git --version # 'git version 2.24.3' 02:45:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:45:10 Merge succeeded, producing 6e19ef20f881468cf32fa44609b71c23a1029cda 02:45:10 Checking out Revision 6e19ef20f881468cf32fa44609b71c23a1029cda (PR-732) 02:45:10 > git config core.sparsecheckout # timeout=10 02:45:10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:45:10 > git remote # timeout=10 02:45:10 > git config --get remote.origin.url # timeout=10 02:45:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:10 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:45:10 > git rev-parse HEAD^{commit} # timeout=10 02:45:10 > git config core.sparsecheckout # timeout=10 02:45:10 > git checkout -f 6e19ef20f881468cf32fa44609b71c23a1029cda # timeout=10 02:45:14 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" 02:45:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:14 > git rev-list --no-walk 206cdd90e7f57c2b384880b9f580462930fd44c2 # timeout=10 02:45:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:16 + sudo service docker restart 02:45:16 + true 02:45:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:17 provisioning config files... 02:45:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config5713912388869628979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:18 ---> docker-login.sh 02:45:18 nexus3.edgexfoundry.org:10001 02:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:18 Configure a credential helper to remove this warning. See 02:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:18 02:45:18 Login Succeeded 02:45:18 nexus3.edgexfoundry.org:10002 02:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:18 Configure a credential helper to remove this warning. See 02:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:18 02:45:18 Login Succeeded 02:45:18 nexus3.edgexfoundry.org:10003 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 nexus3.edgexfoundry.org:10004 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 docker.io 02:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:19 Configure a credential helper to remove this warning. See 02:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:19 02:45:19 Login Succeeded 02:45:19 ---> docker-login.sh ends [Pipeline] } 02:45:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:20 ========================================================= 02:45:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:20 + 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:20 Sending build context to Docker daemon 2.599MB 02:45:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:20 Step 2/8 : FROM ${BASE} 02:45:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:20 188c0c94c7c5: Pulling fs layer 02:45:20 0ef7d3d256c8: Pulling fs layer 02:45:20 de9db76c5a1d: Pulling fs layer 02:45:20 bca2f99d35d6: Pulling fs layer 02:45:20 93359f2a8cfa: Pulling fs layer 02:45:20 7c6f9722023f: Pulling fs layer 02:45:20 a35cf1a2eb13: Pulling fs layer 02:45:20 93359f2a8cfa: Waiting 02:45:20 7c6f9722023f: Waiting 02:45:20 a35cf1a2eb13: Waiting 02:45:20 bca2f99d35d6: Waiting 02:45:20 de9db76c5a1d: Download complete 02:45:20 0ef7d3d256c8: Verifying Checksum 02:45:20 0ef7d3d256c8: Download complete 02:45:20 93359f2a8cfa: Verifying Checksum 02:45:20 93359f2a8cfa: Download complete 02:45:20 7c6f9722023f: Verifying Checksum 02:45:20 7c6f9722023f: Download complete 02:45:20 188c0c94c7c5: Verifying Checksum 02:45:20 188c0c94c7c5: Download complete 02:45:20 188c0c94c7c5: Pull complete 02:45:21 0ef7d3d256c8: Pull complete 02:45:21 de9db76c5a1d: Pull complete 02:45:23 a35cf1a2eb13: Verifying Checksum 02:45:23 a35cf1a2eb13: Download complete 02:45:25 bca2f99d35d6: Verifying Checksum 02:45:25 bca2f99d35d6: Download complete 02:45:30 bca2f99d35d6: Pull complete 02:45:30 93359f2a8cfa: Pull complete 02:45:30 7c6f9722023f: Pull complete 02:45:35 a35cf1a2eb13: Pull complete 02:45:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:35 ---> a62c8e92a672 02:45:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:35 ---> Running in 075a0d694a89 02:45:35 Removing intermediate container 075a0d694a89 02:45:35 ---> fd8b1bcfc621 02:45:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:35 ---> Running in 4e8ebd2193dd 02:45:36 Removing intermediate container 4e8ebd2193dd 02:45:36 ---> 29476f84d70d 02:45:36 Step 5/8 : RUN apk add --update --no-cache make git 02:45:36 ---> Running in 1f29e86e5f98 02:45:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:42 OK: 166 MiB in 39 packages 02:45:42 Removing intermediate container 1f29e86e5f98 02:45:42 ---> 1921a3944010 02:45:42 Step 6/8 : WORKDIR /device-sdk-go 02:45:42 ---> Running in a217148d3865 02:45:42 Removing intermediate container a217148d3865 02:45:42 ---> fcb781137b41 02:45:42 Step 7/8 : COPY . . 02:45:43 ---> b56602a9b4fa 02:45:43 Step 8/8 : RUN go mod download 02:45:43 ---> Running in f36f9824c2ce 02:46:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22179 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:46:01 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:46:05 Removing intermediate container f36f9824c2ce 02:46:05 ---> df4d68db0c89 02:46:05 Successfully built df4d68db0c89 02:46:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:06 + docker inspect -f . ci-base-image-x86_64 02:46:06 . [Pipeline] withDockerContainer 02:46:06 prd-centos7-docker-4c-2g-22178 does not seem to be running inside a container 02:46:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:06 $ docker top c174db6f3d56f8ac4a011dbc5243b373257d5ef0d62a37cc8c938631a74f80ec -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:07 using credential edgex-jenkins-ssh 02:46:07 Cloning the remote Git repository 02:46:07 + go version 02:46:07 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:07 $ docker stop --time=1 c174db6f3d56f8ac4a011dbc5243b373257d5ef0d62a37cc8c938631a74f80ec 02:46:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:07 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:46:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:07 > git --version # timeout=10 02:46:07 > git --version # 'git version 2.17.1' 02:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:08 $ docker rm -f c174db6f3d56f8ac4a011dbc5243b373257d5ef0d62a37cc8c938631a74f80ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:09 + docker inspect -f . ci-base-image-x86_64 02:46:09 . [Pipeline] withDockerContainer 02:46:09 prd-centos7-docker-4c-2g-22178 does not seem to be running inside a container 02:46:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:09 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:46:10 $ docker top fefe0ca0a714550f72ff6651b79f2d3fee573ef92f39ab76e0f44f358c15b5f7 -eo pid,comm 02:46:10 Merge succeeded, producing b0b495e185d4e4194b3624c26e591dd82bc52f1d 02:46:10 Checking out Revision b0b495e185d4e4194b3624c26e591dd82bc52f1d (PR-732) [Pipeline] { [Pipeline] sh 02:46:09 > git config core.sparsecheckout # timeout=10 02:46:09 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:46:10 > git remote # timeout=10 02:46:10 > git config --get remote.origin.url # timeout=10 02:46:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:10 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:46:10 > git rev-parse HEAD^{commit} # timeout=10 02:46:10 > git config core.sparsecheckout # timeout=10 02:46:10 > git checkout -f b0b495e185d4e4194b3624c26e591dd82bc52f1d # timeout=10 02:46:10 + make test 02:46:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:14 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" 02:46:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 02:46:14 > git rev-list --no-walk 206cdd90e7f57c2b384880b9f580462930fd44c2 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:17 + sudo service docker restart 02:46:17 + true 02:46:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:19 provisioning config files... 02:46:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9123205711204221391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:20 ---> docker-login.sh 02:46:20 nexus3.edgexfoundry.org:10001 02:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:21 Configure a credential helper to remove this warning. See 02:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:21 02:46:21 Login Succeeded 02:46:21 nexus3.edgexfoundry.org:10002 02:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:21 Configure a credential helper to remove this warning. See 02:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:21 02:46:21 Login Succeeded 02:46:21 nexus3.edgexfoundry.org:10003 02:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:22 Configure a credential helper to remove this warning. See 02:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:22 02:46:22 Login Succeeded 02:46:22 nexus3.edgexfoundry.org:10004 02:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:22 Configure a credential helper to remove this warning. See 02:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:22 02:46:22 Login Succeeded 02:46:22 docker.io 02:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:23 Configure a credential helper to remove this warning. See 02:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:23 02:46:23 Login Succeeded 02:46:23 ---> docker-login.sh ends [Pipeline] } 02:46:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:23 ========================================================= 02:46:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:24 + 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:24 Sending build context to Docker daemon 2.607MB 02:46:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:24 Step 2/8 : FROM ${BASE} 02:46:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:24 5f621e34cdf4: Pulling fs layer 02:46:24 a4357932f1b6: Pulling fs layer 02:46:24 18c013af1878: Pulling fs layer 02:46:24 00ac8860ef70: Pulling fs layer 02:46:24 63d7cb157983: Pulling fs layer 02:46:24 b116817d02f9: Pulling fs layer 02:46:24 745a02a5169b: Pulling fs layer 02:46:24 b116817d02f9: Waiting 02:46:24 745a02a5169b: Waiting 02:46:24 63d7cb157983: Waiting 02:46:24 18c013af1878: Verifying Checksum 02:46:24 18c013af1878: Download complete 02:46:24 a4357932f1b6: Verifying Checksum 02:46:24 a4357932f1b6: Download complete 02:46:24 63d7cb157983: Verifying Checksum 02:46:24 63d7cb157983: Download complete 02:46:24 b116817d02f9: Verifying Checksum 02:46:24 b116817d02f9: Download complete 02:46:24 5f621e34cdf4: Verifying Checksum 02:46:24 5f621e34cdf4: Download complete 02:46:25 5f621e34cdf4: Pull complete 02:46:26 a4357932f1b6: Pull complete 02:46:26 18c013af1878: Pull complete 02:46:27 745a02a5169b: Verifying Checksum 02:46:27 745a02a5169b: Download complete 02:46:28 00ac8860ef70: Verifying Checksum 02:46:28 00ac8860ef70: Download complete 02:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.084s coverage: 19.4% of statements 02:46:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements 02:46:38 00ac8860ef70: Pull complete 02:46:38 63d7cb157983: Pull complete 02:46:38 b116817d02f9: Pull complete 02:46:42 745a02a5169b: Pull complete 02:46:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:42 ---> b7e6874047d6 02:46:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:45 ---> Running in 1dfcdb5f90a6 02:46:45 Removing intermediate container 1dfcdb5f90a6 02:46:45 ---> 23e51c9f0fa4 02:46:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:45 ---> Running in 2f3dc02a8fee 02:46:48 Removing intermediate container 2f3dc02a8fee 02:46:48 ---> 82b247e78455 02:46:48 Step 5/8 : RUN apk add --update --no-cache make git 02:46:48 ---> Running in 19032cc7ca5c 02:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:51 OK: 142 MiB in 39 packages 02:46:52 Removing intermediate container 19032cc7ca5c 02:46:52 ---> c71ee6406dfe 02:46:52 Step 6/8 : WORKDIR /device-sdk-go 02:46:53 ---> Running in 24558ade7332 02:46:53 Removing intermediate container 24558ade7332 02:46:53 ---> 5decaa33155e 02:46:53 Step 7/8 : COPY . . 02:46:55 ---> eae0c18c8a80 02:46:55 Step 8/8 : RUN go mod download 02:46:55 ---> Running in 16ced29b23ab 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.045s coverage: 9.4% of statements 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.045s coverage: 21.7% of statements 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.258s coverage: 43.2% of statements 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.305s coverage: 66.5% of statements 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 53.8% of statements 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 26.8% of statements 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.575s coverage: 83.5% of statements 02:47:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 02:47:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:06 GO111MODULE=on go vet ./... 02:47:15 gofmt -l . 02:47:15 [ "`gofmt -l .`" = "" ] 02:47:15 ./bin/test-attribution-txt.sh 02:47:15 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:15 $ docker stop --time=1 fefe0ca0a714550f72ff6651b79f2d3fee573ef92f39ab76e0f44f358c15b5f7 02:47:17 $ docker rm -f fefe0ca0a714550f72ff6651b79f2d3fee573ef92f39ab76e0f44f358c15b5f7 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:19 + ls -al . 02:47:19 total 216 02:47:19 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 02:47 . 02:47:19 drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 02:45 .. 02:47:19 drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 02:45 bin 02:47:19 -rw-r--r--. 1 jenkins jenkins 137880 Jan 22 02:47 coverage.out 02:47:19 -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 02:45 Dockerfile.build 02:47:19 -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 02:45 .dockerignore 02:47:19 drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 02:45 example 02:47:19 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 02:45 .git 02:47:19 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 02:45 .github 02:47:19 -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 02:45 .gitignore 02:47:19 -rw-r--r--. 1 jenkins jenkins 514 Jan 22 02:47 go.mod 02:47:19 -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 02:47 go.sum 02:47:19 drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 02:45 internal 02:47:19 -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 02:45 Jenkinsfile 02:47:19 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 02:45 LICENSE 02:47:19 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 02:45 Makefile 02:47:19 drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 02:45 openapi 02:47:19 drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 02:45 pkg 02:47:19 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 02:45 README.md 02:47:19 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 02:45 RELEASE-NOTES.txt 02:47:19 drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 02:45 snap 02:47:19 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 02:43 VERSION 02:47:19 -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:20 + 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=2c6ebf06d77d34a5dd31816cd3384181c472a805 --label arch=amd64 --label version=0.0.0 . 02:47:20 Sending build context to Docker daemon 2.738MB 02:47:20 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:20 Step 2/24 : FROM ${BASE} AS builder 02:47:20 ---> df4d68db0c89 02:47:20 Step 3/24 : ARG MAKE='make build' 02:47:21 ---> Running in 22ca6af941f7 02:47:21 Removing intermediate container 22ca6af941f7 02:47:21 ---> 7e3cabf6c193 02:47:21 Step 4/24 : WORKDIR /device-sdk-go 02:47:21 ---> Running in 43b3fdfc1dff 02:47:21 Removing intermediate container 43b3fdfc1dff 02:47:21 ---> 5e272514c828 02:47:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:21 ---> Running in ce23b93265f3 02:47:21 Removing intermediate container ce23b93265f3 02:47:21 ---> 028f10925c3e 02:47:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:21 ---> Running in 53ce935875f8 02:47:21 Removing intermediate container 16ced29b23ab 02:47:21 ---> 2f98924176dc 02:47:21 Successfully built 2f98924176dc 02:47:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:22 + docker inspect -f . ci-base-image-arm64 02:47:22 . [Pipeline] withDockerContainer 02:47:22 prd-ubuntu18.04-docker-arm64-4c-16g-22179 does not seem to be running inside a container 02:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-arm64 cat 02:47:22 Removing intermediate container 53ce935875f8 02:47:22 ---> 56f7db2a6384 02:47:22 Step 7/24 : RUN apk add --update --no-cache make git 02:47:22 ---> Running in ea405c66d8d1 02:47:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:23 $ docker top e1c3438333cfca45134e8e26fdcd7b06c19005f969dc235938d6d56c0974fc54 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:24 OK: 166 MiB in 39 packages 02:47:24 Removing intermediate container ea405c66d8d1 02:47:24 ---> 775d3a700567 02:47:24 Step 8/24 : COPY . . 02:47:24 + go version 02:47:24 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:25 $ docker stop --time=1 e1c3438333cfca45134e8e26fdcd7b06c19005f969dc235938d6d56c0974fc54 02:47:26 ---> 6b228dc765ed 02:47:26 Step 9/24 : RUN ${MAKE} 02:47:26 ---> Running in 739498e225cd 02:47:26 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:26 $ docker rm -f e1c3438333cfca45134e8e26fdcd7b06c19005f969dc235938d6d56c0974fc54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:27 + docker inspect -f . ci-base-image-arm64 02:47:27 . [Pipeline] withDockerContainer 02:47:28 prd-ubuntu18.04-docker-arm64-4c-16g-22179 does not seem to be running inside a container 02:47:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-arm64 cat 02:47:29 $ docker top 1a3a1b35b9c962c0ecb78f5935100aff54b52158473dc091544a098a56e2596f -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:30 + make test 02:47:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:37 Removing intermediate container 739498e225cd 02:47:37 ---> 7f3f2c7b1653 02:47:37 Step 10/24 : FROM scratch 02:47:37 ---> 02:47:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:37 ---> Running in 9fd90c59fae7 02:47:37 Removing intermediate container 9fd90c59fae7 02:47:37 ---> c3d87e94260e 02:47:37 Step 12/24 : ENV APP_PORT=49990 02:47:37 ---> Running in c1971b33ed18 02:47:37 Removing intermediate container c1971b33ed18 02:47:37 ---> 69c6a57a0212 02:47:37 Step 13/24 : EXPOSE $APP_PORT 02:47:37 ---> Running in 609c9c129f7b 02:47:38 Removing intermediate container 609c9c129f7b 02:47:38 ---> d329ca84464f 02:47:38 Step 14/24 : WORKDIR / 02:47:38 ---> Running in 473f5e4433d3 02:47:38 Removing intermediate container 473f5e4433d3 02:47:38 ---> 2440fa360fea 02:47:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:39 ---> b296f6c5fb61 02:47:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:39 ---> 53968c8e0bd2 02:47:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:39 ---> 21314642b481 02:47:39 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:39 ---> 6b519aafe4bd 02:47:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:39 ---> 4af6c3d4fd7c 02:47:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:39 ---> Running in a7b00eeacc1f 02:47:40 Removing intermediate container a7b00eeacc1f 02:47:40 ---> a8de1268dc47 02:47:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:40 ---> Running in 2aab29e14260 02:47:40 Removing intermediate container 2aab29e14260 02:47:40 ---> c5ed3cab3ba8 02:47:40 Step 22/24 : LABEL arch=amd64 02:47:40 ---> Running in 436ad1200d18 02:47:40 Removing intermediate container 436ad1200d18 02:47:40 ---> 75f9901703c9 02:47:40 Step 23/24 : LABEL git_sha=2c6ebf06d77d34a5dd31816cd3384181c472a805 02:47:40 ---> Running in 06f750140a16 02:47:40 Removing intermediate container 06f750140a16 02:47:40 ---> 599c6bdf2f2b 02:47:40 Step 24/24 : LABEL version=0.0.0 02:47:40 ---> Running in bf199ea04d09 02:47:40 Removing intermediate container bf199ea04d09 02:47:40 ---> 702b245d77e2 02:47:40 [Warning] One or more build-args [ARCH] were not consumed 02:47:40 Successfully built 702b245d77e2 02:47:41 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 19.4% of statements 02:48:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.202s coverage: 97.1% of statements 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.142s coverage: 9.4% of statements 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.147s coverage: 21.7% of statements 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.605s coverage: 43.2% of statements 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.748s coverage: 66.5% of statements 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.180s coverage: 53.8% of statements 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.180s coverage: 26.8% of statements 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.988s coverage: 83.5% of statements 02:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 02:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:07 GO111MODULE=on go vet ./... 02:49:39 gofmt -l . 02:49:39 [ "`gofmt -l .`" = "" ] 02:49:39 ./bin/test-attribution-txt.sh 02:49:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:39 $ docker stop --time=1 1a3a1b35b9c962c0ecb78f5935100aff54b52158473dc091544a098a56e2596f 02:49:42 $ docker rm -f 1a3a1b35b9c962c0ecb78f5935100aff54b52158473dc091544a098a56e2596f [Pipeline] // withDockerContainer [Pipeline] sh 02:49:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:43 Warning: overwriting stash ‘coverage-report’ 02:49:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:45 + ls -al . 02:49:45 total 252 02:49:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 02:49 . 02:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 .. 02:49:45 -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 02:46 .dockerignore 02:49:45 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 02:46 .git 02:49:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:46 .github 02:49:45 -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 02:46 .gitignore 02:49:45 -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 02:46 Dockerfile.build 02:49:45 -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 02:46 Jenkinsfile 02:49:45 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 02:46 LICENSE 02:49:45 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 02:46 Makefile 02:49:45 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 02:46 README.md 02:49:45 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 02:46 RELEASE-NOTES.txt 02:49:45 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 02:43 VERSION 02:49:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:46 bin 02:49:45 -rw-r--r-- 1 jenkins jenkins 137880 Jan 22 02:49 coverage.out 02:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 example 02:49:45 -rw-r--r-- 1 jenkins jenkins 514 Jan 22 02:49 go.mod 02:49:45 -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 02:49 go.sum 02:49:45 drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 02:46 internal 02:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 openapi 02:49:45 drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 02:46 pkg 02:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 snap 02:49:45 -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:49:45 + 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=2c6ebf06d77d34a5dd31816cd3384181c472a805 --label arch=arm64 --label version=0.0.0 . 02:49:46 Sending build context to Docker daemon 2.745MB 02:49:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:46 Step 2/24 : FROM ${BASE} AS builder 02:49:46 ---> 2f98924176dc 02:49:46 Step 3/24 : ARG MAKE='make build' 02:49:46 ---> Running in 9783753ec546 02:49:47 Removing intermediate container 9783753ec546 02:49:47 ---> 3489b51c9a15 02:49:47 Step 4/24 : WORKDIR /device-sdk-go 02:49:47 ---> Running in 6ab355fbc90e 02:49:47 Removing intermediate container 6ab355fbc90e 02:49:47 ---> 986389a2a591 02:49:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:47 ---> Running in 535e36479d86 02:49:48 Removing intermediate container 535e36479d86 02:49:48 ---> 54f69b810512 02:49:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:48 ---> Running in 0909a08dc532 02:49:50 Removing intermediate container 0909a08dc532 02:49:50 ---> 0dcd56674b6d 02:49:50 Step 7/24 : RUN apk add --update --no-cache make git 02:49:50 ---> Running in f27e84c33fde 02:49:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:55 OK: 142 MiB in 39 packages 02:49:56 Removing intermediate container f27e84c33fde 02:49:56 ---> 84ac22623c41 02:49:56 Step 8/24 : COPY . . 02:49:57 ---> 5a8606477e5e 02:49:57 Step 9/24 : RUN ${MAKE} 02:49:57 ---> Running in 0e5702d51a5e 02:49:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:50:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:26 Removing intermediate container 0e5702d51a5e 02:50:26 ---> bc76fde39b3d 02:50:26 Step 10/24 : FROM scratch 02:50:26 ---> 02:50:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:26 ---> Running in 2197670a7dd8 02:50:26 Removing intermediate container 2197670a7dd8 02:50:26 ---> 48233fea9a40 02:50:26 Step 12/24 : ENV APP_PORT=49990 02:50:26 ---> Running in 09c3cd41cebf 02:50:27 Removing intermediate container 09c3cd41cebf 02:50:27 ---> 7e73f1dea624 02:50:27 Step 13/24 : EXPOSE $APP_PORT 02:50:27 ---> Running in 132fec491713 02:50:27 Removing intermediate container 132fec491713 02:50:27 ---> 7c166c3b958d 02:50:27 Step 14/24 : WORKDIR / 02:50:27 ---> Running in 7c72760b13df 02:50:28 Removing intermediate container 7c72760b13df 02:50:28 ---> 76fdac09ad82 02:50:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:29 ---> 7a7bede7460c 02:50:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:30 ---> 73ebaeb9d250 02:50:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:30 ---> 118132acc8d2 02:50:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:31 ---> ee5d2b397464 02:50:31 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:32 ---> 2068953eec40 02:50:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:32 ---> Running in 3ef2d1fe98fe 02:50:32 Removing intermediate container 3ef2d1fe98fe 02:50:32 ---> 46dc73c5b244 02:50:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:33 ---> Running in a9a5eb285185 02:50:33 Removing intermediate container a9a5eb285185 02:50:33 ---> 40c6532cac8f 02:50:33 Step 22/24 : LABEL arch=arm64 02:50:33 ---> Running in 4277a3cb44bf 02:50:34 Removing intermediate container 4277a3cb44bf 02:50:34 ---> 3c18920ab400 02:50:34 Step 23/24 : LABEL git_sha=2c6ebf06d77d34a5dd31816cd3384181c472a805 02:50:34 ---> Running in 27fc6090fed8 02:50:34 Removing intermediate container 27fc6090fed8 02:50:34 ---> b372ba0a1790 02:50:34 Step 24/24 : LABEL version=0.0.0 02:50:34 ---> Running in fbf960a6040c 02:50:35 Removing intermediate container fbf960a6040c 02:50:35 ---> 5e5f607fb3f9 02:50:35 [Warning] One or more build-args [ARCH] were not consumed 02:50:35 Successfully built 5e5f607fb3f9 02:50:35 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:37 provisioning config files... 02:50:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config9215672330205123270tmp [Pipeline] { [Pipeline] sh 02:50:37 + set +x 02:50:37 + bash -s -- 02:50:37 + curl -s https://codecov.io/bash 02:50:37 02:50:37 _____ _ 02:50:37 / ____| | | 02:50:37 | | ___ __| | ___ ___ _____ __ 02:50:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:37 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:37 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:37 Bash-20210115-cec3c92 02:50:37 02:50:37 02:50:37 ==> git version 2.24.3 found 02:50:37 ==> 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:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:37 ==> Jenkins CI detected. 02:50:37 project root: . 02:50:37 --> token set from env 02:50:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:37 ==> Running gcov in . (disable via -X gcov) 02:50:37 ==> Python coveragepy not found 02:50:37 ==> Searching for coverage reports in: 02:50:37 + . 02:50:38 -> Found 1 reports 02:50:38 ==> Detecting git/mercurial file structure 02:50:38 ==> Reading reports 02:50:38 + ./coverage.out bytes=137880 02:50:38 ==> Appending adjustments 02:50:38 https://docs.codecov.io/docs/fixing-reports 02:50:38 + Found adjustments 02:50:39 ==> Gzipping contents 02:50:39 24K /tmp/codecov.YWMWFM.gz 02:50:39 ==> Uploading reports 02:50:39 url: https://codecov.io 02:50:39 query: branch=PR-732&commit=2c6ebf06d77d34a5dd31816cd3384181c472a805&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:50:39 -> Pinging Codecov 02:50:39 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=2c6ebf06d77d34a5dd31816cd3384181c472a805&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:50:39 -> Uploading to 02:50:39 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/2c6ebf06d77d34a5dd31816cd3384181c472a805/32879cb0-84dd-41aa-9d31-fce0e868edec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T025039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bb83578e0923460af17aa4e37422b99e9d45dcb2f0e2da3546dcaa080894021 02:50:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:39 Dload Upload Total Spent Left Speed 02:50:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21660 0 0 100 21660 0 37354 --:--:-- --:--:-- --:--:-- 37409 02:50:40 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2c6ebf06d77d34a5dd31816cd3384181c472a805 [Pipeline] } 02:50:40 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:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:43 ---> package-listing.sh 02:50:43 ++ facter osfamily 02:50:43 ++ tr '[:upper:]' '[:lower:]' 02:50:43 + OS_FAMILY=redhat 02:50:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:50:43 + START_PACKAGES=/tmp/packages_start.txt 02:50:43 + END_PACKAGES=/tmp/packages_end.txt 02:50:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:43 + PACKAGES=/tmp/packages_start.txt 02:50:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:50:43 + PACKAGES=/tmp/packages_end.txt 02:50:43 + case "${OS_FAMILY}" in 02:50:43 + rpm -qa 02:50:43 + sort 02:50:50 + '[' -f /tmp/packages_start.txt ']' 02:50:50 + '[' -f /tmp/packages_end.txt ']' 02:50:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:50:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:50:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 02:50:50 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:51 02:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:51 alpine: Pulling from edgex-lftools-log-publisher 02:50:51 df20fa9351a1: Pulling fs layer 02:50:51 36b3adc4ff6f: Pulling fs layer 02:50:51 8ad3a11d3b57: Pulling fs layer 02:50:51 46f8f816bc3b: Pulling fs layer 02:50:51 93b61091891f: Pulling fs layer 02:50:51 93b9cdb0e59b: Pulling fs layer 02:50:51 5e14af77c1be: Pulling fs layer 02:50:51 01666e4c0597: Pulling fs layer 02:50:51 aa168da1d23b: Pulling fs layer 02:50:51 93b61091891f: Waiting 02:50:51 93b9cdb0e59b: Waiting 02:50:51 5e14af77c1be: Waiting 02:50:51 01666e4c0597: Waiting 02:50:51 aa168da1d23b: Waiting 02:50:51 46f8f816bc3b: Waiting 02:50:52 36b3adc4ff6f: Verifying Checksum 02:50:52 36b3adc4ff6f: Download complete 02:50:52 46f8f816bc3b: Verifying Checksum 02:50:52 46f8f816bc3b: Download complete 02:50:52 df20fa9351a1: Verifying Checksum 02:50:52 df20fa9351a1: Download complete 02:50:52 93b9cdb0e59b: Download complete 02:50:52 5e14af77c1be: Verifying Checksum 02:50:52 5e14af77c1be: Download complete 02:50:52 01666e4c0597: Verifying Checksum 02:50:52 01666e4c0597: Download complete 02:50:53 df20fa9351a1: Pull complete 02:50:53 8ad3a11d3b57: Verifying Checksum 02:50:53 8ad3a11d3b57: Download complete 02:50:53 93b61091891f: Verifying Checksum 02:50:53 93b61091891f: Download complete 02:50:53 36b3adc4ff6f: Pull complete 02:50:55 8ad3a11d3b57: Pull complete 02:50:55 46f8f816bc3b: Pull complete 02:50:55 93b61091891f: Pull complete 02:50:55 93b9cdb0e59b: Pull complete 02:50:56 5e14af77c1be: Pull complete 02:50:56 01666e4c0597: Pull complete 02:51:00 aa168da1d23b: Verifying Checksum 02:51:00 aa168da1d23b: Download complete 02:51:15 aa168da1d23b: Pull complete 02:51:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:16 prd-centos7-docker-4c-2g-22172 does not seem to be running inside a container 02:51:16 $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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:51:20 $ docker top 37540c8ff3437b2903b3f125f67f4a50ecf222d32d05af449959a5d225ac32aa -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:21 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:21 + mkdir -p /var/log/sa [Pipeline] sh 02:51:22 + ls /var/log/sa-host 02:51:22 + sadf -c /var/log/sa-host/sa22 02:51:22 file_magic: OK 02:51:22 HZ: Using current value: 100 02:51:22 file_header: OK 02:51:22 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:51:22 Statistics: 02:51:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:22 File successfully converted to sysstat format version 12.2.1 02:51:22 + sadf -c /var/log/sa-host/sa23 02:51:22 file_magic: OK 02:51:22 HZ: Using current value: 100 02:51:22 file_header: OK 02:51:22 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:51:22 Statistics: 02:51:22 Hnuu...uuuununununu... 02:51:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:22 provisioning config files... 02:51:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3463644381185472162tmp [Pipeline] { [Pipeline] echo 02:51:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:23 ---> create-netrc.sh [Pipeline] } 02:51:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:24 ---> python-tools-install.sh [Pipeline] echo 02:51:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:24 ---> sudo-logs.sh 02:51:24 Archiving 'sudo' log.. [Pipeline] echo 02:51:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:25 ---> job-cost.sh 02:51:25 lf-activate-venv: SKIPPING 02:51:25 INFO: No Stack... 02:51:26 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:27 INFO: Archiving Costs [Pipeline] echo 02:51:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:28 ---> logs-deploy.sh 02:51:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/6 02:51:28 INFO: archiving workspace using pattern(s): 02:51:32 Archives upload complete. 02:51:32 INFO: archiving logs to Nexus 02:51:33 ---> uname -a: 02:51:33 Linux prd-centos7-docker-4c-2g-22172.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:51:33 02:51:33 02:51:33 ---> lscpu: 02:51:33 Architecture: x86_64 02:51:33 CPU op-mode(s): 32-bit, 64-bit 02:51:33 Byte Order: Little Endian 02:51:33 Address sizes: 40 bits physical, 48 bits virtual 02:51:33 CPU(s): 4 02:51:33 On-line CPU(s) list: 0-3 02:51:33 Thread(s) per core: 1 02:51:33 Core(s) per socket: 1 02:51:33 Socket(s): 4 02:51:33 NUMA node(s): 1 02:51:33 Vendor ID: GenuineIntel 02:51:33 CPU family: 6 02:51:33 Model: 44 02:51:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:33 Stepping: 1 02:51:33 CPU MHz: 2933.438 02:51:33 BogoMIPS: 5866.87 02:51:33 Virtualization: VT-x 02:51:33 Hypervisor vendor: KVM 02:51:33 Virtualization type: full 02:51:33 L1d cache: 128 KiB 02:51:33 L1i cache: 128 KiB 02:51:33 L2 cache: 16 MiB 02:51:33 L3 cache: 64 MiB 02:51:33 NUMA node0 CPU(s): 0-3 02:51:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:33 Vulnerability Meltdown: Mitigation; PTI 02:51:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:33 Vulnerability Srbds: Not affected 02:51:33 Vulnerability Tsx async abort: Not affected 02:51:33 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:51:33 02:51:33 02:51:33 ---> nproc: 02:51:33 4 02:51:33 02:51:33 02:51:33 ---> df -h: 02:51:33 Filesystem Size Used Available Use% Mounted on 02:51:33 overlay 50.0G 7.3G 42.7G 15% / 02:51:33 tmpfs 64.0M 0 64.0M 0% /dev 02:51:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:33 shm 64.0M 0 64.0M 0% /dev/shm 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:33 02:51:33 02:51:33 ---> free -m: 02:51:33 total used free shared buff/cache available 02:51:33 Mem: 1837 690 109 0 1037 1042 02:51:33 Swap: 1023 1 1022 02:51:33 02:51:33 02:51:33 ---> ip addr: 02:51:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:33 inet 127.0.0.1/8 scope host lo 02:51:33 valid_lft forever preferred_lft forever 02:51:33 inet6 ::1/128 scope host 02:51:33 valid_lft forever preferred_lft forever 02:51:33 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:33 link/ether fa:16:3e:34:f6:fa brd ff:ff:ff:ff:ff:ff 02:51:33 inet 10.30.123.232/23 brd 10.30.123.255 scope global dynamic eth0 02:51:33 valid_lft 85810sec preferred_lft 85810sec 02:51:33 inet6 fe80::f816:3eff:fe34:f6fa/64 scope link 02:51:33 valid_lft forever preferred_lft forever 02:51:33 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:33 link/ether 02:42:f6:75:53:a4 brd ff:ff:ff:ff:ff:ff 02:51:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:33 valid_lft forever preferred_lft forever 02:51:33 inet6 fe80::42:f6ff:fe75:53a4/64 scope link 02:51:33 valid_lft forever preferred_lft forever 02:51:33 02:51:33 02:51:33 ---> sar -b -r -n DEV: 02:51:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 02:51:33 02:51:33 02:41:29 LINUX RESTART (4 CPU) 02:51:33 02:51:33 02:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:33 02:43:01 141.77 72.49 69.29 0.00 4749.60 37330.77 0.00 02:51:33 02:44:01 33.86 11.27 22.59 0.00 4419.52 2282.79 0.00 02:51:33 02:45:01 1.75 0.00 1.75 0.00 0.00 35.53 0.00 02:51:33 02:46:01 0.22 0.00 0.22 0.00 0.00 3.22 0.00 02:51:33 02:47:02 0.22 0.00 0.22 0.00 0.00 3.50 0.00 02:51:33 02:48:01 0.34 0.00 0.34 0.00 0.00 3.75 0.00 02:51:33 02:49:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 02:51:33 02:50:01 0.27 0.00 0.27 0.00 0.00 2.93 0.00 02:51:33 02:51:01 63.31 48.51 14.80 0.00 4191.32 3366.39 0.00 02:51:33 Average: 26.76 14.63 12.12 0.00 1482.75 4740.05 0.00 02:51:33 02:51:33 02:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:33 02:43:01 79864 0 553212 29.40 2620 1245848 1097512 37.46 381624 1222852 5992 02:51:33 02:44:01 162984 0 593176 31.53 2620 1122764 1160284 39.60 411608 1106424 20 02:51:33 02:45:01 176552 0 579604 30.80 2620 1122768 1064832 36.34 416236 1089996 20 02:51:33 02:46:01 174776 0 581376 30.90 2620 1122772 1065048 36.35 415400 1093276 8 02:51:33 02:47:02 174148 0 582000 30.93 2620 1122776 1065340 36.36 421812 1087108 8 02:51:33 02:48:01 174652 0 581468 30.90 2620 1122804 1054940 36.00 435656 1072796 20 02:51:33 02:49:01 175440 0 580700 30.86 2620 1122784 1054808 36.00 448196 1059748 12 02:51:33 02:50:01 175604 0 580532 30.85 2620 1122788 1054808 36.00 447956 1059748 8 02:51:33 02:51:01 72308 0 664800 35.33 2620 1141816 1499208 51.17 479156 1117804 78512 02:51:33 Average: 151814 0 588541 31.28 2620 1138569 1124087 38.36 428627 1101084 9400 02:51:33 02:51:33 02:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:33 02:43:01 eth0 190.58 141.52 636.46 71.80 0.00 0.00 0.00 0.00 02:51:33 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:44:01 eth0 121.00 96.98 477.25 62.28 0.00 0.00 0.00 0.00 02:51:33 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:44:01 docker0 8.13 7.12 1.17 21.27 0.00 0.00 0.00 0.00 02:51:33 02:45:01 eth0 2.25 0.20 0.38 0.02 0.00 0.00 0.00 0.00 02:51:33 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:46:01 eth0 2.08 0.85 0.88 0.57 0.00 0.00 0.00 0.00 02:51:33 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:47:02 eth0 0.98 0.56 0.54 0.43 0.00 0.00 0.00 0.00 02:51:33 02:47:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:47:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:48:01 eth0 0.32 0.19 0.15 0.07 0.00 0.00 0.00 0.00 02:51:33 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:49:01 eth0 0.18 0.10 0.02 0.01 0.00 0.00 0.00 0.00 02:51:33 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:50:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:51:33 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:51:01 eth0 211.03 161.12 2171.91 18.76 0.00 0.00 0.00 0.00 02:51:33 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 Average: eth0 58.64 44.57 365.53 17.06 0.00 0.00 0.00 0.00 02:51:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:33 Average: docker0 0.91 0.80 0.13 2.37 0.00 0.00 0.00 0.00 02:51:33 02:51:33 02:51:33 ---> sar -P ALL: 02:51:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 02:51:33 02:51:33 02:41:29 LINUX RESTART (4 CPU) 02:51:33 02:51:33 02:42:02 CPU %user %nice %system %iowait %steal %idle 02:51:33 02:43:01 all 13.12 0.00 7.05 8.20 36.41 35.22 02:51:33 02:43:01 0 8.46 0.00 6.06 7.50 38.15 39.83 02:51:33 02:43:01 1 11.53 0.00 7.53 9.55 36.31 35.08 02:51:33 02:43:01 2 16.20 0.00 6.19 8.84 36.02 32.75 02:51:33 02:43:01 3 16.87 0.00 8.55 6.91 34.98 32.70 02:51:33 02:44:01 all 2.74 0.00 2.51 0.86 13.94 79.95 02:51:33 02:44:01 0 2.08 0.00 2.70 1.26 15.05 78.91 02:51:33 02:44:01 1 2.77 0.00 2.64 0.87 13.69 80.04 02:51:33 02:44:01 2 3.02 0.00 2.09 0.37 14.02 80.49 02:51:33 02:44:01 3 3.12 0.00 2.60 0.92 12.98 80.38 02:51:33 02:45:01 all 0.05 0.00 0.07 0.00 1.16 98.72 02:51:33 02:45:01 0 0.02 0.00 0.05 0.00 1.40 98.53 02:51:33 02:45:01 1 0.10 0.00 0.07 0.00 1.68 98.15 02:51:33 02:45:01 2 0.10 0.00 0.08 0.00 0.81 99.01 02:51:33 02:45:01 3 0.00 0.00 0.07 0.00 0.75 99.19 02:51:33 02:46:01 all 0.09 0.00 0.12 0.00 1.84 97.95 02:51:33 02:46:01 0 0.03 0.00 0.12 0.00 1.56 98.29 02:51:33 02:46:01 1 0.15 0.00 0.08 0.00 1.68 98.09 02:51:33 02:46:01 2 0.16 0.00 0.13 0.00 1.68 98.03 02:51:33 02:46:01 3 0.03 0.00 0.15 0.00 2.43 97.39 02:51:33 02:47:02 all 0.08 0.00 0.09 0.00 1.01 98.81 02:51:33 02:47:02 0 0.07 0.00 0.10 0.00 0.87 98.96 02:51:33 02:47:02 1 0.20 0.00 0.08 0.00 1.19 98.53 02:51:33 02:47:02 2 0.02 0.00 0.12 0.00 0.51 99.35 02:51:33 02:47:02 3 0.05 0.00 0.07 0.00 1.48 98.41 02:51:33 02:48:01 all 0.08 0.00 0.14 0.00 1.40 98.39 02:51:33 02:48:01 0 0.03 0.00 0.13 0.00 1.90 97.93 02:51:33 02:48:01 1 0.18 0.00 0.08 0.00 1.49 98.24 02:51:33 02:48:01 2 0.07 0.00 0.23 0.00 1.38 98.32 02:51:33 02:48:01 3 0.02 0.00 0.12 0.00 0.81 99.06 02:51:33 02:49:01 all 0.06 0.00 0.07 0.00 0.77 99.10 02:51:33 02:49:01 0 0.03 0.00 0.05 0.00 0.97 98.94 02:51:33 02:49:01 1 0.02 0.00 0.02 0.00 0.50 99.47 02:51:33 02:49:01 2 0.17 0.00 0.05 0.00 1.16 98.63 02:51:33 02:49:01 3 0.02 0.00 0.17 0.00 0.45 99.37 02:51:33 02:50:01 all 0.07 0.00 0.03 0.00 0.76 99.14 02:51:33 02:50:01 0 0.02 0.00 0.03 0.00 0.74 99.21 02:51:33 02:50:01 1 0.00 0.00 0.02 0.00 0.79 99.19 02:51:33 02:50:01 2 0.23 0.00 0.03 0.00 1.11 98.63 02:51:33 02:50:01 3 0.02 0.00 0.03 0.00 0.40 99.55 02:51:33 02:51:01 all 1.97 0.00 1.41 1.37 7.58 87.66 02:51:33 02:51:01 0 1.47 0.00 1.58 0.15 8.46 88.35 02:51:33 02:51:01 1 1.48 0.00 1.32 2.29 8.15 86.75 02:51:33 02:51:01 2 3.23 0.00 1.53 2.29 7.00 85.94 02:51:33 02:51:01 3 1.72 0.00 1.20 0.76 6.71 89.60 02:51:33 Average: all 2.11 0.00 1.32 1.21 7.45 87.90 02:51:33 Average: 0 1.47 0.00 1.28 1.09 8.18 87.99 02:51:33 Average: 1 1.91 0.00 1.37 1.48 7.54 87.71 02:51:33 Average: 2 2.65 0.00 1.19 1.31 7.24 87.61 02:51:33 Average: 3 2.45 0.00 1.45 0.96 6.84 88.30 02:51:33 02:51:33 02:51:33