Pull request #844 opened 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 708cd13c3013d1b09bdf990e6c0625a15917f3a0+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (26360f3447b710585b68125ba78bc9c982e9d135) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-844/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-844/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-31719 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-844 # 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/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 708cd13c3013d1b09bdf990e6c0625a15917f3a0 Merge succeeded, producing 708cd13c3013d1b09bdf990e6c0625a15917f3a0 Checking out Revision 708cd13c3013d1b09bdf990e6c0625a15917f3a0 (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f 708cd13c3013d1b09bdf990e6c0625a15917f3a0 # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 708cd13c3013d1b09bdf990e6c0625a15917f3a0 # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:10:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:10:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:10:57 ========================================================= 09:10:57 EdgeX Global Pipelines Version Info 09:10:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:10:59 ------------------- 09:10:59 stable info: 09:10:59 ------------------- 09:10:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:10:59 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:10:59 Message: update stable to v1.0.186 09:11:00 ------------------- 09:11:00 experimental info: 09:11:00 ------------------- 09:11:00 Commited By: **** collab-it+edgex@linuxfoundation.org 09:11:00 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 09:11:00 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:11:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:11:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:11:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:11:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:11:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo 09:11:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo 09:11:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo 09:11:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 708cd13c3013d1b09bdf990e6c0625a15917f3a0 [Pipeline] echo 09:11:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 708cd13 [Pipeline] echo 09:11:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:11:04 provisioning config files... 09:11:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3750175147005835750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:05 ---> docker-login.sh 09:11:05 nexus3.edgexfoundry.org:10001 09:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:05 Configure a credential helper to remove this warning. See 09:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:05 09:11:05 Login Succeeded 09:11:05 nexus3.edgexfoundry.org:10002 09:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:06 Configure a credential helper to remove this warning. See 09:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:06 09:11:06 Login Succeeded 09:11:06 nexus3.edgexfoundry.org:10003 09:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:06 Configure a credential helper to remove this warning. See 09:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:06 09:11:06 Login Succeeded 09:11:06 nexus3.edgexfoundry.org:10004 09:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:06 Configure a credential helper to remove this warning. See 09:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:06 09:11:06 Login Succeeded 09:11:06 docker.io 09:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:07 Configure a credential helper to remove this warning. See 09:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:07 09:11:07 Login Succeeded 09:11:07 ---> docker-login.sh ends [Pipeline] } 09:11:07 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 09:11:08 + git log --format=format:%s -1 708cd13c3013d1b09bdf990e6c0625a15917f3a0 [Pipeline] echo 09:11:08 GIT_COMMIT: 708cd13c3013d1b09bdf990e6c0625a15917f3a0, Commit Message: feat: add capability to load devices from directory [Pipeline] echo 09:11:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:09 09:11:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:11:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:09 latest: Pulling from edgex-devops/git-semver 09:11:09 31603596830f: Pulling fs layer 09:11:09 2a8b12db71e7: Pulling fs layer 09:11:09 6ca5941a6612: Pulling fs layer 09:11:09 ecc8261a40a4: Pulling fs layer 09:11:09 ecc8261a40a4: Waiting 09:11:09 2a8b12db71e7: Download complete 09:11:10 31603596830f: Verifying Checksum 09:11:10 31603596830f: Download complete 09:11:10 ecc8261a40a4: Verifying Checksum 09:11:10 ecc8261a40a4: Download complete 09:11:10 6ca5941a6612: Verifying Checksum 09:11:10 6ca5941a6612: Download complete 09:11:10 31603596830f: Pull complete 09:11:10 2a8b12db71e7: Pull complete 09:11:11 6ca5941a6612: Pull complete 09:11:11 ecc8261a40a4: Pull complete 09:11:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:11:11 prd-centos7-docker-4c-2g-31719 does not seem to be running inside a container 09:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:11:14 $ docker top 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:11:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:14 [ssh-agent] Looking for ssh-agent implementation... 09:11:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:14 $ docker exec 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c ssh-agent 09:11:14 SSH_AUTH_SOCK=/tmp/ssh-5gkKmzHbdHBQ/agent.13 09:11:14 SSH_AGENT_PID=18 09:11:14 Running ssh-add (command line suppressed) 09:11:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_5110077583891498158.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_5110077583891498158.key) 09:11:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:15 + git tag --points-at HEAD [Pipeline] } 09:11:15 $ docker exec --env ******** --env ******** 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c ssh-agent -k 09:11:15 unset SSH_AUTH_SOCK; 09:11:15 unset SSH_AGENT_PID; 09:11:15 echo Agent pid 18 killed; 09:11:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:11:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:15 [ssh-agent] Looking for ssh-agent implementation... 09:11:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:16 $ docker exec 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c ssh-agent 09:11:16 SSH_AUTH_SOCK=/tmp/ssh-zM7OmY7TXR2o/agent.48 09:11:16 SSH_AGENT_PID=54 09:11:16 Running ssh-add (command line suppressed) 09:11:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_7194028821500028659.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_7194028821500028659.key) 09:11:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:16 + git semver init 09:11:16 # -> Open(): unable to determine branch for HEAD 09:11:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git 09:11:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 09:11:16 # $SEMVER_REMOTE_NAME = origin 09:11:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:11:16 # $SEMVER_USER_NAME = edgex-jenkins 09:11:16 # $SEMVER_BRANCH = PR-844 09:11:16 # $SEMVER_TEMP = /tmp/semver-178700068 09:11:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:11:17 # '/tmp/semver-178700068' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' 09:11:17 # -> Force: false 09:11:17 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } 09:11:17 $ docker exec --env ******** --env ******** 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c ssh-agent -k 09:11:17 unset SSH_AUTH_SOCK; 09:11:17 unset SSH_AGENT_PID; 09:11:17 echo Agent pid 54 killed; 09:11:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:11:18 + git semver [Pipeline] } 09:11:18 $ docker stop --time=1 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c 09:11:19 $ docker rm -f 3feaca83aa7e0fe7af14e7462fa7ba6312e3656915191e88bc026db9c2a24c2c [Pipeline] // withDockerContainer [Pipeline] sh 09:11:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:11:21 Stashed 1 file(s) [Pipeline] echo 09:11:21 [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 09:11:36 Still waiting to schedule task 09:11:36 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31719’ 09:11:36 Still waiting to schedule task 09:11:36 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:13:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31720 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 09:13:24 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:13:30 using credential edgex-jenkins-ssh 09:13:30 Cloning the remote Git repository 09:13:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:13:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:13:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:13:30 > git --version # timeout=10 09:13:30 > git --version # 'git version 2.17.1' 09:13:30 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:13:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:13:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:13:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:13:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:13:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:13:32 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 708cd13c3013d1b09bdf990e6c0625a15917f3a0 09:13:32 Merge succeeded, producing 708cd13c3013d1b09bdf990e6c0625a15917f3a0 09:13:32 Checking out Revision 708cd13c3013d1b09bdf990e6c0625a15917f3a0 (PR-844) 09:13:32 > git config core.sparsecheckout # timeout=10 09:13:32 > git checkout -f 708cd13c3013d1b09bdf990e6c0625a15917f3a0 # timeout=10 09:13:32 > git remote # timeout=10 09:13:32 > git config --get remote.origin.url # timeout=10 09:13:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:32 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 09:13:32 > git rev-parse HEAD^{commit} # timeout=10 09:13:32 > git config core.sparsecheckout # timeout=10 09:13:33 > git checkout -f 708cd13c3013d1b09bdf990e6c0625a15917f3a0 # timeout=10 09:13:37 Commit message: "feat: add capability to load devices from directory" 09:13:37 > git --version # timeout=10 09:13:37 > git --version # 'git version 2.17.1' 09:13:37 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:13:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:13:40 + sudo service docker restart+ 09:13:40 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:13:43 provisioning config files... 09:13:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6865004328880871054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:43 ---> docker-login.sh 09:13:43 nexus3.edgexfoundry.org:10001 09:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:44 Configure a credential helper to remove this warning. See 09:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:44 09:13:44 Login Succeeded 09:13:44 nexus3.edgexfoundry.org:10002 09:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:45 Configure a credential helper to remove this warning. See 09:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:45 09:13:45 Login Succeeded 09:13:45 nexus3.edgexfoundry.org:10003 09:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:46 Configure a credential helper to remove this warning. See 09:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:46 09:13:46 Login Succeeded 09:13:46 nexus3.edgexfoundry.org:10004 09:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:46 Configure a credential helper to remove this warning. See 09:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:46 09:13:46 Login Succeeded 09:13:46 docker.io 09:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:47 Configure a credential helper to remove this warning. See 09:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:47 09:13:47 Login Succeeded 09:13:47 ---> docker-login.sh ends [Pipeline] } 09:13:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:47 ========================================================= 09:13:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:13:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:13:48 + 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 . 09:13:48 Sending build context to Docker daemon 2.353MB 09:13:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:13:48 Step 2/8 : FROM ${BASE} 09:13:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:13:48 5f621e34cdf4: Pulling fs layer 09:13:48 a4357932f1b6: Pulling fs layer 09:13:48 18c013af1878: Pulling fs layer 09:13:48 00ac8860ef70: Pulling fs layer 09:13:48 63d7cb157983: Pulling fs layer 09:13:48 b116817d02f9: Pulling fs layer 09:13:48 745a02a5169b: Pulling fs layer 09:13:48 00ac8860ef70: Waiting 09:13:48 63d7cb157983: Waiting 09:13:48 b116817d02f9: Waiting 09:13:48 745a02a5169b: Waiting 09:13:48 18c013af1878: Verifying Checksum 09:13:48 18c013af1878: Download complete 09:13:48 a4357932f1b6: Verifying Checksum 09:13:48 a4357932f1b6: Download complete 09:13:48 63d7cb157983: Download complete 09:13:48 b116817d02f9: Verifying Checksum 09:13:48 b116817d02f9: Download complete 09:13:48 5f621e34cdf4: Download complete 09:13:49 5f621e34cdf4: Pull complete 09:13:50 a4357932f1b6: Pull complete 09:13:50 18c013af1878: Pull complete 09:13:51 745a02a5169b: Verifying Checksum 09:13:51 745a02a5169b: Download complete 09:13:52 00ac8860ef70: Verifying Checksum 09:13:52 00ac8860ef70: Download complete 09:14:02 00ac8860ef70: Pull complete 09:14:03 63d7cb157983: Pull complete 09:14:03 b116817d02f9: Pull complete 09:14:08 745a02a5169b: Pull complete 09:14:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:14:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:14:08 ---> b7e6874047d6 09:14:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:14:10 ---> Running in 039e5ad6529a 09:14:10 Removing intermediate container 039e5ad6529a 09:14:10 ---> a6f94c1b4faa 09:14:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:10 ---> Running in 6501109619ba 09:14:12 Removing intermediate container 6501109619ba 09:14:12 ---> 76affa8a881d 09:14:12 Step 5/8 : RUN apk add --update --no-cache make git 09:14:12 ---> Running in badc59c6b0ca 09:14:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:14:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:14:15 OK: 142 MiB in 39 packages 09:14:16 Removing intermediate container badc59c6b0ca 09:14:16 ---> c522a268e6c5 09:14:16 Step 6/8 : WORKDIR /device-sdk-go 09:14:16 ---> Running in 7f0753e09593 09:14:16 Removing intermediate container 7f0753e09593 09:14:16 ---> e10bea81b948 09:14:16 Step 7/8 : COPY . . 09:14:18 ---> 6e64ea2c5b3d 09:14:18 Step 8/8 : RUN go mod download 09:14:18 ---> Running in 7a9a8c44467b 09:14:45 Running on prd-centos7-docker-4c-2g-31721 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 09:14:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 09:14:45 Removing intermediate container 7a9a8c44467b 09:14:45 ---> 743f4b5d296f 09:14:45 Successfully built 743f4b5d296f 09:14:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] checkout [Pipeline] isUnix [Pipeline] sh 09:14:45 + docker inspect -f . ci-base-image-arm64 09:14:45 . [Pipeline] withDockerContainer 09:14:45 prd-ubuntu18.04-docker-arm64-4c-16g-31720 does not seem to be running inside a container 09:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:14:47 $ docker top b516842d78c211a0ce0bea08bdf5e9114c06facfcaca975b7fcf8b820ca3c102 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:48 + go version 09:14:48 go version go1.15.5 linux/arm64 [Pipeline] } 09:14:48 $ docker stop --time=1 b516842d78c211a0ce0bea08bdf5e9114c06facfcaca975b7fcf8b820ca3c102 09:14:49 using credential edgex-jenkins-ssh 09:14:49 Cloning the remote Git repository 09:14:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:14:49 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:14:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:14:49 > git --version # timeout=10 09:14:49 > git --version # 'git version 2.24.3' 09:14:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:14:50 $ docker rm -f b516842d78c211a0ce0bea08bdf5e9114c06facfcaca975b7fcf8b820ca3c102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 09:14:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:14:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:14:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:14:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:14:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] isUnix [Pipeline] sh 09:14:51 + docker inspect -f . ci-base-image-arm64 09:14:51 . [Pipeline] withDockerContainer 09:14:52 prd-ubuntu18.04-docker-arm64-4c-16g-31720 does not seem to be running inside a container 09:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:14:52 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 708cd13c3013d1b09bdf990e6c0625a15917f3a0 09:14:52 Merge succeeded, producing 708cd13c3013d1b09bdf990e6c0625a15917f3a0 09:14:52 Checking out Revision 708cd13c3013d1b09bdf990e6c0625a15917f3a0 (PR-844) 09:14:52 > git config core.sparsecheckout # timeout=10 09:14:52 > git checkout -f 708cd13c3013d1b09bdf990e6c0625a15917f3a0 # timeout=10 09:14:52 > git remote # timeout=10 09:14:52 > git config --get remote.origin.url # timeout=10 09:14:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:52 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 09:14:52 > git rev-parse HEAD^{commit} # timeout=10 09:14:52 > git config core.sparsecheckout # timeout=10 09:14:52 > git checkout -f 708cd13c3013d1b09bdf990e6c0625a15917f3a0 # timeout=10 09:14:53 $ docker top 918c9f6947caf098f2b7be36bf51932e1d5056f575c11e94ebef176a2abe88af -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:54 + make test 09:14:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:14:56 Commit message: "feat: add capability to load devices from directory" 09:14:56 > git --version # timeout=10 09:14:56 > git --version # 'git version 2.24.3' 09:14:56 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:14:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:14:58 + sudo service docker restart 09:14:58 + true 09:14:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:15:01 provisioning config files... 09:15:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7699757736954849333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:01 ---> docker-login.sh 09:15:01 nexus3.edgexfoundry.org:10001 09:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:03 Configure a credential helper to remove this warning. See 09:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:03 09:15:03 Login Succeeded 09:15:03 nexus3.edgexfoundry.org:10002 09:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:03 Configure a credential helper to remove this warning. See 09:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:03 09:15:03 Login Succeeded 09:15:03 nexus3.edgexfoundry.org:10003 09:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:03 Configure a credential helper to remove this warning. See 09:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:03 09:15:03 Login Succeeded 09:15:03 nexus3.edgexfoundry.org:10004 09:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:03 Configure a credential helper to remove this warning. See 09:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:03 09:15:03 Login Succeeded 09:15:03 docker.io 09:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:04 Configure a credential helper to remove this warning. See 09:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:04 09:15:04 Login Succeeded 09:15:04 ---> docker-login.sh ends [Pipeline] } 09:15:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:15:05 ========================================================= 09:15:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:15:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:15:05 + 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 . 09:15:05 Sending build context to Docker daemon 2.339MB 09:15:05 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:15:05 Step 2/8 : FROM ${BASE} 09:15:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:15:05 188c0c94c7c5: Pulling fs layer 09:15:05 0ef7d3d256c8: Pulling fs layer 09:15:05 de9db76c5a1d: Pulling fs layer 09:15:05 bca2f99d35d6: Pulling fs layer 09:15:05 93359f2a8cfa: Pulling fs layer 09:15:05 7c6f9722023f: Pulling fs layer 09:15:05 a35cf1a2eb13: Pulling fs layer 09:15:05 93359f2a8cfa: Waiting 09:15:05 7c6f9722023f: Waiting 09:15:05 a35cf1a2eb13: Waiting 09:15:05 bca2f99d35d6: Waiting 09:15:05 de9db76c5a1d: Verifying Checksum 09:15:05 de9db76c5a1d: Download complete 09:15:05 0ef7d3d256c8: Verifying Checksum 09:15:05 0ef7d3d256c8: Download complete 09:15:05 93359f2a8cfa: Verifying Checksum 09:15:05 93359f2a8cfa: Download complete 09:15:06 7c6f9722023f: Verifying Checksum 09:15:06 7c6f9722023f: Download complete 09:15:06 188c0c94c7c5: Verifying Checksum 09:15:06 188c0c94c7c5: Download complete 09:15:06 188c0c94c7c5: Pull complete 09:15:07 0ef7d3d256c8: Pull complete 09:15:08 de9db76c5a1d: Pull complete 09:15:10 a35cf1a2eb13: Verifying Checksum 09:15:10 a35cf1a2eb13: Download complete 09:15:11 bca2f99d35d6: Verifying Checksum 09:15:11 bca2f99d35d6: Download complete 09:15:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:15:21 bca2f99d35d6: Pull complete 09:15:21 93359f2a8cfa: Pull complete 09:15:21 7c6f9722023f: Pull complete 09:15:28 a35cf1a2eb13: Pull complete 09:15:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:15:28 ---> a62c8e92a672 09:15:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:15:28 ---> Running in 6556ff5b973b 09:15:28 Removing intermediate container 6556ff5b973b 09:15:28 ---> b7cd4d7710b3 09:15:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:28 ---> Running in 10464fec89aa 09:15:30 Removing intermediate container 10464fec89aa 09:15:30 ---> 204301e8850b 09:15:30 Step 5/8 : RUN apk add --update --no-cache make git 09:15:30 ---> Running in 6c35b4a481bb 09:15:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:15:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:15:33 OK: 166 MiB in 39 packages 09:15:34 Removing intermediate container 6c35b4a481bb 09:15:34 ---> 089daa50efcc 09:15:34 Step 6/8 : WORKDIR /device-sdk-go 09:15:34 ---> Running in e10f55eeffa9 09:15:34 Removing intermediate container e10f55eeffa9 09:15:34 ---> a95a4a5ae723 09:15:34 Step 7/8 : COPY . . 09:15:36 ---> 20a423343591 09:15:36 Step 8/8 : RUN go mod download 09:15:36 ---> Running in efa3b2c9fe98 09:15:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:15:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:15:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:15:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:15:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:16:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 27.0% of statements 09:16:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.171s coverage: 81.2% of statements 09:16:04 Removing intermediate container efa3b2c9fe98 09:16:04 ---> 03ad7467e87f 09:16:04 Successfully built 03ad7467e87f 09:16:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:16:04 + docker inspect -f . ci-base-image-x86_64 09:16:05 . [Pipeline] withDockerContainer 09:16:05 prd-centos7-docker-4c-2g-31721 does not seem to be running inside a container 09:16:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:16:08 $ docker top 908b13a8e3f2742aab6e12e3b6ef46514888fe4aed3322efb72a6719ef6da276 -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:08 + go version 09:16:08 go version go1.15.5 linux/amd64 [Pipeline] } 09:16:08 $ docker stop --time=1 908b13a8e3f2742aab6e12e3b6ef46514888fe4aed3322efb72a6719ef6da276 09:16:10 $ docker rm -f 908b13a8e3f2742aab6e12e3b6ef46514888fe4aed3322efb72a6719ef6da276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:16:11 + docker inspect -f . ci-base-image-x86_64 09:16:11 . [Pipeline] withDockerContainer 09:16:11 prd-centos7-docker-4c-2g-31721 does not seem to be running inside a container 09:16:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:16:13 $ docker top b1659b7a9e8afd2ac1a6d1148e821df3b7aa156794ba8b6e314f41298233ab9f -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:13 + make test 09:16:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.105s coverage: 10.5% of statements 09:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.243s coverage: 32.5% of statements 09:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.271s coverage: 57.3% of statements 09:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.913s coverage: 6.6% of statements 09:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.119s coverage: 5.0% of statements 09:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:16:30 GO111MODULE=on go vet ./... 09:16:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:17:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 27.0% of statements 09:17:02 gofmt -l . 09:17:02 [ "`gofmt -l .`" = "" ] 09:17:02 ./bin/test-attribution-txt.sh 09:17:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:17:02 $ docker stop --time=1 918c9f6947caf098f2b7be36bf51932e1d5056f575c11e94ebef176a2abe88af 09:17:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.211s coverage: 81.2% of statements 09:17:04 $ docker rm -f 918c9f6947caf098f2b7be36bf51932e1d5056f575c11e94ebef176a2abe88af [Pipeline] // withDockerContainer [Pipeline] sh 09:17:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:17:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:17:10 + ls -al . 09:17:10 total 220 09:17:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 09:17 . 09:17:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 09:13 .. 09:17:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 09:13 .dockerignore 09:17:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 09:13 .git 09:17:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 09:13 .github 09:17:10 -rw-rw-r-- 1 jenkins jenkins 138 Mar 29 09:13 .gitignore 09:17:10 -rw-rw-r-- 1 jenkins jenkins 949 Mar 29 09:13 Dockerfile.build 09:17:10 -rw-rw-r-- 1 jenkins jenkins 901 Mar 29 09:13 Jenkinsfile 09:17:10 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 09:13 LICENSE 09:17:10 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 29 09:13 Makefile 09:17:10 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 29 09:13 README.md 09:17:10 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 29 09:13 RELEASE-NOTES.txt 09:17:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 09:11 VERSION 09:17:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 09:13 bin 09:17:10 -rw-r--r-- 1 jenkins jenkins 100081 Mar 29 09:16 coverage.out 09:17:10 drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 09:13 example 09:17:10 -rw-r--r-- 1 jenkins jenkins 479 Mar 29 09:17 go.mod 09:17:10 -rw-r--r-- 1 jenkins jenkins 17372 Mar 29 09:17 go.sum 09:17:10 drwxrwxr-x 13 jenkins jenkins 4096 Mar 29 09:13 internal 09:17:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 09:13 openapi 09:17:10 drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 09:13 pkg 09:17:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 09:13 snap 09:17:10 -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 09:13 version.go [Pipeline] isUnix [Pipeline] sh 09:17:11 + 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=708cd13c3013d1b09bdf990e6c0625a15917f3a0 --label arch=arm64 --label version=0.0.0 . 09:17:11 Sending build context to Docker daemon 2.454MB 09:17:11 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:17:11 Step 2/24 : FROM ${BASE} AS builder 09:17:11 ---> 743f4b5d296f 09:17:11 Step 3/24 : ARG MAKE='make build' 09:17:12 ---> Running in e7443c704133 09:17:12 Removing intermediate container e7443c704133 09:17:12 ---> a2d6cf356790 09:17:12 Step 4/24 : WORKDIR /device-sdk-go 09:17:12 ---> Running in 91b19a9fc52e 09:17:13 Removing intermediate container 91b19a9fc52e 09:17:13 ---> 9feeb987e59c 09:17:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:17:13 ---> Running in 3b8cedb390c8 09:17:13 Removing intermediate container 3b8cedb390c8 09:17:13 ---> b431f12ef6ae 09:17:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:13 ---> Running in a5de78425398 09:17:15 Removing intermediate container a5de78425398 09:17:15 ---> c4606d48dc11 09:17:15 Step 7/24 : RUN apk add --update --no-cache make git 09:17:15 ---> Running in 22714c1009be 09:17:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:17:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:17:18 OK: 142 MiB in 39 packages 09:17:19 Removing intermediate container 22714c1009be 09:17:19 ---> 5a41e14cb380 09:17:19 Step 8/24 : COPY . . 09:17:20 ---> ad3cd51cbc70 09:17:20 Step 9/24 : RUN ${MAKE} 09:17:20 ---> Running in aafe1706eea5 09:17:21 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 09:17:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.068s coverage: 10.5% of statements 09:17:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:17:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:17:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.140s coverage: 32.5% of statements 09:17:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:17:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:17:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:17:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.265s coverage: 57.3% of statements 09:17:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.133s coverage: 6.6% of statements 09:17:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 09:17:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:17:30 GO111MODULE=on go vet ./... 09:17:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:17:50 Removing intermediate container aafe1706eea5 09:17:50 ---> 611bd6450b53 09:17:50 Step 10/24 : FROM scratch 09:17:50 ---> 09:17:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:17:50 ---> Running in dc42760d9bae 09:17:50 Removing intermediate container dc42760d9bae 09:17:50 ---> 6c716fb0f50c 09:17:50 Step 12/24 : ENV APP_PORT=49990 09:17:50 ---> Running in ce3607e88e9a 09:17:51 Removing intermediate container ce3607e88e9a 09:17:51 ---> 5e5d239a5556 09:17:51 Step 13/24 : EXPOSE $APP_PORT 09:17:51 ---> Running in c141748e2b31 09:17:51 Removing intermediate container c141748e2b31 09:17:51 ---> 156a58d451b6 09:17:51 Step 14/24 : WORKDIR / 09:17:52 ---> Running in b9eef78acbc7 09:17:52 Removing intermediate container b9eef78acbc7 09:17:52 ---> 4ab1ca93e3b3 09:17:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:17:52 gofmt -l . 09:17:52 [ "`gofmt -l .`" = "" ] 09:17:52 ./bin/test-attribution-txt.sh 09:17:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:17:53 $ docker stop --time=1 b1659b7a9e8afd2ac1a6d1148e821df3b7aa156794ba8b6e314f41298233ab9f 09:17:53 ---> 3008fde6c5dc 09:17:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:17:54 ---> 4f5896d2bbee 09:17:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:17:54 COPY failed: stat /var/lib/docker/overlay2/40cf2948b4146271d3385c9eedfdab0798fe4911d5b0af9c8124ae1b22f3e367/merged/device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml: no such file or directory 09:17:55 $ docker rm -f b1659b7a9e8afd2ac1a6d1148e821df3b7aa156794ba8b6e314f41298233ab9f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } 09:17:56 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] stash 09:17:56 Warning: overwriting stash ‘coverage-report’ [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:17:57 ---> job-cost.sh 09:17:57 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c98q 09:17:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:17:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:17:59 + ls -al . 09:17:59 total 184 09:17:59 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 29 09:17 . 09:17:59 drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 09:14 .. 09:17:59 drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 09:14 bin 09:17:59 -rw-r--r--. 1 jenkins jenkins 100082 Mar 29 09:17 coverage.out 09:17:59 -rw-rw-r--. 1 jenkins jenkins 949 Mar 29 09:14 Dockerfile.build 09:17:59 -rw-rw-r--. 1 jenkins jenkins 140 Mar 29 09:14 .dockerignore 09:17:59 drwxrwxr-x. 5 jenkins jenkins 62 Mar 29 09:14 example 09:17:59 drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 09:14 .git 09:17:59 drwxrwxr-x. 2 jenkins jenkins 103 Mar 29 09:14 .github 09:17:59 -rw-rw-r--. 1 jenkins jenkins 138 Mar 29 09:14 .gitignore 09:17:59 -rw-r--r--. 1 jenkins jenkins 479 Mar 29 09:17 go.mod 09:17:59 -rw-r--r--. 1 jenkins jenkins 17372 Mar 29 09:17 go.sum 09:17:59 drwxrwxr-x. 13 jenkins jenkins 193 Mar 29 09:14 internal 09:17:59 -rw-rw-r--. 1 jenkins jenkins 901 Mar 29 09:14 Jenkinsfile 09:17:59 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 29 09:14 LICENSE 09:17:59 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 29 09:14 Makefile 09:17:59 drwxrwxr-x. 4 jenkins jenkins 26 Mar 29 09:14 openapi 09:17:59 drwxrwxr-x. 5 jenkins jenkins 50 Mar 29 09:14 pkg 09:17:59 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 29 09:14 README.md 09:17:59 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 29 09:14 RELEASE-NOTES.txt 09:17:59 drwxrwxr-x. 4 jenkins jenkins 54 Mar 29 09:14 snap 09:17:59 -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 09:11 VERSION 09:17:59 -rw-rw-r--. 1 jenkins jenkins 222 Mar 29 09:14 version.go [Pipeline] isUnix [Pipeline] sh 09:17:59 + 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=708cd13c3013d1b09bdf990e6c0625a15917f3a0 --label arch=amd64 --label version=0.0.0 . 09:17:59 Sending build context to Docker daemon 2.44MB 09:18:00 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:18:00 Step 2/24 : FROM ${BASE} AS builder 09:18:00 ---> 03ad7467e87f 09:18:00 Step 3/24 : ARG MAKE='make build' 09:18:00 ---> Running in 0ef34bef7510 09:18:00 Removing intermediate container 0ef34bef7510 09:18:00 ---> 437ce00812d1 09:18:00 Step 4/24 : WORKDIR /device-sdk-go 09:18:01 ---> Running in 392ba7d3b4a7 09:18:01 Removing intermediate container 392ba7d3b4a7 09:18:01 ---> b9e1f045943d 09:18:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:18:01 ---> Running in 6cb15c96f2c0 09:18:01 Removing intermediate container 6cb15c96f2c0 09:18:01 ---> b0178bfded08 09:18:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:18:02 ---> Running in 08f0d68e9fd0 09:18:04 Removing intermediate container 08f0d68e9fd0 09:18:04 ---> 60198e2235a4 09:18:04 Step 7/24 : RUN apk add --update --no-cache make git 09:18:04 ---> Running in 8459eb7c529b 09:18:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:18:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:18:06 OK: 166 MiB in 39 packages 09:18:07 Removing intermediate container 8459eb7c529b 09:18:07 ---> a9c1b300b1f5 09:18:07 Step 8/24 : COPY . . 09:18:09 ---> ce7fc84f1880 09:18:09 Step 9/24 : RUN ${MAKE} 09:18:09 ---> Running in 848bfafa09e9 09:18:10 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 09:18:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:18:28 Removing intermediate container 848bfafa09e9 09:18:28 ---> 71ead9c27a80 09:18:28 Step 10/24 : FROM scratch 09:18:28 ---> 09:18:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:18:28 ---> Running in cb12994585f4 09:18:29 Removing intermediate container cb12994585f4 09:18:29 ---> 52597ec8b1c1 09:18:29 Step 12/24 : ENV APP_PORT=49990 09:18:29 ---> Running in 11dcea818c49 09:18:29 Removing intermediate container 11dcea818c49 09:18:29 ---> 7c043d3988bb 09:18:29 Step 13/24 : EXPOSE $APP_PORT 09:18:29 ---> Running in 247d3fb56570 09:18:29 Removing intermediate container 247d3fb56570 09:18:29 ---> 881316ac29fe 09:18:29 Step 14/24 : WORKDIR / 09:18:29 ---> Running in fddf09a44ea2 09:18:30 Removing intermediate container fddf09a44ea2 09:18:30 ---> 7a7333205d76 09:18:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:18:31 ---> 12e5206db096 09:18:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:18:31 ---> 194eb510448b 09:18:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:18:31 COPY failed: stat /var/lib/docker/overlay2/dd83440213896edc2d11cafd2cb122cd15ec1ef50c5f8c0e7707167954ec5053/merged/device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml: no such file or directory [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:18:32 ---> job-cost.sh 09:18:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hIGU 09:18:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:18:59 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:19:46 lf-activate-venv(): INFO: Adding /tmp/venv-hIGU/bin to PATH 09:19:46 INFO: No Stack... 09:19:46 INFO: Retrieving Pricing Info for: v1-standard-2 09:19:46 INFO: Archiving Costs [Pipeline] sh 09:19:47 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 09:19:47 + cut -d, -f6 [Pipeline] lock 09:19:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] 09:19:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] did not exist. Created. 09:19:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:19:47 + echo total: 0.029999999329447746 [Pipeline] stash 09:19:48 Stashed 1 file(s) [Pipeline] } 09:19:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:19:49 Failed in branch amd64 09:19:58 lf-activate-venv(): INFO: Adding /tmp/venv-c98q/bin to PATH 09:19:58 INFO: No Stack... 09:19:59 INFO: Retrieving Pricing Info for: lf-standard-4 09:19:59 INFO: Archiving Costs [Pipeline] sh 09:19:59 + cut -d, -f6 09:19:59 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 09:19:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] 09:19:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] did not exist. Created. 09:19:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:20:00 /w/workspace/device-sdk-go/1@tmp/durable-d34320a3/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-d34320a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:20:00 + echo total: 0.20999999344348907 [Pipeline] stash 09:20:00 Warning: overwriting stash ‘stack-cost’ 09:20:00 Stashed 1 file(s) [Pipeline] } 09:20:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:20:01 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:20:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:20:06 ---> package-listing.sh 09:20:06 ++ facter osfamily 09:20:06 ++ tr '[:upper:]' '[:lower:]' 09:20:06 + OS_FAMILY=redhat 09:20:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 09:20:06 + START_PACKAGES=/tmp/packages_start.txt 09:20:06 + END_PACKAGES=/tmp/packages_end.txt 09:20:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:20:06 + PACKAGES=/tmp/packages_start.txt 09:20:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 09:20:06 + PACKAGES=/tmp/packages_end.txt 09:20:06 + case "${OS_FAMILY}" in 09:20:06 + rpm -qa 09:20:06 + sort 09:20:11 + '[' -f /tmp/packages_start.txt ']' 09:20:11 + '[' -f /tmp/packages_end.txt ']' 09:20:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:20:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 09:20:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ 09:20:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo 09:20: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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:20:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:12 09:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:12 alpine: Pulling from edgex-lftools-log-publisher 09:20:12 df20fa9351a1: Pulling fs layer 09:20:12 36b3adc4ff6f: Pulling fs layer 09:20:12 8ad3a11d3b57: Pulling fs layer 09:20:12 46f8f816bc3b: Pulling fs layer 09:20:12 93b61091891f: Pulling fs layer 09:20:12 93b9cdb0e59b: Pulling fs layer 09:20:12 5e14af77c1be: Pulling fs layer 09:20:12 01666e4c0597: Pulling fs layer 09:20:12 aa168da1d23b: Pulling fs layer 09:20:12 46f8f816bc3b: Waiting 09:20:12 93b61091891f: Waiting 09:20:12 93b9cdb0e59b: Waiting 09:20:12 5e14af77c1be: Waiting 09:20:12 01666e4c0597: Waiting 09:20:12 aa168da1d23b: Waiting 09:20:12 36b3adc4ff6f: Verifying Checksum 09:20:12 46f8f816bc3b: Verifying Checksum 09:20:12 46f8f816bc3b: Download complete 09:20:12 df20fa9351a1: Verifying Checksum 09:20:12 df20fa9351a1: Download complete 09:20:12 93b9cdb0e59b: Verifying Checksum 09:20:12 93b9cdb0e59b: Download complete 09:20:12 5e14af77c1be: Verifying Checksum 09:20:12 5e14af77c1be: Download complete 09:20:12 01666e4c0597: Verifying Checksum 09:20:12 01666e4c0597: Download complete 09:20:13 93b61091891f: Download complete 09:20:13 8ad3a11d3b57: Verifying Checksum 09:20:13 8ad3a11d3b57: Download complete 09:20:13 df20fa9351a1: Pull complete 09:20:13 36b3adc4ff6f: Pull complete 09:20:14 8ad3a11d3b57: Pull complete 09:20:14 46f8f816bc3b: Pull complete 09:20:14 93b61091891f: Pull complete 09:20:15 aa168da1d23b: Verifying Checksum 09:20:15 93b9cdb0e59b: Pull complete 09:20:15 5e14af77c1be: Pull complete 09:20:15 01666e4c0597: Pull complete 09:20:24 aa168da1d23b: Pull complete 09:20:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:20:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:20:24 prd-centos7-docker-4c-2g-31719 does not seem to be running inside a container 09:20:24 $ 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-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:20:27 $ docker top 1eb84c7e119df663ce398d07fa67df95b99069296e719e6d5c2209c862aff0d1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:28 + touch /tmp/pre-build-complete [Pipeline] sh 09:20:28 + mkdir -p /var/log/sa [Pipeline] sh 09:20:28 + ls /var/log/sa-host 09:20:28 + sadf -c /var/log/sa-host/sa23 09:20:28 file_magic: OK 09:20:28 HZ: Using current value: 100 09:20:28 file_header: OK 09:20:28 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 09:20:28 Statistics: 09:20:28 Hnuu...uuuununununu... 09:20:28 File successfully converted to sysstat format version 12.2.1 09:20:28 + sadf -c /var/log/sa-host/sa29 09:20:28 file_magic: OK 09:20:28 HZ: Using current value: 100 09:20:28 file_header: OK 09:20:28 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 09:20:28 Statistics: 09:20:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:20:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:29 provisioning config files... 09:20:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config9203240551118317926tmp [Pipeline] { [Pipeline] echo 09:20:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:20:29 ---> create-netrc.sh [Pipeline] } 09:20:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:20:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:20:30 ---> python-tools-install.sh [Pipeline] echo 09:20:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:20:30 ---> sudo-logs.sh 09:20:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:20:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:20:31 ---> job-cost.sh 09:20:31 lf-activate-venv: SKIPPING 09:20:31 DEBUG: total: 0.20999999344348907 09:20:31 INFO: Retrieving Stack Cost... 09:20:32 INFO: Retrieving Pricing Info for: v1-standard-2 09:20:32 INFO: Archiving Costs [Pipeline] echo 09:20:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:20:33 ---> logs-deploy.sh 09:20:33 lf-activate-venv: SKIPPING 09:20:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/1 09:20:33 INFO: archiving workspace using pattern(s): 09:20:35 Archives upload complete. 09:20:35 INFO: archiving logs to Nexus 09:20:36 ---> uname -a: 09:20:36 Linux prd-centos7-docker-4c-2g-31719.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:20:36 09:20:36 09:20:36 ---> lscpu: 09:20:36 Architecture: x86_64 09:20:36 CPU op-mode(s): 32-bit, 64-bit 09:20:36 Byte Order: Little Endian 09:20:36 Address sizes: 40 bits physical, 48 bits virtual 09:20:36 CPU(s): 4 09:20:36 On-line CPU(s) list: 0-3 09:20:36 Thread(s) per core: 1 09:20:36 Core(s) per socket: 1 09:20:36 Socket(s): 4 09:20:36 NUMA node(s): 1 09:20:36 Vendor ID: GenuineIntel 09:20:36 CPU family: 6 09:20:36 Model: 44 09:20:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:20:36 Stepping: 1 09:20:36 CPU MHz: 2933.442 09:20:36 BogoMIPS: 5866.88 09:20:36 Virtualization: VT-x 09:20:36 Hypervisor vendor: KVM 09:20:36 Virtualization type: full 09:20:36 L1d cache: 128 KiB 09:20:36 L1i cache: 128 KiB 09:20:36 L2 cache: 16 MiB 09:20:36 L3 cache: 64 MiB 09:20:36 NUMA node0 CPU(s): 0-3 09:20:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:20:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:20:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:20:36 Vulnerability Meltdown: Mitigation; PTI 09:20:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:20:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:20:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:20:36 Vulnerability Srbds: Not affected 09:20:36 Vulnerability Tsx async abort: Not affected 09:20:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 09:20:36 09:20:36 09:20:36 ---> nproc: 09:20:36 4 09:20:36 09:20:36 09:20:36 ---> df -h: 09:20:36 Filesystem Size Used Available Use% Mounted on 09:20:36 overlay 50.0G 7.3G 42.7G 15% / 09:20:36 tmpfs 64.0M 0 64.0M 0% /dev 09:20:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:20:36 shm 64.0M 0 64.0M 0% /dev/shm 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-844 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:20:36 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:20:36 09:20:36 09:20:36 ---> free -m: 09:20:36 total used free shared buff/cache available 09:20:36 Mem: 1837 700 87 0 1050 1032 09:20:36 Swap: 1023 1 1022 09:20:36 09:20:36 09:20:36 ---> ip addr: 09:20:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:20:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:20:36 inet 127.0.0.1/8 scope host lo 09:20:36 valid_lft forever preferred_lft forever 09:20:36 inet6 ::1/128 scope host 09:20:36 valid_lft forever preferred_lft forever 09:20:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:20:36 link/ether fa:16:3e:45:db:28 brd ff:ff:ff:ff:ff:ff 09:20:36 inet 10.30.123.96/23 brd 10.30.123.255 scope global dynamic eth0 09:20:36 valid_lft 85788sec preferred_lft 85788sec 09:20:36 inet6 fe80::f816:3eff:fe45:db28/64 scope link 09:20:36 valid_lft forever preferred_lft forever 09:20:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:20:36 link/ether 02:42:f1:71:34:6e brd ff:ff:ff:ff:ff:ff 09:20:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:20:36 valid_lft forever preferred_lft forever 09:20:36 inet6 fe80::42:f1ff:fe71:346e/64 scope link 09:20:36 valid_lft forever preferred_lft forever 09:20:36 09:20:36 09:20:36 ---> sar -b -r -n DEV: 09:20:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/29/21 _x86_64_ (4 CPU) 09:20:36 09:20:36 09:10:11 LINUX RESTART (4 CPU) 09:20:36 09:20:36 09:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:20:36 09:12:01 32.96 11.95 21.01 0.00 4334.81 3126.09 0.00 09:20:36 09:13:01 1.87 0.00 1.87 0.00 0.00 34.29 0.00 09:20:36 09:14:01 0.20 0.00 0.20 0.00 0.00 2.03 0.00 09:20:36 09:15:01 0.35 0.00 0.35 0.00 0.00 6.03 0.00 09:20:36 09:16:01 0.22 0.00 0.22 0.00 0.00 2.35 0.00 09:20:36 09:17:01 0.35 0.00 0.35 0.00 0.00 4.56 0.00 09:20:36 09:18:01 0.23 0.00 0.23 0.00 0.00 2.96 0.00 09:20:36 09:19:01 0.17 0.00 0.17 0.00 0.00 1.62 0.00 09:20:36 09:20:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 09:20:36 Average: 4.07 1.33 2.74 0.00 481.82 353.81 0.00 09:20:36 09:20:36 09:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:20:36 09:12:01 184128 0 567824 30.18 2620 1126972 1113948 38.02 375292 1122448 16 09:20:36 09:13:01 191540 0 560404 29.78 2620 1126980 1077536 36.77 372212 1119296 8 09:20:36 09:14:01 188444 0 563496 29.95 2620 1126984 1077716 36.78 372808 1121632 12 09:20:36 09:15:01 188192 0 563744 29.96 2620 1126988 1077788 36.78 391064 1103756 8 09:20:36 09:16:01 188344 0 563588 29.95 2620 1126992 1077620 36.78 391024 1103920 8 09:20:36 09:17:01 188104 0 563824 29.97 2620 1126996 1077536 36.77 397424 1097868 12 09:20:36 09:18:01 187628 0 564296 29.99 2620 1127000 1077584 36.78 397732 1097940 8 09:20:36 09:19:01 188128 0 563792 29.96 2620 1127004 1077536 36.77 397488 1097940 8 09:20:36 09:20:01 188104 0 563808 29.97 2620 1127012 1077536 36.77 397496 1097940 8 09:20:36 Average: 188068 0 563864 29.97 2620 1126992 1081644 36.91 388060 1106971 10 09:20:36 09:20:36 09:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:20:36 09:12:01 eth0 76.53 63.26 362.13 28.68 0.00 0.00 0.00 0.00 09:20:36 09:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:12:01 docker0 7.16 5.28 1.31 23.99 0.00 0.00 0.00 0.00 09:20:36 09:13:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 09:20:36 09:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:14:01 eth0 3.95 1.60 2.88 0.28 0.00 0.00 0.00 0.00 09:20:36 09:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:15:01 eth0 0.50 0.47 0.27 0.21 0.00 0.00 0.00 0.00 09:20:36 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:16:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 09:20:36 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:17:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:20:36 09:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:18:01 eth0 0.20 0.15 0.07 0.01 0.00 0.00 0.00 0.00 09:20:36 09:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:19:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:20:36 09:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:20:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:20:36 09:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 Average: eth0 9.17 7.33 40.63 3.25 0.00 0.00 0.00 0.00 09:20:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:20:36 Average: docker0 0.80 0.59 0.15 2.67 0.00 0.00 0.00 0.00 09:20:36 09:20:36 09:20:36 ---> sar -P ALL: 09:20:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/29/21 _x86_64_ (4 CPU) 09:20:36 09:20:36 09:10:11 LINUX RESTART (4 CPU) 09:20:36 09:20:36 09:11:01 CPU %user %nice %system %iowait %steal %idle 09:20:36 09:12:01 all 2.58 0.00 1.83 0.52 0.03 95.04 09:20:36 09:12:01 0 2.47 0.00 2.22 0.22 0.03 95.07 09:20:36 09:12:01 1 3.07 0.00 1.73 1.19 0.03 93.98 09:20:36 09:12:01 2 2.38 0.00 1.58 0.08 0.03 95.92 09:20:36 09:12:01 3 2.42 0.00 1.79 0.57 0.03 95.19 09:20:36 09:13:01 all 0.15 0.00 0.05 0.00 0.00 99.80 09:20:36 09:13:01 0 0.48 0.00 0.05 0.00 0.00 99.47 09:20:36 09:13:01 1 0.03 0.00 0.03 0.00 0.00 99.93 09:20:36 09:13:01 2 0.07 0.00 0.07 0.00 0.00 99.87 09:20:36 09:13:01 3 0.03 0.00 0.03 0.00 0.00 99.93 09:20:36 09:14:01 all 0.18 0.00 0.05 0.00 0.01 99.76 09:20:36 09:14:01 0 0.23 0.00 0.08 0.00 0.00 99.68 09:20:36 09:14:01 1 0.08 0.00 0.07 0.00 0.03 99.82 09:20:36 09:14:01 2 0.37 0.00 0.05 0.00 0.00 99.58 09:20:36 09:14:01 3 0.03 0.00 0.02 0.00 0.00 99.95 09:20:36 09:15:01 all 0.11 0.00 0.08 0.00 0.00 99.81 09:20:36 09:15:01 0 0.07 0.00 0.05 0.00 0.02 99.87 09:20:36 09:15:01 1 0.05 0.00 0.05 0.00 0.00 99.90 09:20:36 09:15:01 2 0.28 0.00 0.10 0.00 0.00 99.62 09:20:36 09:15:01 3 0.05 0.00 0.10 0.00 0.00 99.85 09:20:36 09:16:01 all 0.07 0.00 0.05 0.00 0.00 99.89 09:20:36 09:16:01 0 0.05 0.00 0.05 0.00 0.00 99.90 09:20:36 09:16:01 1 0.03 0.00 0.02 0.00 0.00 99.95 09:20:36 09:16:01 2 0.08 0.00 0.07 0.00 0.00 99.85 09:20:36 09:16:01 3 0.10 0.00 0.05 0.00 0.00 99.85 09:20:36 09:17:01 all 0.03 0.00 0.08 0.00 0.00 99.88 09:20:36 09:17:01 0 0.02 0.00 0.03 0.00 0.00 99.95 09:20:36 09:17:01 1 0.05 0.00 0.05 0.00 0.00 99.90 09:20:36 09:17:01 2 0.03 0.00 0.03 0.00 0.00 99.93 09:20:36 09:17:01 3 0.03 0.00 0.22 0.00 0.00 99.75 09:20:36 09:18:01 all 0.09 0.00 0.03 0.00 0.00 99.87 09:20:36 09:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:20:36 09:18:01 1 0.03 0.00 0.02 0.00 0.00 99.95 09:20:36 09:18:01 2 0.30 0.00 0.05 0.00 0.00 99.65 09:20:36 09:18:01 3 0.02 0.00 0.05 0.00 0.00 99.93 09:20:36 09:19:01 all 0.15 0.00 0.03 0.00 0.00 99.82 09:20:36 09:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:20:36 09:19:01 1 0.03 0.00 0.03 0.00 0.00 99.93 09:20:36 09:19:01 2 0.53 0.00 0.03 0.00 0.00 99.43 09:20:36 09:19:01 3 0.03 0.00 0.03 0.00 0.00 99.93 09:20:36 09:20:01 all 0.16 0.00 0.02 0.00 0.00 99.81 09:20:36 09:20:01 0 0.02 0.00 0.00 0.00 0.00 99.98 09:20:36 09:20:01 1 0.07 0.00 0.03 0.00 0.00 99.90 09:20:36 09:20:01 2 0.53 0.00 0.02 0.00 0.02 99.43 09:20:36 09:20:01 3 0.03 0.00 0.03 0.00 0.00 99.93 09:20:36 Average: all 0.39 0.00 0.25 0.06 0.01 99.30 09:20:36 Average: 0 0.37 0.00 0.28 0.02 0.01 99.32 09:20:36 Average: 1 0.38 0.00 0.22 0.13 0.01 99.25 09:20:36 Average: 2 0.51 0.00 0.22 0.01 0.01 99.26 09:20:36 Average: 3 0.30 0.00 0.26 0.06 0.00 99.37 09:20:36 09:20:36 09:20:36