Pull request #884 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 eef323edacbd0a1f507fca6650cd00f2e05c1375+4afc3732447dbc1bcd63643089443d556eeee277 (33fa1ee67d21eca2f950d2ab83a8a9ff65a70d65) 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-884/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-884/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 Running on prd-centos7-docker-4c-2g-457 in /w/workspace/dgexfoundry_device-sdk-go_PR-884 [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-884 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit eef323edacbd0a1f507fca6650cd00f2e05c1375 > 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/884/head:refs/remotes/origin/PR-884 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing eef323edacbd0a1f507fca6650cd00f2e05c1375 Checking out Revision eef323edacbd0a1f507fca6650cd00f2e05c1375 (PR-884) > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # 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 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 Commit message: "refactor: update returned type to errors.Edgex" 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 08:43:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:43:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:43:13 ========================================================= 08:43:13 EdgeX Global Pipelines Version Info 08:43:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:43:17 ------------------- 08:43:17 stable info: 08:43:17 ------------------- 08:43:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:43:17 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:43:17 Message: update stable to v1.0.186 08:43:18 ------------------- 08:43:18 experimental info: 08:43:18 ------------------- 08:43:18 Commited By: **** collab-it+edgex@linuxfoundation.org 08:43:18 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 08:43:18 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:43:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-884 [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-884 [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-884 [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eef323edacbd0a1f507fca6650cd00f2e05c1375 [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eef323e [Pipeline] echo 08:43:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:43:21 provisioning config files... 08:43:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/config2633974984407659047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:21 ---> docker-login.sh 08:43:21 nexus3.edgexfoundry.org:10001 08:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:22 Configure a credential helper to remove this warning. See 08:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:22 08:43:22 Login Succeeded 08:43:22 nexus3.edgexfoundry.org:10002 08:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:23 Configure a credential helper to remove this warning. See 08:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:23 08:43:23 Login Succeeded 08:43:23 nexus3.edgexfoundry.org:10003 08:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:24 Configure a credential helper to remove this warning. See 08:43:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:24 08:43:24 Login Succeeded 08:43:24 nexus3.edgexfoundry.org:10004 08:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:25 Configure a credential helper to remove this warning. See 08:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:25 08:43:25 Login Succeeded 08:43:25 docker.io 08:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:26 Configure a credential helper to remove this warning. See 08:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:26 08:43:26 Login Succeeded 08:43:26 ---> docker-login.sh ends [Pipeline] } 08:43:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:27 + git log --format=format:%s -1 eef323edacbd0a1f507fca6650cd00f2e05c1375 [Pipeline] echo 08:43:27 GIT_COMMIT: eef323edacbd0a1f507fca6650cd00f2e05c1375, Commit Message: refactor: update returned type to errors.Edgex [Pipeline] echo 08:43:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:43:28 08:43:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:43:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:43:29 latest: Pulling from edgex-devops/git-semver 08:43:29 31603596830f: Pulling fs layer 08:43:29 2a8b12db71e7: Pulling fs layer 08:43:29 6ca5941a6612: Pulling fs layer 08:43:29 ecc8261a40a4: Pulling fs layer 08:43:29 ecc8261a40a4: Waiting 08:43:29 2a8b12db71e7: Verifying Checksum 08:43:29 2a8b12db71e7: Download complete 08:43:29 31603596830f: Download complete 08:43:30 31603596830f: Pull complete 08:43:30 ecc8261a40a4: Verifying Checksum 08:43:30 ecc8261a40a4: Download complete 08:43:30 6ca5941a6612: Verifying Checksum 08:43:30 6ca5941a6612: Download complete 08:43:30 2a8b12db71e7: Pull complete 08:43:33 6ca5941a6612: Pull complete 08:43:33 ecc8261a40a4: Pull complete 08:43:33 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:43:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:43:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:43:34 prd-centos7-docker-4c-2g-457 does not seem to be running inside a container 08:43:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-884 -v /w/workspace/dgexfoundry_device-sdk-go_PR-884:/w/workspace/dgexfoundry_device-sdk-go_PR-884:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-884@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 08:43:38 $ docker top df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:43:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:38 [ssh-agent] Looking for ssh-agent implementation... 08:43:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:39 $ docker exec df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent 08:43:40 SSH_AUTH_SOCK=/tmp/ssh-IbnkrDUKk4hB/agent.12 08:43:40 SSH_AGENT_PID=17 08:43:40 Running ssh-add (command line suppressed) 08:43:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_2434469192038989506.key (/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_2434469192038989506.key) 08:43:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:41 + git tag --points-at HEAD [Pipeline] } 08:43:41 $ docker exec --env ******** --env ******** df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent -k 08:43:41 unset SSH_AUTH_SOCK; 08:43:41 unset SSH_AGENT_PID; 08:43:41 echo Agent pid 17 killed; 08:43:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:43:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:42 [ssh-agent] Looking for ssh-agent implementation... 08:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:42 $ docker exec df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent 08:43:43 SSH_AUTH_SOCK=/tmp/ssh-q7mpX4uou1ZR/agent.45 08:43:43 SSH_AGENT_PID=50 08:43:43 Running ssh-add (command line suppressed) 08:43:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_3981738620548274711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_3981738620548274711.key) 08:43:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:45 + git semver init 08:43:45 # -> Open(): unable to determine branch for HEAD 08:43:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-884/.git 08:43:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-884 08:43:45 # $SEMVER_REMOTE_NAME = origin 08:43:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:43:45 # $SEMVER_USER_NAME = edgex-jenkins 08:43:45 # $SEMVER_BRANCH = PR-884 08:43:45 # $SEMVER_TEMP = /tmp/semver-952069564 08:43:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:43:48 # '/tmp/semver-952069564' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-884/.semver' 08:43:48 # -> Force: false 08:43:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-884/.semver [Pipeline] } 08:43:48 $ docker exec --env ******** --env ******** df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent -k 08:43:48 unset SSH_AUTH_SOCK; 08:43:48 unset SSH_AGENT_PID; 08:43:48 echo Agent pid 50 killed; 08:43:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:43:49 + git semver [Pipeline] } 08:43:49 $ docker stop --time=1 df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 08:43:51 $ docker rm -f df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 [Pipeline] // withDockerContainer [Pipeline] sh 08:43:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:43:52 Stashed 1 file(s) [Pipeline] echo 08:43:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:44:08 Still waiting to schedule task 08:44:08 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-457’ 08:44:08 Still waiting to schedule task 08:44:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:45:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-458 in /w/workspace/dgexfoundry_device-sdk-go_PR-884 [Pipeline] { [Pipeline] ws 08:45:55 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:46:01 using credential edgex-jenkins-ssh 08:46:01 Cloning the remote Git repository 08:46:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:46:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:46:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:01 > git --version # timeout=10 08:46:01 > git --version # 'git version 2.17.1' 08:46:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/884/head:refs/remotes/origin/PR-884 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:05 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit eef323edacbd0a1f507fca6650cd00f2e05c1375 08:46:05 Merge succeeded, producing eef323edacbd0a1f507fca6650cd00f2e05c1375 08:46:05 Checking out Revision eef323edacbd0a1f507fca6650cd00f2e05c1375 (PR-884) 08:46:05 > git config core.sparsecheckout # timeout=10 08:46:05 > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 08:46:05 > git remote # timeout=10 08:46:05 > git config --get remote.origin.url # timeout=10 08:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:05 > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 08:46:05 > git rev-parse HEAD^{commit} # timeout=10 08:46:05 > git config core.sparsecheckout # timeout=10 08:46:05 > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 08:46:09 Commit message: "refactor: update returned type to errors.Edgex" 08:46:09 > git --version # timeout=10 08:46:09 > git --version # 'git version 2.17.1' 08:46:09 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:46:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:46:12 + sudo service docker restart 08:46:12 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:46:15 provisioning config files... 08:46:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1080902748382923241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:15 ---> docker-login.sh 08:46:15 nexus3.edgexfoundry.org:10001 08:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 nexus3.edgexfoundry.org:10002 08:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 nexus3.edgexfoundry.org:10003 08:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 nexus3.edgexfoundry.org:10004 08:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:18 Configure a credential helper to remove this warning. See 08:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:18 08:46:18 Login Succeeded 08:46:18 docker.io 08:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:19 Configure a credential helper to remove this warning. See 08:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:19 08:46:19 Login Succeeded 08:46:19 ---> docker-login.sh ends [Pipeline] } 08:46:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:46:19 ========================================================= 08:46:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:46:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:46:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:46:20 Sending build context to Docker daemon 2.499MB 08:46:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:46:20 Step 2/8 : FROM ${BASE} 08:46:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:46:20 5f621e34cdf4: Pulling fs layer 08:46:20 a4357932f1b6: Pulling fs layer 08:46:20 18c013af1878: Pulling fs layer 08:46:20 00ac8860ef70: Pulling fs layer 08:46:20 63d7cb157983: Pulling fs layer 08:46:20 b116817d02f9: Pulling fs layer 08:46:20 745a02a5169b: Pulling fs layer 08:46:20 63d7cb157983: Waiting 08:46:20 00ac8860ef70: Waiting 08:46:20 745a02a5169b: Waiting 08:46:20 b116817d02f9: Waiting 08:46:20 18c013af1878: Verifying Checksum 08:46:20 18c013af1878: Download complete 08:46:20 a4357932f1b6: Verifying Checksum 08:46:20 a4357932f1b6: Download complete 08:46:20 63d7cb157983: Verifying Checksum 08:46:20 63d7cb157983: Download complete 08:46:20 b116817d02f9: Download complete 08:46:20 5f621e34cdf4: Verifying Checksum 08:46:20 5f621e34cdf4: Download complete 08:46:21 5f621e34cdf4: Pull complete 08:46:22 a4357932f1b6: Pull complete 08:46:22 18c013af1878: Pull complete 08:46:23 745a02a5169b: Verifying Checksum 08:46:23 745a02a5169b: Download complete 08:46:24 00ac8860ef70: Verifying Checksum 08:46:24 00ac8860ef70: Download complete 08:46:34 00ac8860ef70: Pull complete 08:46:34 63d7cb157983: Pull complete 08:46:34 b116817d02f9: Pull complete 08:46:38 745a02a5169b: Pull complete 08:46:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:46:38 ---> b7e6874047d6 08:46:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:46:41 ---> Running in 67db59132bb3 08:46:41 Removing intermediate container 67db59132bb3 08:46:41 ---> 71bc639f94ef 08:46:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:41 ---> Running in 116ccb7ece2b 08:46:44 Removing intermediate container 116ccb7ece2b 08:46:44 ---> 88af7913e934 08:46:44 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:46:44 ---> Running in 0fcfe2cc33a6 08:46:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:46:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:46:46 (1/6) Installing libc-dev (0.7.2-r3) 08:46:46 (2/6) Installing libsodium (1.0.18-r0) 08:46:46 (3/6) Installing pkgconf (1.7.2-r0) 08:46:46 (4/6) Installing libsodium-dev (1.0.18-r0) 08:46:47 (5/6) Installing libzmq (4.3.3-r0) 08:46:47 (6/6) Installing zeromq-dev (4.3.3-r0) 08:46:47 Executing busybox-1.31.1-r19.trigger 08:46:47 OK: 144 MiB in 45 packages 08:46:48 Removing intermediate container 0fcfe2cc33a6 08:46:48 ---> 8d90b3217664 08:46:48 Step 6/8 : WORKDIR /device-sdk-go 08:46:48 ---> Running in e095d5ce3c8f 08:46:49 Removing intermediate container e095d5ce3c8f 08:46:49 ---> c0848c11db06 08:46:49 Step 7/8 : COPY . . 08:46:50 ---> e91279235dd8 08:46:50 Step 8/8 : RUN go mod download 08:46:50 ---> Running in aadf46ecc7c4 08:47:08 Running on prd-centos7-docker-4c-2g-459 in /w/workspace/dgexfoundry_device-sdk-go_PR-884 [Pipeline] { [Pipeline] ws 08:47:08 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:47:17 Removing intermediate container aadf46ecc7c4 08:47:17 ---> 6768dce2c8f4 08:47:17 Successfully built 6768dce2c8f4 08:47:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:47:17 + docker inspect -f . ci-base-image-arm64 08:47:17 . [Pipeline] withDockerContainer 08:47:18 prd-ubuntu18.04-docker-arm64-4c-16g-458 does not seem to be running inside a container 08:47:18 $ 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 08:47:19 $ docker top 04dfee60cd7a1dec7c698730ebbe0253b610db1b2c8292bce1d0b080d24e4716 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:20 + go version 08:47:20 go version go1.15.5 linux/arm64 [Pipeline] } 08:47:20 $ docker stop --time=1 04dfee60cd7a1dec7c698730ebbe0253b610db1b2c8292bce1d0b080d24e4716 08:47:22 $ docker rm -f 04dfee60cd7a1dec7c698730ebbe0253b610db1b2c8292bce1d0b080d24e4716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:23 + docker inspect -f . ci-base-image-arm64 08:47:23 . [Pipeline] withDockerContainer 08:47:23 prd-ubuntu18.04-docker-arm64-4c-16g-458 does not seem to be running inside a container 08:47:24 $ 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 08:47:24 using credential edgex-jenkins-ssh 08:47:24 Cloning the remote Git repository 08:47:25 $ docker top 8fd746347babe5664db2c43c65d01501a3f4a7150a51d7478dbb5b2d0a4ee9ce -eo pid,comm 08:47:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:47:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:47:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:47:24 > git --version # timeout=10 08:47:24 > git --version # 'git version 2.24.3' 08:47:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh 08:47:26 + make test 08:47:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:47:27 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit eef323edacbd0a1f507fca6650cd00f2e05c1375 08:47:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:47:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:47:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:47:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:47:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/884/head:refs/remotes/origin/PR-884 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:47:27 > git config core.sparsecheckout # timeout=10 08:47:27 > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 08:47:27 > git remote # timeout=10 08:47:27 > git config --get remote.origin.url # timeout=10 08:47:27 Merge succeeded, producing eef323edacbd0a1f507fca6650cd00f2e05c1375 08:47:27 Checking out Revision eef323edacbd0a1f507fca6650cd00f2e05c1375 (PR-884) 08:47:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:27 > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 08:47:27 > git rev-parse HEAD^{commit} # timeout=10 08:47:27 > git config core.sparsecheckout # timeout=10 08:47:27 > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 08:47:33 Commit message: "refactor: update returned type to errors.Edgex" 08:47:33 > git --version # timeout=10 08:47:33 > git --version # 'git version 2.24.3' 08:47:33 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:47:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:47:37 + true 08:47:37 + sudo service docker restart 08:47:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:47:39 provisioning config files... 08:47:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2459023118660571628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:40 ---> docker-login.sh 08:47:40 nexus3.edgexfoundry.org:10001 08:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:41 Configure a credential helper to remove this warning. See 08:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:41 08:47:41 Login Succeeded 08:47:41 nexus3.edgexfoundry.org:10002 08:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:43 Configure a credential helper to remove this warning. See 08:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:43 08:47:43 Login Succeeded 08:47:43 nexus3.edgexfoundry.org:10003 08:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:43 Configure a credential helper to remove this warning. See 08:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:43 08:47:43 Login Succeeded 08:47:43 nexus3.edgexfoundry.org:10004 08:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:45 Configure a credential helper to remove this warning. See 08:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:45 08:47:45 Login Succeeded 08:47:45 docker.io 08:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:46 Configure a credential helper to remove this warning. See 08:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:46 08:47:46 Login Succeeded 08:47:46 ---> docker-login.sh ends [Pipeline] } 08:47:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:47:47 ========================================================= 08:47:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:47:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:47:47 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:47:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:47:48 Sending build context to Docker daemon 2.487MB 08:47:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:47:48 Step 2/8 : FROM ${BASE} 08:47:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:47:49 188c0c94c7c5: Pulling fs layer 08:47:49 0ef7d3d256c8: Pulling fs layer 08:47:49 de9db76c5a1d: Pulling fs layer 08:47:49 bca2f99d35d6: Pulling fs layer 08:47:49 93359f2a8cfa: Pulling fs layer 08:47:49 7c6f9722023f: Pulling fs layer 08:47:49 a35cf1a2eb13: Pulling fs layer 08:47:49 bca2f99d35d6: Waiting 08:47:49 93359f2a8cfa: Waiting 08:47:49 7c6f9722023f: Waiting 08:47:49 a35cf1a2eb13: Waiting 08:47:49 de9db76c5a1d: Download complete 08:47:49 0ef7d3d256c8: Verifying Checksum 08:47:49 0ef7d3d256c8: Download complete 08:47:49 93359f2a8cfa: Verifying Checksum 08:47:49 93359f2a8cfa: Download complete 08:47:49 7c6f9722023f: Verifying Checksum 08:47:49 7c6f9722023f: Download complete 08:47:49 188c0c94c7c5: Verifying Checksum 08:47:49 188c0c94c7c5: Download complete 08:47:53 188c0c94c7c5: Pull complete 08:47:53 0ef7d3d256c8: Pull complete 08:47:54 de9db76c5a1d: Pull complete 08:47:58 a35cf1a2eb13: Verifying Checksum 08:47:58 a35cf1a2eb13: Download complete 08:47:59 bca2f99d35d6: Verifying Checksum 08:47:59 bca2f99d35d6: Download complete 08:48:15 bca2f99d35d6: Pull complete 08:48:15 93359f2a8cfa: Pull complete 08:48:16 7c6f9722023f: Pull complete 08:48:24 a35cf1a2eb13: Pull complete 08:48:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:48:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:48:24 ---> a62c8e92a672 08:48:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:48:24 ---> Running in 5d89c1c45568 08:48:24 Removing intermediate container 5d89c1c45568 08:48:24 ---> c76e6eeffe96 08:48:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:24 ---> Running in c66422a8a36f 08:48:26 Removing intermediate container c66422a8a36f 08:48:26 ---> 26418b1c7b90 08:48:26 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:48:26 ---> Running in 339a53386d55 08:48:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:48:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:48:32 (1/6) Installing libc-dev (0.7.2-r3) 08:48:32 (2/6) Installing libsodium (1.0.18-r0) 08:48:32 (3/6) Installing pkgconf (1.7.2-r0) 08:48:32 (4/6) Installing libsodium-dev (1.0.18-r0) 08:48:32 (5/6) Installing libzmq (4.3.3-r0) 08:48:32 (6/6) Installing zeromq-dev (4.3.3-r0) 08:48:32 Executing busybox-1.31.1-r19.trigger 08:48:32 OK: 167 MiB in 45 packages 08:48:34 Removing intermediate container 339a53386d55 08:48:34 ---> be4ea8e4988a 08:48:34 Step 6/8 : WORKDIR /device-sdk-go 08:48:34 ---> Running in af3b87e21e7f 08:48:34 Removing intermediate container af3b87e21e7f 08:48:34 ---> 2f7bbe562422 08:48:34 Step 7/8 : COPY . . 08:48:37 ---> 7ca5b829aa3b 08:48:37 Step 8/8 : RUN go mod download 08:48:37 ---> Running in fc46ce47c150 08:48:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:48:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:48:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:48:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:48:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:48:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 28.1% of statements 08:48:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 78.9% of statements 08:48:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.167s coverage: 7.8% of statements 08:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:48:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.307s coverage: 32.0% of statements 08:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:48:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.298s coverage: 57.1% of statements 08:48:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.091s coverage: 6.6% of statements 08:48:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 08:48:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:48:54 GO111MODULE=on go vet ./... 08:49:11 Removing intermediate container fc46ce47c150 08:49:11 ---> 81b20c1f8c50 08:49:11 Successfully built 81b20c1f8c50 08:49:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:49:11 + docker inspect -f . ci-base-image-x86_64 08:49:11 . [Pipeline] withDockerContainer 08:49:12 prd-centos7-docker-4c-2g-459 does not seem to be running inside a container 08:49: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 ******** -e ******** ci-base-image-x86_64 cat 08:49:14 $ docker top 432c77220ea874cc2f365b382672f406823dd4f482a91c88851a08e18739dc50 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:15 + go version 08:49:15 go version go1.15.5 linux/amd64 [Pipeline] } 08:49:15 $ docker stop --time=1 432c77220ea874cc2f365b382672f406823dd4f482a91c88851a08e18739dc50 08:49:17 $ docker rm -f 432c77220ea874cc2f365b382672f406823dd4f482a91c88851a08e18739dc50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:49:18 + docker inspect -f . ci-base-image-x86_64 08:49:18 . [Pipeline] withDockerContainer 08:49:19 prd-centos7-docker-4c-2g-459 does not seem to be running inside a container 08:49:19 $ 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 ******** -e ******** ci-base-image-x86_64 cat 08:49:20 $ docker top a1caeb164153257d4e6720f26da5550dccfa7c18326d6b31028cdfced2bbed78 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:21 + make test 08:49:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:49:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:49:41 gofmt -l . 08:49:41 [ "`gofmt -l .`" = "" ] 08:49:41 ./bin/test-attribution-txt.sh 08:49:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:49:42 $ docker stop --time=1 8fd746347babe5664db2c43c65d01501a3f4a7150a51d7478dbb5b2d0a4ee9ce 08:49:44 $ docker rm -f 8fd746347babe5664db2c43c65d01501a3f4a7150a51d7478dbb5b2d0a4ee9ce [Pipeline] // withDockerContainer [Pipeline] sh 08:49:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:49:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:49:50 + ls -al . 08:49:50 total 224 08:49:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 08:49 . 08:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 08:46 .. 08:49:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 08:46 .dockerignore 08:49:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 08:46 .git 08:49:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 08:46 .github 08:49:50 -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 08:46 .gitignore 08:49:50 -rw-rw-r-- 1 jenkins jenkins 987 Apr 16 08:46 Dockerfile.build 08:49:50 -rw-rw-r-- 1 jenkins jenkins 901 Apr 16 08:46 Jenkinsfile 08:49:50 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 08:46 LICENSE 08:49:50 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 16 08:46 Makefile 08:49:50 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 16 08:46 README.md 08:49:50 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 16 08:46 RELEASE-NOTES.txt 08:49:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 08:43 VERSION 08:49:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 08:46 bin 08:49:50 -rw-r--r-- 1 jenkins jenkins 100116 Apr 16 08:48 coverage.out 08:49:50 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 08:46 example 08:49:50 -rw-r--r-- 1 jenkins jenkins 574 Apr 16 08:49 go.mod 08:49:50 -rw-r--r-- 1 jenkins jenkins 20735 Apr 16 08:49 go.sum 08:49:50 drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 08:46 internal 08:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 08:46 openapi 08:49:50 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 08:46 pkg 08:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 08:46 snap 08:49:50 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:49:50 + 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=eef323edacbd0a1f507fca6650cd00f2e05c1375 --label arch=arm64 --label version=0.0.0 . 08:49:51 Sending build context to Docker daemon 2.6MB 08:49:51 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 08:49:51 Step 2/23 : FROM ${BASE} AS builder 08:49:51 ---> 6768dce2c8f4 08:49:51 Step 3/23 : WORKDIR /device-sdk-go 08:49:51 ---> Running in b7b80990cf55 08:49:51 Removing intermediate container b7b80990cf55 08:49:51 ---> 0ffcd9512cdb 08:49:51 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:49:52 ---> Running in 85043ee7ebff 08:49:52 Removing intermediate container 85043ee7ebff 08:49:52 ---> 36428ce0c71e 08:49:52 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:52 ---> Running in 2de2811edcd1 08:49:54 Removing intermediate container 2de2811edcd1 08:49:54 ---> ceb219d1bd11 08:49:54 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:49:54 ---> Running in 9271031d2194 08:49:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:49:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:49:57 OK: 144 MiB in 45 packages 08:49:58 Removing intermediate container 9271031d2194 08:49:58 ---> 565a319bf080 08:49:58 Step 7/23 : COPY . . 08:49:59 ---> 1eb39eaa165e 08:49:59 Step 8/23 : RUN go mod download 08:50:00 ---> Running in f37284907574 08:50:02 Removing intermediate container f37284907574 08:50:02 ---> 385f36beee0d 08:50:02 Step 9/23 : RUN make build 08:50:02 ---> Running in 4791d5ca2936 08:50:03 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 08:50:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:50:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:50:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:50:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:50:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:50:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 28.1% of statements 08:50:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.172s coverage: 78.9% of statements 08:50:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.156s coverage: 7.8% of statements 08:50:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:50:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:50:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:50:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.190s coverage: 32.0% of statements 08:50:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:50:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:50:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:50:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 57.1% of statements 08:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.648s coverage: 6.6% of statements 08:50:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.0% of statements 08:50:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:50:31 GO111MODULE=on go vet ./... 08:50:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:50:38 Removing intermediate container 4791d5ca2936 08:50:38 ---> 0e2e45b19de4 08:50:38 Step 10/23 : FROM alpine:3.12 08:50:38 3.12: Pulling from library/alpine 08:50:38 d2f70382dc9a: Pulling fs layer 08:50:38 d2f70382dc9a: Verifying Checksum 08:50:38 d2f70382dc9a: Download complete 08:50:39 d2f70382dc9a: Pull complete 08:50:39 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:50:39 Status: Downloaded newer image for alpine:3.12 08:50:39 ---> 9852663dfa18 08:50:39 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:39 ---> Running in ab3aa3ae934d 08:50:40 Removing intermediate container ab3aa3ae934d 08:50:40 ---> 72efd822bc88 08:50:40 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:40 ---> Running in 310ab381b4ca 08:50:42 Removing intermediate container 310ab381b4ca 08:50:42 ---> 05a571efc135 08:50:42 Step 13/23 : RUN apk add --update --no-cache zeromq 08:50:42 ---> Running in 86612d0f8ba0 08:50:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:50:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:50:44 (1/5) Installing libgcc (9.3.0-r2) 08:50:44 (2/5) Installing libsodium (1.0.18-r0) 08:50:45 (3/5) Installing libstdc++ (9.3.0-r2) 08:50:45 (4/5) Installing libzmq (4.3.3-r0) 08:50:45 (5/5) Installing zeromq (4.3.3-r0) 08:50:45 Executing busybox-1.31.1-r20.trigger 08:50:45 OK: 8 MiB in 19 packages 08:50:46 Removing intermediate container 86612d0f8ba0 08:50:46 ---> 79adeb3dd04a 08:50:46 Step 14/23 : WORKDIR / 08:50:46 ---> Running in b40acf03f7bc 08:50:47 Removing intermediate container b40acf03f7bc 08:50:47 ---> 67574fcd47a4 08:50:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:50:48 ---> edaae270074f 08:50:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:50:49 ---> 49642e500834 08:50:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:50:50 ---> a2f2219bbf46 08:50:50 Step 18/23 : EXPOSE 49990 08:50:50 ---> Running in 744584918c8d 08:50:51 Removing intermediate container 744584918c8d 08:50:51 ---> 3cc5e7be5955 08:50:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:50:51 ---> Running in be6b5167bad8 08:50:51 Removing intermediate container be6b5167bad8 08:50:51 ---> aa6bb2c60624 08:50:51 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:51 ---> Running in 0a468a629faf 08:50:52 Removing intermediate container 0a468a629faf 08:50:52 ---> da6503961d96 08:50:52 Step 21/23 : LABEL arch=arm64 08:50:52 ---> Running in d770b31f783b 08:50:52 Removing intermediate container d770b31f783b 08:50:52 ---> ef13e37c0ac0 08:50:52 Step 22/23 : LABEL git_sha=eef323edacbd0a1f507fca6650cd00f2e05c1375 08:50:52 ---> Running in ea1160852d11 08:50:53 Removing intermediate container ea1160852d11 08:50:53 ---> 25a891d51126 08:50:53 Step 23/23 : LABEL version=0.0.0 08:50:54 ---> Running in 57a445426124 08:50:54 Removing intermediate container 57a445426124 08:50:54 ---> 036c2e9048e1 08:50:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:50:54 Successfully built 036c2e9048e1 08:50:54 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:50:55 ---> job-cost.sh 08:50:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AF3z 08:51:11 gofmt -l . 08:51:11 [ "`gofmt -l .`" = "" ] 08:51:11 ./bin/test-attribution-txt.sh 08:51:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:51:13 $ docker stop --time=1 a1caeb164153257d4e6720f26da5550dccfa7c18326d6b31028cdfced2bbed78 08:51:15 $ docker rm -f a1caeb164153257d4e6720f26da5550dccfa7c18326d6b31028cdfced2bbed78 [Pipeline] // withDockerContainer [Pipeline] sh 08:51:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:51:17 Warning: overwriting stash ‘coverage-report’ 08:51:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:51:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:51:19 + ls -al . 08:51:19 total 188 08:51:19 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 16 08:51 . 08:51:19 drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 08:47 .. 08:51:19 drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 08:47 bin 08:51:19 -rw-r--r--. 1 jenkins jenkins 100116 Apr 16 08:50 coverage.out 08:51:19 -rw-rw-r--. 1 jenkins jenkins 987 Apr 16 08:47 Dockerfile.build 08:51:19 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 08:47 .dockerignore 08:51:19 drwxrwxr-x. 5 jenkins jenkins 62 Apr 16 08:47 example 08:51:19 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 08:47 .git 08:51:19 drwxrwxr-x. 2 jenkins jenkins 103 Apr 16 08:47 .github 08:51:19 -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 08:47 .gitignore 08:51:19 -rw-r--r--. 1 jenkins jenkins 574 Apr 16 08:51 go.mod 08:51:19 -rw-r--r--. 1 jenkins jenkins 20735 Apr 16 08:51 go.sum 08:51:19 drwxrwxr-x. 14 jenkins jenkins 207 Apr 16 08:47 internal 08:51:19 -rw-rw-r--. 1 jenkins jenkins 901 Apr 16 08:47 Jenkinsfile 08:51:19 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 08:47 LICENSE 08:51:19 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 16 08:47 Makefile 08:51:19 drwxrwxr-x. 4 jenkins jenkins 26 Apr 16 08:47 openapi 08:51:19 drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 08:47 pkg 08:51:19 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 16 08:47 README.md 08:51:19 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 16 08:47 RELEASE-NOTES.txt 08:51:19 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 08:47 snap 08:51:19 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 08:43 VERSION 08:51:19 -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 08:47 version.go [Pipeline] isUnix [Pipeline] sh 08:51:20 + 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=eef323edacbd0a1f507fca6650cd00f2e05c1375 --label arch=amd64 --label version=0.0.0 . 08:51:21 Sending build context to Docker daemon 2.588MB 08:51:21 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 08:51:21 Step 2/23 : FROM ${BASE} AS builder 08:51:21 ---> 81b20c1f8c50 08:51:21 Step 3/23 : WORKDIR /device-sdk-go 08:51:21 ---> Running in f16b3b9967e5 08:51:22 Removing intermediate container f16b3b9967e5 08:51:22 ---> 99d463279fd3 08:51:22 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:51:22 ---> Running in 2a8a80a454b2 08:51:22 Removing intermediate container 2a8a80a454b2 08:51:22 ---> 891f80844dfd 08:51:22 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:22 ---> Running in ae10719667e8 08:51:25 Removing intermediate container ae10719667e8 08:51:25 ---> 30a7a5a2decf 08:51:25 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:51:25 ---> Running in f56525bc2ef3 08:51:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:51:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:51:29 OK: 167 MiB in 45 packages 08:51:31 Removing intermediate container f56525bc2ef3 08:51:31 ---> 0890e0d82ff2 08:51:31 Step 7/23 : COPY . . 08:51:32 ---> f5723e40082c 08:51:32 Step 8/23 : RUN go mod download 08:51:32 ---> Running in c1b3f7191e97 08:51:33 Removing intermediate container c1b3f7191e97 08:51:33 ---> a8c9c6faf006 08:51:33 Step 9/23 : RUN make build 08:51:34 ---> Running in c3d39bd64b09 08:51:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:51:35 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 08:52:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:52:05 Removing intermediate container c3d39bd64b09 08:52:05 ---> db944862b6c0 08:52:05 Step 10/23 : FROM alpine:3.12 08:52:05 3.12: Pulling from library/alpine 08:52:05 339de151aab4: Pulling fs layer 08:52:05 339de151aab4: Verifying Checksum 08:52:05 339de151aab4: Download complete 08:52:06 339de151aab4: Pull complete 08:52:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:52:06 Status: Downloaded newer image for alpine:3.12 08:52:06 ---> 13621d1b12d4 08:52:06 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:06 ---> Running in c77692e506c6 08:52:07 Removing intermediate container c77692e506c6 08:52:07 ---> 2a9cc82b6225 08:52:07 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:07 ---> Running in 11a2e56dd27c 08:52:10 Removing intermediate container 11a2e56dd27c 08:52:10 ---> 8d50c5c79717 08:52:10 Step 13/23 : RUN apk add --update --no-cache zeromq 08:52:10 ---> Running in fea9235164ae 08:52:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:52:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:52:13 (1/5) Installing libgcc (9.3.0-r2) 08:52:13 (2/5) Installing libsodium (1.0.18-r0) 08:52:13 (3/5) Installing libstdc++ (9.3.0-r2) 08:52:13 (4/5) Installing libzmq (4.3.3-r0) 08:52:13 (5/5) Installing zeromq (4.3.3-r0) 08:52:13 Executing busybox-1.31.1-r20.trigger 08:52:13 OK: 8 MiB in 19 packages 08:52:14 Removing intermediate container fea9235164ae 08:52:14 ---> a1a23e7e00da 08:52:14 Step 14/23 : WORKDIR / 08:52:14 ---> Running in bf3b48aeaeb2 08:52:14 Removing intermediate container bf3b48aeaeb2 08:52:14 ---> 80f1ffdfb1cc 08:52:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:52:15 ---> f1f792591ada 08:52:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:52:16 ---> 717c6ebeaef9 08:52:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:52:16 ---> 99e657d59019 08:52:16 Step 18/23 : EXPOSE 49990 08:52:16 ---> Running in 98b1533e6b3c 08:52:16 Removing intermediate container 98b1533e6b3c 08:52:16 ---> dc599a975e5f 08:52:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:52:16 ---> Running in bbb45a49608c 08:52:16 Removing intermediate container bbb45a49608c 08:52:16 ---> d220fc34b1b5 08:52:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:52:16 ---> Running in bda89daa9423 08:52:17 Removing intermediate container bda89daa9423 08:52:17 ---> 9c4f46ff8a98 08:52:17 Step 21/23 : LABEL arch=amd64 08:52:17 ---> Running in 532cbfabde33 08:52:17 Removing intermediate container 532cbfabde33 08:52:17 ---> ec1cbd096f8d 08:52:17 Step 22/23 : LABEL git_sha=eef323edacbd0a1f507fca6650cd00f2e05c1375 08:52:17 ---> Running in 4acdb7b7037c 08:52:17 Removing intermediate container 4acdb7b7037c 08:52:17 ---> 913762448b8b 08:52:17 Step 23/23 : LABEL version=0.0.0 08:52:17 ---> Running in 99ad06567cfa 08:52:18 Removing intermediate container 99ad06567cfa 08:52:18 ---> 42ac9491a79c 08:52:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:52:18 Successfully built 42ac9491a79c 08:52:18 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:52:19 ---> job-cost.sh 08:52:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wzdz 08:52:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:53:11 lf-activate-venv(): INFO: Adding /tmp/venv-AF3z/bin to PATH 08:53:11 INFO: No Stack... 08:53:11 INFO: Retrieving Pricing Info for: lf-standard-4 08:53:11 INFO: Archiving Costs [Pipeline] sh 08:53:11 + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 08:53:11 [Pipeline] lock 08:53:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] 08:53:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] did not exist. Created. 08:53:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:53:12 + echo total: 0.20999999344348907 [Pipeline] stash 08:53:12 Stashed 1 file(s) [Pipeline] } 08:53:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:53:34 lf-activate-venv(): INFO: Adding /tmp/venv-wzdz/bin to PATH 08:53:34 INFO: No Stack... 08:53:34 INFO: Retrieving Pricing Info for: v1-standard-2 08:53:34 INFO: Archiving Costs [Pipeline] sh 08:53:34 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 08:53:34 + cut -d, -f6 [Pipeline] lock 08:53:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] 08:53:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] did not exist. Created. 08:53:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:53:35 /w/workspace/device-sdk-go/1@tmp/durable-9d227f79/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 08:53:35 + echo total: 0.029999999329447746 [Pipeline] stash 08:53:36 Warning: overwriting stash ‘stack-cost’ 08:53:36 Stashed 1 file(s) [Pipeline] } 08:53:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-884-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 08:53:38 provisioning config files... 08:53:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/config7701296205072071674tmp [Pipeline] { [Pipeline] sh 08:53:38 + set +x 08:53:38 + curl -s https://codecov.io/bash 08:53:38 + bash -s -- 08:53:39 08:53:39 _____ _ 08:53:39 / ____| | | 08:53:39 | | ___ __| | ___ ___ _____ __ 08:53:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:53:39 | |___| (_) | (_| | __/ (_| (_) \ V / 08:53:39 \_____\___/ \__,_|\___|\___\___/ \_/ 08:53:39 Bash-1.0.1 08:53:39 08:53:39 08:53:39 ==> git version 2.24.3 found 08:53:39 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 08:53:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:53:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:53:39 ==> Jenkins CI detected. 08:53:39 project root: . 08:53:39 --> token set from env 08:53:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:53:39 ==> Running gcov in . (disable via -X gcov) 08:53:39 ==> Python coveragepy not found 08:53:39 ==> Searching for coverage reports in: 08:53:39 + . 08:53:39 -> Found 1 reports 08:53:39 ==> Detecting git/mercurial file structure 08:53:39 ==> Reading reports 08:53:39 + ./coverage.out bytes=100116 08:53:39 ==> Appending adjustments 08:53:39 https://docs.codecov.io/docs/fixing-reports 08:53:41 + Found adjustments 08:53:41 ==> Gzipping contents 08:53:41 16K /tmp/codecov.CDugvt.gz 08:53:41 ==> Uploading reports 08:53:41 url: https://codecov.io 08:53:41 query: branch=PR-884&commit=eef323edacbd0a1f507fca6650cd00f2e05c1375&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-884%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=884&job=&cmd_args= 08:53:41 -> Pinging Codecov 08:53:41 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-884&commit=eef323edacbd0a1f507fca6650cd00f2e05c1375&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-884%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=884&job=&cmd_args= 08:53:42 -> Uploading to 08:53:42 https://storage.googleapis.com/codecov/v4/raw/2021-04-16/7E55EF52A471D76F132DFD9A03CDDE97/eef323edacbd0a1f507fca6650cd00f2e05c1375/d0d65721-61cb-4f64-becb-d233b33f6dbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210416T085341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15197c8aa4a3032a42a8e3a7a6798e4ae5de78fc2a3bd15ca89fdbdf8667c45b 08:53:42 % Total % Received % Xferd Average Speed Time Time Time Current 08:53:42 Dload Upload Total Spent Left Speed 08:53:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13506 0 0 100 13506 0 27481 --:--:-- --:--:-- --:--:-- 27507 100 13506 0 0 100 13506 0 27463 --:--:-- --:--:-- --:--:-- 27451 08:53:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/eef323edacbd0a1f507fca6650cd00f2e05c1375 [Pipeline] } 08:53:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:53:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:53:45 ---> package-listing.sh 08:53:45 ++ tr '[:upper:]' '[:lower:]' 08:53:45 ++ facter osfamily 08:53:45 + OS_FAMILY=redhat 08:53:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-884 08:53:45 + START_PACKAGES=/tmp/packages_start.txt 08:53:45 + END_PACKAGES=/tmp/packages_end.txt 08:53:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:53:45 + PACKAGES=/tmp/packages_start.txt 08:53:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-884 ']' 08:53:45 + PACKAGES=/tmp/packages_end.txt 08:53:45 + case "${OS_FAMILY}" in 08:53:45 + rpm -qa 08:53:45 + sort 08:53:52 + '[' -f /tmp/packages_start.txt ']' 08:53:52 + '[' -f /tmp/packages_end.txt ']' 08:53:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:53:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-884 ']' 08:53:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-884/archives/ 08:53:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-884/archives/ [Pipeline] echo 08:53:52 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-884/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:53:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:53:54 08:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:53:55 alpine: Pulling from edgex-lftools-log-publisher 08:53:55 df20fa9351a1: Pulling fs layer 08:53:55 36b3adc4ff6f: Pulling fs layer 08:53:55 8ad3a11d3b57: Pulling fs layer 08:53:55 46f8f816bc3b: Pulling fs layer 08:53:55 93b61091891f: Pulling fs layer 08:53:55 93b9cdb0e59b: Pulling fs layer 08:53:55 5e14af77c1be: Pulling fs layer 08:53:55 01666e4c0597: Pulling fs layer 08:53:55 aa168da1d23b: Pulling fs layer 08:53:55 46f8f816bc3b: Waiting 08:53:55 93b61091891f: Waiting 08:53:55 01666e4c0597: Waiting 08:53:55 aa168da1d23b: Waiting 08:53:55 5e14af77c1be: Waiting 08:53:56 36b3adc4ff6f: Verifying Checksum 08:53:56 36b3adc4ff6f: Download complete 08:53:56 46f8f816bc3b: Verifying Checksum 08:53:56 46f8f816bc3b: Download complete 08:53:56 93b61091891f: Verifying Checksum 08:53:56 93b61091891f: Download complete 08:53:56 df20fa9351a1: Verifying Checksum 08:53:56 df20fa9351a1: Download complete 08:53:56 5e14af77c1be: Verifying Checksum 08:53:56 5e14af77c1be: Download complete 08:53:56 93b9cdb0e59b: Verifying Checksum 08:53:56 93b9cdb0e59b: Download complete 08:53:56 01666e4c0597: Verifying Checksum 08:53:56 01666e4c0597: Download complete 08:53:57 8ad3a11d3b57: Verifying Checksum 08:53:57 8ad3a11d3b57: Download complete 08:53:57 df20fa9351a1: Pull complete 08:53:57 36b3adc4ff6f: Pull complete 08:53:59 8ad3a11d3b57: Pull complete 08:54:00 46f8f816bc3b: Pull complete 08:54:01 93b61091891f: Pull complete 08:54:02 93b9cdb0e59b: Pull complete 08:54:02 5e14af77c1be: Pull complete 08:54:03 01666e4c0597: Pull complete 08:54:05 aa168da1d23b: Verifying Checksum 08:54:05 aa168da1d23b: Download complete 08:54:23 aa168da1d23b: Pull complete 08:54:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:54:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:54:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:54:24 prd-centos7-docker-4c-2g-457 does not seem to be running inside a container 08:54: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-884/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-884 -v /w/workspace/dgexfoundry_device-sdk-go_PR-884:/w/workspace/dgexfoundry_device-sdk-go_PR-884:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-884@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 08:54:27 $ docker top c9e4acf709ba2175315927de4c2c4b590e36d51ddb0f0126e005f3193e682a3d -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:28 + touch /tmp/pre-build-complete [Pipeline] sh 08:54:29 + mkdir -p /var/log/sa [Pipeline] sh 08:54:29 + ls /var/log/sa-host 08:54:29 + sadf -c /var/log/sa-host/sa16 08:54:29 file_magic: OK 08:54:29 HZ: Using current value: 100 08:54:29 file_header: OK 08:54:29 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:54:29 Statistics: 08:54:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:54:29 File successfully converted to sysstat format version 12.2.1 08:54:29 + sadf -c /var/log/sa-host/sa23 08:54:29 file_magic: OK 08:54:29 HZ: Using current value: 100 08:54:29 file_header: OK 08:54:29 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:54:29 Statistics: 08:54:29 Hnuu...uuuununununu... 08:54:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:54:30 provisioning config files... 08:54:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/config7360390484875270563tmp [Pipeline] { [Pipeline] echo 08:54:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:54:31 ---> create-netrc.sh [Pipeline] } 08:54:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:54:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:54:32 ---> python-tools-install.sh [Pipeline] echo 08:54:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:54:32 ---> sudo-logs.sh 08:54:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:54:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:54:34 ---> job-cost.sh 08:54:34 lf-activate-venv: SKIPPING 08:54:34 DEBUG: total: 0.029999999329447746 08:54:34 INFO: Retrieving Stack Cost... 08:54:35 INFO: Retrieving Pricing Info for: v1-standard-2 08:54:36 INFO: Archiving Costs [Pipeline] echo 08:54:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:54:37 ---> logs-deploy.sh 08:54:37 lf-activate-venv: SKIPPING 08:54:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-884/1 08:54:37 INFO: archiving workspace using pattern(s): 08:54:40 Archives upload complete. 08:54:40 INFO: archiving logs to Nexus