Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b054e30a1ca050dedc0171177f0940359ff92956+d47b03cf12e2f169eefdaad978a8d5668b399891 (6da4cd9c8b382ae9dfed25c8d5138f7bc50ad970) 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21045 in /w/workspace/dgexfoundry_device-sdk-go_PR-727 [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-727 # 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 d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit b054e30a1ca050dedc0171177f0940359ff92956 Merge succeeded, producing a464b56418e8fdefe04545dd4c0dfda115c3cb5b Checking out Revision a464b56418e8fdefe04545dd4c0dfda115c3cb5b (PR-727) > 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/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # 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 d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a464b56418e8fdefe04545dd4c0dfda115c3cb5b # timeout=10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" > git rev-list --no-walk b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:19 ========================================================= 02:43:19 EdgeX Global Pipelines Version Info 02:43:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:21 ------------------- 02:43:21 stable info: 02:43:21 ------------------- 02:43:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:21 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 02:43:21 Message: update stable to v1.0.177 02:43:22 ------------------- 02:43:22 experimental info: 02:43:22 ------------------- 02:43:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:22 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 02:43:22 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-727 [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-727 [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-727 [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a464b56418e8fdefe04545dd4c0dfda115c3cb5b [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a464b56 [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:26 provisioning config files... 02:43:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/config7031135366624535993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:26 ---> docker-login.sh 02:43:26 nexus3.edgexfoundry.org:10001 02:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:27 Configure a credential helper to remove this warning. See 02:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:27 02:43:27 Login Succeeded 02:43:27 nexus3.edgexfoundry.org:10002 02:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:27 Configure a credential helper to remove this warning. See 02:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:27 02:43:27 Login Succeeded 02:43:27 nexus3.edgexfoundry.org:10003 02:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:28 Configure a credential helper to remove this warning. See 02:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:28 02:43:28 Login Succeeded 02:43:28 nexus3.edgexfoundry.org:10004 02:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:28 Configure a credential helper to remove this warning. See 02:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:28 02:43:28 Login Succeeded 02:43:28 docker.io 02:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:29 Configure a credential helper to remove this warning. See 02:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:29 02:43:29 Login Succeeded 02:43:29 ---> docker-login.sh ends [Pipeline] } 02:43:29 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:30 + git log --format=format:%s -1 a464b56418e8fdefe04545dd4c0dfda115c3cb5b [Pipeline] echo 02:43:30 GIT_COMMIT: a464b56418e8fdefe04545dd4c0dfda115c3cb5b, Commit Message: Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD [Pipeline] echo 02:43:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:31 02:43:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:31 latest: Pulling from edgex-devops/git-semver 02:43:31 31603596830f: Pulling fs layer 02:43:31 2a8b12db71e7: Pulling fs layer 02:43:31 6ca5941a6612: Pulling fs layer 02:43:31 ecc8261a40a4: Pulling fs layer 02:43:31 ecc8261a40a4: Waiting 02:43:31 2a8b12db71e7: Verifying Checksum 02:43:31 2a8b12db71e7: Download complete 02:43:32 31603596830f: Verifying Checksum 02:43:32 31603596830f: Download complete 02:43:32 ecc8261a40a4: Verifying Checksum 02:43:32 ecc8261a40a4: Download complete 02:43:32 6ca5941a6612: Verifying Checksum 02:43:32 6ca5941a6612: Download complete 02:43:32 31603596830f: Pull complete 02:43:33 2a8b12db71e7: Pull complete 02:43:34 6ca5941a6612: Pull complete 02:43:35 ecc8261a40a4: Pull complete 02:43:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:35 prd-centos7-docker-4c-2g-21045 does not seem to be running inside a container 02:43:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-727 -v /w/workspace/dgexfoundry_device-sdk-go_PR-727:/w/workspace/dgexfoundry_device-sdk-go_PR-727:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:39 $ docker top 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:39 [ssh-agent] Looking for ssh-agent implementation... 02:43:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:40 $ docker exec 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd ssh-agent 02:43:40 SSH_AUTH_SOCK=/tmp/ssh-o7Y7Y1G91tgg/agent.11 02:43:40 SSH_AGENT_PID=16 02:43:40 Running ssh-add (command line suppressed) 02:43:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_2334933109020938375.key (/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_2334933109020938375.key) 02:43:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:41 + git tag --points-at HEAD [Pipeline] } 02:43:41 $ docker exec --env ******** --env ******** 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd ssh-agent -k 02:43:41 unset SSH_AUTH_SOCK; 02:43:41 unset SSH_AGENT_PID; 02:43:41 echo Agent pid 16 killed; 02:43:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:41 [ssh-agent] Looking for ssh-agent implementation... 02:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:42 $ docker exec 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd ssh-agent 02:43:42 SSH_AUTH_SOCK=/tmp/ssh-duwww21Q8AQo/agent.45 02:43:42 SSH_AGENT_PID=50 02:43:42 Running ssh-add (command line suppressed) 02:43:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_7698641119659196514.key (/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/private_key_7698641119659196514.key) 02:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:43 + git semver init 02:43:43 # -> Open(): unable to determine branch for HEAD 02:43:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-727/.git 02:43:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-727 02:43:43 # $SEMVER_REMOTE_NAME = origin 02:43:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:43 # $SEMVER_USER_NAME = edgex-jenkins 02:43:43 # $SEMVER_BRANCH = PR-727 02:43:43 # $SEMVER_TEMP = /tmp/semver-971767513 02:43:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:44 # '/tmp/semver-971767513' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-727/.semver' 02:43:44 # -> Force: false 02:43:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-727/.semver [Pipeline] } 02:43:44 $ docker exec --env ******** --env ******** 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd ssh-agent -k 02:43:45 unset SSH_AUTH_SOCK; 02:43:45 unset SSH_AGENT_PID; 02:43:45 echo Agent pid 50 killed; 02:43:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:45 + git semver [Pipeline] } 02:43:45 $ docker stop --time=1 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd 02:43:47 $ docker rm -f 72f36424490aed1a82997495f206d16d087e25f50e6f361e2d7d859db4e328dd [Pipeline] // withDockerContainer [Pipeline] sh 02:43:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:49 Stashed 1 file(s) [Pipeline] echo 02:43:49 [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:44:04 Still waiting to schedule task 02:44:04 ‘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-21052’ 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-21048’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:04 Still waiting to schedule task 02:44:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:17 Running on prd-centos7-docker-4c-2g-21056 in /w/workspace/dgexfoundry_device-sdk-go_PR-727 [Pipeline] { [Pipeline] ws 02:45:17 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:45:20 using credential edgex-jenkins-ssh 02:45:20 Cloning the remote Git repository 02:45:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:20 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:45:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:20 > git --version # timeout=10 02:45:20 > git --version # 'git version 2.24.3' 02:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:22 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit b054e30a1ca050dedc0171177f0940359ff92956 02:45:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:22 > git config core.sparsecheckout # timeout=10 02:45:22 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 02:45:22 Merge succeeded, producing d9c1cf3445126771e8ea26a4463d6b23f7b83d1a 02:45:22 Checking out Revision d9c1cf3445126771e8ea26a4463d6b23f7b83d1a (PR-727) 02:45:22 > git remote # timeout=10 02:45:22 > git config --get remote.origin.url # timeout=10 02:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:22 > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 02:45:22 > git rev-parse HEAD^{commit} # timeout=10 02:45:22 > git config core.sparsecheckout # timeout=10 02:45:22 > git checkout -f d9c1cf3445126771e8ea26a4463d6b23f7b83d1a # timeout=10 02:45:26 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" 02:45:26 > git rev-list --no-walk b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:28 + true 02:45:28 + sudo service docker restart 02:45:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:29 provisioning config files... 02:45:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1754570785030656016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:30 ---> docker-login.sh 02:45:30 nexus3.edgexfoundry.org:10001 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10002 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10003 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10004 02:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 docker.io 02:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 ---> docker-login.sh ends [Pipeline] } 02:45:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:32 ========================================================= 02:45:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:32 + 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:32 Sending build context to Docker daemon 2.529MB 02:45:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:32 Step 2/8 : FROM ${BASE} 02:45:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:32 188c0c94c7c5: Pulling fs layer 02:45:32 0ef7d3d256c8: Pulling fs layer 02:45:32 de9db76c5a1d: Pulling fs layer 02:45:32 bca2f99d35d6: Pulling fs layer 02:45:32 93359f2a8cfa: Pulling fs layer 02:45:32 7c6f9722023f: Pulling fs layer 02:45:32 a35cf1a2eb13: Pulling fs layer 02:45:32 bca2f99d35d6: Waiting 02:45:32 93359f2a8cfa: Waiting 02:45:33 de9db76c5a1d: Verifying Checksum 02:45:33 de9db76c5a1d: Download complete 02:45:33 0ef7d3d256c8: Verifying Checksum 02:45:33 0ef7d3d256c8: Download complete 02:45:33 93359f2a8cfa: Download complete 02:45:33 7c6f9722023f: Verifying Checksum 02:45:33 7c6f9722023f: Download complete 02:45:33 188c0c94c7c5: Verifying Checksum 02:45:33 188c0c94c7c5: Download complete 02:45:33 188c0c94c7c5: Pull complete 02:45:33 0ef7d3d256c8: Pull complete 02:45:34 de9db76c5a1d: Pull complete 02:45:35 a35cf1a2eb13: Verifying Checksum 02:45:35 a35cf1a2eb13: Download complete 02:45:36 bca2f99d35d6: Verifying Checksum 02:45:36 bca2f99d35d6: Download complete 02:45:44 bca2f99d35d6: Pull complete 02:45:44 93359f2a8cfa: Pull complete 02:45:44 7c6f9722023f: Pull complete 02:45:51 a35cf1a2eb13: Pull complete 02:45:51 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:51 ---> a62c8e92a672 02:45:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:51 ---> Running in 5a25b9a5db1d 02:45:51 Removing intermediate container 5a25b9a5db1d 02:45:51 ---> 8b431b4022dc 02:45:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:51 ---> Running in 1f441741658e 02:45:52 Removing intermediate container 1f441741658e 02:45:52 ---> 712dc02ab17d 02:45:52 Step 5/8 : RUN apk add --update --no-cache make git 02:45:52 ---> Running in 20229377e194 02:45:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:54 OK: 166 MiB in 39 packages 02:45:55 Removing intermediate container 20229377e194 02:45:55 ---> 4adc724c9e6a 02:45:55 Step 6/8 : WORKDIR /device-sdk-go 02:45:55 ---> Running in ecd0d374e9be 02:45:55 Removing intermediate container ecd0d374e9be 02:45:55 ---> 38c6a70f0e0c 02:45:55 Step 7/8 : COPY . . 02:45:56 ---> 312db5dec8a7 02:45:56 Step 8/8 : RUN go mod download 02:45:56 ---> Running in a9650563d653 02:46:15 Removing intermediate container a9650563d653 02:46:15 ---> d8ccb7903062 02:46:15 Successfully built d8ccb7903062 02:46:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:15 + docker inspect -f . ci-base-image-x86_64 02:46:15 . [Pipeline] withDockerContainer 02:46:15 prd-centos7-docker-4c-2g-21056 does not seem to be running inside a container 02:46:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:16 $ docker top 66da509a75ad5a9d268505ba7dd75097df4c2914e0facabf414f8fe847f172cd -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:16 + go version 02:46:16 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:16 $ docker stop --time=1 66da509a75ad5a9d268505ba7dd75097df4c2914e0facabf414f8fe847f172cd 02:46:18 $ docker rm -f 66da509a75ad5a9d268505ba7dd75097df4c2914e0facabf414f8fe847f172cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:19 + docker inspect -f . ci-base-image-x86_64 02:46:19 . [Pipeline] withDockerContainer 02:46:19 prd-centos7-docker-4c-2g-21056 does not seem to be running inside a container 02:46:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:20 $ docker top fbf3f4e52a0967c19aff0a462ca8961d567700c254cd90f7de114747001eab8f -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:20 + make test 02:46:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 19.4% of statements 02:46:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.494s coverage: 97.1% of statements 02:46:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21058 in /w/workspace/dgexfoundry_device-sdk-go_PR-727 [Pipeline] { [Pipeline] ws 02:46:56 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:47:02 using credential edgex-jenkins-ssh 02:47:02 Cloning the remote Git repository 02:47:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:02 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:47:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:02 > git --version # timeout=10 02:47:02 > git --version # 'git version 2.17.1' 02:47:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/727/head:refs/remotes/origin/PR-727 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:05 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit b054e30a1ca050dedc0171177f0940359ff92956 02:47:05 Merge succeeded, producing 5fe8653546f8dd05bbe09f1bc00a1d2b79af7c9b 02:47:05 Checking out Revision 5fe8653546f8dd05bbe09f1bc00a1d2b79af7c9b (PR-727) 02:47:05 > git config core.sparsecheckout # timeout=10 02:47:05 > git checkout -f b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 02:47:05 > git remote # timeout=10 02:47:05 > git config --get remote.origin.url # timeout=10 02:47:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:05 > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 02:47:05 > git rev-parse HEAD^{commit} # timeout=10 02:47:05 > git config core.sparsecheckout # timeout=10 02:47:06 > git checkout -f 5fe8653546f8dd05bbe09f1bc00a1d2b79af7c9b # timeout=10 02:47:10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" 02:47:10 > git rev-list --no-walk b054e30a1ca050dedc0171177f0940359ff92956 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:13 + true 02:47:13 + sudo service docker restart 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.075s coverage: 9.4% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 21.7% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.251s coverage: 42.9% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.281s coverage: 68.9% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 25.6% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.386s coverage: 68.9% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:15 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:16 provisioning config files... 02:47:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3683721878660455107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:16 ---> docker-login.sh 02:47:16 nexus3.edgexfoundry.org:10001 02:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:18 Configure a credential helper to remove this warning. See 02:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:18 02:47:18 Login Succeeded 02:47:18 nexus3.edgexfoundry.org:10002 02:47:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:18 Configure a credential helper to remove this warning. See 02:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:18 02:47:18 Login Succeeded 02:47:18 nexus3.edgexfoundry.org:10003 02:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:19 Configure a credential helper to remove this warning. See 02:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:19 02:47:19 Login Succeeded 02:47:19 nexus3.edgexfoundry.org:10004 02:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:19 Configure a credential helper to remove this warning. See 02:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:19 02:47:19 Login Succeeded 02:47:19 docker.io 02:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:20 Configure a credential helper to remove this warning. See 02:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:20 02:47:20 Login Succeeded 02:47:20 ---> docker-login.sh ends [Pipeline] } 02:47:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:21 ========================================================= 02:47:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:21 + 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:47:22 Sending build context to Docker daemon 2.519MB 02:47:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:22 Step 2/8 : FROM ${BASE} 02:47:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:22 5f621e34cdf4: Pulling fs layer 02:47:22 a4357932f1b6: Pulling fs layer 02:47:22 18c013af1878: Pulling fs layer 02:47:22 00ac8860ef70: Pulling fs layer 02:47:22 63d7cb157983: Pulling fs layer 02:47:22 b116817d02f9: Pulling fs layer 02:47:22 745a02a5169b: Pulling fs layer 02:47:22 745a02a5169b: Waiting 02:47:22 00ac8860ef70: Waiting 02:47:22 b116817d02f9: Waiting 02:47:22 63d7cb157983: Waiting 02:47:22 18c013af1878: Verifying Checksum 02:47:22 18c013af1878: Download complete 02:47:22 a4357932f1b6: Verifying Checksum 02:47:22 a4357932f1b6: Download complete 02:47:22 63d7cb157983: Verifying Checksum 02:47:22 63d7cb157983: Download complete 02:47:22 5f621e34cdf4: Verifying Checksum 02:47:22 5f621e34cdf4: Download complete 02:47:22 b116817d02f9: Download complete 02:47:23 5f621e34cdf4: Pull complete 02:47:24 a4357932f1b6: Pull complete 02:47:25 745a02a5169b: Verifying Checksum 02:47:25 18c013af1878: Pull complete 02:47:26 00ac8860ef70: Download complete 02:47:27 gofmt -l . 02:47:27 [ "`gofmt -l .`" = "" ] 02:47:27 ./bin/test-attribution-txt.sh 02:47:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:28 $ docker stop --time=1 fbf3f4e52a0967c19aff0a462ca8961d567700c254cd90f7de114747001eab8f 02:47:30 $ docker rm -f fbf3f4e52a0967c19aff0a462ca8961d567700c254cd90f7de114747001eab8f [Pipeline] // withDockerContainer [Pipeline] sh 02:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:33 + ls -al . 02:47:33 total 224 02:47:33 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 02:47 . 02:47:33 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 02:45 .. 02:47:33 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 02:45 bin 02:47:33 -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 02:47 coverage.out 02:47:33 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 02:45 Dockerfile.build 02:47:33 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 02:45 .dockerignore 02:47:33 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 02:45 example 02:47:33 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 02:45 .git 02:47:33 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 02:45 .github 02:47:33 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 02:45 .gitignore 02:47:33 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 02:47 go.mod 02:47:33 -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 02:47 go.sum 02:47:33 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 02:45 internal 02:47:33 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 02:45 Jenkinsfile 02:47:33 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 02:45 LICENSE 02:47:33 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 02:45 Makefile 02:47:33 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 02:45 openapi 02:47:33 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 02:45 pkg 02:47:33 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 02:45 README.md 02:47:33 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 02:45 RELEASE-NOTES.txt 02:47:33 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 02:45 snap 02:47:33 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 02:43 VERSION 02:47:33 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:33 + 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=a464b56418e8fdefe04545dd4c0dfda115c3cb5b --label arch=amd64 --label version=0.0.0 . 02:47:33 Sending build context to Docker daemon 2.674MB 02:47:33 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:33 Step 2/24 : FROM ${BASE} AS builder 02:47:33 ---> d8ccb7903062 02:47:33 Step 3/24 : ARG MAKE='make build' 02:47:34 ---> Running in 503c16a62506 02:47:34 Removing intermediate container 503c16a62506 02:47:34 ---> 8c9707a95a8a 02:47:34 Step 4/24 : WORKDIR /device-sdk-go 02:47:34 ---> Running in a9a326f25a27 02:47:34 Removing intermediate container a9a326f25a27 02:47:34 ---> 3e0844a221d5 02:47:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:34 ---> Running in 9257f6486c92 02:47:35 Removing intermediate container 9257f6486c92 02:47:35 ---> b17ab12546c4 02:47:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:35 ---> Running in 1735a8455b86 02:47:36 00ac8860ef70: Pull complete 02:47:36 63d7cb157983: Pull complete 02:47:36 Removing intermediate container 1735a8455b86 02:47:36 ---> 90693a444b14 02:47:36 Step 7/24 : RUN apk add --update --no-cache make git 02:47:36 ---> Running in d83488b7e176 02:47:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:36 b116817d02f9: Pull complete 02:47:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:38 OK: 166 MiB in 39 packages 02:47:39 Removing intermediate container d83488b7e176 02:47:39 ---> ed47b3ad2d40 02:47:39 Step 8/24 : COPY . . 02:47:40 745a02a5169b: Pull complete 02:47:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:40 ---> b7e6874047d6 02:47:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:40 ---> 22a4d73f66b0 02:47:40 Step 9/24 : RUN ${MAKE} 02:47:40 ---> Running in 77f257110883 02:47:41 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:44 ---> Running in 234a51696530 02:47:44 Removing intermediate container 234a51696530 02:47:44 ---> 3c088ac392f3 02:47:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:44 ---> Running in 2dfd10db2415 02:47:47 Removing intermediate container 2dfd10db2415 02:47:47 ---> 7ac7d1613e3e 02:47:47 Step 5/8 : RUN apk add --update --no-cache make git 02:47:47 ---> Running in e7c2d91a59f5 02:47:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:50 OK: 142 MiB in 39 packages 02:47:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:51 Removing intermediate container e7c2d91a59f5 02:47:51 ---> c0025cfa42bf 02:47:51 Step 6/8 : WORKDIR /device-sdk-go 02:47:51 ---> Running in 62010965c5c2 02:47:52 Removing intermediate container 62010965c5c2 02:47:52 ---> f3857cc3bc78 02:47:52 Step 7/8 : COPY . . 02:47:52 Removing intermediate container 77f257110883 02:47:52 ---> d0acadd5726b 02:47:52 Step 10/24 : FROM scratch 02:47:52 ---> 02:47:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:52 ---> Running in 67eccd290689 02:47:52 Removing intermediate container 67eccd290689 02:47:52 ---> 4ddf4af17a34 02:47:52 Step 12/24 : ENV APP_PORT=49990 02:47:53 ---> Running in b83fa09c4e6c 02:47:53 Removing intermediate container b83fa09c4e6c 02:47:53 ---> 6704ff43a5ab 02:47:53 Step 13/24 : EXPOSE $APP_PORT 02:47:53 ---> Running in 024bda57acfb 02:47:53 Removing intermediate container 024bda57acfb 02:47:53 ---> 30c4ae68a340 02:47:53 Step 14/24 : WORKDIR / 02:47:53 ---> Running in feb392a2f337 02:47:53 Removing intermediate container feb392a2f337 02:47:53 ---> 594c7ec8a9d9 02:47:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:53 ---> f1fbb065e2eb 02:47:53 Step 8/8 : RUN go mod download 02:47:53 ---> Running in 5e5a94a97fe5 02:47:54 ---> 256fed907bd2 02:47:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:54 ---> 58a0955c1593 02:47:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:54 ---> f99c69a45f81 02:47:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:54 ---> 8b967af2ad50 02:47:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:55 ---> 41080f2bc798 02:47:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:55 ---> Running in 56c8520154a9 02:47:55 Removing intermediate container 56c8520154a9 02:47:55 ---> aacb498ecbd6 02:47:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:55 ---> Running in 6fc9c8c26010 02:47:55 Removing intermediate container 6fc9c8c26010 02:47:55 ---> 64fc9e628a29 02:47:55 Step 22/24 : LABEL arch=amd64 02:47:55 ---> Running in a5a522fadfed 02:47:55 Removing intermediate container a5a522fadfed 02:47:55 ---> 510a86251fb7 02:47:55 Step 23/24 : LABEL git_sha=a464b56418e8fdefe04545dd4c0dfda115c3cb5b 02:47:55 ---> Running in 7332b33e0784 02:47:55 Removing intermediate container 7332b33e0784 02:47:55 ---> 22d47551091e 02:47:55 Step 24/24 : LABEL version=0.0.0 02:47:56 ---> Running in bced62f5dc32 02:47:56 Removing intermediate container bced62f5dc32 02:47:56 ---> 5bca8f30d038 02:47:56 [Warning] One or more build-args [ARCH] were not consumed 02:47:56 Successfully built 5bca8f30d038 02:47:56 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:20 Removing intermediate container 5e5a94a97fe5 02:48:20 ---> 0252cd767d0d 02:48:20 Successfully built 0252cd767d0d 02:48:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:21 + docker inspect -f . ci-base-image-arm64 02:48:21 . [Pipeline] withDockerContainer 02:48:21 prd-ubuntu18.04-docker-arm64-4c-16g-21058 does not seem to be running inside a container 02:48:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:23 $ docker top 9b80e40bf2c140ddec16b52191861150e23aca5179c7acc3bc56c1b7476ac728 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:24 + go version 02:48:24 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:24 $ docker stop --time=1 9b80e40bf2c140ddec16b52191861150e23aca5179c7acc3bc56c1b7476ac728 02:48:26 $ docker rm -f 9b80e40bf2c140ddec16b52191861150e23aca5179c7acc3bc56c1b7476ac728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:27 + docker inspect -f . ci-base-image-arm64 02:48:27 . [Pipeline] withDockerContainer 02:48:27 prd-ubuntu18.04-docker-arm64-4c-16g-21058 does not seem to be running inside a container 02:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:29 $ docker top a468fb90212e849d3f48e02dfc26b916d8eef6b70ea4a9885dadabe715708074 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:30 + make test 02:48:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.131s coverage: 19.4% of statements 02:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.313s coverage: 97.1% of statements 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.141s coverage: 9.4% of statements 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.125s coverage: 21.7% of statements 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.586s coverage: 42.9% of statements 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.776s coverage: 68.9% of statements 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.177s coverage: 25.6% of statements 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.789s coverage: 68.9% of statements 02:50:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 4.2% of statements 02:50:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:17 GO111MODULE=on go vet ./... 02:50:49 gofmt -l . 02:50:49 [ "`gofmt -l .`" = "" ] 02:50:49 ./bin/test-attribution-txt.sh 02:50:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:49 $ docker stop --time=1 a468fb90212e849d3f48e02dfc26b916d8eef6b70ea4a9885dadabe715708074 02:50:51 $ docker rm -f a468fb90212e849d3f48e02dfc26b916d8eef6b70ea4a9885dadabe715708074 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:53 Warning: overwriting stash ‘coverage-report’ 02:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:55 + ls -al . 02:50:55 total 260 02:50:55 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:50 . 02:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 .. 02:50:55 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:47 .dockerignore 02:50:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:47 .git 02:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:47 .github 02:50:55 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 02:47 .gitignore 02:50:55 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 02:47 Dockerfile.build 02:50:55 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 02:47 Jenkinsfile 02:50:55 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 02:47 LICENSE 02:50:55 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 02:47 Makefile 02:50:55 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 02:47 README.md 02:50:55 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 02:47 RELEASE-NOTES.txt 02:50:55 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:43 VERSION 02:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:47 bin 02:50:55 -rw-r--r-- 1 jenkins jenkins 144063 Jan 19 02:50 coverage.out 02:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 example 02:50:55 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 02:50 go.mod 02:50:55 -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 02:50 go.sum 02:50:55 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 02:47 internal 02:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 openapi 02:50:55 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 02:47 pkg 02:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:47 snap 02:50:55 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:55 + 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=a464b56418e8fdefe04545dd4c0dfda115c3cb5b --label arch=arm64 --label version=0.0.0 . 02:50:56 Sending build context to Docker daemon 2.664MB 02:50:56 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:56 Step 2/24 : FROM ${BASE} AS builder 02:50:56 ---> 0252cd767d0d 02:50:56 Step 3/24 : ARG MAKE='make build' 02:50:56 ---> Running in 693a50a4c345 02:50:57 Removing intermediate container 693a50a4c345 02:50:57 ---> 515d593352ed 02:50:57 Step 4/24 : WORKDIR /device-sdk-go 02:50:57 ---> Running in cf077092893e 02:50:57 Removing intermediate container cf077092893e 02:50:57 ---> 93db5a55eb78 02:50:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:57 ---> Running in 546c7f57ae76 02:50:58 Removing intermediate container 546c7f57ae76 02:50:58 ---> ab2f4878f0d8 02:50:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:58 ---> Running in ae0a016dda7b 02:51:00 Removing intermediate container ae0a016dda7b 02:51:00 ---> 8842c9a36c7f 02:51:00 Step 7/24 : RUN apk add --update --no-cache make git 02:51:00 ---> Running in 3ecf2e659933 02:51:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:03 OK: 142 MiB in 39 packages 02:51:04 Removing intermediate container 3ecf2e659933 02:51:04 ---> e38770535101 02:51:04 Step 8/24 : COPY . . 02:51:05 ---> e68a3c405c05 02:51:05 Step 9/24 : RUN ${MAKE} 02:51:06 ---> Running in befa7d94aacb 02:51:07 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:51:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:34 Removing intermediate container befa7d94aacb 02:51:34 ---> 89b65ae95747 02:51:34 Step 10/24 : FROM scratch 02:51:34 ---> 02:51:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:34 ---> Running in b9c9d43955da 02:51:34 Removing intermediate container b9c9d43955da 02:51:34 ---> f94ad467aebc 02:51:34 Step 12/24 : ENV APP_PORT=49990 02:51:34 ---> Running in 823523a20154 02:51:35 Removing intermediate container 823523a20154 02:51:35 ---> b939686cb564 02:51:35 Step 13/24 : EXPOSE $APP_PORT 02:51:35 ---> Running in 88e27a20a1ea 02:51:35 Removing intermediate container 88e27a20a1ea 02:51:35 ---> 5951c46bc067 02:51:35 Step 14/24 : WORKDIR / 02:51:35 ---> Running in 5c0b75c4058f 02:51:36 Removing intermediate container 5c0b75c4058f 02:51:36 ---> f013959a434a 02:51:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:37 ---> 37813cc8ab42 02:51:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:38 ---> 725b7b17331f 02:51:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:38 ---> f9d08ed3ae65 02:51:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:39 ---> 8700fe681591 02:51:39 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:40 ---> f8f0cd84677f 02:51:40 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:40 ---> Running in 0972b41e0cc9 02:51:40 Removing intermediate container 0972b41e0cc9 02:51:40 ---> 696bfcafcc9a 02:51:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:41 ---> Running in 6d41247b97fa 02:51:41 Removing intermediate container 6d41247b97fa 02:51:41 ---> 4faace2f1cc4 02:51:41 Step 22/24 : LABEL arch=arm64 02:51:41 ---> Running in 6587ee615e52 02:51:42 Removing intermediate container 6587ee615e52 02:51:42 ---> 80135bb7a4da 02:51:42 Step 23/24 : LABEL git_sha=a464b56418e8fdefe04545dd4c0dfda115c3cb5b 02:51:42 ---> Running in 3054f2e86bcb 02:51:42 Removing intermediate container 3054f2e86bcb 02:51:42 ---> 7ead1df6623c 02:51:42 Step 24/24 : LABEL version=0.0.0 02:51:42 ---> Running in af9ccb5144f2 02:51:43 Removing intermediate container af9ccb5144f2 02:51:43 ---> dfea0a785b9e 02:51:43 [Warning] One or more build-args [ARCH] were not consumed 02:51:43 Successfully built dfea0a785b9e 02:51:43 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:51:44 provisioning config files... 02:51:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/config2266022176910513071tmp [Pipeline] { [Pipeline] sh 02:51:45 + set +x 02:51:45 + curl -s https://codecov.io/bash 02:51:45 + bash -s -- 02:51:45 02:51:45 _____ _ 02:51:45 / ____| | | 02:51:45 | | ___ __| | ___ ___ _____ __ 02:51:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:45 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:45 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:45 Bash-20210115-cec3c92 02:51:45 02:51:45 02:51:45 ==> git version 2.24.3 found 02:51:45 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:51:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:45 ==> Jenkins CI detected. 02:51:45 project root: . 02:51:45 --> token set from env 02:51:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:45 ==> Running gcov in . (disable via -X gcov) 02:51:45 ==> Python coveragepy not found 02:51:45 ==> Searching for coverage reports in: 02:51:45 + . 02:51:45 -> Found 1 reports 02:51:45 ==> Detecting git/mercurial file structure 02:51:45 ==> Reading reports 02:51:45 + ./coverage.out bytes=144063 02:51:45 ==> Appending adjustments 02:51:45 https://docs.codecov.io/docs/fixing-reports 02:51:47 + Found adjustments 02:51:47 ==> Gzipping contents 02:51:47 24K /tmp/codecov.YFGFvy.gz 02:51:47 ==> Uploading reports 02:51:47 url: https://codecov.io 02:51:47 query: branch=PR-727&commit=a464b56418e8fdefe04545dd4c0dfda115c3cb5b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-727%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=727&job=&cmd_args= 02:51:47 -> Pinging Codecov 02:51:47 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-727&commit=a464b56418e8fdefe04545dd4c0dfda115c3cb5b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-727%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=727&job=&cmd_args= 02:51:47 -> Uploading to 02:51:47 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/a464b56418e8fdefe04545dd4c0dfda115c3cb5b/414a3d1d-57c5-4e66-98cd-e485dbfc9f2b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T025147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0ee81b186cd2e4e127f9f9e5f9570bc7a6e0bb97ea8089db46b7e4e97151e4d 02:51:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:47 Dload Upload Total Spent Left Speed 02:51:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22384 0 0 100 22384 0 42275 --:--:-- --:--:-- --:--:-- 42313 02:51:47 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a464b56418e8fdefe04545dd4c0dfda115c3cb5b [Pipeline] } 02:51:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:51:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> package-listing.sh 02:51:51 ++ facter osfamily 02:51:51 ++ tr '[:upper:]' '[:lower:]' 02:51:51 + OS_FAMILY=redhat 02:51:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-727 02:51:51 + START_PACKAGES=/tmp/packages_start.txt 02:51:51 + END_PACKAGES=/tmp/packages_end.txt 02:51:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:51 + PACKAGES=/tmp/packages_start.txt 02:51:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-727 ']' 02:51:51 + PACKAGES=/tmp/packages_end.txt 02:51:51 + case "${OS_FAMILY}" in 02:51:51 + sort 02:51:51 + rpm -qa 02:51:59 + '[' -f /tmp/packages_start.txt ']' 02:51:59 + '[' -f /tmp/packages_end.txt ']' 02:51:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-727 ']' 02:51:59 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-727/archives/ 02:51:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-727/archives/ [Pipeline] echo 02:51:59 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-727/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:01 02:52:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:01 alpine: Pulling from edgex-lftools-log-publisher 02:52:01 df20fa9351a1: Pulling fs layer 02:52:01 36b3adc4ff6f: Pulling fs layer 02:52:01 8ad3a11d3b57: Pulling fs layer 02:52:01 46f8f816bc3b: Pulling fs layer 02:52:01 93b61091891f: Pulling fs layer 02:52:01 93b9cdb0e59b: Pulling fs layer 02:52:01 5e14af77c1be: Pulling fs layer 02:52:01 01666e4c0597: Pulling fs layer 02:52:01 aa168da1d23b: Pulling fs layer 02:52:01 46f8f816bc3b: Waiting 02:52:01 93b61091891f: Waiting 02:52:01 93b9cdb0e59b: Waiting 02:52:01 5e14af77c1be: Waiting 02:52:01 01666e4c0597: Waiting 02:52:01 aa168da1d23b: Waiting 02:52:02 36b3adc4ff6f: Verifying Checksum 02:52:02 36b3adc4ff6f: Download complete 02:52:02 46f8f816bc3b: Verifying Checksum 02:52:02 46f8f816bc3b: Download complete 02:52:02 df20fa9351a1: Verifying Checksum 02:52:02 df20fa9351a1: Download complete 02:52:02 93b9cdb0e59b: Verifying Checksum 02:52:02 93b9cdb0e59b: Download complete 02:52:02 5e14af77c1be: Verifying Checksum 02:52:02 5e14af77c1be: Download complete 02:52:02 93b61091891f: Verifying Checksum 02:52:02 93b61091891f: Download complete 02:52:02 01666e4c0597: Verifying Checksum 02:52:02 01666e4c0597: Download complete 02:52:03 8ad3a11d3b57: Verifying Checksum 02:52:03 8ad3a11d3b57: Download complete 02:52:03 df20fa9351a1: Pull complete 02:52:04 36b3adc4ff6f: Pull complete 02:52:08 8ad3a11d3b57: Pull complete 02:52:08 46f8f816bc3b: Pull complete 02:52:09 93b61091891f: Pull complete 02:52:09 93b9cdb0e59b: Pull complete 02:52:10 5e14af77c1be: Pull complete 02:52:11 01666e4c0597: Pull complete 02:52:11 aa168da1d23b: Verifying Checksum 02:52:11 aa168da1d23b: Download complete 02:52:30 aa168da1d23b: Pull complete 02:52:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:30 prd-centos7-docker-4c-2g-21045 does not seem to be running inside a container 02:52:30 $ 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-727/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-727 -v /w/workspace/dgexfoundry_device-sdk-go_PR-727:/w/workspace/dgexfoundry_device-sdk-go_PR-727:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:37 $ docker top a2d0c910c73a182fe79121aea24fa3e964ffec881f084fd2f47c647bc7c42b80 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:39 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:39 + mkdir -p /var/log/sa [Pipeline] sh 02:52:39 + ls /var/log/sa-host 02:52:39 + sadf -c /var/log/sa-host/sa19 02:52:39 file_magic: OK 02:52:39 HZ: Using current value: 100 02:52:39 file_header: OK 02:52:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:39 Statistics: 02:52:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:39 File successfully converted to sysstat format version 12.2.1 02:52:39 + sadf -c /var/log/sa-host/sa23 02:52:39 file_magic: OK 02:52:39 HZ: Using current value: 100 02:52:39 file_header: OK 02:52:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:39 Statistics: 02:52:39 Hnuu...uuuununununu... 02:52:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:40 provisioning config files... 02:52:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-727@tmp/config3287110765584235885tmp [Pipeline] { [Pipeline] echo 02:52:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:40 ---> create-netrc.sh [Pipeline] } 02:52:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:41 ---> python-tools-install.sh [Pipeline] echo 02:52:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:42 ---> sudo-logs.sh 02:52:42 Archiving 'sudo' log.. [Pipeline] echo 02:52:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:42 ---> job-cost.sh 02:52:43 lf-activate-venv: SKIPPING 02:52:43 INFO: No Stack... 02:52:44 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:44 INFO: Archiving Costs [Pipeline] echo 02:52:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:45 ---> logs-deploy.sh 02:52:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-727/4 02:52:45 INFO: archiving workspace using pattern(s): 02:52:48 Archives upload complete. 02:52:48 INFO: archiving logs to Nexus