Pull request #813 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 fb29ba3adfa2c2456972a290f646fac25e2789ad+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (cc31d876d135e3c0c9de8e503e5dcb42b9b2bb9c) 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-29776 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [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-813 # 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/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fb29ba3adfa2c2456972a290f646fac25e2789ad Merge succeeded, producing fb29ba3adfa2c2456972a290f646fac25e2789ad Checking out Revision fb29ba3adfa2c2456972a290f646fac25e2789ad (PR-813) > git config core.sparsecheckout # timeout=10 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 Commit message: "refactor: wrap error in transformer package for debugging" > git rev-list --no-walk 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:26:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:26:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:26:15 ========================================================= 05:26:15 EdgeX Global Pipelines Version Info 05:26:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:26:19 ------------------- 05:26:19 stable info: 05:26:19 ------------------- 05:26:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:26:19 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:26:19 Message: update stable to v1.0.184 05:26:20 ------------------- 05:26:20 experimental info: 05:26:20 ------------------- 05:26:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:26:20 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:26:20 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:26:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:26:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:26:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:26:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-813 [Pipeline] echo 05:26:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-813 [Pipeline] echo 05:26:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-813 [Pipeline] echo 05:26:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb29ba3adfa2c2456972a290f646fac25e2789ad [Pipeline] echo 05:26:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb29ba3 [Pipeline] echo 05:26:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:26:24 provisioning config files... 05:26:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config413356084101822372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:25 ---> docker-login.sh 05:26:25 nexus3.edgexfoundry.org:10001 05:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:25 Configure a credential helper to remove this warning. See 05:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:25 05:26:25 Login Succeeded 05:26:25 nexus3.edgexfoundry.org:10002 05:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:26 Configure a credential helper to remove this warning. See 05:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:26 05:26:26 Login Succeeded 05:26:26 nexus3.edgexfoundry.org:10003 05:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:26 Configure a credential helper to remove this warning. See 05:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:26 05:26:26 Login Succeeded 05:26:26 nexus3.edgexfoundry.org:10004 05:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:27 Configure a credential helper to remove this warning. See 05:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:27 05:26:27 Login Succeeded 05:26:27 docker.io 05:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:28 Configure a credential helper to remove this warning. See 05:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:28 05:26:28 Login Succeeded 05:26:28 ---> docker-login.sh ends [Pipeline] } 05:26:28 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 05:26:29 + git log --format=format:%s -1 fb29ba3adfa2c2456972a290f646fac25e2789ad [Pipeline] echo 05:26:30 GIT_COMMIT: fb29ba3adfa2c2456972a290f646fac25e2789ad, Commit Message: refactor: wrap error in transformer package for debugging [Pipeline] echo 05:26:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:26:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:31 05:26:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:26:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:31 latest: Pulling from edgex-devops/git-semver 05:26:31 31603596830f: Pulling fs layer 05:26:31 2a8b12db71e7: Pulling fs layer 05:26:31 6ca5941a6612: Pulling fs layer 05:26:31 ecc8261a40a4: Pulling fs layer 05:26:31 ecc8261a40a4: Waiting 05:26:31 2a8b12db71e7: Verifying Checksum 05:26:31 2a8b12db71e7: Download complete 05:26:31 31603596830f: Verifying Checksum 05:26:31 31603596830f: Download complete 05:26:32 ecc8261a40a4: Verifying Checksum 05:26:32 ecc8261a40a4: Download complete 05:26:32 6ca5941a6612: Verifying Checksum 05:26:32 6ca5941a6612: Download complete 05:26:32 31603596830f: Pull complete 05:26:33 2a8b12db71e7: Pull complete 05:26:34 6ca5941a6612: Pull complete 05:26:35 ecc8261a40a4: Pull complete 05:26:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:26:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:26:35 prd-centos7-docker-4c-2g-29776 does not seem to be running inside a container 05:26:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:26:39 $ docker top 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:39 [ssh-agent] Looking for ssh-agent implementation... 05:26:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:39 $ docker exec 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent 05:26:40 SSH_AUTH_SOCK=/tmp/ssh-2RyrHqCGEjrI/agent.11 05:26:40 SSH_AGENT_PID=16 05:26:40 Running ssh-add (command line suppressed) 05:26:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_9083553992199972127.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_9083553992199972127.key) 05:26:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:41 + git tag --points-at HEAD [Pipeline] } 05:26:41 $ docker exec --env ******** --env ******** 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent -k 05:26:41 unset SSH_AUTH_SOCK; 05:26:41 unset SSH_AGENT_PID; 05:26:41 echo Agent pid 16 killed; 05:26:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:26:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:42 [ssh-agent] Looking for ssh-agent implementation... 05:26:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:42 $ docker exec 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent 05:26:43 SSH_AUTH_SOCK=/tmp/ssh-0bePjTtEdZlD/agent.46 05:26:43 SSH_AGENT_PID=52 05:26:43 Running ssh-add (command line suppressed) 05:26:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_6959909501567056435.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_6959909501567056435.key) 05:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:44 + git semver init 05:26:44 # -> Open(): unable to determine branch for HEAD 05:26:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.git 05:26:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-813 05:26:44 # $SEMVER_REMOTE_NAME = origin 05:26:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:44 # $SEMVER_USER_NAME = edgex-jenkins 05:26:44 # $SEMVER_BRANCH = PR-813 05:26:44 # $SEMVER_TEMP = /tmp/semver-694237401 05:26:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:26:44 # '/tmp/semver-694237401' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver' 05:26:44 # -> Force: false 05:26:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver [Pipeline] } 05:26:44 $ docker exec --env ******** --env ******** 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent -k 05:26:44 unset SSH_AUTH_SOCK; 05:26:44 unset SSH_AGENT_PID; 05:26:44 echo Agent pid 52 killed; 05:26:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:45 + git semver [Pipeline] } 05:26:45 $ docker stop --time=1 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 05:26:47 $ docker rm -f 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 [Pipeline] // withDockerContainer [Pipeline] sh 05:26:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:26:49 Stashed 1 file(s) [Pipeline] echo 05:26:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:27:04 Still waiting to schedule task 05:27:04 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29776’ 05:27:04 Still waiting to schedule task 05:27:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:28:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29777 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws 05:28:59 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:29:04 using credential edgex-jenkins-ssh 05:29:04 Cloning the remote Git repository 05:29:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:29:04 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:29:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:29:04 > git --version # timeout=10 05:29:04 > git --version # 'git version 2.17.1' 05:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:06 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fb29ba3adfa2c2456972a290f646fac25e2789ad 05:29:06 Merge succeeded, producing fb29ba3adfa2c2456972a290f646fac25e2789ad 05:29:06 Checking out Revision fb29ba3adfa2c2456972a290f646fac25e2789ad (PR-813) 05:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:29:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:29:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:29:06 > git config core.sparsecheckout # timeout=10 05:29:06 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 05:29:06 > git remote # timeout=10 05:29:06 > git config --get remote.origin.url # timeout=10 05:29:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:06 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 05:29:06 > git rev-parse HEAD^{commit} # timeout=10 05:29:06 > git config core.sparsecheckout # timeout=10 05:29:06 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 05:29:11 Commit message: "refactor: wrap error in transformer package for debugging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:29:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:29:13 + sudo service docker restart 05:29:13 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:29:16 provisioning config files... 05:29:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config725123934942882780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:17 ---> docker-login.sh 05:29:17 nexus3.edgexfoundry.org:10001 05:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:18 Configure a credential helper to remove this warning. See 05:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:18 05:29:18 Login Succeeded 05:29:18 nexus3.edgexfoundry.org:10002 05:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:18 Configure a credential helper to remove this warning. See 05:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:18 05:29:18 Login Succeeded 05:29:18 nexus3.edgexfoundry.org:10003 05:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:19 Configure a credential helper to remove this warning. See 05:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:19 05:29:19 Login Succeeded 05:29:19 nexus3.edgexfoundry.org:10004 05:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:19 Configure a credential helper to remove this warning. See 05:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:19 05:29:19 Login Succeeded 05:29:19 docker.io 05:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:20 Configure a credential helper to remove this warning. See 05:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:20 05:29:20 Login Succeeded 05:29:20 ---> docker-login.sh ends [Pipeline] } 05:29:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:29:21 ========================================================= 05:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:29:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:29:21 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:29:21 Sending build context to Docker daemon 2.302MB 05:29:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:29:22 Step 2/8 : FROM ${BASE} 05:29:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:29:22 5f621e34cdf4: Pulling fs layer 05:29:22 a4357932f1b6: Pulling fs layer 05:29:22 18c013af1878: Pulling fs layer 05:29:22 00ac8860ef70: Pulling fs layer 05:29:22 63d7cb157983: Pulling fs layer 05:29:22 b116817d02f9: Pulling fs layer 05:29:22 745a02a5169b: Pulling fs layer 05:29:22 00ac8860ef70: Waiting 05:29:22 63d7cb157983: Waiting 05:29:22 b116817d02f9: Waiting 05:29:22 745a02a5169b: Waiting 05:29:22 18c013af1878: Download complete 05:29:22 a4357932f1b6: Download complete 05:29:22 63d7cb157983: Verifying Checksum 05:29:22 63d7cb157983: Download complete 05:29:22 b116817d02f9: Download complete 05:29:22 5f621e34cdf4: Verifying Checksum 05:29:22 5f621e34cdf4: Download complete 05:29:23 5f621e34cdf4: Pull complete 05:29:23 a4357932f1b6: Pull complete 05:29:24 18c013af1878: Pull complete 05:29:24 745a02a5169b: Verifying Checksum 05:29:24 745a02a5169b: Download complete 05:29:25 00ac8860ef70: Verifying Checksum 05:29:25 00ac8860ef70: Download complete 05:29:25 Running on prd-centos7-docker-4c-2g-29778 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws 05:29:25 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:29:28 using credential edgex-jenkins-ssh 05:29:28 Cloning the remote Git repository 05:29:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:29:28 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:29:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:29:28 > git --version # timeout=10 05:29:28 > git --version # 'git version 2.24.3' 05:29:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:30 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fb29ba3adfa2c2456972a290f646fac25e2789ad 05:29:30 Merge succeeded, producing fb29ba3adfa2c2456972a290f646fac25e2789ad 05:29:30 Checking out Revision fb29ba3adfa2c2456972a290f646fac25e2789ad (PR-813) 05:29:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:29:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:29:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:29:30 > git config core.sparsecheckout # timeout=10 05:29:30 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 05:29:30 > git remote # timeout=10 05:29:30 > git config --get remote.origin.url # timeout=10 05:29:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:30 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 05:29:30 > git rev-parse HEAD^{commit} # timeout=10 05:29:30 > git config core.sparsecheckout # timeout=10 05:29:30 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 05:29:33 Commit message: "refactor: wrap error in transformer package for debugging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:29:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:29:35 + sudo service docker restart 05:29:35 + true 05:29:35 Redirecting to /bin/systemctl restart docker.service 05:29:36 00ac8860ef70: Pull complete 05:29:36 63d7cb157983: Pull complete 05:29:36 b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:29:37 provisioning config files... 05:29:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1650556030240652234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:37 ---> docker-login.sh 05:29:37 nexus3.edgexfoundry.org:10001 05:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:37 Configure a credential helper to remove this warning. See 05:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:37 05:29:37 Login Succeeded 05:29:38 nexus3.edgexfoundry.org:10002 05:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:38 Configure a credential helper to remove this warning. See 05:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:38 05:29:38 Login Succeeded 05:29:38 nexus3.edgexfoundry.org:10003 05:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:38 Configure a credential helper to remove this warning. See 05:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:38 05:29:38 Login Succeeded 05:29:38 nexus3.edgexfoundry.org:10004 05:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:38 Configure a credential helper to remove this warning. See 05:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:38 05:29:38 Login Succeeded 05:29:38 docker.io 05:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:39 Configure a credential helper to remove this warning. See 05:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:39 05:29:39 Login Succeeded 05:29:39 ---> docker-login.sh ends [Pipeline] } 05:29:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:29:39 ========================================================= 05:29:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:29:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:29:39 + 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 . 05:29:39 Sending build context to Docker daemon 2.303MB 05:29:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:29:39 Step 2/8 : FROM ${BASE} 05:29:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:29:40 188c0c94c7c5: Pulling fs layer 05:29:40 0ef7d3d256c8: Pulling fs layer 05:29:40 de9db76c5a1d: Pulling fs layer 05:29:40 bca2f99d35d6: Pulling fs layer 05:29:40 93359f2a8cfa: Pulling fs layer 05:29:40 7c6f9722023f: Pulling fs layer 05:29:40 a35cf1a2eb13: Pulling fs layer 05:29:40 93359f2a8cfa: Waiting 05:29:40 7c6f9722023f: Waiting 05:29:40 a35cf1a2eb13: Waiting 05:29:40 bca2f99d35d6: Waiting 05:29:40 de9db76c5a1d: Verifying Checksum 05:29:40 de9db76c5a1d: Download complete 05:29:40 0ef7d3d256c8: Verifying Checksum 05:29:40 0ef7d3d256c8: Download complete 05:29:40 93359f2a8cfa: Verifying Checksum 05:29:40 93359f2a8cfa: Download complete 05:29:40 7c6f9722023f: Verifying Checksum 05:29:40 7c6f9722023f: Download complete 05:29:40 188c0c94c7c5: Verifying Checksum 05:29:40 188c0c94c7c5: Download complete 05:29:40 188c0c94c7c5: Pull complete 05:29:40 0ef7d3d256c8: Pull complete 05:29:40 745a02a5169b: Pull complete 05:29:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:29:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:29:40 ---> b7e6874047d6 05:29:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:29:40 de9db76c5a1d: Pull complete 05:29:41 a35cf1a2eb13: Verifying Checksum 05:29:41 a35cf1a2eb13: Download complete 05:29:42 bca2f99d35d6: Verifying Checksum 05:29:42 bca2f99d35d6: Download complete 05:29:44 ---> Running in e2a730939d5a 05:29:44 Removing intermediate container e2a730939d5a 05:29:44 ---> 7f35307154cb 05:29:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:44 ---> Running in f837c3307f05 05:29:46 Removing intermediate container f837c3307f05 05:29:46 ---> aa470eaab611 05:29:46 Step 5/8 : RUN apk add --update --no-cache make git 05:29:46 ---> Running in 56e033321759 05:29:47 bca2f99d35d6: Pull complete 05:29:47 93359f2a8cfa: Pull complete 05:29:47 7c6f9722023f: Pull complete 05:29:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:29:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:29:48 OK: 142 MiB in 39 packages 05:29:50 Removing intermediate container 56e033321759 05:29:50 ---> 532811a0e905 05:29:50 Step 6/8 : WORKDIR /device-sdk-go 05:29:50 ---> Running in 9bab80fc6bc8 05:29:50 Removing intermediate container 9bab80fc6bc8 05:29:50 ---> 3e46c941b484 05:29:50 Step 7/8 : COPY . . 05:29:51 ---> 1eac508b769f 05:29:51 Step 8/8 : RUN go mod download 05:29:52 ---> Running in 090c8fac339a 05:29:55 a35cf1a2eb13: Pull complete 05:29:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:29:55 ---> a62c8e92a672 05:29:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:29:55 ---> Running in 2100e517f1ed 05:29:55 Removing intermediate container 2100e517f1ed 05:29:55 ---> cdaac0125157 05:29:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:55 ---> Running in 53d2bec2d5d9 05:29:56 Removing intermediate container 53d2bec2d5d9 05:29:56 ---> b14652503be3 05:29:56 Step 5/8 : RUN apk add --update --no-cache make git 05:29:56 ---> Running in 2bdf0e8efafd 05:29:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:29:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:29:58 OK: 166 MiB in 39 packages 05:29:59 Removing intermediate container 2bdf0e8efafd 05:29:59 ---> 121b06f6ba60 05:29:59 Step 6/8 : WORKDIR /device-sdk-go 05:29:59 ---> Running in 32b3e74094c8 05:29:59 Removing intermediate container 32b3e74094c8 05:29:59 ---> 19234dbcd747 05:29:59 Step 7/8 : COPY . . 05:30:00 ---> ad41f5b2770e 05:30:00 Step 8/8 : RUN go mod download 05:30:00 ---> Running in 692161f11d32 05:30:18 Removing intermediate container 090c8fac339a 05:30:18 ---> aaffbc9941f1 05:30:18 Successfully built aaffbc9941f1 05:30:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:30:19 + docker inspect -f . ci-base-image-arm64 05:30:19 . [Pipeline] withDockerContainer 05:30:19 prd-ubuntu18.04-docker-arm64-4c-16g-29777 does not seem to be running inside a container 05:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:30:21 $ docker top db708c525df2a9a806df5b81f4135fc8e507d97ae807ab8067623c3720df9f66 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:22 + go version 05:30:22 go version go1.15.5 linux/arm64 [Pipeline] } 05:30:22 $ docker stop --time=1 db708c525df2a9a806df5b81f4135fc8e507d97ae807ab8067623c3720df9f66 05:30:22 Removing intermediate container 692161f11d32 05:30:22 ---> 8bcecc51da58 05:30:22 Successfully built 8bcecc51da58 05:30:22 Successfully tagged ci-base-image-x86_64:latest 05:30:24 $ docker rm -f db708c525df2a9a806df5b81f4135fc8e507d97ae807ab8067623c3720df9f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:25 + docker inspect -f . ci-base-image-x86_64 05:30:25 . [Pipeline] withDockerContainer 05:30:25 + docker inspect -f . ci-base-image-arm64 05:30:25 . 05:30:25 prd-centos7-docker-4c-2g-29778 does not seem to be running inside a container 05:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:30:26 $ docker top 6d1e8536cca6d72c59779534cd80766693daa9c98a899d0c09d5707bdc770446 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 05:30:26 prd-ubuntu18.04-docker-arm64-4c-16g-29777 does not seem to be running inside a container 05:30:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:30:28 $ docker top a40bc65519e1ae336c41575b6e6aa46d73d6629ac52d217b6341360fa451c2d8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:30:29 + go version 05:30:29 go version go1.15.5 linux/amd64 [Pipeline] } 05:30:29 $ docker stop --time=1 6d1e8536cca6d72c59779534cd80766693daa9c98a899d0c09d5707bdc770446 05:30:29 + make test 05:30:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:30:30 $ docker rm -f 6d1e8536cca6d72c59779534cd80766693daa9c98a899d0c09d5707bdc770446 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:31 + docker inspect -f . ci-base-image-x86_64 05:30:31 . [Pipeline] withDockerContainer 05:30:31 prd-centos7-docker-4c-2g-29778 does not seem to be running inside a container 05:30:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:30:32 $ docker top c379f1f60aedd090f7fd9113b049df562b1c1c611974604603582298f5b44f5d -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:32 + make test 05:30:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:30:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:30:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:30:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:30:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:30:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:30:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 25.5% of statements 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.069s coverage: 12.5% of statements 05:31:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements 05:31:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:31:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:31:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 57.3% of statements 05:31:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.069s coverage: 81.3% of statements 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.089s coverage: 24.8% of statements 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.180s coverage: 6.4% of statements 05:31:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.2% of statements 05:31:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:31:31 GO111MODULE=on go vet ./... 05:31:38 gofmt -l . 05:31:38 [ "`gofmt -l .`" = "" ] 05:31:38 ./bin/test-attribution-txt.sh 05:31:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:31:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:31:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:31:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 25.5% of statements 05:31:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:31:39 $ docker stop --time=1 c379f1f60aedd090f7fd9113b049df562b1c1c611974604603582298f5b44f5d 05:31:41 $ docker rm -f c379f1f60aedd090f7fd9113b049df562b1c1c611974604603582298f5b44f5d [Pipeline] // withDockerContainer [Pipeline] sh 05:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:31:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:31:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:31:46 + ls -al . 05:31:46 total 188 05:31:46 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 05:31 . 05:31:46 drwxrwxr-x. 4 jenkins jenkins 28 Mar 15 05:29 .. 05:31:46 drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 05:29 bin 05:31:46 -rw-r--r--. 1 jenkins jenkins 103668 Mar 15 05:31 coverage.out 05:31:46 -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 05:29 Dockerfile.build 05:31:46 -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 05:29 .dockerignore 05:31:46 drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 05:29 example 05:31:46 drwxrwxr-x. 8 jenkins jenkins 179 Mar 15 05:29 .git 05:31:46 drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 05:29 .github 05:31:46 -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 05:29 .gitignore 05:31:46 -rw-r--r--. 1 jenkins jenkins 479 Mar 15 05:31 go.mod 05:31:46 -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 05:31 go.sum 05:31:46 drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 05:29 internal 05:31:46 -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 05:29 Jenkinsfile 05:31:46 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 05:29 LICENSE 05:31:46 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 05:29 Makefile 05:31:46 drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 05:29 openapi 05:31:46 drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 05:29 pkg 05:31:46 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 05:29 README.md 05:31:46 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 05:29 RELEASE-NOTES.txt 05:31:46 drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 05:29 snap 05:31:46 -rw-rw-r--. 1 jenkins jenkins 5 Mar 15 05:26 VERSION 05:31:46 -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 05:29 version.go [Pipeline] isUnix [Pipeline] sh 05:31:46 + 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=fb29ba3adfa2c2456972a290f646fac25e2789ad --label arch=amd64 --label version=0.0.0 . 05:31:46 Sending build context to Docker daemon 2.408MB 05:31:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:31:46 Step 2/24 : FROM ${BASE} AS builder 05:31:46 ---> 8bcecc51da58 05:31:46 Step 3/24 : ARG MAKE='make build' 05:31:47 ---> Running in ca6e17841ce1 05:31:47 Removing intermediate container ca6e17841ce1 05:31:47 ---> 3af04b448401 05:31:47 Step 4/24 : WORKDIR /device-sdk-go 05:31:47 ---> Running in cb457e148be6 05:31:47 Removing intermediate container cb457e148be6 05:31:47 ---> 427717e686f6 05:31:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:31:47 ---> Running in 2af1322314f1 05:31:48 Removing intermediate container 2af1322314f1 05:31:48 ---> 335046503a04 05:31:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:31:48 ---> Running in c00c8ac3267b 05:31:49 Removing intermediate container c00c8ac3267b 05:31:49 ---> 7bd37c2ccecc 05:31:49 Step 7/24 : RUN apk add --update --no-cache make git 05:31:49 ---> Running in 7c92621e2aa0 05:31:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:31:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:31:50 OK: 166 MiB in 39 packages 05:31:51 Removing intermediate container 7c92621e2aa0 05:31:51 ---> 7f7fb3a0248e 05:31:51 Step 8/24 : COPY . . 05:31:52 ---> e9d29e6e5355 05:31:52 Step 9/24 : RUN ${MAKE} 05:31:52 ---> Running in bf6db323e821 05:31:52 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 05:32:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:32:04 Removing intermediate container bf6db323e821 05:32:04 ---> 9d6c2007bd27 05:32:04 Step 10/24 : FROM scratch 05:32:04 ---> 05:32:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:32:04 ---> Running in ab977ade5758 05:32:04 Removing intermediate container ab977ade5758 05:32:04 ---> 0ed107f42a7e 05:32:04 Step 12/24 : ENV APP_PORT=49990 05:32:04 ---> Running in 2d2cf1c8e56d 05:32:04 Removing intermediate container 2d2cf1c8e56d 05:32:04 ---> ed62be1b2b3e 05:32:04 Step 13/24 : EXPOSE $APP_PORT 05:32:04 ---> Running in 22127722e06c 05:32:05 Removing intermediate container 22127722e06c 05:32:05 ---> 4e53b0b55c47 05:32:05 Step 14/24 : WORKDIR / 05:32:05 ---> Running in 647937158a09 05:32:05 Removing intermediate container 647937158a09 05:32:05 ---> 0eda6e933d6c 05:32:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 10.5% of statements 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.139s coverage: 12.5% of statements 05:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.134s coverage: 84.8% of statements 05:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 57.3% of statements 05:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.174s coverage: 81.3% of statements 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 24.8% of statements 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.888s coverage: 6.4% of statements 05:32:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.2% of statements 05:32:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:32:05 GO111MODULE=on go vet ./... 05:32:05 ---> 588d14e89d5d 05:32:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:32:06 ---> 1c4ffd2db399 05:32:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:32:06 ---> c5da8587e4cf 05:32:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:32:06 ---> a40aaee3cc14 05:32:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:32:06 ---> fbd7da4598d2 05:32:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:32:06 ---> Running in 01779bdb645b 05:32:06 Removing intermediate container 01779bdb645b 05:32:06 ---> 158443cf3c2b 05:32:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:32:07 ---> Running in 6112ed5eb0ea 05:32:07 Removing intermediate container 6112ed5eb0ea 05:32:07 ---> 0e9520328975 05:32:07 Step 22/24 : LABEL arch=amd64 05:32:07 ---> Running in fb7b125d47f0 05:32:07 Removing intermediate container fb7b125d47f0 05:32:07 ---> d2b7a68d6e9e 05:32:07 Step 23/24 : LABEL git_sha=fb29ba3adfa2c2456972a290f646fac25e2789ad 05:32:07 ---> Running in 2e081f8f8af4 05:32:07 Removing intermediate container 2e081f8f8af4 05:32:07 ---> 077cc343189f 05:32:07 Step 24/24 : LABEL version=0.0.0 05:32:07 ---> Running in 888331dae96c 05:32:07 Removing intermediate container 888331dae96c 05:32:07 ---> 8043761f09ba 05:32:07 [Warning] One or more build-args [ARCH] were not consumed 05:32:07 Successfully built 8043761f09ba 05:32:07 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 05:32:08 ---> job-cost.sh 05:32:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GDse 05:32:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:32:38 gofmt -l . 05:32:38 [ "`gofmt -l .`" = "" ] 05:32:38 ./bin/test-attribution-txt.sh 05:32:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:32:40 $ docker stop --time=1 a40bc65519e1ae336c41575b6e6aa46d73d6629ac52d217b6341360fa451c2d8 05:32:42 $ docker rm -f a40bc65519e1ae336c41575b6e6aa46d73d6629ac52d217b6341360fa451c2d8 [Pipeline] // withDockerContainer [Pipeline] sh 05:32:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:32:43 Warning: overwriting stash ‘coverage-report’ 05:32:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:32:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:32:45 + ls -al . 05:32:45 total 224 05:32:45 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 05:32 . 05:32:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 .. 05:32:45 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 05:29 .dockerignore 05:32:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 05:29 .git 05:32:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 05:29 .github 05:32:45 -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 05:29 .gitignore 05:32:45 -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 05:29 Dockerfile.build 05:32:45 -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 05:29 Jenkinsfile 05:32:45 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 05:29 LICENSE 05:32:45 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 05:29 Makefile 05:32:45 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 05:29 README.md 05:32:45 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 05:29 RELEASE-NOTES.txt 05:32:45 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 05:26 VERSION 05:32:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 05:29 bin 05:32:45 -rw-r--r-- 1 jenkins jenkins 103668 Mar 15 05:32 coverage.out 05:32:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 example 05:32:45 -rw-r--r-- 1 jenkins jenkins 479 Mar 15 05:32 go.mod 05:32:45 -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 05:32 go.sum 05:32:45 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 05:29 internal 05:32:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 openapi 05:32:45 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 05:29 pkg 05:32:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 snap 05:32:45 -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 05:29 version.go [Pipeline] isUnix [Pipeline] sh 05:32:46 + 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=fb29ba3adfa2c2456972a290f646fac25e2789ad --label arch=arm64 --label version=0.0.0 . 05:32:46 Sending build context to Docker daemon 2.407MB 05:32:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:32:46 Step 2/24 : FROM ${BASE} AS builder 05:32:46 ---> aaffbc9941f1 05:32:46 Step 3/24 : ARG MAKE='make build' 05:32:46 ---> Running in 6c433eb8cc0d 05:32:47 Removing intermediate container 6c433eb8cc0d 05:32:47 ---> d741619d52d4 05:32:47 Step 4/24 : WORKDIR /device-sdk-go 05:32:47 ---> Running in 158701ca3f03 05:32:48 Removing intermediate container 158701ca3f03 05:32:48 ---> 4785c4cad112 05:32:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:32:48 ---> Running in 3a11d8fa6ed7 05:32:48 Removing intermediate container 3a11d8fa6ed7 05:32:48 ---> fa69370c61e4 05:32:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:32:48 ---> Running in 288504fabeb1 05:32:50 Removing intermediate container 288504fabeb1 05:32:50 ---> a45b4f14d10a 05:32:50 Step 7/24 : RUN apk add --update --no-cache make git 05:32:50 ---> Running in 84f26fbcfbb2 05:32:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:32:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:32:53 OK: 142 MiB in 39 packages 05:32:54 Removing intermediate container 84f26fbcfbb2 05:32:54 ---> b1090d39f59e 05:32:54 Step 8/24 : COPY . . 05:32:55 ---> 77cc7efb9745 05:32:55 Step 9/24 : RUN ${MAKE} 05:32:55 ---> Running in 019b6bb3decd 05:32:56 lf-activate-venv(): INFO: Adding /tmp/venv-GDse/bin to PATH 05:32:56 INFO: No Stack... 05:32:56 INFO: Retrieving Pricing Info for: v1-standard-2 05:32:56 INFO: Archiving Costs [Pipeline] sh 05:32:56 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 05:32:56 + cut -d, -f6 [Pipeline] lock 05:32:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] 05:32:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] did not exist. Created. 05:32:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:32:56 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 05:32:56 + echo total: 0.029999999329447746 [Pipeline] stash 05:32:57 Stashed 1 file(s) [Pipeline] } 05:32:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:33:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:33:25 Removing intermediate container 019b6bb3decd 05:33:25 ---> c1e8eac2cbf7 05:33:25 Step 10/24 : FROM scratch 05:33:25 ---> 05:33:25 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:33:25 ---> Running in 3c61a2dbc196 05:33:25 Removing intermediate container 3c61a2dbc196 05:33:25 ---> 8183b8c1c192 05:33:25 Step 12/24 : ENV APP_PORT=49990 05:33:25 ---> Running in 49efa4e86fe9 05:33:26 Removing intermediate container 49efa4e86fe9 05:33:26 ---> e1681b697797 05:33:26 Step 13/24 : EXPOSE $APP_PORT 05:33:26 ---> Running in a6754ff7d73f 05:33:26 Removing intermediate container a6754ff7d73f 05:33:26 ---> 3551ee1f931d 05:33:26 Step 14/24 : WORKDIR / 05:33:27 ---> Running in cd426e1a7ba1 05:33:28 Removing intermediate container cd426e1a7ba1 05:33:28 ---> 5d6635eef1a4 05:33:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:33:29 ---> a8fc002d2417 05:33:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:33:30 ---> a6b839626b7c 05:33:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:33:31 ---> d32e3d3180ec 05:33:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:33:32 ---> a44db68dea1e 05:33:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:33:33 ---> b98b3dd6de7d 05:33:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:33:33 ---> Running in 938251dd38b7 05:33:33 Removing intermediate container 938251dd38b7 05:33:33 ---> 4870c44087a0 05:33:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:33:34 ---> Running in 9c24c79c1531 05:33:34 Removing intermediate container 9c24c79c1531 05:33:34 ---> 7a10ccd5c37a 05:33:34 Step 22/24 : LABEL arch=arm64 05:33:35 ---> Running in 8475587879f9 05:33:35 Removing intermediate container 8475587879f9 05:33:35 ---> d9a0ef1e19c1 05:33:35 Step 23/24 : LABEL git_sha=fb29ba3adfa2c2456972a290f646fac25e2789ad 05:33:35 ---> Running in c853c312e7be 05:33:36 Removing intermediate container c853c312e7be 05:33:36 ---> cb1f60348071 05:33:36 Step 24/24 : LABEL version=0.0.0 05:33:36 ---> Running in 04f8406d0d84 05:33:36 Removing intermediate container 04f8406d0d84 05:33:36 ---> 8f9da3a1e6c0 05:33:36 [Warning] One or more build-args [ARCH] were not consumed 05:33:36 Successfully built 8f9da3a1e6c0 05:33:36 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 05:33:37 ---> job-cost.sh 05:33:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tI9B 05:34:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:35:53 lf-activate-venv(): INFO: Adding /tmp/venv-tI9B/bin to PATH 05:35:53 INFO: No Stack... 05:35:53 INFO: Retrieving Pricing Info for: lf-standard-4 05:35:53 INFO: Archiving Costs [Pipeline] sh 05:35:53 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 05:35:53 + cut -d, -f6 [Pipeline] lock 05:35:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] 05:35:53 Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] did not exist. Created. 05:35:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:35:54 /w/workspace/device-sdk-go/3@tmp/durable-bd203d66/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-bd203d66/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:35:54 + echo total: 0.20999999344348907 [Pipeline] stash 05:35:54 Warning: overwriting stash ‘stack-cost’ 05:35:54 Stashed 1 file(s) [Pipeline] } 05:35:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-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 05:35:56 provisioning config files... 05:35:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config6164814339445760777tmp [Pipeline] { [Pipeline] sh 05:35:57 + set +x 05:35:57 + curl -s https://codecov.io/bash 05:35:57 + bash -s -- 05:35:57 05:35:57 _____ _ 05:35:57 / ____| | | 05:35:57 | | ___ __| | ___ ___ _____ __ 05:35:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:35:57 | |___| (_) | (_| | __/ (_| (_) \ V / 05:35:57 \_____\___/ \__,_|\___|\___\___/ \_/ 05:35:57 Bash-20210309-2b87ace 05:35:57 05:35:57 05:35:57 ==> git version 2.24.3 found 05:35:57 ==> 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 05:35:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:35:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:35:57 ==> Jenkins CI detected. 05:35:57 project root: . 05:35:57 --> token set from env 05:35:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:35:57 ==> Running gcov in . (disable via -X gcov) 05:35:57 ==> Python coveragepy not found 05:35:57 ==> Searching for coverage reports in: 05:35:57 + . 05:35:57 -> Found 1 reports 05:35:57 ==> Detecting git/mercurial file structure 05:35:57 ==> Reading reports 05:35:57 + ./coverage.out bytes=103668 05:35:57 ==> Appending adjustments 05:35:57 https://docs.codecov.io/docs/fixing-reports 05:35:58 + Found adjustments 05:35:58 ==> Gzipping contents 05:35:58 16K /tmp/codecov.P7HTW3.gz 05:35:58 ==> Uploading reports 05:35:58 url: https://codecov.io 05:35:58 query: branch=PR-813&commit=fb29ba3adfa2c2456972a290f646fac25e2789ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= 05:35:58 -> Pinging Codecov 05:35:58 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-813&commit=fb29ba3adfa2c2456972a290f646fac25e2789ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= 05:35:58 -> Uploading to 05:35:58 https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/fb29ba3adfa2c2456972a290f646fac25e2789ad/a4165c62-6c65-4701-80b4-358a405eeb8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T053558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=51806f4a03734fa09de0291a001df9f1ab7a6a21bacc72aefe76b4cb96799399 05:35:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:35:59 Dload Upload Total Spent Left Speed 05:35:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13924 0 0 100 13924 0 28285 --:--:-- --:--:-- --:--:-- 28300 05:35:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fb29ba3adfa2c2456972a290f646fac25e2789ad [Pipeline] } 05:35:59 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 05:36:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:36:02 ---> package-listing.sh 05:36:02 ++ facter osfamily 05:36:02 ++ tr '[:upper:]' '[:lower:]' 05:36:02 + OS_FAMILY=redhat 05:36:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-813 05:36:02 + START_PACKAGES=/tmp/packages_start.txt 05:36:02 + END_PACKAGES=/tmp/packages_end.txt 05:36:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:36:02 + PACKAGES=/tmp/packages_start.txt 05:36:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' 05:36:02 + PACKAGES=/tmp/packages_end.txt 05:36:02 + case "${OS_FAMILY}" in 05:36:02 + rpm -qa 05:36:02 + sort 05:36:11 + '[' -f /tmp/packages_start.txt ']' 05:36:11 + '[' -f /tmp/packages_end.txt ']' 05:36:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:36:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' 05:36:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ 05:36:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [Pipeline] echo 05:36:11 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-813/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:36:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:36:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:36:12 05:36:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:36:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:36:12 alpine: Pulling from edgex-lftools-log-publisher 05:36:12 df20fa9351a1: Pulling fs layer 05:36:12 36b3adc4ff6f: Pulling fs layer 05:36:12 8ad3a11d3b57: Pulling fs layer 05:36:12 46f8f816bc3b: Pulling fs layer 05:36:12 93b61091891f: Pulling fs layer 05:36:12 93b9cdb0e59b: Pulling fs layer 05:36:12 5e14af77c1be: Pulling fs layer 05:36:12 01666e4c0597: Pulling fs layer 05:36:12 aa168da1d23b: Pulling fs layer 05:36:12 93b9cdb0e59b: Waiting 05:36:12 5e14af77c1be: Waiting 05:36:12 01666e4c0597: Waiting 05:36:12 aa168da1d23b: Waiting 05:36:12 46f8f816bc3b: Waiting 05:36:12 93b61091891f: Waiting 05:36:12 36b3adc4ff6f: Verifying Checksum 05:36:12 36b3adc4ff6f: Download complete 05:36:12 46f8f816bc3b: Verifying Checksum 05:36:12 46f8f816bc3b: Download complete 05:36:13 df20fa9351a1: Verifying Checksum 05:36:13 93b9cdb0e59b: Verifying Checksum 05:36:13 93b9cdb0e59b: Download complete 05:36:13 93b61091891f: Download complete 05:36:13 5e14af77c1be: Download complete 05:36:13 01666e4c0597: Verifying Checksum 05:36:13 01666e4c0597: Download complete 05:36:13 df20fa9351a1: Pull complete 05:36:13 8ad3a11d3b57: Verifying Checksum 05:36:13 8ad3a11d3b57: Download complete 05:36:13 36b3adc4ff6f: Pull complete 05:36:15 8ad3a11d3b57: Pull complete 05:36:15 46f8f816bc3b: Pull complete 05:36:16 93b61091891f: Pull complete 05:36:17 aa168da1d23b: Verifying Checksum 05:36:17 aa168da1d23b: Download complete 05:36:17 93b9cdb0e59b: Pull complete 05:36:18 5e14af77c1be: Pull complete 05:36:18 01666e4c0597: Pull complete 05:36:41 aa168da1d23b: Pull complete 05:36:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:36:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:36:42 prd-centos7-docker-4c-2g-29776 does not seem to be running inside a container 05:36:42 $ 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-813/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-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:36:45 $ docker top 909557b79a91d6f9e8c7476e0cbea2ba1e4f44e79a49cf4f7dc65a9d9d746074 -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:46 + touch /tmp/pre-build-complete [Pipeline] sh 05:36:47 + mkdir -p /var/log/sa [Pipeline] sh 05:36:47 + ls /var/log/sa-host 05:36:47 + sadf -c /var/log/sa-host/sa15 05:36:47 file_magic: OK 05:36:47 HZ: Using current value: 100 05:36:47 file_header: OK 05:36:47 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 05:36:47 Statistics: 05:36:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:36:47 File successfully converted to sysstat format version 12.2.1 05:36:47 + sadf -c /var/log/sa-host/sa23 05:36:47 file_magic: OK 05:36:47 HZ: Using current value: 100 05:36:47 file_header: OK 05:36:47 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 05:36:47 Statistics: 05:36:47 Hnuu...uuuununununu... 05:36:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:36:48 provisioning config files... 05:36:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config5752576513694754813tmp [Pipeline] { [Pipeline] echo 05:36:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:36:49 ---> create-netrc.sh [Pipeline] } 05:36:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:36:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:36:50 ---> python-tools-install.sh [Pipeline] echo 05:36:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:36:50 ---> sudo-logs.sh 05:36:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:36:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:36:51 ---> job-cost.sh 05:36:51 lf-activate-venv: SKIPPING 05:36:51 DEBUG: total: 0.20999999344348907 05:36:51 INFO: Retrieving Stack Cost... 05:36:52 INFO: Retrieving Pricing Info for: v1-standard-2 05:36:52 INFO: Archiving Costs [Pipeline] echo 05:36:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:36:53 ---> logs-deploy.sh 05:36:53 lf-activate-venv: SKIPPING 05:36:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-813/3 05:36:53 INFO: archiving workspace using pattern(s): 05:36:55 Archives upload complete. 05:36:56 INFO: archiving logs to Nexus