Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc2fb99d94801e599dd318b6093e400577257e87+4d2675d668c2f9064e370a810b18e5856622130c (0d8a8f2695d0ab3e885337be3bd1017737a39e64) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1010 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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-883 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 Merge succeeded, producing 1e62149aacc7d3c3508981401439a5856b941d47 Checking out Revision 1e62149aacc7d3c3508981401439a5856b941d47 (PR-883) > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e62149aacc7d3c3508981401439a5856b941d47 # timeout=10 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" > git rev-list --no-walk cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:32 ========================================================= 22:42:32 EdgeX Global Pipelines Version Info 22:42:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:35 ------------------- 22:42:35 stable info: 22:42:35 ------------------- 22:42:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:35 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:42:35 Message: update stable to v1.0.186 22:42:37 ------------------- 22:42:37 experimental info: 22:42:37 ------------------- 22:42:37 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:37 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 22:42:37 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e62149aacc7d3c3508981401439a5856b941d47 [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e62149 [Pipeline] echo 22:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:38 provisioning config files... 22:42:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config4126835706973429011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:39 ---> docker-login.sh 22:42:39 nexus3.edgexfoundry.org:10001 22:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:40 Configure a credential helper to remove this warning. See 22:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:40 22:42:40 Login Succeeded 22:42:40 nexus3.edgexfoundry.org:10002 22:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:41 Configure a credential helper to remove this warning. See 22:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:41 22:42:41 Login Succeeded 22:42:41 nexus3.edgexfoundry.org:10003 22:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:42 Configure a credential helper to remove this warning. See 22:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:42 22:42:42 Login Succeeded 22:42:42 nexus3.edgexfoundry.org:10004 22:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:42 Configure a credential helper to remove this warning. See 22:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:42 22:42:42 Login Succeeded 22:42:42 docker.io 22:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:43 Configure a credential helper to remove this warning. See 22:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:43 22:42:43 Login Succeeded 22:42:43 ---> docker-login.sh ends [Pipeline] } 22:42:43 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 22:42:44 + git log --format=format:%s -1 1e62149aacc7d3c3508981401439a5856b941d47 [Pipeline] echo 22:42:44 GIT_COMMIT: 1e62149aacc7d3c3508981401439a5856b941d47, Commit Message: Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD [Pipeline] echo 22:42:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:44 22:42:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:45 latest: Pulling from edgex-devops/git-semver 22:42:45 31603596830f: Pulling fs layer 22:42:45 2a8b12db71e7: Pulling fs layer 22:42:45 6ca5941a6612: Pulling fs layer 22:42:45 ecc8261a40a4: Pulling fs layer 22:42:45 ecc8261a40a4: Waiting 22:42:45 2a8b12db71e7: Verifying Checksum 22:42:45 2a8b12db71e7: Download complete 22:42:45 31603596830f: Verifying Checksum 22:42:45 31603596830f: Download complete 22:42:45 ecc8261a40a4: Verifying Checksum 22:42:45 ecc8261a40a4: Download complete 22:42:46 6ca5941a6612: Verifying Checksum 22:42:46 6ca5941a6612: Download complete 22:42:46 31603596830f: Pull complete 22:42:46 2a8b12db71e7: Pull complete 22:42:50 6ca5941a6612: Pull complete 22:42:51 ecc8261a40a4: Pull complete 22:42:51 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:51 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 22:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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 22:42:55 $ docker top 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:55 [ssh-agent] Looking for ssh-agent implementation... 22:42:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:55 $ docker exec 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent 22:42:56 SSH_AUTH_SOCK=/tmp/ssh-5AeRgHfjVseR/agent.11 22:42:56 SSH_AGENT_PID=17 22:42:56 Running ssh-add (command line suppressed) 22:42:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6703860475153156551.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6703860475153156551.key) 22:42:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:56 + git tag --points-at HEAD [Pipeline] } 22:42:57 $ docker exec --env ******** --env ******** 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent -k 22:42:57 unset SSH_AUTH_SOCK; 22:42:57 unset SSH_AGENT_PID; 22:42:57 echo Agent pid 17 killed; 22:42:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:57 [ssh-agent] Looking for ssh-agent implementation... 22:42:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:57 $ docker exec 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent 22:42:58 SSH_AUTH_SOCK=/tmp/ssh-0H6huX7MUYf5/agent.45 22:42:58 SSH_AGENT_PID=51 22:42:58 Running ssh-add (command line suppressed) 22:42:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6920722281305851179.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6920722281305851179.key) 22:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:59 + git semver init 22:42:59 # -> Open(): unable to determine branch for HEAD 22:42:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git 22:42:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 22:42:59 # $SEMVER_REMOTE_NAME = origin 22:42:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:59 # $SEMVER_USER_NAME = edgex-jenkins 22:42:59 # $SEMVER_BRANCH = PR-883 22:42:59 # $SEMVER_TEMP = /tmp/semver-861054426 22:42:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:43:00 # '/tmp/semver-861054426' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' 22:43:00 # -> Force: false 22:43:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } 22:43:01 $ docker exec --env ******** --env ******** 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent -k 22:43:01 unset SSH_AUTH_SOCK; 22:43:01 unset SSH_AGENT_PID; 22:43:01 echo Agent pid 51 killed; 22:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:43:02 + git semver [Pipeline] } 22:43:02 $ docker stop --time=1 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b 22:43:04 $ docker rm -f 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b [Pipeline] // withDockerContainer [Pipeline] sh 22:43:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:43:06 Stashed 1 file(s) [Pipeline] echo 22:43:06 [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 22:43:21 Still waiting to schedule task 22:43:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:43:21 Still waiting to schedule task 22:43:21 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-958’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-1008’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1018’ is offline 22:45:33 Running on prd-centos7-docker-4c-2g-1026 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws 22:45:33 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 22:45:36 using credential edgex-jenkins-ssh 22:45:36 Cloning the remote Git repository 22:45:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:36 > git init /w/workspace/device-sdk-go/4 # timeout=10 22:45:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:36 > git --version # timeout=10 22:45:36 > git --version # 'git version 2.24.3' 22:45:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:38 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 22:45:38 Merge succeeded, producing 92f044f8b65c9e5a3c14ea080f23db1832d56f41 22:45:38 Checking out Revision 92f044f8b65c9e5a3c14ea080f23db1832d56f41 (PR-883) 22:45:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:38 > git config core.sparsecheckout # timeout=10 22:45:38 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 22:45:38 > git remote # timeout=10 22:45:38 > git config --get remote.origin.url # timeout=10 22:45:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:38 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 22:45:38 > git rev-parse HEAD^{commit} # timeout=10 22:45:38 > git config core.sparsecheckout # timeout=10 22:45:38 > git checkout -f 92f044f8b65c9e5a3c14ea080f23db1832d56f41 # timeout=10 22:45:42 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" 22:45:42 > git rev-list --no-walk cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:45:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:43 + sudo service docker restart 22:45:43 + true 22:45:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:45 provisioning config files... 22:45:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3119686158823590491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:45 ---> docker-login.sh 22:45:45 nexus3.edgexfoundry.org:10001 22:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:45 Configure a credential helper to remove this warning. See 22:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:45 22:45:45 Login Succeeded 22:45:45 nexus3.edgexfoundry.org:10002 22:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:46 Configure a credential helper to remove this warning. See 22:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:46 22:45:46 Login Succeeded 22:45:46 nexus3.edgexfoundry.org:10003 22:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:46 Configure a credential helper to remove this warning. See 22:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:46 22:45:46 Login Succeeded 22:45:46 nexus3.edgexfoundry.org:10004 22:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:46 Configure a credential helper to remove this warning. See 22:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:46 22:45:46 Login Succeeded 22:45:46 docker.io 22:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:47 Configure a credential helper to remove this warning. See 22:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:47 22:45:47 Login Succeeded 22:45:47 ---> docker-login.sh ends [Pipeline] } 22:45:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:47 ========================================================= 22:45:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:45:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:47 + 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 . 22:45:47 Sending build context to Docker daemon 2.452MB 22:45:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:47 Step 2/8 : FROM ${BASE} 22:45:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:47 188c0c94c7c5: Pulling fs layer 22:45:47 0ef7d3d256c8: Pulling fs layer 22:45:47 de9db76c5a1d: Pulling fs layer 22:45:47 bca2f99d35d6: Pulling fs layer 22:45:47 93359f2a8cfa: Pulling fs layer 22:45:47 7c6f9722023f: Pulling fs layer 22:45:47 a35cf1a2eb13: Pulling fs layer 22:45:47 93359f2a8cfa: Waiting 22:45:47 7c6f9722023f: Waiting 22:45:47 a35cf1a2eb13: Waiting 22:45:47 bca2f99d35d6: Waiting 22:45:47 de9db76c5a1d: Verifying Checksum 22:45:47 de9db76c5a1d: Download complete 22:45:47 0ef7d3d256c8: Verifying Checksum 22:45:47 0ef7d3d256c8: Download complete 22:45:47 93359f2a8cfa: Verifying Checksum 22:45:47 93359f2a8cfa: Download complete 22:45:47 188c0c94c7c5: Verifying Checksum 22:45:47 188c0c94c7c5: Download complete 22:45:47 7c6f9722023f: Verifying Checksum 22:45:47 7c6f9722023f: Download complete 22:45:48 188c0c94c7c5: Pull complete 22:45:48 0ef7d3d256c8: Pull complete 22:45:48 de9db76c5a1d: Pull complete 22:45:49 a35cf1a2eb13: Download complete 22:45:50 bca2f99d35d6: Verifying Checksum 22:45:50 bca2f99d35d6: Download complete 22:45:56 bca2f99d35d6: Pull complete 22:45:56 93359f2a8cfa: Pull complete 22:45:56 7c6f9722023f: Pull complete 22:46:01 a35cf1a2eb13: Pull complete 22:46:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:46:01 ---> a62c8e92a672 22:46:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:01 ---> Running in e668eadb6d2b 22:46:01 Removing intermediate container e668eadb6d2b 22:46:01 ---> 753ae25fd153 22:46:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:01 ---> Running in 35d03187dbae 22:46:02 Removing intermediate container 35d03187dbae 22:46:02 ---> 318e5f2b91d1 22:46:02 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:46:02 ---> Running in fbf600499434 22:46:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:46:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:46:05 (1/6) Installing libc-dev (0.7.2-r3) 22:46:05 (2/6) Installing libsodium (1.0.18-r0) 22:46:05 (3/6) Installing pkgconf (1.7.2-r0) 22:46:05 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:05 (5/6) Installing libzmq (4.3.3-r0) 22:46:05 (6/6) Installing zeromq-dev (4.3.3-r0) 22:46:05 Executing busybox-1.31.1-r19.trigger 22:46:05 OK: 167 MiB in 45 packages 22:46:06 Removing intermediate container fbf600499434 22:46:06 ---> 66905081ca6d 22:46:06 Step 6/8 : WORKDIR /device-sdk-go 22:46:06 ---> Running in 9165c94399d6 22:46:06 Removing intermediate container 9165c94399d6 22:46:06 ---> c9cf50157422 22:46:06 Step 7/8 : COPY . . 22:46:08 ---> ac47c02520fe 22:46:08 Step 8/8 : RUN go mod download 22:46:08 ---> Running in 95610318e253 22:46:30 Removing intermediate container 95610318e253 22:46:30 ---> 174a8fecf81c 22:46:30 Successfully built 174a8fecf81c 22:46:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:46:30 + docker inspect -f . ci-base-image-x86_64 22:46:30 . [Pipeline] withDockerContainer 22:46:30 prd-centos7-docker-4c-2g-1026 does not seem to be running inside a container 22:46:30 $ 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-x86_64 cat 22:46:31 $ docker top ec45cbd65331ce6c498c6d13ba4b4006170b39a5d06d39591cb1bf5a0f9c04d5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:32 + go version 22:46:32 go version go1.15.5 linux/amd64 [Pipeline] } 22:46:32 $ docker stop --time=1 ec45cbd65331ce6c498c6d13ba4b4006170b39a5d06d39591cb1bf5a0f9c04d5 22:46:33 $ docker rm -f ec45cbd65331ce6c498c6d13ba4b4006170b39a5d06d39591cb1bf5a0f9c04d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:34 + docker inspect -f . ci-base-image-x86_64 22:46:34 . [Pipeline] withDockerContainer 22:46:34 prd-centos7-docker-4c-2g-1026 does not seem to be running inside a container 22:46:34 $ 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-x86_64 cat 22:46:34 $ docker top b2f982c80a58813ee9e8ec3f332e3a436eaf6f7d966b1c23b7ca66a01810b71b -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:35 + make test 22:46:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1028 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws 22:46:39 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 22:46:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:46:46 using credential edgex-jenkins-ssh 22:46:46 Cloning the remote Git repository 22:46:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:46:46 > git init /w/workspace/device-sdk-go/4 # timeout=10 22:46:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:46:46 > git --version # timeout=10 22:46:46 > git --version # 'git version 2.17.1' 22:46:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:48 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 22:46:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:46:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:46:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:48 > git config core.sparsecheckout # timeout=10 22:46:48 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 22:46:49 Merge succeeded, producing d58db6aa6448ebb85dab5c2a7a7cbbea0e6ef7f2 22:46:49 Checking out Revision d58db6aa6448ebb85dab5c2a7a7cbbea0e6ef7f2 (PR-883) 22:46:48 > git remote # timeout=10 22:46:48 > git config --get remote.origin.url # timeout=10 22:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:48 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 22:46:49 > git rev-parse HEAD^{commit} # timeout=10 22:46:49 > git config core.sparsecheckout # timeout=10 22:46:49 > git checkout -f d58db6aa6448ebb85dab5c2a7a7cbbea0e6ef7f2 # timeout=10 22:46:53 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" 22:46:53 > git rev-list --no-walk cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:46:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:46:55 + sudo service docker restart 22:46:55 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:46:58 provisioning config files... 22:46:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6146274748176639922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:59 ---> docker-login.sh 22:46:59 nexus3.edgexfoundry.org:10001 22:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:00 Configure a credential helper to remove this warning. See 22:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:00 22:47:00 Login Succeeded 22:47:00 nexus3.edgexfoundry.org:10002 22:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:00 Configure a credential helper to remove this warning. See 22:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:00 22:47:00 Login Succeeded 22:47:00 nexus3.edgexfoundry.org:10003 22:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:01 Configure a credential helper to remove this warning. See 22:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:01 22:47:01 Login Succeeded 22:47:01 nexus3.edgexfoundry.org:10004 22:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:02 Configure a credential helper to remove this warning. See 22:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:02 22:47:02 Login Succeeded 22:47:02 docker.io 22:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:02 Configure a credential helper to remove this warning. See 22:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:02 22:47:02 Login Succeeded 22:47:02 ---> docker-login.sh ends [Pipeline] } 22:47:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:47:03 ========================================================= 22:47:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:47:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:47:03 + 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 . 22:47:04 Sending build context to Docker daemon 2.451MB 22:47:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:47:04 Step 2/8 : FROM ${BASE} 22:47:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:47:04 5f621e34cdf4: Pulling fs layer 22:47:04 a4357932f1b6: Pulling fs layer 22:47:04 18c013af1878: Pulling fs layer 22:47:04 00ac8860ef70: Pulling fs layer 22:47:04 63d7cb157983: Pulling fs layer 22:47:04 b116817d02f9: Pulling fs layer 22:47:04 745a02a5169b: Pulling fs layer 22:47:04 63d7cb157983: Waiting 22:47:04 b116817d02f9: Waiting 22:47:04 745a02a5169b: Waiting 22:47:04 00ac8860ef70: Waiting 22:47:04 18c013af1878: Download complete 22:47:04 a4357932f1b6: Verifying Checksum 22:47:04 a4357932f1b6: Download complete 22:47:04 63d7cb157983: Verifying Checksum 22:47:04 63d7cb157983: Download complete 22:47:04 b116817d02f9: Download complete 22:47:04 5f621e34cdf4: Verifying Checksum 22:47:04 5f621e34cdf4: Download complete 22:47:05 5f621e34cdf4: Pull complete 22:47:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:47:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:47:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:47:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:47:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:47:05 a4357932f1b6: Pull complete 22:47:06 18c013af1878: Pull complete 22:47:07 745a02a5169b: Verifying Checksum 22:47:07 745a02a5169b: Download complete 22:47:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements 22:47:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 22:47:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.113s coverage: 7.8% of statements 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:47:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 32.0% of statements 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 57.1% of statements 22:47:09 00ac8860ef70: Verifying Checksum 22:47:09 00ac8860ef70: Download complete 22:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.327s coverage: 6.6% of statements 22:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 22:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:47:09 GO111MODULE=on go vet ./... 22:47:19 00ac8860ef70: Pull complete 22:47:19 63d7cb157983: Pull complete 22:47:19 b116817d02f9: Pull complete 22:47:22 745a02a5169b: Pull complete 22:47:22 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:47:22 ---> b7e6874047d6 22:47:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:26 ---> Running in be6508353397 22:47:26 Removing intermediate container be6508353397 22:47:26 ---> 78c10ce91b65 22:47:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:26 ---> Running in 003e08b96171 22:47:27 gofmt -l . 22:47:27 [ "`gofmt -l .`" = "" ] 22:47:27 ./bin/test-attribution-txt.sh 22:47:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:47:27 $ docker stop --time=1 b2f982c80a58813ee9e8ec3f332e3a436eaf6f7d966b1c23b7ca66a01810b71b 22:47:29 Removing intermediate container 003e08b96171 22:47:29 ---> 8bf1791a63f0 22:47:29 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:47:29 ---> Running in b01a646291cd 22:47:29 $ docker rm -f b2f982c80a58813ee9e8ec3f332e3a436eaf6f7d966b1c23b7ca66a01810b71b [Pipeline] // withDockerContainer [Pipeline] sh 22:47:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:47:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 22:47:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:31 (1/6) Installing libc-dev (0.7.2-r3) 22:47:31 (2/6) Installing libsodium (1.0.18-r0) 22:47:31 (3/6) Installing pkgconf (1.7.2-r0) 22:47:31 + ls -al . 22:47:31 total 188 22:47:31 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 22:47 . 22:47:31 drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 22:45 .. 22:47:31 drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 22:45 bin 22:47:31 -rw-r--r--. 1 jenkins jenkins 100116 Apr 19 22:47 coverage.out 22:47:31 -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 22:45 Dockerfile.build 22:47:31 -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 22:45 .dockerignore 22:47:31 drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 22:45 example 22:47:31 drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 22:45 .git 22:47:31 drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:45 .github 22:47:31 -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 22:45 .gitignore 22:47:31 -rw-r--r--. 1 jenkins jenkins 574 Apr 19 22:47 go.mod 22:47:31 -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 22:47 go.sum 22:47:31 drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 22:45 internal 22:47:31 -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 22:45 Jenkinsfile 22:47:31 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 22:45 LICENSE 22:47:31 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 22:45 Makefile 22:47:31 drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 22:45 openapi 22:47:31 drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 22:45 pkg 22:47:31 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 19 22:45 README.md 22:47:31 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 22:45 RELEASE-NOTES.txt 22:47:31 drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 22:45 snap 22:47:31 -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 22:43 VERSION 22:47:31 -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 22:45 version.go [Pipeline] isUnix 22:47:31 (4/6) Installing libsodium-dev (1.0.18-r0) 22:47:31 (5/6) Installing libzmq (4.3.3-r0) 22:47:31 (6/6) Installing zeromq-dev (4.3.3-r0) [Pipeline] sh 22:47:32 Executing busybox-1.31.1-r19.trigger 22:47:32 OK: 144 MiB in 45 packages 22:47:32 + 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=1e62149aacc7d3c3508981401439a5856b941d47 --label arch=amd64 --label version=0.0.0 . 22:47:32 Sending build context to Docker daemon 2.553MB 22:47:32 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:47:32 Step 2/23 : FROM ${BASE} AS builder 22:47:32 ---> 174a8fecf81c 22:47:32 Step 3/23 : WORKDIR /device-sdk-go 22:47:32 ---> Running in 4d6db9a4b1e7 22:47:33 Removing intermediate container 4d6db9a4b1e7 22:47:33 ---> fdde533877f7 22:47:33 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:33 ---> Running in 5efe1c11fa2d 22:47:33 Removing intermediate container 5efe1c11fa2d 22:47:33 ---> 2b2c2062e1a8 22:47:33 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:33 ---> Running in b1873f47034d 22:47:33 Removing intermediate container b01a646291cd 22:47:33 ---> b425d19c32ee 22:47:33 Step 6/8 : WORKDIR /device-sdk-go 22:47:33 ---> Running in c31182bb9194 22:47:34 Removing intermediate container b1873f47034d 22:47:34 ---> 961d26b15c1c 22:47:34 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:47:34 ---> Running in e84c6832bcf8 22:47:34 Removing intermediate container c31182bb9194 22:47:34 ---> ae2068cd09a0 22:47:34 Step 7/8 : COPY . . 22:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:35 ---> 695bf390e892 22:47:35 Step 8/8 : RUN go mod download 22:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:35 ---> Running in e81da46f67cf 22:47:36 OK: 167 MiB in 45 packages 22:47:36 Removing intermediate container e84c6832bcf8 22:47:36 ---> 2cd35f66649f 22:47:36 Step 7/23 : COPY . . 22:47:37 ---> a8cb3f8a4fde 22:47:37 Step 8/23 : RUN go mod download 22:47:37 ---> Running in f3149aaf9734 22:47:39 Removing intermediate container f3149aaf9734 22:47:39 ---> 819649a32de4 22:47:39 Step 9/23 : RUN make build 22:47:39 ---> Running in ac959e54efda 22:47:39 CGO_ENABLED=1 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 22:47:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:47:52 Removing intermediate container ac959e54efda 22:47:52 ---> 6319a3f75dcd 22:47:52 Step 10/23 : FROM alpine:3.12 22:47:52 3.12: Pulling from library/alpine 22:47:52 339de151aab4: Pulling fs layer 22:47:53 339de151aab4: Verifying Checksum 22:47:53 339de151aab4: Download complete 22:47:53 339de151aab4: Pull complete 22:47:53 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:47:53 Status: Downloaded newer image for alpine:3.12 22:47:53 ---> 13621d1b12d4 22:47:53 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:53 ---> Running in ca78190b5861 22:47:53 Removing intermediate container ca78190b5861 22:47:53 ---> efee551a67eb 22:47:53 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:53 ---> Running in 853da074064b 22:47:54 Removing intermediate container 853da074064b 22:47:54 ---> 6c4def0b6b06 22:47:54 Step 13/23 : RUN apk add --update --no-cache zeromq 22:47:54 ---> Running in c73a2c0ed146 22:47:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:56 (1/5) Installing libgcc (9.3.0-r2) 22:47:56 (2/5) Installing libsodium (1.0.18-r0) 22:47:56 (3/5) Installing libstdc++ (9.3.0-r2) 22:47:57 (4/5) Installing libzmq (4.3.3-r0) 22:47:57 (5/5) Installing zeromq (4.3.3-r0) 22:47:57 Executing busybox-1.31.1-r20.trigger 22:47:57 OK: 8 MiB in 19 packages 22:47:58 Removing intermediate container c73a2c0ed146 22:47:58 ---> 4978bf9f3a78 22:47:58 Step 14/23 : WORKDIR / 22:47:58 ---> Running in 507a75fc43de 22:47:58 Removing intermediate container 507a75fc43de 22:47:58 ---> 5b731e02be33 22:47:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:47:58 ---> 8dfa7416e4d7 22:47:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:47:59 ---> 3b2246a16f52 22:47:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:47:59 ---> 4de69da817d5 22:47:59 Step 18/23 : EXPOSE 49990 22:47:59 ---> Running in 5dc653bcee4f 22:47:59 Removing intermediate container 5dc653bcee4f 22:47:59 ---> 661aacb2659c 22:47:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:47:59 ---> Running in 3a24f8c14c31 22:48:00 Removing intermediate container 3a24f8c14c31 22:48:00 ---> bcb835dbb00b 22:48:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:48:00 ---> Running in 076b54907926 22:48:00 Removing intermediate container 076b54907926 22:48:00 ---> e8e872353290 22:48:00 Step 21/23 : LABEL arch=amd64 22:48:00 ---> Running in f59c5cb43ac2 22:48:00 Removing intermediate container f59c5cb43ac2 22:48:00 ---> b57829ed4cbe 22:48:00 Step 22/23 : LABEL git_sha=1e62149aacc7d3c3508981401439a5856b941d47 22:48:00 ---> Running in a4c7fd5124bf 22:48:01 Removing intermediate container a4c7fd5124bf 22:48:01 ---> 380d6243c168 22:48:01 Step 23/23 : LABEL version=0.0.0 22:48:01 ---> Running in 0c2252c72740 22:48:01 Removing intermediate container 0c2252c72740 22:48:01 ---> c76dbd0b9954 22:48:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:48:01 Successfully built c76dbd0b9954 22:48:01 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 Post stage [Pipeline] libraryResource [Pipeline] sh 22:48:01 ---> job-cost.sh 22:48:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sQe2 22:48:02 Removing intermediate container e81da46f67cf 22:48:02 ---> b9756b1f2650 22:48:02 Successfully built b9756b1f2650 22:48:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:48:03 + docker inspect -f . ci-base-image-arm64 22:48:03 . [Pipeline] withDockerContainer 22:48:03 prd-ubuntu18.04-docker-arm64-4c-16g-1028 does not seem to be running inside a container 22:48:03 $ 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 22:48:05 $ docker top d2e99137f8c80b4ff8b642c160aa125eea9f7c0b05f208e5bd61c9702d442f57 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:06 + go version 22:48:06 go version go1.15.5 linux/arm64 [Pipeline] } 22:48:06 $ docker stop --time=1 d2e99137f8c80b4ff8b642c160aa125eea9f7c0b05f208e5bd61c9702d442f57 22:48:08 $ docker rm -f d2e99137f8c80b4ff8b642c160aa125eea9f7c0b05f208e5bd61c9702d442f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:48:09 + docker inspect -f . ci-base-image-arm64 22:48:09 . [Pipeline] withDockerContainer 22:48:09 prd-ubuntu18.04-docker-arm64-4c-16g-1028 does not seem to be running inside a container 22:48:09 $ 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 22:48:10 $ docker top 1ec8d24c9e60e0d16753c2f8af75b219e520f6f9ebcabd78a4bde7be0c76e7b8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:11 + make test 22:48:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:48:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:48:38 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:48:46 lf-activate-venv(): INFO: Adding /tmp/venv-sQe2/bin to PATH 22:48:46 INFO: No Stack... 22:48:46 INFO: Retrieving Pricing Info for: v1-standard-2 22:48:47 INFO: Archiving Costs [Pipeline] sh 22:48:47 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 22:48:47 + cut -d, -f6 [Pipeline] lock 22:48:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] 22:48:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] did not exist. Created. 22:48:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:48 + echo total: 0.029999999329447746 [Pipeline] stash 22:48:48 Stashed 1 file(s) [Pipeline] } 22:48:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.184s coverage: 28.1% of statements 22:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements 22:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.129s coverage: 7.8% of statements 22:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.215s coverage: 32.0% of statements 22:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.328s coverage: 57.1% of statements 22:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.127s coverage: 6.6% of statements 22:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements 22:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:49:44 GO111MODULE=on go vet ./... 22:50:31 gofmt -l . 22:50:31 [ "`gofmt -l .`" = "" ] 22:50:31 ./bin/test-attribution-txt.sh 22:50:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:50:31 $ docker stop --time=1 1ec8d24c9e60e0d16753c2f8af75b219e520f6f9ebcabd78a4bde7be0c76e7b8 22:50:33 $ docker rm -f 1ec8d24c9e60e0d16753c2f8af75b219e520f6f9ebcabd78a4bde7be0c76e7b8 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:34 Warning: overwriting stash ‘coverage-report’ 22:50:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:50:36 + ls -al . 22:50:36 total 224 22:50:36 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 22:50 . 22:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:46 .. 22:50:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 22:46 .dockerignore 22:50:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:46 .git 22:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:46 .github 22:50:36 -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 22:46 .gitignore 22:50:36 -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 22:46 Dockerfile.build 22:50:36 -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 22:46 Jenkinsfile 22:50:36 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 22:46 LICENSE 22:50:36 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 22:46 Makefile 22:50:36 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 19 22:46 README.md 22:50:36 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 22:46 RELEASE-NOTES.txt 22:50:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 22:43 VERSION 22:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:46 bin 22:50:36 -rw-r--r-- 1 jenkins jenkins 100117 Apr 19 22:49 coverage.out 22:50:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:46 example 22:50:36 -rw-r--r-- 1 jenkins jenkins 574 Apr 19 22:50 go.mod 22:50:36 -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 22:50 go.sum 22:50:36 drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 22:46 internal 22:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:46 openapi 22:50:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:46 pkg 22:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:46 snap 22:50:36 -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 22:46 version.go [Pipeline] isUnix [Pipeline] sh 22:50:37 + 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=1e62149aacc7d3c3508981401439a5856b941d47 --label arch=arm64 --label version=0.0.0 . 22:50:37 Sending build context to Docker daemon 2.552MB 22:50:37 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:50:37 Step 2/23 : FROM ${BASE} AS builder 22:50:37 ---> b9756b1f2650 22:50:37 Step 3/23 : WORKDIR /device-sdk-go 22:50:38 ---> Running in b4df25d05074 22:50:38 Removing intermediate container b4df25d05074 22:50:38 ---> 1ba7db89a37c 22:50:38 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:38 ---> Running in 9ad3008c4e7b 22:50:39 Removing intermediate container 9ad3008c4e7b 22:50:39 ---> 2f4ecc02d257 22:50:39 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:39 ---> Running in 6709d6a3d6d1 22:50:41 Removing intermediate container 6709d6a3d6d1 22:50:41 ---> f36177bdb7cf 22:50:41 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:50:41 ---> Running in a93aa18e34f0 22:50:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:50:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:50:43 OK: 144 MiB in 45 packages 22:50:44 Removing intermediate container a93aa18e34f0 22:50:44 ---> c50a6848696b 22:50:44 Step 7/23 : COPY . . 22:50:46 ---> b5d84e86b2e9 22:50:46 Step 8/23 : RUN go mod download 22:50:46 ---> Running in 0bae1755af06 22:50:49 Removing intermediate container 0bae1755af06 22:50:49 ---> 10cbe4599fa4 22:50:49 Step 9/23 : RUN make build 22:50:49 ---> Running in 6acf3e8f935b 22:50:49 CGO_ENABLED=1 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 22:51:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:51:24 Removing intermediate container 6acf3e8f935b 22:51:24 ---> 0d99e62518d9 22:51:24 Step 10/23 : FROM alpine:3.12 22:51:25 3.12: Pulling from library/alpine 22:51:25 d2f70382dc9a: Pulling fs layer 22:51:25 d2f70382dc9a: Verifying Checksum 22:51:25 d2f70382dc9a: Download complete 22:51:26 d2f70382dc9a: Pull complete 22:51:26 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:51:26 Status: Downloaded newer image for alpine:3.12 22:51:26 ---> 9852663dfa18 22:51:26 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:51:26 ---> Running in 2fdadecc0400 22:51:27 Removing intermediate container 2fdadecc0400 22:51:27 ---> 65937b54e571 22:51:27 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:27 ---> Running in 3a69e69c3720 22:51:29 Removing intermediate container 3a69e69c3720 22:51:29 ---> 1d86be0dc0f2 22:51:29 Step 13/23 : RUN apk add --update --no-cache zeromq 22:51:29 ---> Running in dfc940822939 22:51:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:51:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:51:31 (1/5) Installing libgcc (9.3.0-r2) 22:51:31 (2/5) Installing libsodium (1.0.18-r0) 22:51:32 (3/5) Installing libstdc++ (9.3.0-r2) 22:51:32 (4/5) Installing libzmq (4.3.3-r0) 22:51:32 (5/5) Installing zeromq (4.3.3-r0) 22:51:32 Executing busybox-1.31.1-r20.trigger 22:51:32 OK: 8 MiB in 19 packages 22:51:33 Removing intermediate container dfc940822939 22:51:33 ---> 42d4c0b13e46 22:51:33 Step 14/23 : WORKDIR / 22:51:33 ---> Running in f10a869b5506 22:51:34 Removing intermediate container f10a869b5506 22:51:34 ---> f5b7cdcf0c84 22:51:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:51:34 ---> de2636a0dce7 22:51:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:51:36 ---> be1e181d3cc0 22:51:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:51:36 ---> cc3015a1623c 22:51:36 Step 18/23 : EXPOSE 49990 22:51:36 ---> Running in 69a9fbb51e2a 22:51:37 Removing intermediate container 69a9fbb51e2a 22:51:37 ---> ed4721db3304 22:51:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:51:37 ---> Running in b1e67cd2b9d4 22:51:37 Removing intermediate container b1e67cd2b9d4 22:51:37 ---> 48cff0d7a076 22:51:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:51:37 ---> Running in d90cd37999f5 22:51:38 Removing intermediate container d90cd37999f5 22:51:38 ---> e1cf142eddd8 22:51:38 Step 21/23 : LABEL arch=arm64 22:51:38 ---> Running in aa7a6a534681 22:51:39 Removing intermediate container aa7a6a534681 22:51:39 ---> e4b12c073111 22:51:39 Step 22/23 : LABEL git_sha=1e62149aacc7d3c3508981401439a5856b941d47 22:51:39 ---> Running in 61551a90b616 22:51:39 Removing intermediate container 61551a90b616 22:51:39 ---> 4e6b74fe6abb 22:51:39 Step 23/23 : LABEL version=0.0.0 22:51:39 ---> Running in d49738028a86 22:51:39 Removing intermediate container d49738028a86 22:51:39 ---> 45ec0c851ce2 22:51:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:51:40 Successfully built 45ec0c851ce2 22:51:40 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 Post stage [Pipeline] libraryResource [Pipeline] sh 22:51:40 ---> job-cost.sh 22:51:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V9QG 22:52:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:53:56 lf-activate-venv(): INFO: Adding /tmp/venv-V9QG/bin to PATH 22:53:56 INFO: No Stack... 22:53:56 INFO: Retrieving Pricing Info for: lf-standard-4 22:53:56 INFO: Archiving Costs [Pipeline] sh 22:53:56 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 22:53:56 + cut -d, -f6 [Pipeline] lock 22:53:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] 22:53:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] did not exist. Created. 22:53:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:53:57 /w/workspace/device-sdk-go/4@tmp/durable-3a03199b/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-3a03199b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:53:57 + echo total: 0.20999999344348907 [Pipeline] stash 22:53:57 Warning: overwriting stash ‘stack-cost’ 22:53:57 Stashed 1 file(s) [Pipeline] } 22:53:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] // lock [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 22:53:58 provisioning config files... 22:53:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config495208072013731019tmp [Pipeline] { [Pipeline] sh 22:53:58 + set +x 22:53:58 + curl -s https://codecov.io/bash 22:53:58 + bash -s -- 22:53:58 22:53:58 _____ _ 22:53:58 / ____| | | 22:53:58 | | ___ __| | ___ ___ _____ __ 22:53:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:53:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:53:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:53:58 Bash-1.0.1 22:53:58 22:53:58 22:53:58 ==> git version 2.24.3 found 22:53:58 ==> 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 22:53:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:53:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:53:58 ==> Jenkins CI detected. 22:53:58 project root: . 22:53:58 --> token set from env 22:53:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:53:59 ==> Running gcov in . (disable via -X gcov) 22:53:59 ==> Python coveragepy not found 22:53:59 ==> Searching for coverage reports in: 22:53:59 + . 22:53:59 -> Found 1 reports 22:53:59 ==> Detecting git/mercurial file structure 22:53:59 ==> Reading reports 22:53:59 + ./coverage.out bytes=100117 22:53:59 ==> Appending adjustments 22:53:59 https://docs.codecov.io/docs/fixing-reports 22:53:59 + Found adjustments 22:53:59 ==> Gzipping contents 22:53:59 16K /tmp/codecov.jRgi5R.gz 22:53:59 ==> Uploading reports 22:53:59 url: https://codecov.io 22:53:59 query: branch=PR-883&commit=1e62149aacc7d3c3508981401439a5856b941d47&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= 22:53:59 -> Pinging Codecov 22:53:59 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=1e62149aacc7d3c3508981401439a5856b941d47&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= 22:53:59 -> Uploading to 22:53:59 https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/1e62149aacc7d3c3508981401439a5856b941d47/462a0b39-c6c8-481e-824a-ddbee5bc8105.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T225359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d05c79883b0002f70355a59d9397552fbe40a007d5a5058cb74deed098651a6 22:53:59 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:59 Dload Upload Total Spent Left Speed 22:54:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13540 0 0 100 13540 0 26099 --:--:-- --:--:-- --:--:-- 26088 22:54:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1e62149aacc7d3c3508981401439a5856b941d47 [Pipeline] } 22:54:00 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] { (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 22:54:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:02 ---> package-listing.sh 22:54:02 ++ tr '[:upper:]' '[:lower:]' 22:54:02 ++ facter osfamily 22:54:02 + OS_FAMILY=redhat 22:54:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 22:54:02 + START_PACKAGES=/tmp/packages_start.txt 22:54:02 + END_PACKAGES=/tmp/packages_end.txt 22:54:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:02 + PACKAGES=/tmp/packages_start.txt 22:54:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' 22:54:02 + PACKAGES=/tmp/packages_end.txt 22:54:02 + case "${OS_FAMILY}" in 22:54:02 + rpm -qa 22:54:02 + sort 22:54:15 + '[' -f /tmp/packages_start.txt ']' 22:54:15 + '[' -f /tmp/packages_end.txt ']' 22:54:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' 22:54:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ 22:54:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo 22:54:15 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-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:54:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:54:16 22:54:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:54:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:54:16 alpine: Pulling from edgex-lftools-log-publisher 22:54:16 df20fa9351a1: Pulling fs layer 22:54:16 36b3adc4ff6f: Pulling fs layer 22:54:16 8ad3a11d3b57: Pulling fs layer 22:54:16 46f8f816bc3b: Pulling fs layer 22:54:16 93b61091891f: Pulling fs layer 22:54:16 93b9cdb0e59b: Pulling fs layer 22:54:16 5e14af77c1be: Pulling fs layer 22:54:16 01666e4c0597: Pulling fs layer 22:54:16 aa168da1d23b: Pulling fs layer 22:54:16 5e14af77c1be: Waiting 22:54:16 93b61091891f: Waiting 22:54:16 01666e4c0597: Waiting 22:54:16 93b9cdb0e59b: Waiting 22:54:16 46f8f816bc3b: Waiting 22:54:17 36b3adc4ff6f: Download complete 22:54:17 46f8f816bc3b: Download complete 22:54:17 df20fa9351a1: Verifying Checksum 22:54:17 df20fa9351a1: Download complete 22:54:17 93b9cdb0e59b: Verifying Checksum 22:54:17 93b9cdb0e59b: Download complete 22:54:17 5e14af77c1be: Verifying Checksum 22:54:17 5e14af77c1be: Download complete 22:54:17 01666e4c0597: Verifying Checksum 22:54:17 01666e4c0597: Download complete 22:54:17 93b61091891f: Verifying Checksum 22:54:17 93b61091891f: Download complete 22:54:17 8ad3a11d3b57: Verifying Checksum 22:54:17 8ad3a11d3b57: Download complete 22:54:17 df20fa9351a1: Pull complete 22:54:18 36b3adc4ff6f: Pull complete 22:54:22 8ad3a11d3b57: Pull complete 22:54:22 aa168da1d23b: Verifying Checksum 22:54:22 aa168da1d23b: Download complete 22:54:22 46f8f816bc3b: Pull complete 22:54:22 93b61091891f: Pull complete 22:54:23 93b9cdb0e59b: Pull complete 22:54:23 5e14af77c1be: Pull complete 22:54:23 01666e4c0597: Pull complete 22:54:36 aa168da1d23b: Pull complete 22:54:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:54:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:54:37 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 22:54:37 $ 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-883/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-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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 22:54:41 $ docker top bec195f49e6f1e1af11081ba6d44adb83f8cdcd015c98b3894e26c83a04c8567 -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:41 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:42 + mkdir -p /var/log/sa [Pipeline] sh 22:54:43 + ls /var/log/sa-host 22:54:43 + sadf -c /var/log/sa-host/sa19 22:54:43 file_magic: OK 22:54:43 HZ: Using current value: 100 22:54:43 file_header: OK 22:54:43 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 22:54:43 Statistics: 22:54:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:54:43 File successfully converted to sysstat format version 12.2.1 22:54:43 + sadf -c /var/log/sa-host/sa23 22:54:43 file_magic: OK 22:54:43 HZ: Using current value: 100 22:54:43 file_header: OK 22:54:43 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 22:54:43 Statistics: 22:54:43 Hnuu...uuuununununu... 22:54:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:43 provisioning config files... 22:54:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config256796311150811232tmp [Pipeline] { [Pipeline] echo 22:54:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:44 ---> create-netrc.sh [Pipeline] } 22:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:54:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:54:44 ---> python-tools-install.sh [Pipeline] echo 22:54:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:45 ---> sudo-logs.sh 22:54:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:45 ---> job-cost.sh 22:54:45 lf-activate-venv: SKIPPING 22:54:45 DEBUG: total: 0.20999999344348907 22:54:45 INFO: Retrieving Stack Cost... 22:54:46 INFO: Retrieving Pricing Info for: v1-standard-2 22:54:47 INFO: Archiving Costs [Pipeline] echo 22:54:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:47 ---> logs-deploy.sh 22:54:47 lf-activate-venv: SKIPPING 22:54:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/4 22:54:47 INFO: archiving workspace using pattern(s): 22:54:51 Archives upload complete. 22:54:51 INFO: archiving logs to Nexus