Pull request #890 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8935dc95dc231245962e9480846bc24730246299+4d2675d668c2f9064e370a810b18e5856622130c (85554a8869b21a6867a5c16c831bf91ae5c65f49) 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-890/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-890/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 ‘prd-centos7-docker-4c-2g-1073’ Running on prd-centos7-docker-4c-2g-1082 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [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-890 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 8935dc95dc231245962e9480846bc24730246299 Merge succeeded, producing 8935dc95dc231245962e9480846bc24730246299 Checking out Revision 8935dc95dc231245962e9480846bc24730246299 (PR-890) > 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/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8935dc95dc231245962e9480846bc24730246299 # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8935dc95dc231245962e9480846bc24730246299 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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 05:52:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:24 ========================================================= 05:52:24 EdgeX Global Pipelines Version Info 05:52:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:27 ------------------- 05:52:27 stable info: 05:52:27 ------------------- 05:52:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:52:27 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:52:27 Message: update stable to v1.0.186 05:52:28 ------------------- 05:52:28 experimental info: 05:52:28 ------------------- 05:52:28 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:28 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:52:28 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:52:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:52:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:52:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:52:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-890 [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-890 [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-890 [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8935dc95dc231245962e9480846bc24730246299 [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8935dc9 [Pipeline] echo 05:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:30 provisioning config files... 05:52:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config8056703752951628226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:31 ---> docker-login.sh 05:52:31 nexus3.edgexfoundry.org:10001 05:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:32 Configure a credential helper to remove this warning. See 05:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:32 05:52:32 Login Succeeded 05:52:32 nexus3.edgexfoundry.org:10002 05:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:32 Configure a credential helper to remove this warning. See 05:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:32 05:52:32 Login Succeeded 05:52:32 nexus3.edgexfoundry.org:10003 05:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:33 Configure a credential helper to remove this warning. See 05:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:33 05:52:33 Login Succeeded 05:52:33 nexus3.edgexfoundry.org:10004 05:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:33 Configure a credential helper to remove this warning. See 05:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:33 05:52:33 Login Succeeded 05:52:33 docker.io 05:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:33 Configure a credential helper to remove this warning. See 05:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:33 05:52:33 Login Succeeded 05:52:33 ---> docker-login.sh ends [Pipeline] } 05:52:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:34 + git log --format=format:%s -1 8935dc95dc231245962e9480846bc24730246299 [Pipeline] echo 05:52:34 GIT_COMMIT: 8935dc95dc231245962e9480846bc24730246299, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:52:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:35 05:52:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:52:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:35 latest: Pulling from edgex-devops/git-semver 05:52:35 31603596830f: Pulling fs layer 05:52:35 2a8b12db71e7: Pulling fs layer 05:52:35 6ca5941a6612: Pulling fs layer 05:52:35 ecc8261a40a4: Pulling fs layer 05:52:35 ecc8261a40a4: Waiting 05:52:35 2a8b12db71e7: Download complete 05:52:36 31603596830f: Download complete 05:52:36 ecc8261a40a4: Verifying Checksum 05:52:36 ecc8261a40a4: Download complete 05:52:36 6ca5941a6612: Verifying Checksum 05:52:36 6ca5941a6612: Download complete 05:52:36 31603596830f: Pull complete 05:52:37 2a8b12db71e7: Pull complete 05:52:38 6ca5941a6612: Pull complete 05:52:39 ecc8261a40a4: Pull complete 05:52:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:52:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:52:39 prd-centos7-docker-4c-2g-1082 does not seem to be running inside a container 05:52:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:52:41 $ docker top c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:42 [ssh-agent] Looking for ssh-agent implementation... 05:52:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:42 $ docker exec c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 ssh-agent 05:52:43 SSH_AUTH_SOCK=/tmp/ssh-3o9mVrsb0r86/agent.11 05:52:43 SSH_AGENT_PID=16 05:52:43 Running ssh-add (command line suppressed) 05:52:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_8284974646799257155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_8284974646799257155.key) 05:52:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:44 + git tag --points-at HEAD [Pipeline] } 05:52:44 $ docker exec --env ******** --env ******** c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 ssh-agent -k 05:52:44 unset SSH_AUTH_SOCK; 05:52:44 unset SSH_AGENT_PID; 05:52:44 echo Agent pid 16 killed; 05:52:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:52:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:44 [ssh-agent] Looking for ssh-agent implementation... 05:52:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:45 $ docker exec c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 ssh-agent 05:52:46 SSH_AUTH_SOCK=/tmp/ssh-PwhzFyKkCGBb/agent.45 05:52:46 SSH_AGENT_PID=50 05:52:46 Running ssh-add (command line suppressed) 05:52:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_3081634870670086643.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_3081634870670086643.key) 05:52:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:47 + git semver init 05:52:47 # -> Open(): unable to determine branch for HEAD 05:52:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.git 05:52:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-890 05:52:47 # $SEMVER_REMOTE_NAME = origin 05:52:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:47 # $SEMVER_USER_NAME = edgex-jenkins 05:52:47 # $SEMVER_BRANCH = PR-890 05:52:47 # $SEMVER_TEMP = /tmp/semver-126936188 05:52:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:52:49 # '/tmp/semver-126936188' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver' 05:52:49 # -> Force: false 05:52:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver [Pipeline] } 05:52:49 $ docker exec --env ******** --env ******** c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 ssh-agent -k 05:52:49 unset SSH_AUTH_SOCK; 05:52:49 unset SSH_AGENT_PID; 05:52:49 echo Agent pid 50 killed; 05:52:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:50 + git semver [Pipeline] } 05:52:50 $ docker stop --time=1 c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 05:52:52 $ docker rm -f c0fec080b0a9232132b7012886ceb826bfb70bdcdedbb7536cee417dfc24f820 [Pipeline] // withDockerContainer [Pipeline] sh 05:52:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:52:53 Stashed 1 file(s) [Pipeline] echo 05:52:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:53:09 Still waiting to schedule task 05:53:09 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:53:09 Still waiting to schedule task 05:53:09 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:53:39 Running on prd-centos7-docker-4c-2g-1089 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws 05:53:39 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:42 using credential edgex-jenkins-ssh 05:53:42 Cloning the remote Git repository 05:53:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:42 > git --version # timeout=10 05:53:42 > git --version # 'git version 2.24.3' 05:53:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:43 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 8935dc95dc231245962e9480846bc24730246299 05:53:43 Merge succeeded, producing 8935dc95dc231245962e9480846bc24730246299 05:53:43 Checking out Revision 8935dc95dc231245962e9480846bc24730246299 (PR-890) 05:53:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:43 > git config core.sparsecheckout # timeout=10 05:53:43 > git checkout -f 8935dc95dc231245962e9480846bc24730246299 # timeout=10 05:53:43 > git remote # timeout=10 05:53:43 > git config --get remote.origin.url # timeout=10 05:53:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:43 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:53:43 > git rev-parse HEAD^{commit} # timeout=10 05:53:43 > git config core.sparsecheckout # timeout=10 05:53:43 > git checkout -f 8935dc95dc231245962e9480846bc24730246299 # timeout=10 05:53:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:53:47 > git --version # timeout=10 05:53:47 > git --version # 'git version 2.24.3' 05:53:47 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:48 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:53:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:53:49 + sudo service docker restart 05:53:49 + true 05:53:49 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:50 provisioning config files... 05:53:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6421910385939718345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:50 ---> docker-login.sh 05:53:50 nexus3.edgexfoundry.org:10001 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 nexus3.edgexfoundry.org:10002 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 nexus3.edgexfoundry.org:10003 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 nexus3.edgexfoundry.org:10004 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 docker.io 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:52 Configure a credential helper to remove this warning. See 05:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:52 05:53:52 Login Succeeded 05:53:52 ---> docker-login.sh ends [Pipeline] } 05:53:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:52 ========================================================= 05:53:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:53:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:52 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:53:53 Sending build context to Docker daemon 2.462MB 05:53:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:53:53 Step 2/8 : FROM ${BASE} 05:53:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:53 188c0c94c7c5: Pulling fs layer 05:53:53 0ef7d3d256c8: Pulling fs layer 05:53:53 de9db76c5a1d: Pulling fs layer 05:53:53 bca2f99d35d6: Pulling fs layer 05:53:53 93359f2a8cfa: Pulling fs layer 05:53:53 7c6f9722023f: Pulling fs layer 05:53:53 a35cf1a2eb13: Pulling fs layer 05:53:53 bca2f99d35d6: Waiting 05:53:53 93359f2a8cfa: Waiting 05:53:53 7c6f9722023f: Waiting 05:53:53 a35cf1a2eb13: Waiting 05:53:53 de9db76c5a1d: Verifying Checksum 05:53:53 de9db76c5a1d: Download complete 05:53:53 0ef7d3d256c8: Verifying Checksum 05:53:53 0ef7d3d256c8: Download complete 05:53:53 93359f2a8cfa: Verifying Checksum 05:53:53 93359f2a8cfa: Download complete 05:53:53 7c6f9722023f: Verifying Checksum 05:53:53 7c6f9722023f: Download complete 05:53:53 188c0c94c7c5: Verifying Checksum 05:53:53 188c0c94c7c5: Download complete 05:53:53 188c0c94c7c5: Pull complete 05:53:53 0ef7d3d256c8: Pull complete 05:53:53 de9db76c5a1d: Pull complete 05:53:54 a35cf1a2eb13: Verifying Checksum 05:53:54 a35cf1a2eb13: Download complete 05:53:55 bca2f99d35d6: Verifying Checksum 05:53:55 bca2f99d35d6: Download complete 05:54:01 bca2f99d35d6: Pull complete 05:54:01 93359f2a8cfa: Pull complete 05:54:01 7c6f9722023f: Pull complete 05:54:06 a35cf1a2eb13: Pull complete 05:54:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:54:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:54:06 ---> a62c8e92a672 05:54:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:06 ---> Running in c933c091a7b6 05:54:06 Removing intermediate container c933c091a7b6 05:54:06 ---> 0008d49cc511 05:54:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:06 ---> Running in ac0eb112ba32 05:54:07 Removing intermediate container ac0eb112ba32 05:54:07 ---> 0cc53792e5ae 05:54:07 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:54:07 ---> Running in 279d2123ec80 05:54:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:54:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:54:09 (1/6) Installing libc-dev (0.7.2-r3) 05:54:09 (2/6) Installing libsodium (1.0.18-r0) 05:54:09 (3/6) Installing pkgconf (1.7.2-r0) 05:54:09 (4/6) Installing libsodium-dev (1.0.18-r0) 05:54:09 (5/6) Installing libzmq (4.3.3-r0) 05:54:09 (6/6) Installing zeromq-dev (4.3.3-r0) 05:54:09 Executing busybox-1.31.1-r19.trigger 05:54:09 OK: 167 MiB in 45 packages 05:54:10 Removing intermediate container 279d2123ec80 05:54:10 ---> ef09fc918642 05:54:10 Step 6/8 : WORKDIR /device-sdk-go 05:54:10 ---> Running in 339eac10d31b 05:54:10 Removing intermediate container 339eac10d31b 05:54:10 ---> 32ab811ade58 05:54:10 Step 7/8 : COPY . . 05:54:11 ---> 342b85de851b 05:54:11 Step 8/8 : RUN go mod download 05:54:11 ---> Running in dd9d6425a9ca 05:54:34 Removing intermediate container dd9d6425a9ca 05:54:34 ---> 0574265665b0 05:54:34 Successfully built 0574265665b0 05:54:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:54:34 + docker inspect -f . ci-base-image-x86_64 05:54:34 . [Pipeline] withDockerContainer 05:54:34 prd-centos7-docker-4c-2g-1089 does not seem to be running inside a container 05:54: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 ******** ci-base-image-x86_64 cat 05:54:35 $ docker top 974968da37e8c3ba977ceb19e48892f6f3634c2bf034792d1851f427592362d5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:35 + go version 05:54:35 go version go1.15.5 linux/amd64 [Pipeline] } 05:54:35 $ docker stop --time=1 974968da37e8c3ba977ceb19e48892f6f3634c2bf034792d1851f427592362d5 05:54:37 $ docker rm -f 974968da37e8c3ba977ceb19e48892f6f3634c2bf034792d1851f427592362d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:38 + docker inspect -f . ci-base-image-x86_64 05:54:38 . [Pipeline] withDockerContainer 05:54:38 prd-centos7-docker-4c-2g-1089 does not seem to be running inside a container 05:54: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 ******** ci-base-image-x86_64 cat 05:54:38 $ docker top 59cf143071180814bab785db9dd01bf2aadb16648564e7e064a58eec2e54fce5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:39 + make test 05:54:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:55:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 28.1% of statements 05:55:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements 05:55:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.107s coverage: 7.8% of statements 05:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:55:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 32.0% of statements 05:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 57.1% of statements 05:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.196s coverage: 6.6% of statements 05:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 05:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:55:15 GO111MODULE=on go vet ./... 05:55:33 gofmt -l . 05:55:33 [ "`gofmt -l .`" = "" ] 05:55:33 ./bin/test-attribution-txt.sh 05:55:33 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 05:55:33 make: *** [Makefile:36: test] Error 1 [Pipeline] } 05:55:33 $ docker stop --time=1 59cf143071180814bab785db9dd01bf2aadb16648564e7e064a58eec2e54fce5 05:55:35 $ docker rm -f 59cf143071180814bab785db9dd01bf2aadb16648564e7e064a58eec2e54fce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:55:37 ---> job-cost.sh 05:55:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bCZz 05:55:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1091 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws 05:55:49 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:55:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:55:54 using credential edgex-jenkins-ssh 05:55:54 Cloning the remote Git repository 05:55:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:55:55 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:55:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:55 > git --version # timeout=10 05:55:55 > git --version # 'git version 2.17.1' 05:55:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:57 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 8935dc95dc231245962e9480846bc24730246299 05:55:57 Merge succeeded, producing 8935dc95dc231245962e9480846bc24730246299 05:55:57 Checking out Revision 8935dc95dc231245962e9480846bc24730246299 (PR-890) 05:55:57 > git config core.sparsecheckout # timeout=10 05:55:57 > git checkout -f 8935dc95dc231245962e9480846bc24730246299 # timeout=10 05:55:57 > git remote # timeout=10 05:55:57 > git config --get remote.origin.url # timeout=10 05:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:57 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:55:57 > git rev-parse HEAD^{commit} # timeout=10 05:55:57 > git config core.sparsecheckout # timeout=10 05:55:57 > git checkout -f 8935dc95dc231245962e9480846bc24730246299 # timeout=10 05:56:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:56:01 > git --version # timeout=10 05:56:01 > git --version # 'git version 2.17.1' 05:56:01 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:56:02 05:56:02 GitHub has been notified of this commit’s build result 05:56:02 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:56:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:04 + true 05:56:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:07 provisioning config files... 05:56:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7255779285005540023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:07 ---> docker-login.sh 05:56:07 nexus3.edgexfoundry.org:10001 05:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:09 Configure a credential helper to remove this warning. See 05:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:09 05:56:09 Login Succeeded 05:56:09 nexus3.edgexfoundry.org:10002 05:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:09 Configure a credential helper to remove this warning. See 05:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:09 05:56:09 Login Succeeded 05:56:09 nexus3.edgexfoundry.org:10003 05:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:10 Configure a credential helper to remove this warning. See 05:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:10 05:56:10 Login Succeeded 05:56:10 nexus3.edgexfoundry.org:10004 05:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:10 Configure a credential helper to remove this warning. See 05:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:10 05:56:10 Login Succeeded 05:56:10 docker.io 05:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:11 Configure a credential helper to remove this warning. See 05:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:11 05:56:11 Login Succeeded 05:56:11 ---> docker-login.sh ends [Pipeline] } 05:56:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:11 ========================================================= 05:56:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:56:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:12 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:56:12 Sending build context to Docker daemon 2.454MB 05:56:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:12 Step 2/8 : FROM ${BASE} 05:56:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:12 5f621e34cdf4: Pulling fs layer 05:56:12 a4357932f1b6: Pulling fs layer 05:56:12 18c013af1878: Pulling fs layer 05:56:12 00ac8860ef70: Pulling fs layer 05:56:12 63d7cb157983: Pulling fs layer 05:56:12 b116817d02f9: Pulling fs layer 05:56:12 745a02a5169b: Pulling fs layer 05:56:12 00ac8860ef70: Waiting 05:56:12 63d7cb157983: Waiting 05:56:12 745a02a5169b: Waiting 05:56:12 b116817d02f9: Waiting 05:56:12 18c013af1878: Verifying Checksum 05:56:12 18c013af1878: Download complete 05:56:12 a4357932f1b6: Download complete 05:56:12 63d7cb157983: Verifying Checksum 05:56:12 63d7cb157983: Download complete 05:56:12 5f621e34cdf4: Verifying Checksum 05:56:12 5f621e34cdf4: Download complete 05:56:12 b116817d02f9: Download complete 05:56:13 5f621e34cdf4: Pull complete 05:56:13 a4357932f1b6: Pull complete 05:56:14 18c013af1878: Pull complete 05:56:15 745a02a5169b: Verifying Checksum 05:56:15 745a02a5169b: Download complete 05:56:16 00ac8860ef70: Verifying Checksum 05:56:16 00ac8860ef70: Download complete 05:56:24 lf-activate-venv(): INFO: Adding /tmp/venv-bCZz/bin to PATH 05:56:24 INFO: No Stack... 05:56:24 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:24 INFO: Archiving Costs [Pipeline] sh 05:56:24 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:56:24 + cut -d, -f6 [Pipeline] lock 05:56:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] 05:56:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] did not exist. Created. 05:56:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:25 + echo total: 0.029999999329447746 [Pipeline] stash 05:56:25 Stashed 1 file(s) [Pipeline] } 05:56:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:56:26 Failed in branch amd64 05:56:26 00ac8860ef70: Pull complete 05:56:26 63d7cb157983: Pull complete 05:56:27 b116817d02f9: Pull complete 05:56:30 745a02a5169b: Pull complete 05:56:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:30 ---> b7e6874047d6 05:56:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:33 ---> Running in 6d70a6626765 05:56:34 Removing intermediate container 6d70a6626765 05:56:34 ---> b8c1b42a8e4f 05:56:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:34 ---> Running in 88e6e1f0f2e5 05:56:36 Removing intermediate container 88e6e1f0f2e5 05:56:36 ---> a824b6049d6c 05:56:36 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:56:36 ---> Running in 83aac7065a95 05:56:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:39 (1/6) Installing libc-dev (0.7.2-r3) 05:56:39 (2/6) Installing libsodium (1.0.18-r0) 05:56:39 (3/6) Installing pkgconf (1.7.2-r0) 05:56:39 (4/6) Installing libsodium-dev (1.0.18-r0) 05:56:39 (5/6) Installing libzmq (4.3.3-r0) 05:56:39 (6/6) Installing zeromq-dev (4.3.3-r0) 05:56:39 Executing busybox-1.31.1-r19.trigger 05:56:39 OK: 144 MiB in 45 packages 05:56:40 Removing intermediate container 83aac7065a95 05:56:40 ---> fd316f1d252f 05:56:40 Step 6/8 : WORKDIR /device-sdk-go 05:56:40 ---> Running in 4665894535fc 05:56:41 Removing intermediate container 4665894535fc 05:56:41 ---> 6f89d64dafd2 05:56:41 Step 7/8 : COPY . . 05:56:43 ---> 8f3bd8a55349 05:56:43 Step 8/8 : RUN go mod download 05:56:43 ---> Running in c49abd2613f6 05:57:09 Removing intermediate container c49abd2613f6 05:57:09 ---> 7e288629ed73 05:57:09 Successfully built 7e288629ed73 05:57:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:57:10 + docker inspect -f . ci-base-image-arm64 05:57:10 . [Pipeline] withDockerContainer 05:57:10 prd-ubuntu18.04-docker-arm64-4c-16g-1091 does not seem to be running inside a container 05:57:10 $ 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 ******** ci-base-image-arm64 cat 05:57:12 $ docker top 8d4725686e9f43065f2ae237a651c0985422b2d0e4b895c98c5b227399cea3ad -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:13 + go version 05:57:13 go version go1.15.5 linux/arm64 [Pipeline] } 05:57:13 $ docker stop --time=1 8d4725686e9f43065f2ae237a651c0985422b2d0e4b895c98c5b227399cea3ad 05:57:14 $ docker rm -f 8d4725686e9f43065f2ae237a651c0985422b2d0e4b895c98c5b227399cea3ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:57:16 + docker inspect -f . ci-base-image-arm64 05:57:16 . [Pipeline] withDockerContainer 05:57:16 prd-ubuntu18.04-docker-arm64-4c-16g-1091 does not seem to be running inside a container 05:57:16 $ 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 ******** ci-base-image-arm64 cat 05:57:17 $ docker top c08bc2663790aee40491a1f5ebc29a00c62b4ee783828c1244712b1b45650b37 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:18 + make test 05:57:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:58:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:58:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:58:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:58:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:58:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:58:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 28.1% of statements 05:58:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 78.9% of statements 05:58:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.164s coverage: 7.8% of statements 05:58:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:58:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:58:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:58:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.368s coverage: 32.0% of statements 05:58:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:58:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:58:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:58:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.273s coverage: 57.1% of statements 05:58:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.205s coverage: 6.6% of statements 05:58:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 05:58:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:58:48 GO111MODULE=on go vet ./... 05:59:35 gofmt -l . 05:59:35 [ "`gofmt -l .`" = "" ] 05:59:35 ./bin/test-attribution-txt.sh 05:59:35 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 05:59:35 make: *** [Makefile:36: test] Error 1 [Pipeline] } 05:59:35 $ docker stop --time=1 c08bc2663790aee40491a1f5ebc29a00c62b4ee783828c1244712b1b45650b37 05:59:37 $ docker rm -f c08bc2663790aee40491a1f5ebc29a00c62b4ee783828c1244712b1b45650b37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:59:39 ---> job-cost.sh 05:59:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wsch 06:00:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:01:55 lf-activate-venv(): INFO: Adding /tmp/venv-wsch/bin to PATH 06:01:55 INFO: No Stack... 06:01:55 INFO: Retrieving Pricing Info for: lf-standard-4 06:01:55 INFO: Archiving Costs [Pipeline] sh 06:01:55 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:01:55 + cut -d, -f6 [Pipeline] lock 06:01:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] 06:01:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] did not exist. Created. 06:01:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:56 /w/workspace/device-sdk-go/1@tmp/durable-c2770006/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-c2770006/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:01:56 + echo total: 0.20999999344348907 [Pipeline] stash 06:01:56 Warning: overwriting stash ‘stack-cost’ 06:01:57 Stashed 1 file(s) [Pipeline] } 06:01:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:01:57 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:01:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:00 ---> package-listing.sh 06:02:00 ++ facter osfamily 06:02:00 ++ tr '[:upper:]' '[:lower:]' 06:02:01 + OS_FAMILY=redhat 06:02:01 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-890 06:02:01 + START_PACKAGES=/tmp/packages_start.txt 06:02:01 + END_PACKAGES=/tmp/packages_end.txt 06:02:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:01 + PACKAGES=/tmp/packages_start.txt 06:02:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' 06:02:01 + PACKAGES=/tmp/packages_end.txt 06:02:01 + case "${OS_FAMILY}" in 06:02:01 + sort 06:02:01 + rpm -qa 06:02:10 + '[' -f /tmp/packages_start.txt ']' 06:02:10 + '[' -f /tmp/packages_end.txt ']' 06:02:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' 06:02:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ 06:02:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ [Pipeline] echo 06:02:10 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-890/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:02:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:11 06:02:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:02:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:12 alpine: Pulling from edgex-lftools-log-publisher 06:02:12 df20fa9351a1: Pulling fs layer 06:02:12 36b3adc4ff6f: Pulling fs layer 06:02:12 8ad3a11d3b57: Pulling fs layer 06:02:12 46f8f816bc3b: Pulling fs layer 06:02:12 93b61091891f: Pulling fs layer 06:02:12 93b9cdb0e59b: Pulling fs layer 06:02:12 5e14af77c1be: Pulling fs layer 06:02:12 01666e4c0597: Pulling fs layer 06:02:12 aa168da1d23b: Pulling fs layer 06:02:12 46f8f816bc3b: Waiting 06:02:12 93b61091891f: Waiting 06:02:12 93b9cdb0e59b: Waiting 06:02:12 5e14af77c1be: Waiting 06:02:12 01666e4c0597: Waiting 06:02:12 aa168da1d23b: Waiting 06:02:12 36b3adc4ff6f: Verifying Checksum 06:02:12 36b3adc4ff6f: Download complete 06:02:12 46f8f816bc3b: Verifying Checksum 06:02:12 46f8f816bc3b: Download complete 06:02:12 df20fa9351a1: Download complete 06:02:12 93b9cdb0e59b: Verifying Checksum 06:02:12 93b9cdb0e59b: Download complete 06:02:12 93b61091891f: Verifying Checksum 06:02:12 93b61091891f: Download complete 06:02:12 5e14af77c1be: Verifying Checksum 06:02:12 5e14af77c1be: Download complete 06:02:12 01666e4c0597: Verifying Checksum 06:02:13 df20fa9351a1: Pull complete 06:02:13 8ad3a11d3b57: Verifying Checksum 06:02:13 8ad3a11d3b57: Download complete 06:02:14 36b3adc4ff6f: Pull complete 06:02:17 8ad3a11d3b57: Pull complete 06:02:17 46f8f816bc3b: Pull complete 06:02:20 93b61091891f: Pull complete 06:02:20 93b9cdb0e59b: Pull complete 06:02:20 5e14af77c1be: Pull complete 06:02:20 01666e4c0597: Pull complete 06:02:21 aa168da1d23b: Verifying Checksum 06:02:21 aa168da1d23b: Download complete 06:02:39 aa168da1d23b: Pull complete 06:02:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:02:40 prd-centos7-docker-4c-2g-1082 does not seem to be running inside a container 06:02:40 $ 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-890/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-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@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:10003/edgex-lftools-log-publisher:alpine cat 06:02:44 $ docker top 82272b3e6558f1cdf362f112492269f790367d3534b4e4a740e1993b4c9c593b -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:02:45 + mkdir -p /var/log/sa [Pipeline] sh 06:02:45 + ls /var/log/sa-host 06:02:45 + sadf -c /var/log/sa-host/sa20 06:02:45 file_magic: OK 06:02:45 HZ: Using current value: 100 06:02:45 file_header: OK 06:02:45 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 06:02:45 Statistics: 06:02:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:02:45 File successfully converted to sysstat format version 12.2.1 06:02:45 + sadf -c /var/log/sa-host/sa23 06:02:45 file_magic: OK 06:02:45 HZ: Using current value: 100 06:02:45 file_header: OK 06:02:45 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 06:02:45 Statistics: 06:02:45 Hnuu...uuuununununu... 06:02:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:45 provisioning config files... 06:02:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config5890938396153848251tmp [Pipeline] { [Pipeline] echo 06:02:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:46 ---> create-netrc.sh [Pipeline] } 06:02:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:02:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:02:47 ---> python-tools-install.sh [Pipeline] echo 06:02:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:48 ---> sudo-logs.sh 06:02:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:49 ---> job-cost.sh 06:02:49 lf-activate-venv: SKIPPING 06:02:49 DEBUG: total: 0.20999999344348907 06:02:49 INFO: Retrieving Stack Cost... 06:02:50 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:51 INFO: Archiving Costs [Pipeline] echo 06:02:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:51 ---> logs-deploy.sh 06:02:51 lf-activate-venv: SKIPPING 06:02:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-890/1 06:02:51 INFO: archiving workspace using pattern(s): 06:02:55 Archives upload complete. 06:02:55 INFO: archiving logs to Nexus