Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2810485882268eab71dea1c3634af3fb61dca74c+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (8df27214f51b049a106b482a2d100240af42ee15) 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-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20649 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 2810485882268eab71dea1c3634af3fb61dca74c Merge succeeded, producing 2810485882268eab71dea1c3634af3fb61dca74c Checking out Revision 2810485882268eab71dea1c3634af3fb61dca74c (PR-728) > 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:46:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:46:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 [Pipeline] echo 21:46:44 ========================================================= 21:46:44 EdgeX Global Pipelines Version Info 21:46:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:46:46 ------------------- 21:46:46 stable info: 21:46:46 ------------------- 21:46:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:46:46 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 21:46:46 Message: update stable to v1.0.177 21:46:46 ------------------- 21:46:46 experimental info: 21:46:46 ------------------- 21:46:46 Commited By: **** collab-it+edgex@linuxfoundation.org 21:46:46 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 21:46:46 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:46:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:46:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo 21:46:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo 21:46:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo 21:46:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2810485882268eab71dea1c3634af3fb61dca74c [Pipeline] echo 21:46:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2810485 [Pipeline] echo 21:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:46:50 provisioning config files... 21:46:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config1830583033730543007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:51 ---> docker-login.sh 21:46:51 nexus3.edgexfoundry.org:10001 21:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:51 Configure a credential helper to remove this warning. See 21:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:51 21:46:51 Login Succeeded 21:46:51 nexus3.edgexfoundry.org:10002 21:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:51 Configure a credential helper to remove this warning. See 21:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:51 21:46:51 Login Succeeded 21:46:51 nexus3.edgexfoundry.org:10003 21:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:51 Configure a credential helper to remove this warning. See 21:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:51 21:46:51 Login Succeeded 21:46:51 nexus3.edgexfoundry.org:10004 21:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:51 Configure a credential helper to remove this warning. See 21:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:51 21:46:51 Login Succeeded 21:46:51 docker.io 21:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:52 Configure a credential helper to remove this warning. See 21:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:52 21:46:52 Login Succeeded 21:46:52 ---> docker-login.sh ends [Pipeline] } 21:46:52 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 21:46:53 + git log --format=format:%s -1 2810485882268eab71dea1c3634af3fb61dca74c [Pipeline] echo 21:46:53 GIT_COMMIT: 2810485882268eab71dea1c3634af3fb61dca74c, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo 21:46:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:46:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:46:53 21:46:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:46:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:46:54 latest: Pulling from edgex-devops/git-semver 21:46:54 31603596830f: Pulling fs layer 21:46:54 2a8b12db71e7: Pulling fs layer 21:46:54 6ca5941a6612: Pulling fs layer 21:46:54 ecc8261a40a4: Pulling fs layer 21:46:54 ecc8261a40a4: Waiting 21:46:54 2a8b12db71e7: Download complete 21:46:54 31603596830f: Verifying Checksum 21:46:54 31603596830f: Download complete 21:46:54 ecc8261a40a4: Verifying Checksum 21:46:54 ecc8261a40a4: Download complete 21:46:54 6ca5941a6612: Verifying Checksum 21:46:54 6ca5941a6612: Download complete 21:46:54 31603596830f: Pull complete 21:46:54 2a8b12db71e7: Pull complete 21:46:55 6ca5941a6612: Pull complete 21:46:55 ecc8261a40a4: Pull complete 21:46:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:46:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:46:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:46:55 prd-centos7-docker-4c-2g-20649 does not seem to be running inside a container 21:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:46:57 $ docker top 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:46:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:58 [ssh-agent] Looking for ssh-agent implementation... 21:46:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:58 $ docker exec 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent 21:46:58 SSH_AUTH_SOCK=/tmp/ssh-FnsIMTufBgnk/agent.12 21:46:58 SSH_AGENT_PID=17 21:46:58 Running ssh-add (command line suppressed) 21:46:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_5777496117924451785.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_5777496117924451785.key) 21:46:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:59 + git tag --points-at HEAD [Pipeline] } 21:46:59 $ docker exec --env ******** --env ******** 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent -k 21:46:59 unset SSH_AUTH_SOCK; 21:46:59 unset SSH_AGENT_PID; 21:46:59 echo Agent pid 17 killed; 21:46:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:46:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:59 [ssh-agent] Looking for ssh-agent implementation... 21:46:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:59 $ docker exec 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent 21:46:59 SSH_AUTH_SOCK=/tmp/ssh-s2pqugCoLUUz/agent.47 21:46:59 SSH_AGENT_PID=52 21:46:59 Running ssh-add (command line suppressed) 21:47:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_1226646841042242035.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_1226646841042242035.key) 21:47:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:00 + git semver init 21:47:00 # -> Open(): unable to determine branch for HEAD 21:47:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git 21:47:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 21:47:00 # $SEMVER_REMOTE_NAME = origin 21:47:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:47:00 # $SEMVER_USER_NAME = edgex-jenkins 21:47:00 # $SEMVER_BRANCH = PR-728 21:47:00 # $SEMVER_TEMP = /tmp/semver-047586156 21:47:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:47:01 # '/tmp/semver-047586156' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' 21:47:01 # -> Force: false 21:47:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } 21:47:01 $ docker exec --env ******** --env ******** 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent -k 21:47:01 unset SSH_AUTH_SOCK; 21:47:01 unset SSH_AGENT_PID; 21:47:01 echo Agent pid 52 killed; 21:47:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:01 + git semver [Pipeline] } 21:47:01 $ docker stop --time=1 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 21:47:03 $ docker rm -f 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 [Pipeline] // withDockerContainer [Pipeline] sh 21:47:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:04 Stashed 1 file(s) [Pipeline] echo 21:47:04 [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 21:47:19 Still waiting to schedule task 21:47:19 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-centos7-docker-4c-2g-20642’ is offline; ‘prd-centos7-docker-4c-2g-20644’ is offline; ‘prd-centos7-docker-4c-2g-20645’ is offline; ‘prd-centos7-docker-4c-2g-20652’ 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-20651’ doesn’t have label ‘centos7-docker-4c-2g’ 21:47:19 Still waiting to schedule task 21:47:19 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20641’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20644’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20645’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20652’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20651’ is offline 21:49:10 Running on prd-centos7-docker-4c-2g-20658 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 21:49:10 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:49:13 using credential edgex-jenkins-ssh 21:49:13 Cloning the remote Git repository 21:49:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:49:13 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:49:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:13 > git --version # timeout=10 21:49:13 > git --version # 'git version 2.24.3' 21:49:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:15 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 2810485882268eab71dea1c3634af3fb61dca74c 21:49:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:15 > git config core.sparsecheckout # timeout=10 21:49:15 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 21:49:15 Merge succeeded, producing 2810485882268eab71dea1c3634af3fb61dca74c 21:49:15 Checking out Revision 2810485882268eab71dea1c3634af3fb61dca74c (PR-728) 21:49:15 > git remote # timeout=10 21:49:15 > git config --get remote.origin.url # timeout=10 21:49:15 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:15 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 21:49:15 > git rev-parse HEAD^{commit} # timeout=10 21:49:15 > git config core.sparsecheckout # timeout=10 21:49:15 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 21:49:19 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:20 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:49:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:49:21 + sudo service docker restart 21:49:21 + true 21:49:21 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:49:22 provisioning config files... 21:49:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7739162488039389335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:23 ---> docker-login.sh 21:49:23 nexus3.edgexfoundry.org:10001 21:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:23 Configure a credential helper to remove this warning. See 21:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:23 21:49:23 Login Succeeded 21:49:23 nexus3.edgexfoundry.org:10002 21:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:23 Configure a credential helper to remove this warning. See 21:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:23 21:49:23 Login Succeeded 21:49:23 nexus3.edgexfoundry.org:10003 21:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:23 Configure a credential helper to remove this warning. See 21:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:23 21:49:23 Login Succeeded 21:49:23 nexus3.edgexfoundry.org:10004 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:24 Configure a credential helper to remove this warning. See 21:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:24 21:49:24 Login Succeeded 21:49:24 docker.io 21:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:24 Configure a credential helper to remove this warning. See 21:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:24 21:49:24 Login Succeeded 21:49:24 ---> docker-login.sh ends [Pipeline] } 21:49:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:25 ========================================================= 21:49:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:49:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:49:25 + 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 . 21:49:25 Sending build context to Docker daemon 2.58MB 21:49:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:49:25 Step 2/8 : FROM ${BASE} 21:49:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:49:25 188c0c94c7c5: Pulling fs layer 21:49:25 0ef7d3d256c8: Pulling fs layer 21:49:25 de9db76c5a1d: Pulling fs layer 21:49:25 bca2f99d35d6: Pulling fs layer 21:49:25 93359f2a8cfa: Pulling fs layer 21:49:25 7c6f9722023f: Pulling fs layer 21:49:25 a35cf1a2eb13: Pulling fs layer 21:49:25 93359f2a8cfa: Waiting 21:49:25 bca2f99d35d6: Waiting 21:49:25 7c6f9722023f: Waiting 21:49:25 de9db76c5a1d: Verifying Checksum 21:49:25 de9db76c5a1d: Download complete 21:49:25 0ef7d3d256c8: Download complete 21:49:25 93359f2a8cfa: Verifying Checksum 21:49:25 93359f2a8cfa: Download complete 21:49:25 7c6f9722023f: Verifying Checksum 21:49:25 7c6f9722023f: Download complete 21:49:25 188c0c94c7c5: Verifying Checksum 21:49:25 188c0c94c7c5: Download complete 21:49:25 188c0c94c7c5: Pull complete 21:49:26 0ef7d3d256c8: Pull complete 21:49:26 de9db76c5a1d: Pull complete 21:49:27 a35cf1a2eb13: Verifying Checksum 21:49:27 a35cf1a2eb13: Download complete 21:49:29 bca2f99d35d6: Verifying Checksum 21:49:29 bca2f99d35d6: Download complete 21:49:34 bca2f99d35d6: Pull complete 21:49:35 93359f2a8cfa: Pull complete 21:49:35 7c6f9722023f: Pull complete 21:49:43 a35cf1a2eb13: Pull complete 21:49:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:49:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:49:43 ---> a62c8e92a672 21:49:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:49:43 ---> Running in 407e6fb9d96c 21:49:43 Removing intermediate container 407e6fb9d96c 21:49:43 ---> 355047cfe940 21:49:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:49:43 ---> Running in 5770bcbe8dc0 21:49:44 Removing intermediate container 5770bcbe8dc0 21:49:44 ---> 3c689b8ccc83 21:49:44 Step 5/8 : RUN apk add --update --no-cache make git 21:49:44 ---> Running in 913a648d17a3 21:49:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:49:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:49:49 OK: 166 MiB in 39 packages 21:49:49 Removing intermediate container 913a648d17a3 21:49:49 ---> e9cba6885091 21:49:49 Step 6/8 : WORKDIR /device-sdk-go 21:49:49 ---> Running in 7f4c728814cf 21:49:49 Removing intermediate container 7f4c728814cf 21:49:49 ---> 8692853e73fb 21:49:49 Step 7/8 : COPY . . 21:49:51 ---> 985f34ed4748 21:49:51 Step 8/8 : RUN go mod download 21:49:51 ---> Running in b8f17ab48968 21:50:09 Removing intermediate container b8f17ab48968 21:50:09 ---> 35fd01fd8136 21:50:09 Successfully built 35fd01fd8136 21:50:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:50:09 + docker inspect -f . ci-base-image-x86_64 21:50:09 . [Pipeline] withDockerContainer 21:50:10 prd-centos7-docker-4c-2g-20658 does not seem to be running inside a container 21:50:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 21:50:11 $ docker top 686b98409191108e8a45d7e81d475cadf738c61a6403cb7a7a2aa677cfa23f6d -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:11 + go version 21:50:11 go version go1.15.5 linux/amd64 [Pipeline] } 21:50:11 $ docker stop --time=1 686b98409191108e8a45d7e81d475cadf738c61a6403cb7a7a2aa677cfa23f6d 21:50:13 $ docker rm -f 686b98409191108e8a45d7e81d475cadf738c61a6403cb7a7a2aa677cfa23f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:50:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20660 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 21:50:14 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:50:14 + docker inspect -f . ci-base-image-x86_64 21:50:14 . [Pipeline] withDockerContainer 21:50:14 prd-centos7-docker-4c-2g-20658 does not seem to be running inside a container 21:50:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 21:50:15 $ docker top 9718f5b1ada6c5131a63051e56c4b0a7ab36bb914dced29491ed67b4554f4fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:16 + make test 21:50:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:50:19 using credential edgex-jenkins-ssh 21:50:19 Cloning the remote Git repository 21:50:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:50:19 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:50:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:50:19 > git --version # timeout=10 21:50:19 > git --version # 'git version 2.17.1' 21:50:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:50:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:50:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:50:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:22 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 2810485882268eab71dea1c3634af3fb61dca74c 21:50:22 Merge succeeded, producing 2810485882268eab71dea1c3634af3fb61dca74c 21:50:22 Checking out Revision 2810485882268eab71dea1c3634af3fb61dca74c (PR-728) 21:50:22 > git config core.sparsecheckout # timeout=10 21:50:22 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 21:50:22 > git remote # timeout=10 21:50:22 > git config --get remote.origin.url # timeout=10 21:50:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:22 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 21:50:22 > git rev-parse HEAD^{commit} # timeout=10 21:50:22 > git config core.sparsecheckout # timeout=10 21:50:22 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 21:50:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:50:27 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:50:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:50:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:50:29 + sudo+ service docker restarttrue 21:50:29 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:50:32 provisioning config files... 21:50:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4997061358446084102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:32 ---> docker-login.sh 21:50:32 nexus3.edgexfoundry.org:10001 21:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:33 Configure a credential helper to remove this warning. See 21:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:33 21:50:33 Login Succeeded 21:50:33 nexus3.edgexfoundry.org:10002 21:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:34 Configure a credential helper to remove this warning. See 21:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:34 21:50:34 Login Succeeded 21:50:34 nexus3.edgexfoundry.org:10003 21:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:35 Configure a credential helper to remove this warning. See 21:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:35 21:50:35 Login Succeeded 21:50:35 nexus3.edgexfoundry.org:10004 21:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:35 Configure a credential helper to remove this warning. See 21:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:35 21:50:35 Login Succeeded 21:50:35 docker.io 21:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:36 Configure a credential helper to remove this warning. See 21:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:36 21:50:36 Login Succeeded 21:50:36 ---> docker-login.sh ends [Pipeline] } 21:50:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:50:36 ========================================================= 21:50:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:50:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:50:36 + 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 . 21:50:37 Sending build context to Docker daemon 2.582MB 21:50:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:50:37 Step 2/8 : FROM ${BASE} 21:50:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:50:37 5f621e34cdf4: Pulling fs layer 21:50:37 a4357932f1b6: Pulling fs layer 21:50:37 18c013af1878: Pulling fs layer 21:50:37 00ac8860ef70: Pulling fs layer 21:50:37 63d7cb157983: Pulling fs layer 21:50:37 b116817d02f9: Pulling fs layer 21:50:37 745a02a5169b: Pulling fs layer 21:50:37 00ac8860ef70: Waiting 21:50:37 b116817d02f9: Waiting 21:50:37 18c013af1878: Verifying Checksum 21:50:37 18c013af1878: Download complete 21:50:37 a4357932f1b6: Verifying Checksum 21:50:37 a4357932f1b6: Download complete 21:50:37 63d7cb157983: Verifying Checksum 21:50:37 63d7cb157983: Download complete 21:50:37 5f621e34cdf4: Download complete 21:50:37 b116817d02f9: Verifying Checksum 21:50:37 b116817d02f9: Download complete 21:50:38 5f621e34cdf4: Pull complete 21:50:38 a4357932f1b6: Pull complete 21:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:50:39 18c013af1878: Pull complete 21:50:40 745a02a5169b: Download complete 21:50:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.088s coverage: 19.4% of statements 21:50:41 00ac8860ef70: Verifying Checksum 21:50:41 00ac8860ef70: Download complete 21:50:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.520s coverage: 97.1% of statements 21:50:51 00ac8860ef70: Pull complete 21:50:51 63d7cb157983: Pull complete 21:50:51 b116817d02f9: Pull complete 21:50:56 745a02a5169b: Pull complete 21:50:56 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:50:56 ---> b7e6874047d6 21:50:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:50:58 ---> Running in e2ef578a6d04 21:50:58 Removing intermediate container e2ef578a6d04 21:50:58 ---> c700d9aaaa28 21:50:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:50:58 ---> Running in f9bf401d2088 21:51:01 Removing intermediate container f9bf401d2088 21:51:01 ---> dff925b3ad62 21:51:01 Step 5/8 : RUN apk add --update --no-cache make git 21:51:01 ---> Running in 20a8112a44d5 21:51:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:51:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:51:04 OK: 142 MiB in 39 packages 21:51:05 Removing intermediate container 20a8112a44d5 21:51:05 ---> 91b2bd8f571c 21:51:05 Step 6/8 : WORKDIR /device-sdk-go 21:51:05 ---> Running in e20354de1836 21:51:06 Removing intermediate container e20354de1836 21:51:06 ---> 41d9359805b7 21:51:06 Step 7/8 : COPY . . 21:51:07 ---> eb47b8299779 21:51:07 Step 8/8 : RUN go mod download 21:51:07 ---> Running in fc5fffd8621f 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.083s coverage: 9.4% of statements 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 21.7% of statements 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.249s coverage: 42.9% of statements 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.316s coverage: 68.9% of statements 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 30.4% of statements 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.627s coverage: 68.9% of statements 21:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.084s coverage: 4.2% of statements 21:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:51:11 GO111MODULE=on go vet ./... 21:51:23 gofmt -l . 21:51:23 [ "`gofmt -l .`" = "" ] 21:51:23 ./bin/test-attribution-txt.sh 21:51:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:51:23 $ docker stop --time=1 9718f5b1ada6c5131a63051e56c4b0a7ab36bb914dced29491ed67b4554f4fe7 21:51:25 $ docker rm -f 9718f5b1ada6c5131a63051e56c4b0a7ab36bb914dced29491ed67b4554f4fe7 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:51:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:28 + ls -al . 21:51:28 total 220 21:51:28 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:51 . 21:51:28 drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:49 .. 21:51:28 drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:49 bin 21:51:28 -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:51 coverage.out 21:51:28 -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build 21:51:28 -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore 21:51:28 drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:49 example 21:51:28 drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:49 .git 21:51:28 drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:49 .github 21:51:28 -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:49 .gitignore 21:51:28 -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:51 go.mod 21:51:28 -rw-r--r--. 1 jenkins jenkins 14214 Jan 15 21:51 go.sum 21:51:28 drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:49 internal 21:51:28 -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile 21:51:28 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE 21:51:28 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:49 Makefile 21:51:28 drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:49 openapi 21:51:28 drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:49 pkg 21:51:28 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:49 README.md 21:51:28 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt 21:51:28 drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:49 snap 21:51:28 -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:47 VERSION 21:51:28 -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh 21:51:28 + 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=2810485882268eab71dea1c3634af3fb61dca74c --label arch=amd64 --label version=0.0.0 . 21:51:29 Sending build context to Docker daemon 2.724MB 21:51:29 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:51:29 Step 2/24 : FROM ${BASE} AS builder 21:51:29 ---> 35fd01fd8136 21:51:29 Step 3/24 : ARG MAKE='make build' 21:51:29 ---> Running in 62c7aea74fa3 21:51:29 Removing intermediate container fc5fffd8621f 21:51:29 ---> a5b3fdee01bd 21:51:29 Successfully built a5b3fdee01bd 21:51:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:51:30 Removing intermediate container 62c7aea74fa3 21:51:30 ---> 3200e92e11a4 21:51:30 Step 4/24 : WORKDIR /device-sdk-go 21:51:30 ---> Running in d81a0636278e 21:51:30 + docker inspect -f . ci-base-image-arm64 21:51:30 . [Pipeline] withDockerContainer 21:51:30 Removing intermediate container d81a0636278e 21:51:30 ---> 55b41e190295 21:51:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:30 ---> Running in 43787e9d01ba 21:51:30 prd-ubuntu18.04-docker-arm64-4c-16g-20660 does not seem to be running inside a container 21:51:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 21:51:31 Removing intermediate container 43787e9d01ba 21:51:31 ---> 910b7eb7f99f 21:51:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:31 ---> Running in e9845ee8853c 21:51:31 $ docker top db1bec5a36021676c40b814c21a2b511ba711fcf3f47c4b81b661319b7454e30 -eo pid,comm [Pipeline] { 21:51:32 Removing intermediate container e9845ee8853c 21:51:32 ---> 4c30611fad16 21:51:32 Step 7/24 : RUN apk add --update --no-cache make git 21:51:32 ---> Running in 8114ef1a8bdf [Pipeline] sh 21:51:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:51:32 + go version 21:51:32 go version go1.15.5 linux/arm64 [Pipeline] } 21:51:32 $ docker stop --time=1 db1bec5a36021676c40b814c21a2b511ba711fcf3f47c4b81b661319b7454e30 21:51:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:51:34 OK: 166 MiB in 39 packages 21:51:34 Removing intermediate container 8114ef1a8bdf 21:51:34 ---> ac7071ecb389 21:51:34 Step 8/24 : COPY . . 21:51:34 $ docker rm -f db1bec5a36021676c40b814c21a2b511ba711fcf3f47c4b81b661319b7454e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 21:51:35 ---> 338a8f6aaa6a 21:51:35 Step 9/24 : RUN ${MAKE} [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:51:35 ---> Running in 17fab7f50b14 21:51:36 + docker inspect -f . ci-base-image-arm64 21:51:36 . [Pipeline] withDockerContainer 21:51:36 prd-ubuntu18.04-docker-arm64-4c-16g-20660 does not seem to be running inside a container 21:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 21:51:36 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 21:51:37 $ docker top 8783a83c15080fb3e05ad68e57f720e840a67508a43a6ec53df438ae366a752b -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:39 + make test 21:51:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:51:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:51:47 Removing intermediate container 17fab7f50b14 21:51:47 ---> bd41c0dbf8ce 21:51:47 Step 10/24 : FROM scratch 21:51:47 ---> 21:51:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:47 ---> Running in 9317247f7dcc 21:51:47 Removing intermediate container 9317247f7dcc 21:51:47 ---> 05aafe0dcb77 21:51:47 Step 12/24 : ENV APP_PORT=49990 21:51:47 ---> Running in 7bfd74de3a7a 21:51:47 Removing intermediate container 7bfd74de3a7a 21:51:47 ---> 46840b3da0be 21:51:47 Step 13/24 : EXPOSE $APP_PORT 21:51:47 ---> Running in a7114fb98699 21:51:47 Removing intermediate container a7114fb98699 21:51:47 ---> 0eb6896fc08e 21:51:47 Step 14/24 : WORKDIR / 21:51:47 ---> Running in f67ce1d3dd42 21:51:47 Removing intermediate container f67ce1d3dd42 21:51:47 ---> e73883e83526 21:51:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:51:48 ---> bb15a0ff6ace 21:51:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:51:48 ---> e07fc2136837 21:51:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:51:49 ---> 1e9be5566d84 21:51:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:51:49 ---> 72613cec44f4 21:51:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:51:49 ---> a3bc4343251e 21:51:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:51:49 ---> Running in e591054bbea2 21:51:49 Removing intermediate container e591054bbea2 21:51:49 ---> 7382dcff51f2 21:51:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:51:49 ---> Running in 9610321080b3 21:51:50 Removing intermediate container 9610321080b3 21:51:50 ---> 22d9b79a477c 21:51:50 Step 22/24 : LABEL arch=amd64 21:51:50 ---> Running in 3d21187f842f 21:51:50 Removing intermediate container 3d21187f842f 21:51:50 ---> 867da6192b4d 21:51:50 Step 23/24 : LABEL git_sha=2810485882268eab71dea1c3634af3fb61dca74c 21:51:50 ---> Running in 2f115da4c536 21:51:50 Removing intermediate container 2f115da4c536 21:51:50 ---> 6c05f22eb2fe 21:51:50 Step 24/24 : LABEL version=0.0.0 21:51:50 ---> Running in cb2d7cd02121 21:51:50 Removing intermediate container cb2d7cd02121 21:51:50 ---> 1eaa5f2b8e40 21:51:50 [Warning] One or more build-args [ARCH] were not consumed 21:51:50 Successfully built 1eaa5f2b8e40 21:51:50 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] } 21:52:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:52:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:52:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:52:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:52:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 19.4% of statements 21:52:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.289s coverage: 97.1% of statements 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 9.4% of statements 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 21.7% of statements 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.670s coverage: 42.9% of statements 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.818s coverage: 68.9% of statements 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.197s coverage: 53.8% of statements 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.207s coverage: 30.4% of statements 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.234s coverage: 68.9% of statements 21:53:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 21:53:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:53:16 GO111MODULE=on go vet ./... 21:53:55 gofmt -l . 21:53:55 [ "`gofmt -l .`" = "" ] 21:53:55 ./bin/test-attribution-txt.sh 21:53:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:53:55 $ docker stop --time=1 8783a83c15080fb3e05ad68e57f720e840a67508a43a6ec53df438ae366a752b 21:53:57 $ docker rm -f 8783a83c15080fb3e05ad68e57f720e840a67508a43a6ec53df438ae366a752b [Pipeline] // withDockerContainer [Pipeline] sh 21:53:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:58 Warning: overwriting stash ‘coverage-report’ 21:53:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:54:02 + ls -al . 21:54:02 total 256 21:54:02 drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:53 . 21:54:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 .. 21:54:02 -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:50 .dockerignore 21:54:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:50 .git 21:54:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:50 .github 21:54:02 -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:50 .gitignore 21:54:02 -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:50 Dockerfile.build 21:54:02 -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:50 Jenkinsfile 21:54:02 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:50 LICENSE 21:54:02 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:50 Makefile 21:54:02 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:50 README.md 21:54:02 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:50 RELEASE-NOTES.txt 21:54:02 -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:47 VERSION 21:54:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:50 bin 21:54:02 -rw-r--r-- 1 jenkins jenkins 142787 Jan 15 21:53 coverage.out 21:54:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 example 21:54:02 -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:53 go.mod 21:54:02 -rw-r--r-- 1 jenkins jenkins 14214 Jan 15 21:53 go.sum 21:54:02 drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:50 internal 21:54:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 openapi 21:54:02 drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:50 pkg 21:54:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 snap 21:54:02 -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:50 version.go [Pipeline] isUnix [Pipeline] sh 21:54:02 + 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=2810485882268eab71dea1c3634af3fb61dca74c --label arch=arm64 --label version=0.0.0 . 21:54:03 Sending build context to Docker daemon 2.725MB 21:54:03 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:54:03 Step 2/24 : FROM ${BASE} AS builder 21:54:03 ---> a5b3fdee01bd 21:54:03 Step 3/24 : ARG MAKE='make build' 21:54:03 ---> Running in dafccff24783 21:54:04 Removing intermediate container dafccff24783 21:54:04 ---> 49b9be900b9f 21:54:04 Step 4/24 : WORKDIR /device-sdk-go 21:54:04 ---> Running in 477d14f07b9d 21:54:04 Removing intermediate container 477d14f07b9d 21:54:04 ---> 9c4958a8fc00 21:54:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:54:05 ---> Running in 46868b454251 21:54:05 Removing intermediate container 46868b454251 21:54:05 ---> 510d605963e0 21:54:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:54:05 ---> Running in 6df9991b62a6 21:54:07 Removing intermediate container 6df9991b62a6 21:54:07 ---> 65599064904a 21:54:07 Step 7/24 : RUN apk add --update --no-cache make git 21:54:07 ---> Running in cc2c26df964e 21:54:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:54:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:54:10 OK: 142 MiB in 39 packages 21:54:11 Removing intermediate container cc2c26df964e 21:54:11 ---> 2602504ca9e5 21:54:11 Step 8/24 : COPY . . 21:54:12 ---> feccc934f09d 21:54:12 Step 9/24 : RUN ${MAKE} 21:54:12 ---> Running in 372c73ea87d6 21:54:14 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 21:54:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:54:41 Removing intermediate container 372c73ea87d6 21:54:41 ---> 60b75e653d8d 21:54:41 Step 10/24 : FROM scratch 21:54:41 ---> 21:54:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:54:41 ---> Running in d6f5e3ac9cb9 21:54:41 Removing intermediate container d6f5e3ac9cb9 21:54:41 ---> 4a72b397bdd6 21:54:41 Step 12/24 : ENV APP_PORT=49990 21:54:41 ---> Running in c5ff4adad83f 21:54:42 Removing intermediate container c5ff4adad83f 21:54:42 ---> 21206f2a4fb6 21:54:42 Step 13/24 : EXPOSE $APP_PORT 21:54:42 ---> Running in c20729c9ac14 21:54:42 Removing intermediate container c20729c9ac14 21:54:42 ---> dc2c7f2c8d0d 21:54:42 Step 14/24 : WORKDIR / 21:54:42 ---> Running in 0b549edf12b9 21:54:43 Removing intermediate container 0b549edf12b9 21:54:43 ---> 78bca84ba994 21:54:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:54:44 ---> b4853fac9f83 21:54:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:54:45 ---> 8e0f4194d4cf 21:54:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:54:45 ---> ee657198b891 21:54:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:54:46 ---> 96cd53b7b744 21:54:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:54:47 ---> f9b4afbd0930 21:54:47 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:54:47 ---> Running in 91263854ebe9 21:54:48 Removing intermediate container 91263854ebe9 21:54:48 ---> d214af06f775 21:54:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:54:48 ---> Running in 8705e85ee616 21:54:48 Removing intermediate container 8705e85ee616 21:54:48 ---> 630985f8bcb0 21:54:48 Step 22/24 : LABEL arch=arm64 21:54:48 ---> Running in 7764bce938c0 21:54:49 Removing intermediate container 7764bce938c0 21:54:49 ---> 0ab2a6ad2355 21:54:49 Step 23/24 : LABEL git_sha=2810485882268eab71dea1c3634af3fb61dca74c 21:54:49 ---> Running in c6b87031b0d9 21:54:49 Removing intermediate container c6b87031b0d9 21:54:49 ---> 8852a3dde860 21:54:49 Step 24/24 : LABEL version=0.0.0 21:54:49 ---> Running in 0078ecec9920 21:54:50 Removing intermediate container 0078ecec9920 21:54:50 ---> 85719fe7975f 21:54:50 [Warning] One or more build-args [ARCH] were not consumed 21:54:50 Successfully built 85719fe7975f 21:54:50 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 21:54:52 provisioning config files... 21:54:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config2452247285571308864tmp [Pipeline] { [Pipeline] sh 21:54:52 + set +x 21:54:52 + curl -s https://codecov.io/bash 21:54:52 + bash -s -- 21:54:52 21:54:52 _____ _ 21:54:52 / ____| | | 21:54:52 | | ___ __| | ___ ___ _____ __ 21:54:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:54:52 | |___| (_) | (_| | __/ (_| (_) \ V / 21:54:52 \_____\___/ \__,_|\___|\___\___/ \_/ 21:54:52 Bash-20210115-cec3c92 21:54:52 21:54:52 21:54:52 ==> git version 2.24.3 found 21:54:52 ==> 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 21:54:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:54:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:54:52 ==> Jenkins CI detected. 21:54:52 project root: . 21:54:52 --> token set from env 21:54:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:54:52 ==> Running gcov in . (disable via -X gcov) 21:54:52 ==> Python coveragepy not found 21:54:52 ==> Searching for coverage reports in: 21:54:52 + . 21:54:52 -> Found 1 reports 21:54:52 ==> Detecting git/mercurial file structure 21:54:52 ==> Reading reports 21:54:52 + ./coverage.out bytes=142787 21:54:52 ==> Appending adjustments 21:54:52 https://docs.codecov.io/docs/fixing-reports 21:54:53 + Found adjustments 21:54:53 ==> Gzipping contents 21:54:53 24K /tmp/codecov.5KFf8H.gz 21:54:53 ==> Uploading reports 21:54:53 url: https://codecov.io 21:54:53 query: branch=PR-728&commit=2810485882268eab71dea1c3634af3fb61dca74c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 21:54:53 -> Pinging Codecov 21:54:53 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=2810485882268eab71dea1c3634af3fb61dca74c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 21:54:54 -> Uploading to 21:54:54 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/2810485882268eab71dea1c3634af3fb61dca74c/f698f14f-aa17-4820-bd28-3ad2637aa7c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T215454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b50a407594d8621477fa52457fef2998bd22f1b77ee3f0a9324d3f8c1db5ac3 21:54:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:54:54 Dload Upload Total Spent Left Speed 21:54:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22111 0 0 100 22111 0 44486 --:--:-- --:--:-- --:--:-- 44578 21:54:54 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2810485882268eab71dea1c3634af3fb61dca74c [Pipeline] } 21:54:54 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 21:54:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:54:57 ---> package-listing.sh 21:54:57 ++ facter osfamily 21:54:57 ++ tr '[:upper:]' '[:lower:]' 21:54:57 + OS_FAMILY=redhat 21:54:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 21:54:57 + START_PACKAGES=/tmp/packages_start.txt 21:54:57 + END_PACKAGES=/tmp/packages_end.txt 21:54:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:57 + PACKAGES=/tmp/packages_start.txt 21:54:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 21:54:57 + PACKAGES=/tmp/packages_end.txt 21:54:57 + case "${OS_FAMILY}" in 21:54:57 + rpm -qa 21:54:57 + sort 21:55:02 + '[' -f /tmp/packages_start.txt ']' 21:55:02 + '[' -f /tmp/packages_end.txt ']' 21:55:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:55:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 21:55:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ 21:55:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo 21:55:02 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:55:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:55:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:03 21:55:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:55:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:03 alpine: Pulling from edgex-lftools-log-publisher 21:55:03 df20fa9351a1: Pulling fs layer 21:55:03 36b3adc4ff6f: Pulling fs layer 21:55:03 8ad3a11d3b57: Pulling fs layer 21:55:03 46f8f816bc3b: Pulling fs layer 21:55:03 93b61091891f: Pulling fs layer 21:55:03 93b9cdb0e59b: Pulling fs layer 21:55:03 5e14af77c1be: Pulling fs layer 21:55:03 01666e4c0597: Pulling fs layer 21:55:03 aa168da1d23b: Pulling fs layer 21:55:03 93b61091891f: Waiting 21:55:03 93b9cdb0e59b: Waiting 21:55:03 5e14af77c1be: Waiting 21:55:03 01666e4c0597: Waiting 21:55:03 aa168da1d23b: Waiting 21:55:03 46f8f816bc3b: Waiting 21:55:03 36b3adc4ff6f: Verifying Checksum 21:55:03 36b3adc4ff6f: Download complete 21:55:03 46f8f816bc3b: Verifying Checksum 21:55:03 46f8f816bc3b: Download complete 21:55:04 df20fa9351a1: Verifying Checksum 21:55:04 df20fa9351a1: Download complete 21:55:04 93b61091891f: Verifying Checksum 21:55:04 93b61091891f: Download complete 21:55:04 93b9cdb0e59b: Verifying Checksum 21:55:04 93b9cdb0e59b: Download complete 21:55:04 01666e4c0597: Verifying Checksum 21:55:04 01666e4c0597: Download complete 21:55:04 5e14af77c1be: Verifying Checksum 21:55:04 5e14af77c1be: Download complete 21:55:04 8ad3a11d3b57: Verifying Checksum 21:55:04 8ad3a11d3b57: Download complete 21:55:04 df20fa9351a1: Pull complete 21:55:04 36b3adc4ff6f: Pull complete 21:55:05 8ad3a11d3b57: Pull complete 21:55:05 46f8f816bc3b: Pull complete 21:55:06 aa168da1d23b: Verifying Checksum 21:55:06 aa168da1d23b: Download complete 21:55:06 93b61091891f: Pull complete 21:55:06 93b9cdb0e59b: Pull complete 21:55:06 5e14af77c1be: Pull complete 21:55:06 01666e4c0597: Pull complete 21:55:14 aa168da1d23b: Pull complete 21:55:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:55:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:55:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:55:14 prd-centos7-docker-4c-2g-20649 does not seem to be running inside a container 21:55:14 $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:55:17 $ docker top bcd65aeabbba2f1a4f5120021d4261fc6ea292828048f86d0af94e8c3e8d13fa -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:18 + touch /tmp/pre-build-complete [Pipeline] sh 21:55:18 + mkdir -p /var/log/sa [Pipeline] sh 21:55:19 + ls /var/log/sa-host 21:55:19 + sadf -c /var/log/sa-host/sa15 21:55:19 file_magic: OK 21:55:19 HZ: Using current value: 100 21:55:19 file_header: OK 21:55:19 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 21:55:19 Statistics: 21:55:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:55:19 File successfully converted to sysstat format version 12.2.1 21:55:19 + sadf -c /var/log/sa-host/sa23 21:55:19 file_magic: OK 21:55:19 HZ: Using current value: 100 21:55:19 file_header: OK 21:55:19 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 21:55:19 Statistics: 21:55:19 Hnuu...uuuununununu... 21:55:19 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:19 provisioning config files... 21:55:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config2501964370355024699tmp [Pipeline] { [Pipeline] echo 21:55:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:55:19 ---> create-netrc.sh [Pipeline] } 21:55:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:55:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:55:20 ---> python-tools-install.sh [Pipeline] echo 21:55:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:55:20 ---> sudo-logs.sh 21:55:20 Archiving 'sudo' log.. [Pipeline] echo 21:55:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:55:20 ---> job-cost.sh 21:55:20 lf-activate-venv: SKIPPING 21:55:20 INFO: No Stack... 21:55:24 INFO: Retrieving Pricing Info for: v1-standard-2 21:55:24 INFO: Archiving Costs [Pipeline] echo 21:55:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:55:24 ---> logs-deploy.sh 21:55:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/3 21:55:24 INFO: archiving workspace using pattern(s): 21:55:26 Archives upload complete. 21:55:26 INFO: archiving logs to Nexus