Pull request #827 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6d0d00b72e8af535366520434a325914bf687937+e2b795a37b7f4058c403051823a7e04e4e702841 (19eff4a1f8189a370f2d4b0b88625015b8b34629) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30512 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [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-827 # 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 e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 6d0d00b72e8af535366520434a325914bf687937 Merge succeeded, producing 6d0d00b72e8af535366520434a325914bf687937 Checking out Revision 6d0d00b72e8af535366520434a325914bf687937 (PR-827) > 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/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # 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 e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 Commit message: "fix: remove StopAutoEvents call during bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:09:14 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:09:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:09:15 ========================================================= 08:09:15 EdgeX Global Pipelines Version Info 08:09:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:09:16 ------------------- 08:09:16 stable info: 08:09:16 ------------------- 08:09:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:09:16 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 08:09:16 Message: update stable to v1.0.184 08:09:17 ------------------- 08:09:17 experimental info: 08:09:17 ------------------- 08:09:17 Commited By: **** collab-it+edgex@linuxfoundation.org 08:09:17 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:09:17 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:09:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:09:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:09:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-827 [Pipeline] echo 08:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-827 [Pipeline] echo 08:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-827 [Pipeline] echo 08:09:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d0d00b72e8af535366520434a325914bf687937 [Pipeline] echo 08:09:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d0d00b [Pipeline] echo 08:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:09:21 provisioning config files... 08:09:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config6934836785496856371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:21 ---> docker-login.sh 08:09:21 nexus3.edgexfoundry.org:10001 08:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:22 Configure a credential helper to remove this warning. See 08:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:22 08:09:22 Login Succeeded 08:09:22 nexus3.edgexfoundry.org:10002 08:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:22 Configure a credential helper to remove this warning. See 08:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:22 08:09:22 Login Succeeded 08:09:22 nexus3.edgexfoundry.org:10003 08:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:22 Configure a credential helper to remove this warning. See 08:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:22 08:09:22 Login Succeeded 08:09:22 nexus3.edgexfoundry.org:10004 08:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:22 Configure a credential helper to remove this warning. See 08:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:22 08:09:22 Login Succeeded 08:09:22 docker.io 08:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:23 Configure a credential helper to remove this warning. See 08:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:23 08:09:23 Login Succeeded 08:09:23 ---> docker-login.sh ends [Pipeline] } 08:09:23 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 08:09:24 + git log --format=format:%s -1 6d0d00b72e8af535366520434a325914bf687937 [Pipeline] echo 08:09:24 GIT_COMMIT: 6d0d00b72e8af535366520434a325914bf687937, Commit Message: fix: remove StopAutoEvents call during bootstrap [Pipeline] echo 08:09:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:09:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:09:25 08:09:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:09:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:09:25 latest: Pulling from edgex-devops/git-semver 08:09:25 31603596830f: Pulling fs layer 08:09:25 2a8b12db71e7: Pulling fs layer 08:09:25 6ca5941a6612: Pulling fs layer 08:09:25 ecc8261a40a4: Pulling fs layer 08:09:25 ecc8261a40a4: Waiting 08:09:25 2a8b12db71e7: Verifying Checksum 08:09:25 2a8b12db71e7: Download complete 08:09:26 31603596830f: Verifying Checksum 08:09:26 31603596830f: Download complete 08:09:26 ecc8261a40a4: Verifying Checksum 08:09:26 ecc8261a40a4: Download complete 08:09:26 6ca5941a6612: Verifying Checksum 08:09:26 6ca5941a6612: Download complete 08:09:26 31603596830f: Pull complete 08:09:26 2a8b12db71e7: Pull complete 08:09:27 6ca5941a6612: Pull complete 08:09:27 ecc8261a40a4: Pull complete 08:09:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:09:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:09:28 prd-centos7-docker-4c-2g-30512 does not seem to be running inside a container 08:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:09:29 $ docker top 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:09:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:30 [ssh-agent] Looking for ssh-agent implementation... 08:09:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:30 $ docker exec 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent 08:09:30 SSH_AUTH_SOCK=/tmp/ssh-lgNZN366wgsa/agent.11 08:09:30 SSH_AGENT_PID=17 08:09:30 Running ssh-add (command line suppressed) 08:09:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_9175906563990759353.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_9175906563990759353.key) 08:09:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:30 + git tag --points-at HEAD [Pipeline] } 08:09:30 $ docker exec --env ******** --env ******** 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent -k 08:09:31 unset SSH_AUTH_SOCK; 08:09:31 unset SSH_AGENT_PID; 08:09:31 echo Agent pid 17 killed; 08:09:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:09:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:31 [ssh-agent] Looking for ssh-agent implementation... 08:09:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:31 $ docker exec 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent 08:09:31 SSH_AUTH_SOCK=/tmp/ssh-fwsTBYX4Q5wL/agent.46 08:09:31 SSH_AGENT_PID=51 08:09:31 Running ssh-add (command line suppressed) 08:09:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_2593636856714684527.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_2593636856714684527.key) 08:09:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:32 + git semver init 08:09:32 # -> Open(): unable to determine branch for HEAD 08:09:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.git 08:09:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-827 08:09:32 # $SEMVER_REMOTE_NAME = origin 08:09:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:09:32 # $SEMVER_USER_NAME = edgex-jenkins 08:09:32 # $SEMVER_BRANCH = PR-827 08:09:32 # $SEMVER_TEMP = /tmp/semver-626698738 08:09:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:09:32 # '/tmp/semver-626698738' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver' 08:09:32 # -> Force: false 08:09:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver [Pipeline] } 08:09:32 $ docker exec --env ******** --env ******** 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent -k 08:09:32 unset SSH_AUTH_SOCK; 08:09:32 unset SSH_AGENT_PID; 08:09:32 echo Agent pid 51 killed; 08:09:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:09:33 + git semver [Pipeline] } 08:09:33 $ docker stop --time=1 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 08:09:34 $ docker rm -f 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 [Pipeline] // withDockerContainer [Pipeline] sh 08:09:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:09:35 Stashed 1 file(s) [Pipeline] echo 08:09:35 [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 08:09:51 Still waiting to schedule task 08:09:51 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30512’ 08:09:51 Still waiting to schedule task 08:09:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:11:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30513 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws 08:11:30 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 08:11:35 using credential edgex-jenkins-ssh 08:11:35 Cloning the remote Git repository 08:11:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:11:35 > git init /w/workspace/device-sdk-go/2 # timeout=10 08:11:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:11:35 > git --version # timeout=10 08:11:35 > git --version # 'git version 2.17.1' 08:11:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:11:37 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 6d0d00b72e8af535366520434a325914bf687937 08:11:37 Merge succeeded, producing 6d0d00b72e8af535366520434a325914bf687937 08:11:37 Checking out Revision 6d0d00b72e8af535366520434a325914bf687937 (PR-827) 08:11:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:11:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:11:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:11:37 > git config core.sparsecheckout # timeout=10 08:11:37 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 08:11:37 > git remote # timeout=10 08:11:37 > git config --get remote.origin.url # timeout=10 08:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:37 > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 08:11:37 > git rev-parse HEAD^{commit} # timeout=10 08:11:37 > git config core.sparsecheckout # timeout=10 08:11:37 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 08:11:42 Commit message: "fix: remove StopAutoEvents call during bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:11:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:11:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:11:44 + true 08:11:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:11:47 provisioning config files... 08:11:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6899430501888119002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:47 ---> docker-login.sh 08:11:47 nexus3.edgexfoundry.org:10001 08:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:48 Configure a credential helper to remove this warning. See 08:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:48 08:11:48 Login Succeeded 08:11:48 nexus3.edgexfoundry.org:10002 08:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:49 Configure a credential helper to remove this warning. See 08:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:49 08:11:49 Login Succeeded 08:11:49 nexus3.edgexfoundry.org:10003 08:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:49 Configure a credential helper to remove this warning. See 08:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:49 08:11:49 Login Succeeded 08:11:49 nexus3.edgexfoundry.org:10004 08:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:50 Configure a credential helper to remove this warning. See 08:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:50 08:11:50 Login Succeeded 08:11:50 docker.io 08:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:51 Configure a credential helper to remove this warning. See 08:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:51 08:11:51 Login Succeeded 08:11:51 ---> docker-login.sh ends [Pipeline] } 08:11:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:11:51 ========================================================= 08:11:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:11:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:11:52 + 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 . 08:11:52 Sending build context to Docker daemon 2.299MB 08:11:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:11:52 Step 2/8 : FROM ${BASE} 08:11:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:11:52 5f621e34cdf4: Pulling fs layer 08:11:52 a4357932f1b6: Pulling fs layer 08:11:52 18c013af1878: Pulling fs layer 08:11:52 00ac8860ef70: Pulling fs layer 08:11:52 63d7cb157983: Pulling fs layer 08:11:52 b116817d02f9: Pulling fs layer 08:11:52 745a02a5169b: Pulling fs layer 08:11:52 00ac8860ef70: Waiting 08:11:52 63d7cb157983: Waiting 08:11:52 b116817d02f9: Waiting 08:11:52 745a02a5169b: Waiting 08:11:52 18c013af1878: Download complete 08:11:52 a4357932f1b6: Verifying Checksum 08:11:52 a4357932f1b6: Download complete 08:11:52 63d7cb157983: Verifying Checksum 08:11:52 63d7cb157983: Download complete 08:11:53 5f621e34cdf4: Download complete 08:11:53 b116817d02f9: Verifying Checksum 08:11:53 b116817d02f9: Download complete 08:11:54 5f621e34cdf4: Pull complete 08:11:54 a4357932f1b6: Pull complete 08:11:55 18c013af1878: Pull complete 08:11:56 745a02a5169b: Verifying Checksum 08:11:56 745a02a5169b: Download complete 08:11:57 00ac8860ef70: Verifying Checksum 08:11:57 00ac8860ef70: Download complete 08:12:07 00ac8860ef70: Pull complete 08:12:07 63d7cb157983: Pull complete 08:12:08 b116817d02f9: Pull complete 08:12:12 745a02a5169b: Pull complete 08:12:12 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:12:12 ---> b7e6874047d6 08:12:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:12:14 ---> Running in 45ce3902a622 08:12:14 Running on prd-centos7-docker-4c-2g-30514 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws 08:12:14 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 08:12:15 Removing intermediate container 45ce3902a622 08:12:15 ---> ac74b7313c6b 08:12:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:12:15 ---> Running in 62b2a3f60ede 08:12:17 using credential edgex-jenkins-ssh 08:12:17 Cloning the remote Git repository 08:12:17 Removing intermediate container 62b2a3f60ede 08:12:17 ---> 66cec2c21e0b 08:12:17 Step 5/8 : RUN apk add --update --no-cache make git 08:12:17 ---> Running in bb2cc63e71ea 08:12:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:12:17 > git init /w/workspace/device-sdk-go/2 # timeout=10 08:12:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:12:17 > git --version # timeout=10 08:12:17 > git --version # 'git version 2.24.3' 08:12:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:12:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:12:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:12:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:12:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:12:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:12:18 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 6d0d00b72e8af535366520434a325914bf687937 08:12:19 Merge succeeded, producing 6d0d00b72e8af535366520434a325914bf687937 08:12:19 Checking out Revision 6d0d00b72e8af535366520434a325914bf687937 (PR-827) 08:12:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:12:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:12:18 using GIT_SSH to set credentials SSH Credentials for GitHub 08:12:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:12:18 > git config core.sparsecheckout # timeout=10 08:12:18 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 08:12:18 > git remote # timeout=10 08:12:18 > git config --get remote.origin.url # timeout=10 08:12:19 using GIT_SSH to set credentials SSH Credentials for GitHub 08:12:19 > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 08:12:19 > git rev-parse HEAD^{commit} # timeout=10 08:12:19 > git config core.sparsecheckout # timeout=10 08:12:19 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 08:12:20 OK: 142 MiB in 39 packages 08:12:21 Removing intermediate container bb2cc63e71ea 08:12:21 ---> 053945a85cad 08:12:21 Step 6/8 : WORKDIR /device-sdk-go 08:12:21 ---> Running in 0be8fce1af60 08:12:22 Removing intermediate container 0be8fce1af60 08:12:22 ---> c9ef657218ea 08:12:22 Step 7/8 : COPY . . 08:12:22 Commit message: "fix: remove StopAutoEvents call during bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:12:23 ---> 0d0cfa987d5c 08:12:23 Step 8/8 : RUN go mod download 08:12:23 ---> Running in 4df53a8dc207 08:12:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:12:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:12:24 + sudo service docker restart 08:12:24 + true 08:12:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:12:25 provisioning config files... 08:12:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8851393950065603494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:26 ---> docker-login.sh 08:12:26 nexus3.edgexfoundry.org:10001 08:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:26 Configure a credential helper to remove this warning. See 08:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:26 08:12:26 Login Succeeded 08:12:26 nexus3.edgexfoundry.org:10002 08:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:26 Configure a credential helper to remove this warning. See 08:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:26 08:12:26 Login Succeeded 08:12:26 nexus3.edgexfoundry.org:10003 08:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:26 Configure a credential helper to remove this warning. See 08:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:26 08:12:26 Login Succeeded 08:12:26 nexus3.edgexfoundry.org:10004 08:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:27 Configure a credential helper to remove this warning. See 08:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:27 08:12:27 Login Succeeded 08:12:27 docker.io 08:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:27 Configure a credential helper to remove this warning. See 08:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:27 08:12:27 Login Succeeded 08:12:27 ---> docker-login.sh ends [Pipeline] } 08:12:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:12:27 ========================================================= 08:12:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:12:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:12:28 + 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 . 08:12:28 Sending build context to Docker daemon 2.3MB 08:12:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:12:28 Step 2/8 : FROM ${BASE} 08:12:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:12:28 188c0c94c7c5: Pulling fs layer 08:12:28 0ef7d3d256c8: Pulling fs layer 08:12:28 de9db76c5a1d: Pulling fs layer 08:12:28 bca2f99d35d6: Pulling fs layer 08:12:28 93359f2a8cfa: Pulling fs layer 08:12:28 7c6f9722023f: Pulling fs layer 08:12:28 a35cf1a2eb13: Pulling fs layer 08:12:28 93359f2a8cfa: Waiting 08:12:28 7c6f9722023f: Waiting 08:12:28 a35cf1a2eb13: Waiting 08:12:28 bca2f99d35d6: Waiting 08:12:28 de9db76c5a1d: Verifying Checksum 08:12:28 0ef7d3d256c8: Verifying Checksum 08:12:28 0ef7d3d256c8: Download complete 08:12:28 93359f2a8cfa: Verifying Checksum 08:12:28 93359f2a8cfa: Download complete 08:12:28 188c0c94c7c5: Download complete 08:12:28 7c6f9722023f: Download complete 08:12:28 188c0c94c7c5: Pull complete 08:12:28 0ef7d3d256c8: Pull complete 08:12:28 de9db76c5a1d: Pull complete 08:12:30 a35cf1a2eb13: Verifying Checksum 08:12:30 a35cf1a2eb13: Download complete 08:12:31 bca2f99d35d6: Verifying Checksum 08:12:31 bca2f99d35d6: Download complete 08:12:36 bca2f99d35d6: Pull complete 08:12:36 93359f2a8cfa: Pull complete 08:12:36 7c6f9722023f: Pull complete 08:12:43 a35cf1a2eb13: Pull complete 08:12:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:12:43 ---> a62c8e92a672 08:12:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:12:43 ---> Running in 3ae3daaf1739 08:12:43 Removing intermediate container 3ae3daaf1739 08:12:43 ---> 0b2d55b02489 08:12:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:12:43 ---> Running in 407a25a5b025 08:12:44 Removing intermediate container 407a25a5b025 08:12:44 ---> fb5f2bbf8a76 08:12:44 Step 5/8 : RUN apk add --update --no-cache make git 08:12:44 ---> Running in a6659cae2a82 08:12:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:12:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:12:46 OK: 166 MiB in 39 packages 08:12:46 Removing intermediate container a6659cae2a82 08:12:46 ---> fe7c6ac683ec 08:12:46 Step 6/8 : WORKDIR /device-sdk-go 08:12:46 ---> Running in 1562a1c73ede 08:12:47 Removing intermediate container 1562a1c73ede 08:12:47 ---> 755e49c065e2 08:12:47 Step 7/8 : COPY . . 08:12:48 ---> 3e5716a7192a 08:12:48 Step 8/8 : RUN go mod download 08:12:48 ---> Running in e52c8d4492b5 08:12:50 Removing intermediate container 4df53a8dc207 08:12:50 ---> 49605cc4b7c6 08:12:50 Successfully built 49605cc4b7c6 08:12:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:12:50 + docker inspect -f . ci-base-image-arm64 08:12:50 . [Pipeline] withDockerContainer 08:12:50 prd-ubuntu18.04-docker-arm64-4c-16g-30513 does not seem to be running inside a container 08:12:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:12:52 $ docker top e9a156a577b0b8d42de39ef5206c37e396390383cd55e2403b302a4f691b8e48 -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:53 + go version 08:12:53 go version go1.15.5 linux/arm64 [Pipeline] } 08:12:53 $ docker stop --time=1 e9a156a577b0b8d42de39ef5206c37e396390383cd55e2403b302a4f691b8e48 08:12:55 $ docker rm -f e9a156a577b0b8d42de39ef5206c37e396390383cd55e2403b302a4f691b8e48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:12:56 + docker inspect -f . ci-base-image-arm64 08:12:56 . [Pipeline] withDockerContainer 08:12:57 prd-ubuntu18.04-docker-arm64-4c-16g-30513 does not seem to be running inside a container 08:12:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:12:58 $ docker top 482b9ebb1de7a8c404f5fa1f30a04e56992ebfc24d291e0190645f4e327f3e8a -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:59 + make test 08:12:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:13:10 Removing intermediate container e52c8d4492b5 08:13:10 ---> fba0e06b341f 08:13:10 Successfully built fba0e06b341f 08:13:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:13:10 + docker inspect -f . ci-base-image-x86_64 08:13:10 . [Pipeline] withDockerContainer 08:13:11 prd-centos7-docker-4c-2g-30514 does not seem to be running inside a container 08:13:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:13:11 $ docker top 93f99a3ac781773dc50d9602de9079416f36643ecaa2f9d135e28e708035f377 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:12 + go version 08:13:12 go version go1.15.5 linux/amd64 [Pipeline] } 08:13:13 $ docker stop --time=1 93f99a3ac781773dc50d9602de9079416f36643ecaa2f9d135e28e708035f377 08:13:14 $ docker rm -f 93f99a3ac781773dc50d9602de9079416f36643ecaa2f9d135e28e708035f377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:13:15 + docker inspect -f . ci-base-image-x86_64 08:13:15 . [Pipeline] withDockerContainer 08:13:15 prd-centos7-docker-4c-2g-30514 does not seem to be running inside a container 08:13:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:13:15 $ docker top 4bfdc8a452ccc3251bb40b507e32a2ac69bb057fe92a820c5a5dc00f8010f8db -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:16 + make test 08:13:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:13:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:13:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:13:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:13:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:13:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:13:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:13:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 27.0% of statements 08:13:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 81.2% of statements 08:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:14:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 27.0% of statements 08:14:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.182s coverage: 81.2% of statements 08:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.051s coverage: 10.5% of statements 08:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.134s coverage: 32.5% of statements 08:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.3% of statements 08:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.6% of statements 08:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements 08:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:14:12 GO111MODULE=on go vet ./... 08:14:20 gofmt -l . 08:14:20 [ "`gofmt -l .`" = "" ] 08:14:20 ./bin/test-attribution-txt.sh 08:14:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:14:21 $ docker stop --time=1 4bfdc8a452ccc3251bb40b507e32a2ac69bb057fe92a820c5a5dc00f8010f8db 08:14:23 $ docker rm -f 4bfdc8a452ccc3251bb40b507e32a2ac69bb057fe92a820c5a5dc00f8010f8db [Pipeline] // withDockerContainer [Pipeline] sh 08:14:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:14:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:14:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:14:27 + ls -al . 08:14:27 total 184 08:14:27 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 19 08:14 . 08:14:27 drwxrwxr-x. 4 jenkins jenkins 28 Mar 19 08:12 .. 08:14:27 drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:12 bin 08:14:27 -rw-r--r--. 1 jenkins jenkins 99587 Mar 19 08:14 coverage.out 08:14:27 -rw-rw-r--. 1 jenkins jenkins 949 Mar 19 08:12 Dockerfile.build 08:14:27 -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 08:12 .dockerignore 08:14:27 drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 08:12 example 08:14:27 drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 08:12 .git 08:14:27 drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 08:12 .github 08:14:27 -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 08:12 .gitignore 08:14:27 -rw-r--r--. 1 jenkins jenkins 479 Mar 19 08:14 go.mod 08:14:27 -rw-r--r--. 1 jenkins jenkins 17490 Mar 19 08:14 go.sum 08:14:27 drwxrwxr-x. 13 jenkins jenkins 193 Mar 19 08:12 internal 08:14:27 -rw-rw-r--. 1 jenkins jenkins 901 Mar 19 08:12 Jenkinsfile 08:14:27 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 08:12 LICENSE 08:14:27 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 19 08:12 Makefile 08:14:27 drwxrwxr-x. 4 jenkins jenkins 26 Mar 19 08:12 openapi 08:14:27 drwxrwxr-x. 5 jenkins jenkins 50 Mar 19 08:12 pkg 08:14:27 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 19 08:12 README.md 08:14:27 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 19 08:12 RELEASE-NOTES.txt 08:14:27 drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 08:12 snap 08:14:27 -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 08:09 VERSION 08:14:27 -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 08:12 version.go [Pipeline] isUnix [Pipeline] sh 08:14:27 + 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=6d0d00b72e8af535366520434a325914bf687937 --label arch=amd64 --label version=0.0.0 . 08:14:27 Sending build context to Docker daemon 2.401MB 08:14:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:14:27 Step 2/24 : FROM ${BASE} AS builder 08:14:27 ---> fba0e06b341f 08:14:27 Step 3/24 : ARG MAKE='make build' 08:14:28 ---> Running in 331ae175fe9c 08:14:28 Removing intermediate container 331ae175fe9c 08:14:28 ---> 48f7cb6cd2e5 08:14:28 Step 4/24 : WORKDIR /device-sdk-go 08:14:28 ---> Running in 7aabb5c8f01b 08:14:28 Removing intermediate container 7aabb5c8f01b 08:14:28 ---> 78484a46c226 08:14:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:14:29 ---> Running in f406968278c6 08:14:29 Removing intermediate container f406968278c6 08:14:29 ---> 3093ddfc8e04 08:14:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:14:29 ---> Running in 80c47114ef66 08:14:30 Removing intermediate container 80c47114ef66 08:14:30 ---> 79531d474788 08:14:30 Step 7/24 : RUN apk add --update --no-cache make git 08:14:30 ---> Running in 0aa6bd4d6427 08:14:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:14:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:14:31 OK: 166 MiB in 39 packages 08:14:32 Removing intermediate container 0aa6bd4d6427 08:14:32 ---> 6a231ad2f6fe 08:14:32 Step 8/24 : COPY . . 08:14:33 ---> 87dfc7bc6efe 08:14:33 Step 9/24 : RUN ${MAKE} 08:14:33 ---> Running in 1e1be7bf8406 08:14:33 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 08:14:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.5% of statements 08:14:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:14:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:14:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.233s coverage: 32.5% of statements 08:14:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:14:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:14:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:14:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.290s coverage: 57.3% of statements 08:14:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.033s coverage: 6.6% of statements 08:14:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 5.1% of statements 08:14:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:14:38 GO111MODULE=on go vet ./... 08:14:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:14:45 Removing intermediate container 1e1be7bf8406 08:14:45 ---> 8222ad54314b 08:14:45 Step 10/24 : FROM scratch 08:14:45 ---> 08:14:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:14:45 ---> Running in d9d3cc7f97df 08:14:45 Removing intermediate container d9d3cc7f97df 08:14:45 ---> 2afb1e40a2c0 08:14:45 Step 12/24 : ENV APP_PORT=49990 08:14:45 ---> Running in 253a36e33b5a 08:14:45 Removing intermediate container 253a36e33b5a 08:14:45 ---> 1917e87904e6 08:14:45 Step 13/24 : EXPOSE $APP_PORT 08:14:45 ---> Running in 3f152868d3cd 08:14:45 Removing intermediate container 3f152868d3cd 08:14:45 ---> ff8cb7e1541a 08:14:45 Step 14/24 : WORKDIR / 08:14:46 ---> Running in 73ccf0e77c5c 08:14:46 Removing intermediate container 73ccf0e77c5c 08:14:46 ---> 0539c06c8c83 08:14:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:14:46 ---> 565eeb0a73ac 08:14:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:14:47 ---> b20179ff7d5d 08:14:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:14:47 ---> 4aecd13f2c73 08:14:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:14:47 ---> 17d9a3c024bc 08:14:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:14:47 ---> 7dd4f42f92e6 08:14:47 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:14:47 ---> Running in c881e80416e0 08:14:47 Removing intermediate container c881e80416e0 08:14:47 ---> b9d8d2069912 08:14:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:14:47 ---> Running in 52f95b4b2ba2 08:14:48 Removing intermediate container 52f95b4b2ba2 08:14:48 ---> a51e679462a4 08:14:48 Step 22/24 : LABEL arch=amd64 08:14:48 ---> Running in 989798d862f9 08:14:48 Removing intermediate container 989798d862f9 08:14:48 ---> 8a2a4fb94ef4 08:14:48 Step 23/24 : LABEL git_sha=6d0d00b72e8af535366520434a325914bf687937 08:14:48 ---> Running in adf8b6c136c6 08:14:48 Removing intermediate container adf8b6c136c6 08:14:48 ---> 6adf96f7cadd 08:14:48 Step 24/24 : LABEL version=0.0.0 08:14:48 ---> Running in 04a176f16bb3 08:14:48 Removing intermediate container 04a176f16bb3 08:14:48 ---> 710af0da1cb6 08:14:48 [Warning] One or more build-args [ARCH] were not consumed 08:14:48 Successfully built 710af0da1cb6 08:14:48 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 08:14:49 ---> job-cost.sh 08:14:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DbGt 08:15:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:15:11 gofmt -l . 08:15:11 [ "`gofmt -l .`" = "" ] 08:15:11 ./bin/test-attribution-txt.sh 08:15:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:15:11 $ docker stop --time=1 482b9ebb1de7a8c404f5fa1f30a04e56992ebfc24d291e0190645f4e327f3e8a 08:15:13 $ docker rm -f 482b9ebb1de7a8c404f5fa1f30a04e56992ebfc24d291e0190645f4e327f3e8a [Pipeline] // withDockerContainer [Pipeline] sh 08:15:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:15:14 Warning: overwriting stash ‘coverage-report’ 08:15:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:15:16 + ls -al . 08:15:16 total 220 08:15:16 drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 08:15 . 08:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 .. 08:15:16 -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 08:11 .dockerignore 08:15:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:11 .git 08:15:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:11 .github 08:15:16 -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 08:11 .gitignore 08:15:16 -rw-rw-r-- 1 jenkins jenkins 949 Mar 19 08:11 Dockerfile.build 08:15:16 -rw-rw-r-- 1 jenkins jenkins 901 Mar 19 08:11 Jenkinsfile 08:15:16 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 08:11 LICENSE 08:15:16 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 19 08:11 Makefile 08:15:16 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 19 08:11 README.md 08:15:16 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 19 08:11 RELEASE-NOTES.txt 08:15:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 08:09 VERSION 08:15:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:11 bin 08:15:16 -rw-r--r-- 1 jenkins jenkins 99587 Mar 19 08:14 coverage.out 08:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 example 08:15:16 -rw-r--r-- 1 jenkins jenkins 479 Mar 19 08:15 go.mod 08:15:16 -rw-r--r-- 1 jenkins jenkins 17490 Mar 19 08:15 go.sum 08:15:16 drwxrwxr-x 13 jenkins jenkins 4096 Mar 19 08:11 internal 08:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 openapi 08:15:16 drwxrwxr-x 5 jenkins jenkins 4096 Mar 19 08:11 pkg 08:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 snap 08:15:16 -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 08:11 version.go [Pipeline] isUnix [Pipeline] sh 08:15:16 + 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=6d0d00b72e8af535366520434a325914bf687937 --label arch=arm64 --label version=0.0.0 . 08:15:17 Sending build context to Docker daemon 2.4MB 08:15:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:15:17 Step 2/24 : FROM ${BASE} AS builder 08:15:17 ---> 49605cc4b7c6 08:15:17 Step 3/24 : ARG MAKE='make build' 08:15:17 ---> Running in cfe10288b6f3 08:15:18 Removing intermediate container cfe10288b6f3 08:15:18 ---> 797970d48d69 08:15:18 Step 4/24 : WORKDIR /device-sdk-go 08:15:18 ---> Running in 58ab0195577b 08:15:18 Removing intermediate container 58ab0195577b 08:15:18 ---> d54dabf2e8d1 08:15:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:15:18 ---> Running in 7644ba1fc5b3 08:15:19 Removing intermediate container 7644ba1fc5b3 08:15:19 ---> 5a870b0a6025 08:15:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:19 ---> Running in c314501f37cc 08:15:21 Removing intermediate container c314501f37cc 08:15:21 ---> e6dc5e9d5e5f 08:15:21 Step 7/24 : RUN apk add --update --no-cache make git 08:15:21 ---> Running in 831c3b757a97 08:15:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:15:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:15:23 OK: 142 MiB in 39 packages 08:15:25 Removing intermediate container 831c3b757a97 08:15:25 ---> 9ca3e0909ccd 08:15:25 Step 8/24 : COPY . . 08:15:26 ---> be06a9667cde 08:15:26 Step 9/24 : RUN ${MAKE} 08:15:26 ---> Running in 6dbb1b0e1443 08:15:27 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 08:15:31 lf-activate-venv(): INFO: Adding /tmp/venv-DbGt/bin to PATH 08:15:31 INFO: No Stack... 08:15:31 INFO: Retrieving Pricing Info for: v1-standard-2 08:15:31 INFO: Archiving Costs [Pipeline] sh 08:15:31 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 08:15:31 + cut -d, -f6 [Pipeline] lock 08:15:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] 08:15:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] did not exist. Created. 08:15:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:15:32 + echo total: 0.029999999329447746 [Pipeline] stash 08:15:32 Stashed 1 file(s) [Pipeline] } 08:15:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:15:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:15:55 Removing intermediate container 6dbb1b0e1443 08:15:55 ---> 9b53b3f44c34 08:15:55 Step 10/24 : FROM scratch 08:15:55 ---> 08:15:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:15:55 ---> Running in d4107153f2ea 08:15:55 Removing intermediate container d4107153f2ea 08:15:55 ---> b51e03a4dbee 08:15:55 Step 12/24 : ENV APP_PORT=49990 08:15:55 ---> Running in c0220643e613 08:15:56 Removing intermediate container c0220643e613 08:15:56 ---> f6ed1281c6b6 08:15:56 Step 13/24 : EXPOSE $APP_PORT 08:15:56 ---> Running in 35daee3a3987 08:15:56 Removing intermediate container 35daee3a3987 08:15:56 ---> 36adbe9ff21e 08:15:56 Step 14/24 : WORKDIR / 08:15:57 ---> Running in 39c563cd985e 08:15:57 Removing intermediate container 39c563cd985e 08:15:57 ---> 179b26ac9711 08:15:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:15:58 ---> 0a1a9cfe04ca 08:15:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:15:59 ---> f24e9905bd24 08:15:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:15:59 ---> 0213ac92ad5b 08:15:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:16:00 ---> 9bc38077317a 08:16:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:16:01 ---> e956f9fcbd6c 08:16:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:16:01 ---> Running in fffc740f943c 08:16:02 Removing intermediate container fffc740f943c 08:16:02 ---> 270b3bb5b738 08:16:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:16:02 ---> Running in 8f82ea6cb83b 08:16:02 Removing intermediate container 8f82ea6cb83b 08:16:02 ---> e146d33ed664 08:16:02 Step 22/24 : LABEL arch=arm64 08:16:02 ---> Running in 53d18de168a2 08:16:03 Removing intermediate container 53d18de168a2 08:16:03 ---> 7770b3338bd7 08:16:03 Step 23/24 : LABEL git_sha=6d0d00b72e8af535366520434a325914bf687937 08:16:03 ---> Running in 53db1ec87d90 08:16:03 Removing intermediate container 53db1ec87d90 08:16:03 ---> a3b24109c4c7 08:16:03 Step 24/24 : LABEL version=0.0.0 08:16:03 ---> Running in 579e830f74c9 08:16:04 Removing intermediate container 579e830f74c9 08:16:04 ---> 10eb5ba95acb 08:16:04 [Warning] One or more build-args [ARCH] were not consumed 08:16:04 Successfully built 10eb5ba95acb 08:16:04 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 08:16:05 ---> job-cost.sh 08:16:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZAx6 08:16:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:18:21 lf-activate-venv(): INFO: Adding /tmp/venv-ZAx6/bin to PATH 08:18:21 INFO: No Stack... 08:18:21 INFO: Retrieving Pricing Info for: lf-standard-4 08:18:21 INFO: Archiving Costs [Pipeline] sh 08:18:21 + + cat /w/workspace/device-sdk-go/2/archives/cost.csv 08:18:21 cut -d, -f6 [Pipeline] lock 08:18:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] 08:18:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] did not exist. Created. 08:18:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:18:22 /w/workspace/device-sdk-go/2@tmp/durable-65150028/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-65150028/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:18:22 + echo total: 0.20999999344348907 [Pipeline] stash 08:18:22 Warning: overwriting stash ‘stack-cost’ 08:18:22 Stashed 1 file(s) [Pipeline] } 08:18:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-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 08:18:23 provisioning config files... 08:18:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config1767904686460848915tmp [Pipeline] { [Pipeline] sh 08:18:24 + set +x 08:18:24 + curl -s https://codecov.io/bash 08:18:24 + bash -s -- 08:18:24 08:18:24 _____ _ 08:18:24 / ____| | | 08:18:24 | | ___ __| | ___ ___ _____ __ 08:18:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:18:24 | |___| (_) | (_| | __/ (_| (_) \ V / 08:18:24 \_____\___/ \__,_|\___|\___\___/ \_/ 08:18:24 Bash-20210309-2b87ace 08:18:24 08:18:24 08:18:24 ==> git version 2.24.3 found 08:18:24 ==> 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 08:18:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:18:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:18:24 ==> Jenkins CI detected. 08:18:24 project root: . 08:18:24 --> token set from env 08:18:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:18:24 ==> Running gcov in . (disable via -X gcov) 08:18:24 ==> Python coveragepy not found 08:18:24 ==> Searching for coverage reports in: 08:18:24 + . 08:18:24 -> Found 1 reports 08:18:24 ==> Detecting git/mercurial file structure 08:18:24 ==> Reading reports 08:18:24 + ./coverage.out bytes=99587 08:18:24 ==> Appending adjustments 08:18:24 https://docs.codecov.io/docs/fixing-reports 08:18:24 + Found adjustments 08:18:24 ==> Gzipping contents 08:18:24 16K /tmp/codecov.fN72Q2.gz 08:18:24 ==> Uploading reports 08:18:24 url: https://codecov.io 08:18:24 query: branch=PR-827&commit=6d0d00b72e8af535366520434a325914bf687937&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= 08:18:24 -> Pinging Codecov 08:18:24 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-827&commit=6d0d00b72e8af535366520434a325914bf687937&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= 08:18:25 -> Uploading to 08:18:25 https://storage.googleapis.com/codecov/v4/raw/2021-03-19/7E55EF52A471D76F132DFD9A03CDDE97/6d0d00b72e8af535366520434a325914bf687937/b6d12415-7f4d-4cda-a0e1-aa536f7d4d9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T081825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0785bd8754b565ccf79d4fcfb45a44b241962cc0abeeca217bbf834b0c00a1e2 08:18:25 % Total % Received % Xferd Average Speed Time Time Time Current 08:18:25 Dload Upload Total Spent Left Speed 08:18:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13465 0 0 100 13465 0 31996 --:--:-- --:--:-- --:--:-- 32059 08:18:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6d0d00b72e8af535366520434a325914bf687937 [Pipeline] } 08:18:25 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 08:18:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:18:28 ---> package-listing.sh 08:18:28 ++ facter osfamily 08:18:28 ++ tr '[:upper:]' '[:lower:]' 08:18:28 + OS_FAMILY=redhat 08:18:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-827 08:18:28 + START_PACKAGES=/tmp/packages_start.txt 08:18:28 + END_PACKAGES=/tmp/packages_end.txt 08:18:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:18:28 + PACKAGES=/tmp/packages_start.txt 08:18:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' 08:18:28 + PACKAGES=/tmp/packages_end.txt 08:18:28 + case "${OS_FAMILY}" in 08:18:28 + rpm -qa 08:18:28 + sort 08:18:33 + '[' -f /tmp/packages_start.txt ']' 08:18:33 + '[' -f /tmp/packages_end.txt ']' 08:18:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:18:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' 08:18:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ 08:18:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ [Pipeline] echo 08:18:33 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-827/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:18:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:18:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:18:34 08:18:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:18:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:18:34 alpine: Pulling from edgex-lftools-log-publisher 08:18:34 df20fa9351a1: Pulling fs layer 08:18:34 36b3adc4ff6f: Pulling fs layer 08:18:34 8ad3a11d3b57: Pulling fs layer 08:18:34 46f8f816bc3b: Pulling fs layer 08:18:34 93b61091891f: Pulling fs layer 08:18:34 93b9cdb0e59b: Pulling fs layer 08:18:34 5e14af77c1be: Pulling fs layer 08:18:34 01666e4c0597: Pulling fs layer 08:18:34 aa168da1d23b: Pulling fs layer 08:18:34 93b61091891f: Waiting 08:18:34 93b9cdb0e59b: Waiting 08:18:34 5e14af77c1be: Waiting 08:18:34 01666e4c0597: Waiting 08:18:34 aa168da1d23b: Waiting 08:18:34 36b3adc4ff6f: Verifying Checksum 08:18:34 36b3adc4ff6f: Download complete 08:18:35 46f8f816bc3b: Verifying Checksum 08:18:35 46f8f816bc3b: Download complete 08:18:35 df20fa9351a1: Verifying Checksum 08:18:35 df20fa9351a1: Download complete 08:18:35 93b61091891f: Verifying Checksum 08:18:35 93b61091891f: Download complete 08:18:35 93b9cdb0e59b: Verifying Checksum 08:18:35 93b9cdb0e59b: Download complete 08:18:35 5e14af77c1be: Verifying Checksum 08:18:35 5e14af77c1be: Download complete 08:18:35 01666e4c0597: Download complete 08:18:35 8ad3a11d3b57: Verifying Checksum 08:18:35 8ad3a11d3b57: Download complete 08:18:35 df20fa9351a1: Pull complete 08:18:35 36b3adc4ff6f: Pull complete 08:18:36 8ad3a11d3b57: Pull complete 08:18:36 46f8f816bc3b: Pull complete 08:18:37 93b61091891f: Pull complete 08:18:37 aa168da1d23b: Verifying Checksum 08:18:37 aa168da1d23b: Download complete 08:18:37 93b9cdb0e59b: Pull complete 08:18:37 5e14af77c1be: Pull complete 08:18:38 01666e4c0597: Pull complete 08:18:44 aa168da1d23b: Pull complete 08:18:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:18:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:18:44 prd-centos7-docker-4c-2g-30512 does not seem to be running inside a container 08:18:44 $ 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-827/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-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:18:50 $ docker top 5e899afbe67b416de603b637d60419f72068a8541c4d4060d353928c761c6149 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:50 + touch /tmp/pre-build-complete [Pipeline] sh 08:18:51 + mkdir -p /var/log/sa [Pipeline] sh 08:18:51 + ls /var/log/sa-host 08:18:51 + sadf -c /var/log/sa-host/sa19 08:18:51 file_magic: OK 08:18:51 HZ: Using current value: 100 08:18:51 file_header: OK 08:18:51 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 08:18:51 Statistics: 08:18:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:18:51 File successfully converted to sysstat format version 12.2.1 08:18:51 + sadf -c /var/log/sa-host/sa23 08:18:51 file_magic: OK 08:18:51 HZ: Using current value: 100 08:18:51 file_header: OK 08:18:51 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 08:18:51 Statistics: 08:18:51 Hnuu...uuuununununu... 08:18:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:18:52 provisioning config files... 08:18:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config6082658899255987227tmp [Pipeline] { [Pipeline] echo 08:18:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:18:52 ---> create-netrc.sh [Pipeline] } 08:18:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:18:52 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:18:53 ---> python-tools-install.sh [Pipeline] echo 08:18:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:18:53 ---> sudo-logs.sh 08:18:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:18:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:18:53 ---> job-cost.sh 08:18:53 lf-activate-venv: SKIPPING 08:18:53 DEBUG: total: 0.20999999344348907 08:18:53 INFO: Retrieving Stack Cost... 08:18:54 INFO: Retrieving Pricing Info for: v1-standard-2 08:18:55 INFO: Archiving Costs [Pipeline] echo 08:18:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:18:55 ---> logs-deploy.sh 08:18:55 lf-activate-venv: SKIPPING 08:18:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-827/2 08:18:55 INFO: archiving workspace using pattern(s): 08:18:58 Archives upload complete. 08:18:58 INFO: archiving logs to Nexus