Pull request #873 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 cf93359dff5245471924d3320a92e8f269234a08+e9afc7ccd5ba2553acad713398a13835ab73bf06 (79e5e4667b840d3b8ea3d8bf3a26af2b362c8bc7) 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-873/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-873/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33831 in /w/workspace/dgexfoundry_device-sdk-go_PR-873 [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-873 # 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/873/head:refs/remotes/origin/PR-873 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e9afc7ccd5ba2553acad713398a13835ab73bf06 into PR head commit cf93359dff5245471924d3320a92e8f269234a08 Merge succeeded, producing cf93359dff5245471924d3320a92e8f269234a08 Checking out Revision cf93359dff5245471924d3320a92e8f269234a08 (PR-873) > git config core.sparsecheckout # timeout=10 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # 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 e9afc7ccd5ba2553acad713398a13835ab73bf06 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 Commit message: "fix: fix deviceProfileMap refer to the same object" 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 04:21:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:21:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:21:48 ========================================================= 04:21:48 EdgeX Global Pipelines Version Info 04:21:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:21:49 ------------------- 04:21:49 stable info: 04:21:49 ------------------- 04:21:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:21:49 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 04:21:49 Message: update stable to v1.0.186 04:21:50 ------------------- 04:21:50 experimental info: 04:21:50 ------------------- 04:21:50 Commited By: **** collab-it+edgex@linuxfoundation.org 04:21:50 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 04:21:50 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:21:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:21:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-873 [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-873 [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-873 [Pipeline] echo 04:21:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf93359dff5245471924d3320a92e8f269234a08 [Pipeline] echo 04:21:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf93359 [Pipeline] echo 04:21:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:21:55 provisioning config files... 04:21:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/config7596902815747558331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:55 ---> docker-login.sh 04:21:55 nexus3.edgexfoundry.org:10001 04:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:56 Configure a credential helper to remove this warning. See 04:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:56 04:21:56 Login Succeeded 04:21:56 nexus3.edgexfoundry.org:10002 04:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:56 Configure a credential helper to remove this warning. See 04:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:56 04:21:56 Login Succeeded 04:21:56 nexus3.edgexfoundry.org:10003 04:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:56 Configure a credential helper to remove this warning. See 04:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:56 04:21:56 Login Succeeded 04:21:56 nexus3.edgexfoundry.org:10004 04:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:56 Configure a credential helper to remove this warning. See 04:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:56 04:21:56 Login Succeeded 04:21:56 docker.io 04:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:57 Configure a credential helper to remove this warning. See 04:21:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:57 04:21:57 Login Succeeded 04:21:57 ---> docker-login.sh ends [Pipeline] } 04:21:57 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 04:21:58 + git log --format=format:%s -1 cf93359dff5245471924d3320a92e8f269234a08 [Pipeline] echo 04:21:58 GIT_COMMIT: cf93359dff5245471924d3320a92e8f269234a08, Commit Message: fix: fix deviceProfileMap refer to the same object [Pipeline] echo 04:21:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:21:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:21:59 04:21:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:21:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:21:59 latest: Pulling from edgex-devops/git-semver 04:21:59 31603596830f: Pulling fs layer 04:21:59 2a8b12db71e7: Pulling fs layer 04:21:59 6ca5941a6612: Pulling fs layer 04:21:59 ecc8261a40a4: Pulling fs layer 04:21:59 ecc8261a40a4: Waiting 04:21:59 2a8b12db71e7: Verifying Checksum 04:21:59 2a8b12db71e7: Download complete 04:21:59 31603596830f: Verifying Checksum 04:21:59 31603596830f: Download complete 04:21:59 ecc8261a40a4: Verifying Checksum 04:21:59 ecc8261a40a4: Download complete 04:21:59 6ca5941a6612: Verifying Checksum 04:21:59 6ca5941a6612: Download complete 04:22:00 31603596830f: Pull complete 04:22:00 2a8b12db71e7: Pull complete 04:22:01 6ca5941a6612: Pull complete 04:22:01 ecc8261a40a4: Pull complete 04:22:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:22:01 prd-centos7-docker-4c-2g-33831 does not seem to be running inside a container 04:22:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-873 -v /w/workspace/dgexfoundry_device-sdk-go_PR-873:/w/workspace/dgexfoundry_device-sdk-go_PR-873:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-873@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 04:22:04 $ docker top 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:04 [ssh-agent] Looking for ssh-agent implementation... 04:22:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:04 $ docker exec 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent 04:22:04 SSH_AUTH_SOCK=/tmp/ssh-KOcERF1KLZic/agent.11 04:22:04 SSH_AGENT_PID=16 04:22:04 Running ssh-add (command line suppressed) 04:22:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_1872097394245576599.key (/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_1872097394245576599.key) 04:22:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:05 + git tag --points-at HEAD [Pipeline] } 04:22:05 $ docker exec --env ******** --env ******** 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent -k 04:22:05 unset SSH_AUTH_SOCK; 04:22:05 unset SSH_AGENT_PID; 04:22:05 echo Agent pid 16 killed; 04:22:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:22:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:05 [ssh-agent] Looking for ssh-agent implementation... 04:22:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:05 $ docker exec 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent 04:22:06 SSH_AUTH_SOCK=/tmp/ssh-rEa9rBiZyPEn/agent.45 04:22:06 SSH_AGENT_PID=50 04:22:06 Running ssh-add (command line suppressed) 04:22:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_3583534080083089696.key (/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_3583534080083089696.key) 04:22:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:06 + git semver init 04:22:06 # -> Open(): unable to determine branch for HEAD 04:22:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-873/.git 04:22:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-873 04:22:06 # $SEMVER_REMOTE_NAME = origin 04:22:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:22:06 # $SEMVER_USER_NAME = edgex-jenkins 04:22:06 # $SEMVER_BRANCH = PR-873 04:22:06 # $SEMVER_TEMP = /tmp/semver-972612946 04:22:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:22:07 # '/tmp/semver-972612946' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-873/.semver' 04:22:07 # -> Force: false 04:22:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-873/.semver [Pipeline] } 04:22:07 $ docker exec --env ******** --env ******** 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent -k 04:22:07 unset SSH_AUTH_SOCK; 04:22:07 unset SSH_AGENT_PID; 04:22:07 echo Agent pid 50 killed; 04:22:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:08 + git semver [Pipeline] } 04:22:08 $ docker stop --time=1 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa 04:22:09 $ docker rm -f 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa [Pipeline] // withDockerContainer [Pipeline] sh 04:22:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:22:10 Stashed 1 file(s) [Pipeline] echo 04:22:10 [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 04:22:26 Still waiting to schedule task 04:22:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:22:26 Still waiting to schedule task 04:22:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:24:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33832 in /w/workspace/dgexfoundry_device-sdk-go_PR-873 [Pipeline] { [Pipeline] ws 04:24:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:24:20 using credential edgex-jenkins-ssh 04:24:20 Cloning the remote Git repository 04:24:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:24:20 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:24:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:20 > git --version # timeout=10 04:24:20 > git --version # 'git version 2.17.1' 04:24:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:22 Merging remotes/origin/master commit e9afc7ccd5ba2553acad713398a13835ab73bf06 into PR head commit cf93359dff5245471924d3320a92e8f269234a08 04:24:22 Merge succeeded, producing cf93359dff5245471924d3320a92e8f269234a08 04:24:22 Checking out Revision cf93359dff5245471924d3320a92e8f269234a08 (PR-873) 04:24:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/873/head:refs/remotes/origin/PR-873 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:22 > git config core.sparsecheckout # timeout=10 04:24:22 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 04:24:22 > git remote # timeout=10 04:24:22 > git config --get remote.origin.url # timeout=10 04:24:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:22 > git merge e9afc7ccd5ba2553acad713398a13835ab73bf06 # timeout=10 04:24:22 > git rev-parse HEAD^{commit} # timeout=10 04:24:22 > git config core.sparsecheckout # timeout=10 04:24:22 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 04:24:27 Commit message: "fix: fix deviceProfileMap refer to the same object" 04:24:27 > git --version # timeout=10 04:24:27 > git --version # 'git version 2.17.1' 04:24:27 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:29 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:24:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:24:30 + + sudo service docker restart 04:24:30 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:24:33 provisioning config files... 04:24:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4458101809693031524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:33 ---> docker-login.sh 04:24:33 nexus3.edgexfoundry.org:10001 04:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:34 Configure a credential helper to remove this warning. See 04:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:34 04:24:34 Login Succeeded 04:24:34 nexus3.edgexfoundry.org:10002 04:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:35 Configure a credential helper to remove this warning. See 04:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:35 04:24:35 Login Succeeded 04:24:35 nexus3.edgexfoundry.org:10003 04:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:35 Configure a credential helper to remove this warning. See 04:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:35 04:24:35 Login Succeeded 04:24:35 nexus3.edgexfoundry.org:10004 04:24:36 Running on prd-centos7-docker-4c-2g-33833 in /w/workspace/dgexfoundry_device-sdk-go_PR-873 [Pipeline] { 04:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] ws 04:24:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:36 Configure a credential helper to remove this warning. See 04:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:36 04:24:36 Login Succeeded 04:24:36 docker.io 04:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:36 Configure a credential helper to remove this warning. See 04:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:36 04:24:36 Login Succeeded 04:24:36 ---> docker-login.sh ends [Pipeline] } 04:24:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:37 ========================================================= 04:24:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:24:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:24:37 + 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 . 04:24:38 Sending build context to Docker daemon 2.395MB 04:24:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:24:38 Step 2/8 : FROM ${BASE} 04:24:38 using credential edgex-jenkins-ssh 04:24:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:24:38 5f621e34cdf4: Pulling fs layer 04:24:38 a4357932f1b6: Pulling fs layer 04:24:38 18c013af1878: Pulling fs layer 04:24:38 00ac8860ef70: Pulling fs layer 04:24:38 63d7cb157983: Pulling fs layer 04:24:38 b116817d02f9: Pulling fs layer 04:24:38 745a02a5169b: Pulling fs layer 04:24:38 00ac8860ef70: Waiting 04:24:38 63d7cb157983: Waiting 04:24:38 b116817d02f9: Waiting 04:24:38 745a02a5169b: Waiting 04:24:38 18c013af1878: Verifying Checksum 04:24:38 18c013af1878: Download complete 04:24:38 a4357932f1b6: Verifying Checksum 04:24:38 a4357932f1b6: Download complete 04:24:38 63d7cb157983: Verifying Checksum 04:24:38 63d7cb157983: Download complete 04:24:38 Cloning the remote Git repository 04:24:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:24:39 b116817d02f9: Verifying Checksum 04:24:39 b116817d02f9: Download complete 04:24:39 5f621e34cdf4: Verifying Checksum 04:24:39 5f621e34cdf4: Download complete 04:24:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:24:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:38 > git --version # timeout=10 04:24:38 > git --version # 'git version 2.24.3' 04:24:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/873/head:refs/remotes/origin/PR-873 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:39 Merging remotes/origin/master commit e9afc7ccd5ba2553acad713398a13835ab73bf06 into PR head commit cf93359dff5245471924d3320a92e8f269234a08 04:24:40 Merge succeeded, producing cf93359dff5245471924d3320a92e8f269234a08 04:24:40 Checking out Revision cf93359dff5245471924d3320a92e8f269234a08 (PR-873) 04:24:40 5f621e34cdf4: Pull complete 04:24:40 a4357932f1b6: Pull complete 04:24:40 18c013af1878: Pull complete 04:24:39 > git config core.sparsecheckout # timeout=10 04:24:39 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 04:24:39 > git remote # timeout=10 04:24:39 > git config --get remote.origin.url # timeout=10 04:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:39 > git merge e9afc7ccd5ba2553acad713398a13835ab73bf06 # timeout=10 04:24:40 > git rev-parse HEAD^{commit} # timeout=10 04:24:40 > git config core.sparsecheckout # timeout=10 04:24:40 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 04:24:41 745a02a5169b: Verifying Checksum 04:24:41 745a02a5169b: Download complete 04:24:42 00ac8860ef70: Verifying Checksum 04:24:42 00ac8860ef70: Download complete 04:24:43 Commit message: "fix: fix deviceProfileMap refer to the same object" 04:24:43 > git --version # timeout=10 04:24:43 > git --version # 'git version 2.24.3' 04:24:43 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:45 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:24:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:24:45 + sudo service docker restart 04:24:45 + true 04:24:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:24:46 provisioning config files... 04:24:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1272814983008835631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:47 ---> docker-login.sh 04:24:47 nexus3.edgexfoundry.org:10001 04:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:47 Configure a credential helper to remove this warning. See 04:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:47 04:24:47 Login Succeeded 04:24:47 nexus3.edgexfoundry.org:10002 04:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:47 Configure a credential helper to remove this warning. See 04:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:47 04:24:47 Login Succeeded 04:24:47 nexus3.edgexfoundry.org:10003 04:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:47 Configure a credential helper to remove this warning. See 04:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:47 04:24:47 Login Succeeded 04:24:47 nexus3.edgexfoundry.org:10004 04:24:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:48 Configure a credential helper to remove this warning. See 04:24:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:48 04:24:48 Login Succeeded 04:24:48 docker.io 04:24:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:48 Configure a credential helper to remove this warning. See 04:24:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:48 04:24:48 Login Succeeded 04:24:48 ---> docker-login.sh ends [Pipeline] } 04:24:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:48 ========================================================= 04:24:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:24:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:24:49 + 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 . 04:24:49 Sending build context to Docker daemon 2.396MB 04:24:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:24:49 Step 2/8 : FROM ${BASE} 04:24:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:24:49 188c0c94c7c5: Pulling fs layer 04:24:49 0ef7d3d256c8: Pulling fs layer 04:24:49 de9db76c5a1d: Pulling fs layer 04:24:49 bca2f99d35d6: Pulling fs layer 04:24:49 93359f2a8cfa: Pulling fs layer 04:24:49 7c6f9722023f: Pulling fs layer 04:24:49 a35cf1a2eb13: Pulling fs layer 04:24:49 93359f2a8cfa: Waiting 04:24:49 7c6f9722023f: Waiting 04:24:49 a35cf1a2eb13: Waiting 04:24:49 bca2f99d35d6: Waiting 04:24:49 de9db76c5a1d: Verifying Checksum 04:24:49 0ef7d3d256c8: Verifying Checksum 04:24:49 0ef7d3d256c8: Download complete 04:24:49 93359f2a8cfa: Verifying Checksum 04:24:49 93359f2a8cfa: Download complete 04:24:49 188c0c94c7c5: Verifying Checksum 04:24:49 188c0c94c7c5: Download complete 04:24:49 7c6f9722023f: Verifying Checksum 04:24:49 7c6f9722023f: Download complete 04:24:49 188c0c94c7c5: Pull complete 04:24:49 0ef7d3d256c8: Pull complete 04:24:50 de9db76c5a1d: Pull complete 04:24:51 a35cf1a2eb13: Verifying Checksum 04:24:51 a35cf1a2eb13: Download complete 04:24:51 bca2f99d35d6: Verifying Checksum 04:24:51 bca2f99d35d6: Download complete 04:24:52 00ac8860ef70: Pull complete 04:24:52 63d7cb157983: Pull complete 04:24:53 b116817d02f9: Pull complete 04:24:57 bca2f99d35d6: Pull complete 04:24:57 93359f2a8cfa: Pull complete 04:24:57 7c6f9722023f: Pull complete 04:24:57 745a02a5169b: Pull complete 04:24:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:24:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:24:57 ---> b7e6874047d6 04:24:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:59 ---> Running in efc8a8aa50d6 04:25:00 Removing intermediate container efc8a8aa50d6 04:25:00 ---> 75e482a0551c 04:25:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:00 ---> Running in ae609e82b971 04:25:03 Removing intermediate container ae609e82b971 04:25:03 ---> 4ad7a6ebe830 04:25:03 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:25:03 ---> Running in 13327df00554 04:25:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:25:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:25:05 (1/6) Installing libc-dev (0.7.2-r3) 04:25:05 (2/6) Installing libsodium (1.0.18-r0) 04:25:05 (3/6) Installing pkgconf (1.7.2-r0) 04:25:05 (4/6) Installing libsodium-dev (1.0.18-r0) 04:25:05 (5/6) Installing libzmq (4.3.3-r0) 04:25:05 (6/6) Installing zeromq-dev (4.3.3-r0) 04:25:06 Executing busybox-1.31.1-r19.trigger 04:25:06 OK: 144 MiB in 45 packages 04:25:07 a35cf1a2eb13: Pull complete 04:25:07 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:25:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:25:07 ---> a62c8e92a672 04:25:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:25:07 ---> Running in 4daf113d55aa 04:25:07 Removing intermediate container 4daf113d55aa 04:25:07 ---> ce886773ad5f 04:25:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:07 ---> Running in e75a2a05efd0 04:25:07 Removing intermediate container e75a2a05efd0 04:25:07 ---> b9260acb482a 04:25:07 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:25:07 ---> Running in 794ae8144a42 04:25:07 Removing intermediate container 13327df00554 04:25:07 ---> c34646e3f4eb 04:25:07 Step 6/8 : WORKDIR /device-sdk-go 04:25:07 ---> Running in 0eaa559f322f 04:25:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:25:08 Removing intermediate container 0eaa559f322f 04:25:08 ---> 308dd903ee56 04:25:08 Step 7/8 : COPY . . 04:25:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:25:09 ---> 64708890b38f 04:25:09 Step 8/8 : RUN go mod download 04:25:09 ---> Running in cd5570ad1a71 04:25:09 (1/6) Installing libc-dev (0.7.2-r3) 04:25:09 (2/6) Installing libsodium (1.0.18-r0) 04:25:09 (3/6) Installing pkgconf (1.7.2-r0) 04:25:09 (4/6) Installing libsodium-dev (1.0.18-r0) 04:25:09 (5/6) Installing libzmq (4.3.3-r0) 04:25:09 (6/6) Installing zeromq-dev (4.3.3-r0) 04:25:09 Executing busybox-1.31.1-r19.trigger 04:25:09 OK: 167 MiB in 45 packages 04:25:10 Removing intermediate container 794ae8144a42 04:25:10 ---> 2911dd3190b8 04:25:10 Step 6/8 : WORKDIR /device-sdk-go 04:25:10 ---> Running in 619c5a8ca762 04:25:10 Removing intermediate container 619c5a8ca762 04:25:10 ---> 460aa6485290 04:25:10 Step 7/8 : COPY . . 04:25:11 ---> 0c128e147d36 04:25:11 Step 8/8 : RUN go mod download 04:25:11 ---> Running in bf716f5e5570 04:25:34 Removing intermediate container bf716f5e5570 04:25:34 ---> 07f9d8574a9c 04:25:34 Successfully built 07f9d8574a9c 04:25:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:25:34 + docker inspect -f . ci-base-image-x86_64 04:25:34 . [Pipeline] withDockerContainer 04:25:34 prd-centos7-docker-4c-2g-33833 does not seem to be running inside a container 04:25:34 $ 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 04:25:35 $ docker top 0ec89f2e3168e2b3a2e72a687caf5d7f521fa5691cc0e5270d10360293b48e9e -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:35 + go version 04:25:35 go version go1.15.5 linux/amd64 [Pipeline] } 04:25:35 $ docker stop --time=1 0ec89f2e3168e2b3a2e72a687caf5d7f521fa5691cc0e5270d10360293b48e9e 04:25:35 Removing intermediate container cd5570ad1a71 04:25:35 ---> 3087b9613512 04:25:35 Successfully built 3087b9613512 04:25:35 Successfully tagged ci-base-image-arm64:latest 04:25:37 $ docker rm -f 0ec89f2e3168e2b3a2e72a687caf5d7f521fa5691cc0e5270d10360293b48e9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:25:38 + docker inspect -f . ci-base-image-arm64 04:25:38 . [Pipeline] withDockerContainer 04:25:38 + docker inspect -f . ci-base-image-x86_64 04:25:38 . 04:25:38 prd-ubuntu18.04-docker-arm64-4c-16g-33832 does not seem to be running inside a container 04:25:38 $ 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 04:25:39 $ docker top dce0e9070a61cac290cc3539abd8918c237b70ea517c024ee4b05aaf3110683c -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 04:25:40 prd-centos7-docker-4c-2g-33833 does not seem to be running inside a container 04:25:40 $ 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 04:25:41 $ docker top 4d4ef7c60776d605302f6a56f0eff203f2aa72c692ed0b156d2ae4e835b16360 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:25:41 + make test 04:25:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:25:42 + go version 04:25:42 go version go1.15.5 linux/arm64 [Pipeline] } 04:25:42 $ docker stop --time=1 dce0e9070a61cac290cc3539abd8918c237b70ea517c024ee4b05aaf3110683c 04:25:43 $ docker rm -f dce0e9070a61cac290cc3539abd8918c237b70ea517c024ee4b05aaf3110683c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:25:45 + docker inspect -f . ci-base-image-arm64 04:25:45 . [Pipeline] withDockerContainer 04:25:45 prd-ubuntu18.04-docker-arm64-4c-16g-33832 does not seem to be running inside a container 04:25:45 $ 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 04:25:47 $ docker top 2a64503386c399e2cdbf1230eb242c7ff8467ca6047bbdb985f271ba98de9090 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:48 + make test 04:25:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:25:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:26:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:26:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:26:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:26:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:26:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:26:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 28.1% of statements 04:26:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements 04:26:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:26:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 32.5% of statements 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:26:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:26:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 57.1% of statements 04:26:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.139s coverage: 6.6% of statements 04:26:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:26:11 GO111MODULE=on go vet ./... 04:26:26 gofmt -l . 04:26:26 [ "`gofmt -l .`" = "" ] 04:26:26 ./bin/test-attribution-txt.sh 04:26:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:26:26 $ docker stop --time=1 4d4ef7c60776d605302f6a56f0eff203f2aa72c692ed0b156d2ae4e835b16360 04:26:28 $ docker rm -f 4d4ef7c60776d605302f6a56f0eff203f2aa72c692ed0b156d2ae4e835b16360 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:26:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:32 + ls -al . 04:26:32 total 188 04:26:32 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 13 04:26 . 04:26:32 drwxrwxr-x. 4 jenkins jenkins 28 Apr 13 04:24 .. 04:26:32 drwxrwxr-x. 2 jenkins jenkins 64 Apr 13 04:24 bin 04:26:32 -rw-r--r--. 1 jenkins jenkins 99750 Apr 13 04:26 coverage.out 04:26:32 -rw-rw-r--. 1 jenkins jenkins 987 Apr 13 04:24 Dockerfile.build 04:26:32 -rw-rw-r--. 1 jenkins jenkins 140 Apr 13 04:24 .dockerignore 04:26:32 drwxrwxr-x. 5 jenkins jenkins 62 Apr 13 04:24 example 04:26:32 drwxrwxr-x. 8 jenkins jenkins 179 Apr 13 04:24 .git 04:26:32 drwxrwxr-x. 2 jenkins jenkins 103 Apr 13 04:24 .github 04:26:32 -rw-rw-r--. 1 jenkins jenkins 138 Apr 13 04:24 .gitignore 04:26:32 -rw-r--r--. 1 jenkins jenkins 572 Apr 13 04:26 go.mod 04:26:32 -rw-r--r--. 1 jenkins jenkins 20726 Apr 13 04:26 go.sum 04:26:32 drwxrwxr-x. 14 jenkins jenkins 207 Apr 13 04:24 internal 04:26:32 -rw-rw-r--. 1 jenkins jenkins 901 Apr 13 04:24 Jenkinsfile 04:26:32 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 13 04:24 LICENSE 04:26:32 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 13 04:24 Makefile 04:26:32 drwxrwxr-x. 4 jenkins jenkins 26 Apr 13 04:24 openapi 04:26:32 drwxrwxr-x. 5 jenkins jenkins 50 Apr 13 04:24 pkg 04:26:32 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 13 04:24 README.md 04:26:32 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 13 04:24 RELEASE-NOTES.txt 04:26:32 drwxrwxr-x. 4 jenkins jenkins 54 Apr 13 04:24 snap 04:26:32 -rw-rw-r--. 1 jenkins jenkins 5 Apr 13 04:22 VERSION 04:26:32 -rw-rw-r--. 1 jenkins jenkins 222 Apr 13 04:24 version.go [Pipeline] isUnix [Pipeline] sh 04:26:32 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cf93359dff5245471924d3320a92e8f269234a08 --label arch=amd64 --label version=0.0.0 . 04:26:32 Sending build context to Docker daemon 2.497MB 04:26:32 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:26:32 Step 2/23 : FROM ${BASE} AS builder 04:26:32 ---> 07f9d8574a9c 04:26:32 Step 3/23 : WORKDIR /device-sdk-go 04:26:33 ---> Running in 49c4b873969b 04:26:33 Removing intermediate container 49c4b873969b 04:26:33 ---> b75cee5a3c90 04:26:33 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:26:34 ---> Running in 73547f2fa82f 04:26:34 Removing intermediate container 73547f2fa82f 04:26:34 ---> 0fedd8d79d35 04:26:34 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:34 ---> Running in 319c4be054cc 04:26:35 Removing intermediate container 319c4be054cc 04:26:35 ---> 7a23b97b67c9 04:26:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:26:35 ---> Running in 08e20c829e86 04:26:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:26:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:26:36 OK: 167 MiB in 45 packages 04:26:37 Removing intermediate container 08e20c829e86 04:26:37 ---> 56443c5917dc 04:26:37 Step 7/23 : COPY . . 04:26:38 ---> 61812791bc73 04:26:38 Step 8/23 : RUN go mod download 04:26:38 ---> Running in 9768b5c02b16 04:26:39 Removing intermediate container 9768b5c02b16 04:26:39 ---> c157e9f37e08 04:26:39 Step 9/23 : RUN make build 04:26:39 ---> Running in aa938a04a846 04:26:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:26:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:26:50 Removing intermediate container aa938a04a846 04:26:50 ---> 2c78b3d129e1 04:26:50 Step 10/23 : FROM alpine:3.12 04:26:51 3.12: Pulling from library/alpine 04:26:51 532819f3e44c: Pulling fs layer 04:26:51 532819f3e44c: Verifying Checksum 04:26:51 532819f3e44c: Download complete 04:26:51 532819f3e44c: Pull complete 04:26:51 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 04:26:51 Status: Downloaded newer image for alpine:3.12 04:26:51 ---> 7230e588e954 04:26:51 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:26:51 ---> Running in 7ea79cf2382e 04:26:51 Removing intermediate container 7ea79cf2382e 04:26:51 ---> f92522f19626 04:26:51 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:52 ---> Running in 915917d8f2e4 04:26:53 Removing intermediate container 915917d8f2e4 04:26:53 ---> b1ec32b66561 04:26:53 Step 13/23 : RUN apk add --update --no-cache zeromq 04:26:53 ---> Running in bd3fad266701 04:26:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:26:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:26:54 (1/5) Installing libgcc (9.3.0-r2) 04:26:54 (2/5) Installing libsodium (1.0.18-r0) 04:26:54 (3/5) Installing libstdc++ (9.3.0-r2) 04:26:55 (4/5) Installing libzmq (4.3.3-r0) 04:26:55 (5/5) Installing zeromq (4.3.3-r0) 04:26:55 Executing busybox-1.31.1-r20.trigger 04:26:55 OK: 8 MiB in 19 packages 04:26:55 Removing intermediate container bd3fad266701 04:26:55 ---> b3ed4037667e 04:26:55 Step 14/23 : WORKDIR / 04:26:55 ---> Running in 579a6933a844 04:26:55 Removing intermediate container 579a6933a844 04:26:55 ---> 66679c14fd24 04:26:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:26:56 ---> 3254a8741650 04:26:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:26:56 ---> c119b2974c2f 04:26:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:26:56 ---> 88f8104db168 04:26:56 Step 18/23 : EXPOSE 49990 04:26:57 ---> Running in b64a5b3fa9b9 04:26:57 Removing intermediate container b64a5b3fa9b9 04:26:57 ---> 63352cacc954 04:26:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:26:57 ---> Running in b57d23cc5f66 04:26:57 Removing intermediate container b57d23cc5f66 04:26:57 ---> 877e459bc377 04:26:57 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:26:57 ---> Running in ba89cf7eb7a6 04:26:57 Removing intermediate container ba89cf7eb7a6 04:26:57 ---> 51f410ab828b 04:26:57 Step 21/23 : LABEL arch=amd64 04:26:57 ---> Running in 1e60f73e7af2 04:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:26:57 Removing intermediate container 1e60f73e7af2 04:26:57 ---> b098e518cc9e 04:26:57 Step 22/23 : LABEL git_sha=cf93359dff5245471924d3320a92e8f269234a08 04:26:57 ---> Running in 5e4049b271d1 04:26:58 Removing intermediate container 5e4049b271d1 04:26:58 ---> 8c33eda4f471 04:26:58 Step 23/23 : LABEL version=0.0.0 04:26:58 ---> Running in 519f5e6502c7 04:26:58 Removing intermediate container 519f5e6502c7 04:26:58 ---> 698025fa74bf 04:26:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:26:58 Successfully built 698025fa74bf 04:26:58 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 04:26:59 ---> job-cost.sh 04:26:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-crVS 04:27:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 28.1% of statements 04:27:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.162s coverage: 78.9% of statements 04:27:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.153s coverage: 7.8% of statements 04:27:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:27:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:27:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:27:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.279s coverage: 32.5% of statements 04:27:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:27:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:27:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:27:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:27:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.294s coverage: 57.1% of statements 04:27:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.254s coverage: 6.6% of statements 04:27:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements 04:27:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:27:15 GO111MODULE=on go vet ./... 04:27:41 lf-activate-venv(): INFO: Adding /tmp/venv-crVS/bin to PATH 04:27:41 INFO: No Stack... 04:27:41 INFO: Retrieving Pricing Info for: v1-standard-2 04:27:41 INFO: Archiving Costs [Pipeline] sh 04:27:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:27:42 + cut -d, -f6 [Pipeline] lock 04:27:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] 04:27:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] did not exist. Created. 04:27:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:42 + echo total: 0.029999999329447746 [Pipeline] stash 04:27:42 Stashed 1 file(s) [Pipeline] } 04:27:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:28:02 gofmt -l . 04:28:02 [ "`gofmt -l .`" = "" ] 04:28:02 ./bin/test-attribution-txt.sh 04:28:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:28:02 $ docker stop --time=1 2a64503386c399e2cdbf1230eb242c7ff8467ca6047bbdb985f271ba98de9090 04:28:05 $ docker rm -f 2a64503386c399e2cdbf1230eb242c7ff8467ca6047bbdb985f271ba98de9090 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:06 Warning: overwriting stash ‘coverage-report’ 04:28:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:08 + ls -al . 04:28:08 total 224 04:28:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 04:28 . 04:28:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:24 .. 04:28:08 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 04:24 .dockerignore 04:28:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 04:24 .git 04:28:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:24 .github 04:28:08 -rw-rw-r-- 1 jenkins jenkins 138 Apr 13 04:24 .gitignore 04:28:08 -rw-rw-r-- 1 jenkins jenkins 987 Apr 13 04:24 Dockerfile.build 04:28:08 -rw-rw-r-- 1 jenkins jenkins 901 Apr 13 04:24 Jenkinsfile 04:28:08 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 04:24 LICENSE 04:28:08 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 13 04:24 Makefile 04:28:08 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 13 04:24 README.md 04:28:08 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 13 04:24 RELEASE-NOTES.txt 04:28:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 04:22 VERSION 04:28:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:24 bin 04:28:08 -rw-r--r-- 1 jenkins jenkins 99751 Apr 13 04:27 coverage.out 04:28:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 04:24 example 04:28:08 -rw-r--r-- 1 jenkins jenkins 572 Apr 13 04:28 go.mod 04:28:08 -rw-r--r-- 1 jenkins jenkins 20726 Apr 13 04:28 go.sum 04:28:08 drwxrwxr-x 14 jenkins jenkins 4096 Apr 13 04:24 internal 04:28:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:24 openapi 04:28:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 04:24 pkg 04:28:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:24 snap 04:28:08 -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 04:24 version.go [Pipeline] isUnix [Pipeline] sh 04:28:08 + 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=cf93359dff5245471924d3320a92e8f269234a08 --label arch=arm64 --label version=0.0.0 . 04:28:09 Sending build context to Docker daemon 2.495MB 04:28:09 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:28:09 Step 2/23 : FROM ${BASE} AS builder 04:28:09 ---> 3087b9613512 04:28:09 Step 3/23 : WORKDIR /device-sdk-go 04:28:09 ---> Running in 650d78bd67fb 04:28:09 Removing intermediate container 650d78bd67fb 04:28:09 ---> c8767fde7d24 04:28:09 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:28:10 ---> Running in 514339b5f009 04:28:10 Removing intermediate container 514339b5f009 04:28:10 ---> 913d59320f7e 04:28:10 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:10 ---> Running in 3fdc935673a2 04:28:12 Removing intermediate container 3fdc935673a2 04:28:12 ---> d13532938209 04:28:12 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:28:13 ---> Running in ef4ccccc07e7 04:28:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:28:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:28:16 OK: 144 MiB in 45 packages 04:28:17 Removing intermediate container ef4ccccc07e7 04:28:17 ---> 4eda9f7adaae 04:28:17 Step 7/23 : COPY . . 04:28:18 ---> a88b05c3c362 04:28:18 Step 8/23 : RUN go mod download 04:28:18 ---> Running in 69c938a04ce7 04:28:21 Removing intermediate container 69c938a04ce7 04:28:21 ---> 2081148e9533 04:28:21 Step 9/23 : RUN make build 04:28:21 ---> Running in e2768d2c451b 04:28:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:28:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:28:56 Removing intermediate container e2768d2c451b 04:28:56 ---> 9c21932dd46f 04:28:56 Step 10/23 : FROM alpine:3.12 04:28:57 3.12: Pulling from library/alpine 04:28:57 9a219e8acc52: Pulling fs layer 04:28:57 9a219e8acc52: Verifying Checksum 04:28:57 9a219e8acc52: Download complete 04:28:57 9a219e8acc52: Pull complete 04:28:57 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 04:28:57 Status: Downloaded newer image for alpine:3.12 04:28:57 ---> d75e27dfc0a0 04:28:57 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:28:58 ---> Running in d00cefa48dfd 04:28:58 Removing intermediate container d00cefa48dfd 04:28:58 ---> 88afcfbf1d23 04:28:58 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:58 ---> Running in cbc8e72bd9ae 04:29:00 Removing intermediate container cbc8e72bd9ae 04:29:00 ---> a917a1dbec16 04:29:00 Step 13/23 : RUN apk add --update --no-cache zeromq 04:29:01 ---> Running in 9d56516b0cf3 04:29:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:29:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:29:03 (1/5) Installing libgcc (9.3.0-r2) 04:29:03 (2/5) Installing libsodium (1.0.18-r0) 04:29:03 (3/5) Installing libstdc++ (9.3.0-r2) 04:29:04 (4/5) Installing libzmq (4.3.3-r0) 04:29:04 (5/5) Installing zeromq (4.3.3-r0) 04:29:04 Executing busybox-1.31.1-r20.trigger 04:29:04 OK: 8 MiB in 19 packages 04:29:05 Removing intermediate container 9d56516b0cf3 04:29:05 ---> 958583ba76d1 04:29:05 Step 14/23 : WORKDIR / 04:29:05 ---> Running in c284267a8fd5 04:29:06 Removing intermediate container c284267a8fd5 04:29:06 ---> 2e40161c8ad2 04:29:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:29:07 ---> 19ef3b4228de 04:29:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:29:08 ---> 914b4a746df9 04:29:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:29:09 ---> 3c428300e084 04:29:09 Step 18/23 : EXPOSE 49990 04:29:09 ---> Running in aa2aae90f611 04:29:09 Removing intermediate container aa2aae90f611 04:29:09 ---> 75412c3fbc3a 04:29:09 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:29:09 ---> Running in 5cc2f12a6638 04:29:09 Removing intermediate container 5cc2f12a6638 04:29:09 ---> 6c76cfce48d3 04:29:09 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:29:10 ---> Running in 79f037d5a901 04:29:10 Removing intermediate container 79f037d5a901 04:29:10 ---> 37e983699295 04:29:10 Step 21/23 : LABEL arch=arm64 04:29:10 ---> Running in f7338f9e04da 04:29:11 Removing intermediate container f7338f9e04da 04:29:11 ---> 12167bac4f5d 04:29:11 Step 22/23 : LABEL git_sha=cf93359dff5245471924d3320a92e8f269234a08 04:29:11 ---> Running in 6c75de104441 04:29:12 Removing intermediate container 6c75de104441 04:29:12 ---> 31dd7bdb376b 04:29:12 Step 23/23 : LABEL version=0.0.0 04:29:12 ---> Running in 3910400acd34 04:29:12 Removing intermediate container 3910400acd34 04:29:12 ---> e731372c6949 04:29:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:29:12 Successfully built e731372c6949 04:29:12 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 04:29:13 ---> job-cost.sh 04:29:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ere7 04:29:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:31:29 lf-activate-venv(): INFO: Adding /tmp/venv-Ere7/bin to PATH 04:31:29 INFO: No Stack... 04:31:29 INFO: Retrieving Pricing Info for: lf-standard-4 04:31:29 INFO: Archiving Costs [Pipeline] sh 04:31:29 + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, 04:31:29 -f6 [Pipeline] lock 04:31:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] 04:31:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] did not exist. Created. 04:31:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:30 /w/workspace/device-sdk-go/1@tmp/durable-2c44c22b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2c44c22b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:31:30 + echo total: 0.20999999344348907 [Pipeline] stash 04:31:30 Warning: overwriting stash ‘stack-cost’ 04:31:31 Stashed 1 file(s) [Pipeline] } 04:31:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-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 04:31:33 provisioning config files... 04:31:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/config3123969618409471780tmp [Pipeline] { [Pipeline] sh 04:31:33 + set +x 04:31:33 + curl -s https://codecov.io/bash 04:31:33 + bash -s -- 04:31:34 04:31:34 _____ _ 04:31:34 / ____| | | 04:31:34 | | ___ __| | ___ ___ _____ __ 04:31:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:31:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:31:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:31:34 Bash-20210309-2b87ace 04:31:34 04:31:34 04:31:34 ==> git version 2.24.3 found 04:31:34 ==> 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 04:31:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:31:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:31:34 ==> Jenkins CI detected. 04:31:34 project root: . 04:31:34 --> token set from env 04:31:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:31:34 ==> Running gcov in . (disable via -X gcov) 04:31:34 ==> Python coveragepy not found 04:31:34 ==> Searching for coverage reports in: 04:31:34 + . 04:31:34 -> Found 1 reports 04:31:34 ==> Detecting git/mercurial file structure 04:31:34 ==> Reading reports 04:31:34 + ./coverage.out bytes=99751 04:31:34 ==> Appending adjustments 04:31:34 https://docs.codecov.io/docs/fixing-reports 04:31:34 + Found adjustments 04:31:34 ==> Gzipping contents 04:31:34 16K /tmp/codecov.iIjlGU.gz 04:31:34 ==> Uploading reports 04:31:34 url: https://codecov.io 04:31:34 query: branch=PR-873&commit=cf93359dff5245471924d3320a92e8f269234a08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-873%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=873&job=&cmd_args= 04:31:34 -> Pinging Codecov 04:31:34 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-873&commit=cf93359dff5245471924d3320a92e8f269234a08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-873%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=873&job=&cmd_args= 04:31:35 -> Uploading to 04:31:35 https://storage.googleapis.com/codecov/v4/raw/2021-04-13/7E55EF52A471D76F132DFD9A03CDDE97/cf93359dff5245471924d3320a92e8f269234a08/d8608588-e4dd-447e-af50-cdb383a499ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210413T043134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=892eafe08dbf7f9508083767168c2c765457c9f591ffc5461ebab671b071f5f2 04:31:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:35 Dload Upload Total Spent Left Speed 04:31:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13502 0 0 100 13502 0 33450 --:--:-- --:--:-- --:--:-- 33503 04:31:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf93359dff5245471924d3320a92e8f269234a08 [Pipeline] } 04:31:35 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 04:31:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:31:39 ---> package-listing.sh 04:31:39 ++ tr '[:upper:]' '[:lower:]' 04:31:39 ++ facter osfamily 04:31:39 + OS_FAMILY=redhat 04:31:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-873 04:31:39 + START_PACKAGES=/tmp/packages_start.txt 04:31:39 + END_PACKAGES=/tmp/packages_end.txt 04:31:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:31:39 + PACKAGES=/tmp/packages_start.txt 04:31:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-873 ']' 04:31:39 + PACKAGES=/tmp/packages_end.txt 04:31:39 + case "${OS_FAMILY}" in 04:31:39 + rpm -qa 04:31:39 + sort 04:31:44 + '[' -f /tmp/packages_start.txt ']' 04:31:44 + '[' -f /tmp/packages_end.txt ']' 04:31:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:31:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-873 ']' 04:31:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-873/archives/ 04:31:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-873/archives/ [Pipeline] echo 04:31:44 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-873/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:31:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:31:45 04:31:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:31:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:31:45 alpine: Pulling from edgex-lftools-log-publisher 04:31:45 df20fa9351a1: Pulling fs layer 04:31:45 36b3adc4ff6f: Pulling fs layer 04:31:45 8ad3a11d3b57: Pulling fs layer 04:31:45 46f8f816bc3b: Pulling fs layer 04:31:45 93b61091891f: Pulling fs layer 04:31:45 93b9cdb0e59b: Pulling fs layer 04:31:45 5e14af77c1be: Pulling fs layer 04:31:45 01666e4c0597: Pulling fs layer 04:31:45 aa168da1d23b: Pulling fs layer 04:31:45 46f8f816bc3b: Waiting 04:31:45 93b9cdb0e59b: Waiting 04:31:45 5e14af77c1be: Waiting 04:31:45 01666e4c0597: Waiting 04:31:45 93b61091891f: Waiting 04:31:45 aa168da1d23b: Waiting 04:31:45 36b3adc4ff6f: Download complete 04:31:45 46f8f816bc3b: Verifying Checksum 04:31:45 46f8f816bc3b: Download complete 04:31:45 df20fa9351a1: Verifying Checksum 04:31:45 df20fa9351a1: Download complete 04:31:45 93b9cdb0e59b: Verifying Checksum 04:31:45 93b9cdb0e59b: Download complete 04:31:45 5e14af77c1be: Verifying Checksum 04:31:45 5e14af77c1be: Download complete 04:31:45 01666e4c0597: Verifying Checksum 04:31:45 01666e4c0597: Download complete 04:31:45 93b61091891f: Download complete 04:31:45 8ad3a11d3b57: Verifying Checksum 04:31:45 8ad3a11d3b57: Download complete 04:31:45 df20fa9351a1: Pull complete 04:31:46 36b3adc4ff6f: Pull complete 04:31:47 8ad3a11d3b57: Pull complete 04:31:47 46f8f816bc3b: Pull complete 04:31:48 93b61091891f: Pull complete 04:31:48 93b9cdb0e59b: Pull complete 04:31:48 5e14af77c1be: Pull complete 04:31:48 aa168da1d23b: Verifying Checksum 04:31:48 aa168da1d23b: Download complete 04:31:48 01666e4c0597: Pull complete 04:31:55 aa168da1d23b: Pull complete 04:31:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:31:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:31:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:31:55 prd-centos7-docker-4c-2g-33831 does not seem to be running inside a container 04:31:55 $ 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-873/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-873 -v /w/workspace/dgexfoundry_device-sdk-go_PR-873:/w/workspace/dgexfoundry_device-sdk-go_PR-873:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-873@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 04:31:58 $ docker top aa8b9cb9c4d13e0007cabaa3b212687e225c47fa3fde4f529e46cceea1d7bcb9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:31:59 + mkdir -p /var/log/sa [Pipeline] sh 04:32:00 + ls /var/log/sa-host 04:32:00 + sadf -c /var/log/sa-host/sa13 04:32:00 file_magic: OK 04:32:00 HZ: Using current value: 100 04:32:00 file_header: OK 04:32:00 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 04:32:00 Statistics: 04:32:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:32:00 File successfully converted to sysstat format version 12.2.1 04:32:00 + sadf -c /var/log/sa-host/sa23 04:32:00 file_magic: OK 04:32:00 HZ: Using current value: 100 04:32:00 file_header: OK 04:32:00 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 04:32:00 Statistics: 04:32:00 Hnuu...uuuununununu... 04:32:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:00 provisioning config files... 04:32:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/config2302468128636963011tmp [Pipeline] { [Pipeline] echo 04:32:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:32:01 ---> create-netrc.sh [Pipeline] } 04:32:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:32:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:32:01 ---> python-tools-install.sh [Pipeline] echo 04:32:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:32:02 ---> sudo-logs.sh 04:32:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:32:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:32:02 ---> job-cost.sh 04:32:02 lf-activate-venv: SKIPPING 04:32:02 DEBUG: total: 0.20999999344348907 04:32:02 INFO: Retrieving Stack Cost... 04:32:04 INFO: Retrieving Pricing Info for: v1-standard-2 04:32:04 INFO: Archiving Costs [Pipeline] echo 04:32:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:32:04 ---> logs-deploy.sh 04:32:04 lf-activate-venv: SKIPPING 04:32:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-873/1 04:32:04 INFO: archiving workspace using pattern(s): 04:32:06 Archives upload complete. 04:32:06 INFO: archiving logs to Nexus