Pull request #701 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 1f15288997641a3d0d3a625c9b3944aa45f594eb rather than 98ab8c7c87f922278c574137a3eb29caffc88777 Obtained Jenkinsfile from 1f15288997641a3d0d3a625c9b3944aa45f594eb 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20152 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [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-701 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 98ab8c7c87f922278c574137a3eb29caffc88777 Merge succeeded, producing 98ab8c7c87f922278c574137a3eb29caffc88777 Checking out Revision 98ab8c7c87f922278c574137a3eb29caffc88777 (PR-701) > git config core.sparsecheckout # timeout=10 > git checkout -f 98ab8c7c87f922278c574137a3eb29caffc88777 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98ab8c7c87f922278c574137a3eb29caffc88777 # timeout=10 Commit message: "feat: Modify callback func to consist with V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:37:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:37:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:37:49 ========================================================= 03:37:49 EdgeX Global Pipelines Version Info 03:37:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 29f883aa457367488babec6e9578914e284cd7a5 # timeout=10 03:37:51 ------------------- 03:37:51 stable info: 03:37:51 ------------------- 03:37:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:37:51 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 03:37:51 Message: update stable to v1.0.177 03:37:52 ------------------- 03:37:52 experimental info: 03:37:52 ------------------- 03:37:52 Commited By: **** collab-it+edgex@linuxfoundation.org 03:37:52 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 03:37:52 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:37:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:37:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:37:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:37:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:37:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:37:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:37:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:37:54 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-701 [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-701 [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-701 [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98ab8c7c87f922278c574137a3eb29caffc88777 [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98ab8c7 [Pipeline] echo 03:37:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:37:55 provisioning config files... 03:37:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config3906125491776119313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:56 ---> docker-login.sh 03:37:56 nexus3.edgexfoundry.org:10001 03:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:56 Configure a credential helper to remove this warning. See 03:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:56 03:37:56 Login Succeeded 03:37:56 nexus3.edgexfoundry.org:10002 03:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:56 Configure a credential helper to remove this warning. See 03:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:56 03:37:56 Login Succeeded 03:37:56 nexus3.edgexfoundry.org:10003 03:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:56 Configure a credential helper to remove this warning. See 03:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:56 03:37:56 Login Succeeded 03:37:56 nexus3.edgexfoundry.org:10004 03:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:56 Configure a credential helper to remove this warning. See 03:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:56 03:37:56 Login Succeeded 03:37:56 docker.io 03:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:57 Configure a credential helper to remove this warning. See 03:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:57 03:37:57 Login Succeeded 03:37:57 ---> docker-login.sh ends [Pipeline] } 03:37:57 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 03:37:58 + git log --format=format:%s -1 98ab8c7c87f922278c574137a3eb29caffc88777 [Pipeline] echo 03:37:58 GIT_COMMIT: 98ab8c7c87f922278c574137a3eb29caffc88777, Commit Message: feat: Modify callback func to consist with V2 API [Pipeline] echo 03:37:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:37:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:37:58 03:37:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:37:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:37:59 latest: Pulling from edgex-devops/git-semver 03:37:59 31603596830f: Pulling fs layer 03:37:59 2a8b12db71e7: Pulling fs layer 03:37:59 6ca5941a6612: Pulling fs layer 03:37:59 ecc8261a40a4: Pulling fs layer 03:37:59 ecc8261a40a4: Waiting 03:37:59 2a8b12db71e7: Download complete 03:37:59 31603596830f: Verifying Checksum 03:37:59 31603596830f: Download complete 03:37:59 ecc8261a40a4: Verifying Checksum 03:37:59 ecc8261a40a4: Download complete 03:37:59 6ca5941a6612: Verifying Checksum 03:37:59 6ca5941a6612: Download complete 03:37:59 31603596830f: Pull complete 03:37:59 2a8b12db71e7: Pull complete 03:38:00 6ca5941a6612: Pull complete 03:38:00 ecc8261a40a4: Pull complete 03:38:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:38:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:38:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:38:01 prd-centos7-docker-4c-2g-20152 does not seem to be running inside a container 03:38:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@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 03:38:03 $ docker top 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:03 [ssh-agent] Looking for ssh-agent implementation... 03:38:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:03 $ docker exec 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 ssh-agent 03:38:03 SSH_AUTH_SOCK=/tmp/ssh-05k3SBFl1dU4/agent.13 03:38:03 SSH_AGENT_PID=18 03:38:03 Running ssh-add (command line suppressed) 03:38:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_2714147437359206117.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_2714147437359206117.key) 03:38:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:04 + git tag --points-at HEAD [Pipeline] } 03:38:04 $ docker exec --env ******** --env ******** 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 ssh-agent -k 03:38:04 unset SSH_AUTH_SOCK; 03:38:04 unset SSH_AGENT_PID; 03:38:04 echo Agent pid 18 killed; 03:38:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:38:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:04 [ssh-agent] Looking for ssh-agent implementation... 03:38:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:04 $ docker exec 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 ssh-agent 03:38:05 SSH_AUTH_SOCK=/tmp/ssh-wEUUidnBcfRF/agent.48 03:38:05 SSH_AGENT_PID=53 03:38:05 Running ssh-add (command line suppressed) 03:38:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_4926823841647565319.key (/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/private_key_4926823841647565319.key) 03:38:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:05 + git semver init 03:38:05 # -> Open(): unable to determine branch for HEAD 03:38:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.git 03:38:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-701 03:38:05 # $SEMVER_REMOTE_NAME = origin 03:38:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:38:05 # $SEMVER_USER_NAME = edgex-jenkins 03:38:05 # $SEMVER_BRANCH = PR-701 03:38:05 # $SEMVER_TEMP = /tmp/semver-349386495 03:38:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:38:06 # '/tmp/semver-349386495' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver' 03:38:06 # -> Force: false 03:38:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-701/.semver [Pipeline] } 03:38:06 $ docker exec --env ******** --env ******** 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 ssh-agent -k 03:38:06 unset SSH_AUTH_SOCK; 03:38:06 unset SSH_AGENT_PID; 03:38:06 echo Agent pid 53 killed; 03:38:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:06 + git semver [Pipeline] } 03:38:06 $ docker stop --time=1 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 03:38:08 $ docker rm -f 574c9bae5331a3a67753fef961d4f62e8ef46b3486c3e709ed6bf91a3ac9df60 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:38:09 Stashed 1 file(s) [Pipeline] echo 03:38:09 [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 03:38:24 Still waiting to schedule task 03:38:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:38:24 Still waiting to schedule task 03:38:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:38:45 Running on prd-centos7-docker-4c-2g-20154 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws 03:38:45 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 03:38:48 using credential edgex-jenkins-ssh 03:38:48 Cloning the remote Git repository 03:38:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:38:48 > git init /w/workspace/device-sdk-go/8 # timeout=10 03:38:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:48 > git --version # timeout=10 03:38:48 > git --version # 'git version 2.24.3' 03:38:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:38:49 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 98ab8c7c87f922278c574137a3eb29caffc88777 03:38:50 Merge succeeded, producing 98ab8c7c87f922278c574137a3eb29caffc88777 03:38:50 Checking out Revision 98ab8c7c87f922278c574137a3eb29caffc88777 (PR-701) 03:38:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:38:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:38:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:38:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:49 > git config core.sparsecheckout # timeout=10 03:38:49 > git checkout -f 98ab8c7c87f922278c574137a3eb29caffc88777 # timeout=10 03:38:49 > git remote # timeout=10 03:38:49 > git config --get remote.origin.url # timeout=10 03:38:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:49 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 03:38:49 > git rev-parse HEAD^{commit} # timeout=10 03:38:49 > git config core.sparsecheckout # timeout=10 03:38:49 > git checkout -f 98ab8c7c87f922278c574137a3eb29caffc88777 # timeout=10 03:38:53 Commit message: "feat: Modify callback func to consist with V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:54 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:38:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:38:55 + sudo service docker restart 03:38:55 + true 03:38:55 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:38:56 provisioning config files... 03:38:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3075016950485276916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:56 ---> docker-login.sh 03:38:56 nexus3.edgexfoundry.org:10001 03:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:57 Configure a credential helper to remove this warning. See 03:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:57 03:38:57 Login Succeeded 03:38:57 nexus3.edgexfoundry.org:10002 03:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:57 Configure a credential helper to remove this warning. See 03:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:57 03:38:57 Login Succeeded 03:38:57 nexus3.edgexfoundry.org:10003 03:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:57 Configure a credential helper to remove this warning. See 03:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:57 03:38:57 Login Succeeded 03:38:57 nexus3.edgexfoundry.org:10004 03:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:57 Configure a credential helper to remove this warning. See 03:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:57 03:38:57 Login Succeeded 03:38:57 docker.io 03:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:57 Configure a credential helper to remove this warning. See 03:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:57 03:38:57 Login Succeeded 03:38:57 ---> docker-login.sh ends [Pipeline] } 03:38:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:38:58 ========================================================= 03:38:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:38:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:38:58 + 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 . 03:38:58 Sending build context to Docker daemon 2.504MB 03:38:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:38:58 Step 2/8 : FROM ${BASE} 03:38:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:38:58 188c0c94c7c5: Pulling fs layer 03:38:58 0ef7d3d256c8: Pulling fs layer 03:38:58 de9db76c5a1d: Pulling fs layer 03:38:58 bca2f99d35d6: Pulling fs layer 03:38:58 93359f2a8cfa: Pulling fs layer 03:38:58 7c6f9722023f: Pulling fs layer 03:38:58 a35cf1a2eb13: Pulling fs layer 03:38:58 93359f2a8cfa: Waiting 03:38:58 7c6f9722023f: Waiting 03:38:58 bca2f99d35d6: Waiting 03:38:58 a35cf1a2eb13: Waiting 03:38:58 de9db76c5a1d: Verifying Checksum 03:38:58 de9db76c5a1d: Download complete 03:38:58 0ef7d3d256c8: Download complete 03:38:58 93359f2a8cfa: Download complete 03:38:58 188c0c94c7c5: Verifying Checksum 03:38:58 188c0c94c7c5: Download complete 03:38:58 7c6f9722023f: Verifying Checksum 03:38:58 7c6f9722023f: Download complete 03:38:59 188c0c94c7c5: Pull complete 03:38:59 0ef7d3d256c8: Pull complete 03:38:59 de9db76c5a1d: Pull complete 03:39:01 a35cf1a2eb13: Verifying Checksum 03:39:01 a35cf1a2eb13: Download complete 03:39:01 bca2f99d35d6: Verifying Checksum 03:39:01 bca2f99d35d6: Download complete 03:39:07 bca2f99d35d6: Pull complete 03:39:07 93359f2a8cfa: Pull complete 03:39:07 7c6f9722023f: Pull complete 03:39:13 a35cf1a2eb13: Pull complete 03:39:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:39:13 ---> a62c8e92a672 03:39:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:14 ---> Running in f2599aed0055 03:39:14 Removing intermediate container f2599aed0055 03:39:14 ---> c062cf175325 03:39:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:14 ---> Running in e2455aafe861 03:39:15 Removing intermediate container e2455aafe861 03:39:15 ---> 6dadf37cfd00 03:39:15 Step 5/8 : RUN apk add --update --no-cache make git 03:39:16 ---> Running in a27ec826a5e9 03:39:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:39:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:39:17 OK: 166 MiB in 39 packages 03:39:18 Removing intermediate container a27ec826a5e9 03:39:18 ---> 1d03a24a9c32 03:39:18 Step 6/8 : WORKDIR /device-sdk-go 03:39:18 ---> Running in 1d41ab7df51c 03:39:18 Removing intermediate container 1d41ab7df51c 03:39:18 ---> 4cd48bdd525d 03:39:18 Step 7/8 : COPY . . 03:39:19 ---> 0f73d5a11734 03:39:19 Step 8/8 : RUN go mod download 03:39:19 ---> Running in c3c9479f6935 03:39:41 Removing intermediate container c3c9479f6935 03:39:41 ---> 34a14f819ca6 03:39:41 Successfully built 34a14f819ca6 03:39:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:39:42 + docker inspect -f . ci-base-image-x86_64 03:39:42 . [Pipeline] withDockerContainer 03:39:42 prd-centos7-docker-4c-2g-20154 does not seem to be running inside a container 03:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:39:43 $ docker top 5a85d6889c92ba98b0ba62b7728dc0e31d6127f4f0a29cf7a0511ae0eeeb56d7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:44 + go version 03:39:44 go version go1.15.5 linux/amd64 [Pipeline] } 03:39:44 $ docker stop --time=1 5a85d6889c92ba98b0ba62b7728dc0e31d6127f4f0a29cf7a0511ae0eeeb56d7 03:39:45 $ docker rm -f 5a85d6889c92ba98b0ba62b7728dc0e31d6127f4f0a29cf7a0511ae0eeeb56d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:39:46 + docker inspect -f . ci-base-image-x86_64 03:39:46 . [Pipeline] withDockerContainer 03:39:46 prd-centos7-docker-4c-2g-20154 does not seem to be running inside a container 03:39:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:39:47 $ docker top 294869135d105b218bff7abd9ed7ffc465e0fd054a969ccf3701d6c53642210e -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:48 + make test 03:39:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:39:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:40:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:40:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:40:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:40:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.079s coverage: 19.4% of statements 03:40:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20155 in /w/workspace/dgexfoundry_device-sdk-go_PR-701 [Pipeline] { [Pipeline] ws 03:40:11 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 03:40:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.472s coverage: 97.1% of statements 03:40:16 using credential edgex-jenkins-ssh 03:40:16 Cloning the remote Git repository 03:40:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:40:17 > git init /w/workspace/device-sdk-go/8 # timeout=10 03:40:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:40:17 > git --version # timeout=10 03:40:17 > git --version # 'git version 2.17.1' 03:40:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:40:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:40:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:40:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:40:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:40:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:40:19 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 98ab8c7c87f922278c574137a3eb29caffc88777 03:40:19 Merge succeeded, producing 98ab8c7c87f922278c574137a3eb29caffc88777 03:40:19 Checking out Revision 98ab8c7c87f922278c574137a3eb29caffc88777 (PR-701) 03:40:19 > git config core.sparsecheckout # timeout=10 03:40:19 > git checkout -f 98ab8c7c87f922278c574137a3eb29caffc88777 # timeout=10 03:40:19 > git remote # timeout=10 03:40:19 > git config --get remote.origin.url # timeout=10 03:40:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:19 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 03:40:19 > git rev-parse HEAD^{commit} # timeout=10 03:40:19 > git config core.sparsecheckout # timeout=10 03:40:19 > git checkout -f 98ab8c7c87f922278c574137a3eb29caffc88777 # timeout=10 03:40:23 Commit message: "feat: Modify callback func to consist with V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:40:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:40:26 + sudo service docker restart 03:40:26 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:40:28 provisioning config files... 03:40:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config7916645060580526911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:28 ---> docker-login.sh 03:40:28 nexus3.edgexfoundry.org:10001 03:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:30 Configure a credential helper to remove this warning. See 03:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:30 03:40:30 Login Succeeded 03:40:30 nexus3.edgexfoundry.org:10002 03:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:30 Configure a credential helper to remove this warning. See 03:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:30 03:40:30 Login Succeeded 03:40:30 nexus3.edgexfoundry.org:10003 03:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:31 Configure a credential helper to remove this warning. See 03:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:31 03:40:31 Login Succeeded 03:40:31 nexus3.edgexfoundry.org:10004 03:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:31 Configure a credential helper to remove this warning. See 03:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:31 03:40:31 Login Succeeded 03:40:31 docker.io 03:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:32 Configure a credential helper to remove this warning. See 03:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:32 03:40:32 Login Succeeded 03:40:32 ---> docker-login.sh ends [Pipeline] } 03:40:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:40:32 ========================================================= 03:40:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:40:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:40:33 + 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 . 03:40:33 Sending build context to Docker daemon 2.503MB 03:40:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:40:33 Step 2/8 : FROM ${BASE} 03:40:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:40:33 5f621e34cdf4: Pulling fs layer 03:40:33 a4357932f1b6: Pulling fs layer 03:40:33 18c013af1878: Pulling fs layer 03:40:33 00ac8860ef70: Pulling fs layer 03:40:33 63d7cb157983: Pulling fs layer 03:40:33 b116817d02f9: Pulling fs layer 03:40:33 745a02a5169b: Pulling fs layer 03:40:33 00ac8860ef70: Waiting 03:40:33 63d7cb157983: Waiting 03:40:33 b116817d02f9: Waiting 03:40:33 745a02a5169b: Waiting 03:40:33 18c013af1878: Verifying Checksum 03:40:33 18c013af1878: Download complete 03:40:33 a4357932f1b6: Download complete 03:40:33 63d7cb157983: Verifying Checksum 03:40:33 63d7cb157983: Download complete 03:40:33 5f621e34cdf4: Download complete 03:40:33 b116817d02f9: Download complete 03:40:34 5f621e34cdf4: Pull complete 03:40:35 a4357932f1b6: Pull complete 03:40:35 18c013af1878: Pull complete 03:40:36 745a02a5169b: Verifying Checksum 03:40:36 745a02a5169b: Download complete 03:40:37 00ac8860ef70: Verifying Checksum 03:40:37 00ac8860ef70: Download complete 03:40:44 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements 03:40:44 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.7% of statements 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:40:44 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.250s coverage: 42.9% of statements 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:40:44 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 68.9% of statements 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 03:40:44 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 53.8% of statements 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 03:40:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 03:40:44 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.070s coverage: 30.4% of statements 03:40:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.616s coverage: 68.9% of statements 03:40:44 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 03:40:44 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:40:44 GO111MODULE=on go vet ./... 03:40:47 00ac8860ef70: Pull complete 03:40:47 63d7cb157983: Pull complete 03:40:48 b116817d02f9: Pull complete 03:40:52 745a02a5169b: Pull complete 03:40:52 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:40:52 ---> b7e6874047d6 03:40:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:40:52 gofmt -l . 03:40:52 [ "`gofmt -l .`" = "" ] 03:40:52 ./bin/test-attribution-txt.sh 03:40:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:40:53 $ docker stop --time=1 294869135d105b218bff7abd9ed7ffc465e0fd054a969ccf3701d6c53642210e 03:40:54 ---> Running in 6789f101017d 03:40:54 Removing intermediate container 6789f101017d 03:40:54 ---> 73d5aad3d937 03:40:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:40:54 ---> Running in c0d888540daa 03:40:55 $ docker rm -f 294869135d105b218bff7abd9ed7ffc465e0fd054a969ccf3701d6c53642210e [Pipeline] // withDockerContainer [Pipeline] sh 03:40:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:40:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:40:57 Removing intermediate container c0d888540daa 03:40:57 ---> bb4b9c38c452 03:40:57 Step 5/8 : RUN apk add --update --no-cache make git 03:40:57 ---> Running in 869d782b1278 03:40:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] sh 03:40:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:40:59 + ls -al . 03:40:59 total 216 03:40:59 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 14 03:40 . 03:40:59 drwxrwxr-x. 4 jenkins jenkins 28 Jan 14 03:38 .. 03:40:59 drwxrwxr-x. 2 jenkins jenkins 64 Jan 14 03:38 bin 03:40:59 -rw-r--r--. 1 jenkins jenkins 137957 Jan 14 03:40 coverage.out 03:40:59 -rw-rw-r--. 1 jenkins jenkins 949 Jan 14 03:38 Dockerfile.build 03:40:59 -rw-rw-r--. 1 jenkins jenkins 140 Jan 14 03:38 .dockerignore 03:40:59 drwxrwxr-x. 4 jenkins jenkins 48 Jan 14 03:38 example 03:40:59 drwxrwxr-x. 8 jenkins jenkins 179 Jan 14 03:38 .git 03:40:59 drwxrwxr-x. 2 jenkins jenkins 103 Jan 14 03:38 .github 03:40:59 -rw-rw-r--. 1 jenkins jenkins 138 Jan 14 03:38 .gitignore 03:40:59 -rw-r--r--. 1 jenkins jenkins 488 Jan 14 03:40 go.mod 03:40:59 -rw-r--r--. 1 jenkins jenkins 14124 Jan 14 03:40 go.sum 03:40:59 drwxrwxr-x. 15 jenkins jenkins 211 Jan 14 03:38 internal 03:40:59 -rw-rw-r--. 1 jenkins jenkins 901 Jan 14 03:38 Jenkinsfile 03:40:59 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 14 03:38 LICENSE 03:40:59 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 14 03:38 Makefile 03:40:59 drwxrwxr-x. 4 jenkins jenkins 26 Jan 14 03:38 openapi 03:40:59 drwxrwxr-x. 5 jenkins jenkins 50 Jan 14 03:38 pkg 03:40:59 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 14 03:38 README.md 03:40:59 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 14 03:38 RELEASE-NOTES.txt 03:40:59 drwxrwxr-x. 4 jenkins jenkins 54 Jan 14 03:38 snap 03:40:59 -rw-rw-r--. 1 jenkins jenkins 5 Jan 14 03:38 VERSION 03:40:59 -rw-rw-r--. 1 jenkins jenkins 222 Jan 14 03:38 version.go [Pipeline] isUnix [Pipeline] sh 03:40:59 + 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=98ab8c7c87f922278c574137a3eb29caffc88777 --label arch=amd64 --label version=0.0.0 . 03:40:59 OK: 142 MiB in 39 packages 03:40:59 Sending build context to Docker daemon 2.642MB 03:40:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:40:59 Step 2/24 : FROM ${BASE} AS builder 03:40:59 ---> 34a14f819ca6 03:40:59 Step 3/24 : ARG MAKE='make build' 03:41:00 ---> Running in 37dd48520b37 03:41:00 Removing intermediate container 869d782b1278 03:41:00 ---> b9f087abadf5 03:41:00 Step 6/8 : WORKDIR /device-sdk-go 03:41:00 Removing intermediate container 37dd48520b37 03:41:00 ---> 88a6f648589e 03:41:00 Step 4/24 : WORKDIR /device-sdk-go 03:41:00 ---> Running in adc25b8c79bf 03:41:01 ---> Running in 156a75361f7c 03:41:01 Removing intermediate container adc25b8c79bf 03:41:01 ---> 2ac49cc31481 03:41:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:01 ---> Running in d627a85f1498 03:41:01 Removing intermediate container d627a85f1498 03:41:01 ---> ec8d44630c45 03:41:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:01 ---> Running in b52dfa5d8b9a 03:41:01 Removing intermediate container 156a75361f7c 03:41:01 ---> a31f1d7d304d 03:41:01 Step 7/8 : COPY . . 03:41:02 Removing intermediate container b52dfa5d8b9a 03:41:02 ---> 25fdb8b6a766 03:41:02 Step 7/24 : RUN apk add --update --no-cache make git 03:41:02 ---> Running in 662cedc3d714 03:41:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:41:03 ---> 906facf67666 03:41:03 Step 8/8 : RUN go mod download 03:41:03 ---> Running in 74f1012fa39f 03:41:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:41:04 OK: 166 MiB in 39 packages 03:41:04 Removing intermediate container 662cedc3d714 03:41:04 ---> 363564d479b3 03:41:04 Step 8/24 : COPY . . 03:41:05 ---> 4b2bca83922d 03:41:05 Step 9/24 : RUN ${MAKE} 03:41:05 ---> Running in 100fd82ca456 03:41:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:41:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:41:17 Removing intermediate container 100fd82ca456 03:41:17 ---> aa67cdb0eeec 03:41:17 Step 10/24 : FROM scratch 03:41:17 ---> 03:41:17 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:17 ---> Running in b5f409707ea0 03:41:17 Removing intermediate container b5f409707ea0 03:41:17 ---> 76e12bdafe67 03:41:17 Step 12/24 : ENV APP_PORT=49990 03:41:17 ---> Running in a94f5b2b8b18 03:41:17 Removing intermediate container a94f5b2b8b18 03:41:17 ---> 7081573c3f37 03:41:17 Step 13/24 : EXPOSE $APP_PORT 03:41:17 ---> Running in d608ea2a4a92 03:41:17 Removing intermediate container d608ea2a4a92 03:41:17 ---> 750e012c9d50 03:41:17 Step 14/24 : WORKDIR / 03:41:17 ---> Running in f5012b254c0b 03:41:17 Removing intermediate container f5012b254c0b 03:41:17 ---> 692a77ff5bdf 03:41:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:41:17 ---> ded50e549692 03:41:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:41:18 ---> 7186abff1de4 03:41:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:41:18 ---> 3fb540afe6c8 03:41:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:41:18 ---> 71a295b5e913 03:41:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:41:18 ---> 2d0fe117ab47 03:41:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:41:18 ---> Running in feb53112a927 03:41:19 Removing intermediate container feb53112a927 03:41:19 ---> b89233455cb9 03:41:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:41:19 ---> Running in a52b327ebbd7 03:41:19 Removing intermediate container a52b327ebbd7 03:41:19 ---> 7ff87692324a 03:41:19 Step 22/24 : LABEL arch=amd64 03:41:19 ---> Running in c672b7e181fc 03:41:19 Removing intermediate container c672b7e181fc 03:41:19 ---> 387edd6fa5a1 03:41:19 Step 23/24 : LABEL git_sha=98ab8c7c87f922278c574137a3eb29caffc88777 03:41:19 ---> Running in bfe5bb4e7efb 03:41:19 Removing intermediate container bfe5bb4e7efb 03:41:19 ---> cc2eeadffe7a 03:41:19 Step 24/24 : LABEL version=0.0.0 03:41:19 ---> Running in 7d5d39c4f83d 03:41:20 Removing intermediate container 7d5d39c4f83d 03:41:20 ---> 4232c32840b7 03:41:20 [Warning] One or more build-args [ARCH] were not consumed 03:41:20 Successfully built 4232c32840b7 03:41:20 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] } 03:41:25 Removing intermediate container 74f1012fa39f 03:41:25 ---> 13f78b81633e 03:41:25 Successfully built 13f78b81633e 03:41:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:41:25 + docker inspect -f . ci-base-image-arm64 03:41:25 . [Pipeline] withDockerContainer 03:41:25 prd-ubuntu18.04-docker-arm64-4c-16g-20155 does not seem to be running inside a container 03:41:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:41:27 $ docker top dfcfddf2075ead55954c1ba950c300e3255a4014ff180bbc0a483250fb29d648 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:28 + go version 03:41:28 go version go1.15.5 linux/arm64 [Pipeline] } 03:41:28 $ docker stop --time=1 dfcfddf2075ead55954c1ba950c300e3255a4014ff180bbc0a483250fb29d648 03:41:30 $ docker rm -f dfcfddf2075ead55954c1ba950c300e3255a4014ff180bbc0a483250fb29d648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:41:31 + docker inspect -f . ci-base-image-arm64 03:41:31 . [Pipeline] withDockerContainer 03:41:31 prd-ubuntu18.04-docker-arm64-4c-16g-20155 does not seem to be running inside a container 03:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:41:33 $ docker top 4f9a145e63e8bb6a7b54daf61466087c996f5482414ed8c1570f1c4bb44e0114 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:34 + make test 03:41:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:41:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:42:35 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:42:35 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:42:35 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:42:35 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.141s coverage: 19.4% of statements 03:42:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.165s coverage: 97.1% of statements 03:43:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.147s coverage: 9.4% of statements 03:43:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.7% of statements 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:43:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.629s coverage: 42.9% of statements 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:43:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.766s coverage: 68.9% of statements 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 03:43:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.196s coverage: 53.8% of statements 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 03:43:07 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.182s coverage: 30.4% of statements 03:43:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.920s coverage: 68.9% of statements 03:43:07 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.2% of statements 03:43:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:43:07 GO111MODULE=on go vet ./... 03:43:47 gofmt -l . 03:43:47 [ "`gofmt -l .`" = "" ] 03:43:47 ./bin/test-attribution-txt.sh 03:43:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:43:47 $ docker stop --time=1 4f9a145e63e8bb6a7b54daf61466087c996f5482414ed8c1570f1c4bb44e0114 03:43:49 $ docker rm -f 4f9a145e63e8bb6a7b54daf61466087c996f5482414ed8c1570f1c4bb44e0114 [Pipeline] // withDockerContainer [Pipeline] sh 03:43:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:43:50 Warning: overwriting stash ‘coverage-report’ 03:43:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:43:52 + ls -al . 03:43:52 total 252 03:43:52 drwxrwxr-x 10 jenkins jenkins 4096 Jan 14 03:43 . 03:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 03:40 .. 03:43:52 -rw-rw-r-- 1 jenkins jenkins 140 Jan 14 03:40 .dockerignore 03:43:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 03:40 .git 03:43:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 03:40 .github 03:43:52 -rw-rw-r-- 1 jenkins jenkins 138 Jan 14 03:40 .gitignore 03:43:52 -rw-rw-r-- 1 jenkins jenkins 949 Jan 14 03:40 Dockerfile.build 03:43:52 -rw-rw-r-- 1 jenkins jenkins 901 Jan 14 03:40 Jenkinsfile 03:43:52 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 14 03:40 LICENSE 03:43:52 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 14 03:40 Makefile 03:43:52 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 14 03:40 README.md 03:43:52 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 14 03:40 RELEASE-NOTES.txt 03:43:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 14 03:38 VERSION 03:43:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 03:40 bin 03:43:52 -rw-r--r-- 1 jenkins jenkins 137957 Jan 14 03:43 coverage.out 03:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 03:40 example 03:43:52 -rw-r--r-- 1 jenkins jenkins 488 Jan 14 03:43 go.mod 03:43:52 -rw-r--r-- 1 jenkins jenkins 14124 Jan 14 03:43 go.sum 03:43:52 drwxrwxr-x 15 jenkins jenkins 4096 Jan 14 03:40 internal 03:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 03:40 openapi 03:43:52 drwxrwxr-x 5 jenkins jenkins 4096 Jan 14 03:40 pkg 03:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 03:40 snap 03:43:52 -rw-rw-r-- 1 jenkins jenkins 222 Jan 14 03:40 version.go [Pipeline] isUnix [Pipeline] sh 03:43:52 + 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=98ab8c7c87f922278c574137a3eb29caffc88777 --label arch=arm64 --label version=0.0.0 . 03:43:53 Sending build context to Docker daemon 2.642MB 03:43:53 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:43:53 Step 2/24 : FROM ${BASE} AS builder 03:43:53 ---> 13f78b81633e 03:43:53 Step 3/24 : ARG MAKE='make build' 03:43:53 ---> Running in 9e7adb9599f5 03:43:53 Removing intermediate container 9e7adb9599f5 03:43:53 ---> d7fe0cc02e29 03:43:53 Step 4/24 : WORKDIR /device-sdk-go 03:43:54 ---> Running in dc57bb87f57d 03:43:54 Removing intermediate container dc57bb87f57d 03:43:54 ---> 00587437dd02 03:43:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:54 ---> Running in 54dc0fb73117 03:43:54 Removing intermediate container 54dc0fb73117 03:43:54 ---> 6f48b0ff5aaa 03:43:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:55 ---> Running in ffcb50106cd1 03:43:57 Removing intermediate container ffcb50106cd1 03:43:57 ---> 7d3b6b2b7ca5 03:43:57 Step 7/24 : RUN apk add --update --no-cache make git 03:43:57 ---> Running in 12599c4bf5e0 03:43:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:43:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:44:00 OK: 142 MiB in 39 packages 03:44:01 Removing intermediate container 12599c4bf5e0 03:44:01 ---> 2f285c4fb35d 03:44:01 Step 8/24 : COPY . . 03:44:02 ---> 0d3485e7a686 03:44:02 Step 9/24 : RUN ${MAKE} 03:44:02 ---> Running in 18b8fb76b9f3 03:44:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:44:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:44:30 Removing intermediate container 18b8fb76b9f3 03:44:30 ---> f3f0f5a5a6ae 03:44:30 Step 10/24 : FROM scratch 03:44:30 ---> 03:44:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:44:30 ---> Running in e081b00ee1cf 03:44:30 Removing intermediate container e081b00ee1cf 03:44:30 ---> f47cf7331517 03:44:30 Step 12/24 : ENV APP_PORT=49990 03:44:30 ---> Running in 68d2b20784e2 03:44:31 Removing intermediate container 68d2b20784e2 03:44:31 ---> 1747fc5eb182 03:44:31 Step 13/24 : EXPOSE $APP_PORT 03:44:31 ---> Running in b07118f9e21f 03:44:31 Removing intermediate container b07118f9e21f 03:44:31 ---> df5ef1f73e36 03:44:31 Step 14/24 : WORKDIR / 03:44:32 ---> Running in 08214aed4707 03:44:32 Removing intermediate container 08214aed4707 03:44:32 ---> e718bd16ca81 03:44:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:44:33 ---> 92eb10cff62a 03:44:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:44:34 ---> 3775641010da 03:44:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:44:34 ---> 9b4cafeac813 03:44:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:44:35 ---> 2507b41ee841 03:44:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:44:36 ---> d8d5bac0de83 03:44:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:44:36 ---> Running in 02fe6370a841 03:44:37 Removing intermediate container 02fe6370a841 03:44:37 ---> 2cf129c3fc24 03:44:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:44:37 ---> Running in 9c7e2dabc533 03:44:37 Removing intermediate container 9c7e2dabc533 03:44:37 ---> 63f74f16135f 03:44:37 Step 22/24 : LABEL arch=arm64 03:44:37 ---> Running in a5cfb03a0b1a 03:44:37 Removing intermediate container a5cfb03a0b1a 03:44:37 ---> 60feb63fc3ce 03:44:37 Step 23/24 : LABEL git_sha=98ab8c7c87f922278c574137a3eb29caffc88777 03:44:38 ---> Running in 6844eea47782 03:44:38 Removing intermediate container 6844eea47782 03:44:38 ---> cc6af1c4c459 03:44:38 Step 24/24 : LABEL version=0.0.0 03:44:38 ---> Running in 560a5c079fdc 03:44:39 Removing intermediate container 560a5c079fdc 03:44:39 ---> d02dc6d4d89c 03:44:39 [Warning] One or more build-args [ARCH] were not consumed 03:44:39 Successfully built d02dc6d4d89c 03:44:39 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 03:44:40 provisioning config files... 03:44:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config4841269520801628360tmp [Pipeline] { [Pipeline] sh 03:44:41 + set +x 03:44:41 + curl -s https://codecov.io/bash 03:44:41 + bash -s -- 03:44:41 03:44:41 _____ _ 03:44:41 / ____| | | 03:44:41 | | ___ __| | ___ ___ _____ __ 03:44:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:41 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:41 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:41 Bash-20201231-23d4836 03:44:41 03:44:41 03:44:41 ==> git version 2.24.3 found 03:44:41 ==> 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 03:44:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:44:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:44:41 ==> Jenkins CI detected. 03:44:41 project root: . 03:44:41 --> token set from env 03:44:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:41 ==> Running gcov in . (disable via -X gcov) 03:44:41 ==> Python coveragepy not found 03:44:41 ==> Searching for coverage reports in: 03:44:41 + . 03:44:41 -> Found 1 reports 03:44:41 ==> Detecting git/mercurial file structure 03:44:41 ==> Reading reports 03:44:41 + ./coverage.out bytes=137957 03:44:41 ==> Appending adjustments 03:44:41 https://docs.codecov.io/docs/fixing-reports 03:44:42 + Found adjustments 03:44:42 ==> Gzipping contents 03:44:42 24K /tmp/codecov.7MGte3.gz 03:44:42 ==> Uploading reports 03:44:42 url: https://codecov.io 03:44:42 query: branch=PR-701&commit=98ab8c7c87f922278c574137a3eb29caffc88777&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-701%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=701&job=&cmd_args= 03:44:42 -> Pinging Codecov 03:44:42 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-701&commit=98ab8c7c87f922278c574137a3eb29caffc88777&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-701%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=701&job=&cmd_args= 03:44:42 -> Uploading to 03:44:42 https://storage.googleapis.com/codecov/v4/raw/2021-01-14/7E55EF52A471D76F132DFD9A03CDDE97/98ab8c7c87f922278c574137a3eb29caffc88777/400f27e3-bc06-4e61-a004-afcb3067fe33.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210114T034442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad05988899c2f7cccfabfa15c75106637fb30c6744fc83de2b3438c6dbeb1453 03:44:42 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:42 Dload Upload Total Spent Left Speed 03:44:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22070 0 0 100 22070 0 42457 --:--:-- --:--:-- --:--:-- 42442 100 22070 0 0 100 22070 0 42445 --:--:-- --:--:-- --:--:-- 42442 03:44:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/98ab8c7c87f922278c574137a3eb29caffc88777 [Pipeline] } 03:44:43 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 03:44:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:44:45 ---> package-listing.sh 03:44:45 ++ facter osfamily 03:44:45 ++ tr '[:upper:]' '[:lower:]' 03:44:45 + OS_FAMILY=redhat 03:44:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-701 03:44:45 + START_PACKAGES=/tmp/packages_start.txt 03:44:45 + END_PACKAGES=/tmp/packages_end.txt 03:44:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:44:45 + PACKAGES=/tmp/packages_start.txt 03:44:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' 03:44:45 + PACKAGES=/tmp/packages_end.txt 03:44:45 + case "${OS_FAMILY}" in 03:44:45 + rpm -qa 03:44:45 + sort 03:44:51 + '[' -f /tmp/packages_start.txt ']' 03:44:51 + '[' -f /tmp/packages_end.txt ']' 03:44:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-701 ']' 03:44:51 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ 03:44:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-701/archives/ [Pipeline] echo 03:44:51 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-701/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:44:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:44:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:44:51 03:44:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:44:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:44:52 alpine: Pulling from edgex-lftools-log-publisher 03:44:52 df20fa9351a1: Pulling fs layer 03:44:52 36b3adc4ff6f: Pulling fs layer 03:44:52 8ad3a11d3b57: Pulling fs layer 03:44:52 46f8f816bc3b: Pulling fs layer 03:44:52 93b61091891f: Pulling fs layer 03:44:52 93b9cdb0e59b: Pulling fs layer 03:44:52 5e14af77c1be: Pulling fs layer 03:44:52 01666e4c0597: Pulling fs layer 03:44:52 aa168da1d23b: Pulling fs layer 03:44:52 93b9cdb0e59b: Waiting 03:44:52 5e14af77c1be: Waiting 03:44:52 01666e4c0597: Waiting 03:44:52 aa168da1d23b: Waiting 03:44:52 46f8f816bc3b: Waiting 03:44:52 93b61091891f: Waiting 03:44:52 36b3adc4ff6f: Verifying Checksum 03:44:52 36b3adc4ff6f: Download complete 03:44:52 46f8f816bc3b: Verifying Checksum 03:44:52 46f8f816bc3b: Download complete 03:44:52 df20fa9351a1: Verifying Checksum 03:44:52 df20fa9351a1: Download complete 03:44:52 93b9cdb0e59b: Verifying Checksum 03:44:52 93b9cdb0e59b: Download complete 03:44:52 93b61091891f: Verifying Checksum 03:44:52 93b61091891f: Download complete 03:44:52 5e14af77c1be: Verifying Checksum 03:44:52 5e14af77c1be: Download complete 03:44:52 01666e4c0597: Verifying Checksum 03:44:52 01666e4c0597: Download complete 03:44:52 df20fa9351a1: Pull complete 03:44:52 36b3adc4ff6f: Pull complete 03:44:52 8ad3a11d3b57: Verifying Checksum 03:44:52 8ad3a11d3b57: Download complete 03:44:53 8ad3a11d3b57: Pull complete 03:44:53 46f8f816bc3b: Pull complete 03:44:54 93b61091891f: Pull complete 03:44:54 93b9cdb0e59b: Pull complete 03:44:54 5e14af77c1be: Pull complete 03:44:54 aa168da1d23b: Verifying Checksum 03:44:54 aa168da1d23b: Download complete 03:44:54 01666e4c0597: Pull complete 03:45:01 aa168da1d23b: Pull complete 03:45:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:45:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:45:01 prd-centos7-docker-4c-2g-20152 does not seem to be running inside a container 03:45:01 $ 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-701/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-701 -v /w/workspace/dgexfoundry_device-sdk-go_PR-701:/w/workspace/dgexfoundry_device-sdk-go_PR-701:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-701@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 03:45:04 $ docker top 4d510596c04b8f212a7b5da2d039a9ba525b4109c2b42d8823365463d44f3a6e -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:05 + touch /tmp/pre-build-complete [Pipeline] sh 03:45:05 + mkdir -p /var/log/sa [Pipeline] sh 03:45:05 + ls /var/log/sa-host 03:45:05 + sadf -c /var/log/sa-host/sa14 03:45:05 file_magic: OK 03:45:05 HZ: Using current value: 100 03:45:05 file_header: OK 03:45:05 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 03:45:05 Statistics: 03:45:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:45:05 File successfully converted to sysstat format version 12.2.1 03:45:05 + sadf -c /var/log/sa-host/sa23 03:45:05 file_magic: OK 03:45:05 HZ: Using current value: 100 03:45:05 file_header: OK 03:45:05 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 03:45:05 Statistics: 03:45:05 Hnuu...uuuununununu... 03:45:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:06 provisioning config files... 03:45:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-701@tmp/config7317606096747412920tmp [Pipeline] { [Pipeline] echo 03:45:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:45:06 ---> create-netrc.sh [Pipeline] } 03:45:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:45:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:45:06 ---> python-tools-install.sh [Pipeline] echo 03:45:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:45:07 ---> sudo-logs.sh 03:45:07 Archiving 'sudo' log.. [Pipeline] echo 03:45:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:45:07 ---> job-cost.sh 03:45:07 lf-activate-venv: SKIPPING 03:45:07 INFO: No Stack... 03:45:08 INFO: Retrieving Pricing Info for: v1-standard-2 03:45:09 INFO: Archiving Costs [Pipeline] echo 03:45:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:45:09 ---> logs-deploy.sh 03:45:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-701/8 03:45:09 INFO: archiving workspace using pattern(s): 03:45:11 Archives upload complete. 03:45:11 INFO: archiving logs to Nexus