Pull request #965 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 902791f62f87f394a27844f89324d8f205f58021+f91460baaab7f197ca117fe0ead63848762b28df (2ed04829216568271917a0de7c188646033edb48) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3343511522046687881.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8018353607064979418.key > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git 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-965/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh293662332692389096.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6825905502020746801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8804985180247326858.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE 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-965/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-965/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2692092559163221738.key > 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 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-147 in /w/workspace/dgexfoundry_device-sdk-go_PR-965 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-965 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/jenkins-gitclient-ssh6886618993861789811.key > 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 f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 902791f62f87f394a27844f89324d8f205f58021 Merge succeeded, producing 902791f62f87f394a27844f89324d8f205f58021 Checking out Revision 902791f62f87f394a27844f89324d8f205f58021 (PR-965) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/jenkins-gitclient-ssh888125260084037271.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/965/head:refs/remotes/origin/PR-965 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/jenkins-gitclient-ssh2851039098974583223.key > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T05:16:34.730Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T05:16:34.932Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T05:16:35.082Z] ========================================================= [2021-06-10T05:16:35.082Z] EdgeX Global Pipelines Version Info [2021-06-10T05:16:35.082Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:16:36.577Z] ------------------- [2021-06-10T05:16:36.577Z] stable info: [2021-06-10T05:16:36.577Z] ------------------- [2021-06-10T05:16:36.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T05:16:36.577Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T05:16:36.577Z] Message: update stable to v1.0.194 [2021-06-10T05:16:37.155Z] ------------------- [2021-06-10T05:16:37.155Z] experimental info: [2021-06-10T05:16:37.155Z] ------------------- [2021-06-10T05:16:37.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T05:16:37.155Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T05:16:37.155Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T05:16:37.433Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-10T05:16:37.495Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-10T05:16:37.560Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T05:16:37.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T05:16:37.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T05:16:37.745Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T05:16:37.821Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T05:16:37.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T05:16:37.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-10T05:16:38.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T05:16:38.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T05:16:38.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-10T05:16:38.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T05:16:38.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T05:16:38.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T05:16:38.455Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T05:16:38.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T05:16:38.573Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T05:16:38.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T05:16:38.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T05:16:38.780Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-10T05:16:38.857Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-10T05:16:38.924Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T05:16:38.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T05:16:39.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-10T05:16:39.109Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T05:16:39.180Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-965 [Pipeline] echo [2021-06-10T05:16:39.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-965 [Pipeline] echo [2021-06-10T05:16:39.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-965 [Pipeline] echo [2021-06-10T05:16:39.405Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902791f62f87f394a27844f89324d8f205f58021 [Pipeline] echo [2021-06-10T05:16:39.462Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902791f [Pipeline] echo [2021-06-10T05:16:39.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T05:16:39.680Z] provisioning config files... [2021-06-10T05:16:39.696Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/config284258442614912333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:16:40.069Z] ---> docker-login.sh [2021-06-10T05:16:40.070Z] nexus3.edgexfoundry.org:10001 [2021-06-10T05:16:40.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:16:40.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:16:40.332Z] Configure a credential helper to remove this warning. See [2021-06-10T05:16:40.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:16:40.332Z] [2021-06-10T05:16:40.332Z] Login Succeeded [2021-06-10T05:16:40.332Z] nexus3.edgexfoundry.org:10002 [2021-06-10T05:16:40.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:16:40.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:16:40.332Z] Configure a credential helper to remove this warning. See [2021-06-10T05:16:40.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:16:40.332Z] [2021-06-10T05:16:40.332Z] Login Succeeded [2021-06-10T05:16:40.332Z] nexus3.edgexfoundry.org:10003 [2021-06-10T05:16:40.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:16:40.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:16:40.594Z] Configure a credential helper to remove this warning. See [2021-06-10T05:16:40.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:16:40.594Z] [2021-06-10T05:16:40.594Z] Login Succeeded [2021-06-10T05:16:40.594Z] nexus3.edgexfoundry.org:10004 [2021-06-10T05:16:40.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:16:40.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:16:40.594Z] Configure a credential helper to remove this warning. See [2021-06-10T05:16:40.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:16:40.594Z] [2021-06-10T05:16:40.594Z] Login Succeeded [2021-06-10T05:16:40.594Z] docker.io [2021-06-10T05:16:40.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:16:41.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:16:41.124Z] Configure a credential helper to remove this warning. See [2021-06-10T05:16:41.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:16:41.124Z] [2021-06-10T05:16:41.124Z] Login Succeeded [2021-06-10T05:16:41.124Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T05:16:41.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T05:16:41.988Z] + git log --format=format:%s -1 902791f62f87f394a27844f89324d8f205f58021 [Pipeline] echo [2021-06-10T05:16:42.057Z] GIT_COMMIT: 902791f62f87f394a27844f89324d8f205f58021, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-10T05:16:42.094Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:16:42.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T05:16:42.703Z] [2021-06-10T05:16:42.703Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:16:43.064Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T05:16:43.064Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T05:16:43.064Z] 31603596830f: Pulling fs layer [2021-06-10T05:16:43.064Z] 54011a49482f: Pulling fs layer [2021-06-10T05:16:43.064Z] a6820b24f6d8: Pulling fs layer [2021-06-10T05:16:43.064Z] f581987b2513: Pulling fs layer [2021-06-10T05:16:43.064Z] f581987b2513: Waiting [2021-06-10T05:16:43.064Z] 54011a49482f: Verifying Checksum [2021-06-10T05:16:43.064Z] 54011a49482f: Download complete [2021-06-10T05:16:43.064Z] 31603596830f: Verifying Checksum [2021-06-10T05:16:43.064Z] 31603596830f: Download complete [2021-06-10T05:16:43.328Z] a6820b24f6d8: Verifying Checksum [2021-06-10T05:16:43.328Z] a6820b24f6d8: Download complete [2021-06-10T05:16:43.328Z] f581987b2513: Verifying Checksum [2021-06-10T05:16:43.328Z] f581987b2513: Download complete [2021-06-10T05:16:43.328Z] 31603596830f: Pull complete [2021-06-10T05:16:43.328Z] 54011a49482f: Pull complete [2021-06-10T05:16:44.284Z] a6820b24f6d8: Pull complete [2021-06-10T05:16:44.284Z] f581987b2513: Pull complete [2021-06-10T05:16:44.284Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T05:16:44.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T05:16:44.284Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T05:16:44.392Z] prd-centos7-docker-4c-2g-147 does not seem to be running inside a container [2021-06-10T05:16:44.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-965 -v /w/workspace/dgexfoundry_device-sdk-go_PR-965:/w/workspace/dgexfoundry_device-sdk-go_PR-965:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-965@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-10T05:16:45.736Z] $ docker top 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T05:16:45.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T05:16:45.953Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T05:16:46.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T05:16:46.069Z] $ docker exec 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 ssh-agent [2021-06-10T05:16:46.179Z] SSH_AUTH_SOCK=/tmp/ssh-1xYczxNOyTL3/agent.14 [2021-06-10T05:16:46.179Z] SSH_AGENT_PID=20 [2021-06-10T05:16:46.185Z] Running ssh-add (command line suppressed) [2021-06-10T05:16:46.284Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_7325689993859037910.key (/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_7325689993859037910.key) [2021-06-10T05:16:46.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T05:16:46.654Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T05:16:46.675Z] $ docker exec --env ******** --env ******** 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 ssh-agent -k [2021-06-10T05:16:46.769Z] unset SSH_AUTH_SOCK; [2021-06-10T05:16:46.769Z] unset SSH_AGENT_PID; [2021-06-10T05:16:46.769Z] echo Agent pid 20 killed; [2021-06-10T05:16:46.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T05:16:46.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T05:16:46.873Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T05:16:46.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T05:16:46.979Z] $ docker exec 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 ssh-agent [2021-06-10T05:16:47.090Z] SSH_AUTH_SOCK=/tmp/ssh-D8me7nO9nKfY/agent.54 [2021-06-10T05:16:47.090Z] SSH_AGENT_PID=61 [2021-06-10T05:16:47.097Z] Running ssh-add (command line suppressed) [2021-06-10T05:16:47.192Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_6554444887913633455.key (/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/private_key_6554444887913633455.key) [2021-06-10T05:16:47.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T05:16:47.560Z] + git semver init [2021-06-10T05:16:47.560Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T05:16:47.560Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-965/.git [2021-06-10T05:16:47.560Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-965 [2021-06-10T05:16:47.560Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T05:16:47.560Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T05:16:47.560Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T05:16:47.560Z] # $SEMVER_BRANCH = PR-965 [2021-06-10T05:16:47.560Z] # $SEMVER_TEMP = /tmp/semver-637326524 [2021-06-10T05:16:47.561Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-10T05:16:48.983Z] # '/tmp/semver-637326524' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-965/.semver' [2021-06-10T05:16:48.983Z] # -> Force: false [2021-06-10T05:16:48.983Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-965/.semver [Pipeline] } [2021-06-10T05:16:49.003Z] $ docker exec --env ******** --env ******** 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 ssh-agent -k [2021-06-10T05:16:49.102Z] unset SSH_AUTH_SOCK; [2021-06-10T05:16:49.102Z] unset SSH_AGENT_PID; [2021-06-10T05:16:49.102Z] echo Agent pid 61 killed; [2021-06-10T05:16:49.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T05:16:49.607Z] + git semver [Pipeline] } [2021-06-10T05:16:49.640Z] $ docker stop --time=1 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 [2021-06-10T05:16:50.917Z] $ docker rm -f 8eb6d635892448dd87a579084c6555f27ac2473c72a0611aabe537af7932baf3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T05:16:51.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T05:16:51.688Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T05:16:51.712Z] [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 [2021-06-10T05:16:52.548Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-143 in /w/workspace/dgexfoundry_device-sdk-go_PR-965 [Pipeline] { [Pipeline] ws [2021-06-10T05:16:52.606Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-10T05:16:52.862Z] Selected Git installation does not exist. Using Default [2021-06-10T05:16:52.862Z] The recommended git tool is: NONE [2021-06-10T05:16:57.668Z] using credential edgex-jenkins-ssh [2021-06-10T05:16:57.688Z] Cloning the remote Git repository [2021-06-10T05:16:57.729Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T05:16:57.836Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-10T05:16:57.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T05:16:57.933Z] > git --version # timeout=10 [2021-06-10T05:16:57.954Z] > git --version # 'git version 2.17.1' [2021-06-10T05:16:57.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T05:16:58.021Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T05:16:59.764Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 902791f62f87f394a27844f89324d8f205f58021 [2021-06-10T05:16:59.975Z] Merge succeeded, producing 902791f62f87f394a27844f89324d8f205f58021 [2021-06-10T05:16:59.976Z] Checking out Revision 902791f62f87f394a27844f89324d8f205f58021 (PR-965) [2021-06-10T05:16:59.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T05:16:59.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T05:16:59.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T05:16:59.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T05:16:59.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T05:16:59.233Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/965/head:refs/remotes/origin/PR-965 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T05:16:59.773Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T05:16:59.793Z] > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [2021-06-10T05:16:59.888Z] > git remote # timeout=10 [2021-06-10T05:16:59.909Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T05:16:59.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T05:16:59.932Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-10T05:16:59.952Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T05:16:59.972Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T05:16:59.981Z] > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [2021-06-10T05:17:04.236Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-10T05:17:04.279Z] > git --version # timeout=10 [2021-06-10T05:17:04.289Z] > git --version # 'git version 2.17.1' [2021-06-10T05:17:04.306Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T05:17:05.816Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T05:17:06.259Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T05:17:06.615Z] + + sudo service docker restart [2021-06-10T05:17:06.615Z] true [2021-06-10T05:17:07.329Z] Still waiting to schedule task [2021-06-10T05:17:07.330Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T05:17:25.195Z] provisioning config files... [2021-06-10T05:17:25.264Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4224726469418655437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:17:25.713Z] ---> docker-login.sh [2021-06-10T05:17:25.713Z] nexus3.edgexfoundry.org:10001 [2021-06-10T05:17:26.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:17:26.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:17:26.970Z] Configure a credential helper to remove this warning. See [2021-06-10T05:17:26.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:17:26.970Z] [2021-06-10T05:17:26.970Z] Login Succeeded [2021-06-10T05:17:26.970Z] nexus3.edgexfoundry.org:10002 [2021-06-10T05:17:27.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:17:27.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:17:27.520Z] Configure a credential helper to remove this warning. See [2021-06-10T05:17:27.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:17:27.520Z] [2021-06-10T05:17:27.520Z] Login Succeeded [2021-06-10T05:17:27.520Z] nexus3.edgexfoundry.org:10003 [2021-06-10T05:17:27.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:17:28.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:17:28.072Z] Configure a credential helper to remove this warning. See [2021-06-10T05:17:28.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:17:28.072Z] [2021-06-10T05:17:28.072Z] Login Succeeded [2021-06-10T05:17:28.072Z] nexus3.edgexfoundry.org:10004 [2021-06-10T05:17:28.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:17:28.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:17:28.623Z] Configure a credential helper to remove this warning. See [2021-06-10T05:17:28.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:17:28.623Z] [2021-06-10T05:17:28.623Z] Login Succeeded [2021-06-10T05:17:28.623Z] docker.io [2021-06-10T05:17:28.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:17:29.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:17:29.501Z] Configure a credential helper to remove this warning. See [2021-06-10T05:17:29.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:17:29.501Z] [2021-06-10T05:17:29.501Z] Login Succeeded [2021-06-10T05:17:29.501Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T05:17:29.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T05:17:30.186Z] ========================================================= [2021-06-10T05:17:30.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T05:17:30.186Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:17:30.602Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-10T05:17:31.221Z] Sending build context to Docker daemon 2.644MB [2021-06-10T05:17:31.221Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T05:17:31.221Z] Step 2/8 : FROM ${BASE} [2021-06-10T05:17:31.497Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T05:17:31.497Z] 595b0fe564bb: Pulling fs layer [2021-06-10T05:17:31.497Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T05:17:31.497Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T05:17:31.497Z] ba82ee9f976e: Pulling fs layer [2021-06-10T05:17:31.497Z] 506bd15cee9f: Pulling fs layer [2021-06-10T05:17:31.497Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T05:17:31.497Z] 618dc40b7e24: Pulling fs layer [2021-06-10T05:17:31.497Z] ba82ee9f976e: Waiting [2021-06-10T05:17:31.497Z] 506bd15cee9f: Waiting [2021-06-10T05:17:31.497Z] 75a0a4a0db45: Waiting [2021-06-10T05:17:31.497Z] 618dc40b7e24: Waiting [2021-06-10T05:17:31.497Z] 5b7225fbf94c: Verifying Checksum [2021-06-10T05:17:31.497Z] 5b7225fbf94c: Download complete [2021-06-10T05:17:31.497Z] 3088b5b3c5c0: Download complete [2021-06-10T05:17:31.497Z] 506bd15cee9f: Verifying Checksum [2021-06-10T05:17:31.497Z] 506bd15cee9f: Download complete [2021-06-10T05:17:31.497Z] 595b0fe564bb: Verifying Checksum [2021-06-10T05:17:31.497Z] 595b0fe564bb: Download complete [2021-06-10T05:17:31.497Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T05:17:31.497Z] 75a0a4a0db45: Download complete [2021-06-10T05:17:32.486Z] 595b0fe564bb: Pull complete [2021-06-10T05:17:32.767Z] 3088b5b3c5c0: Pull complete [2021-06-10T05:17:33.371Z] 5b7225fbf94c: Pull complete [2021-06-10T05:17:33.970Z] 618dc40b7e24: Verifying Checksum [2021-06-10T05:17:33.970Z] 618dc40b7e24: Download complete [2021-06-10T05:17:35.410Z] ba82ee9f976e: Verifying Checksum [2021-06-10T05:17:45.573Z] ba82ee9f976e: Pull complete [2021-06-10T05:17:45.573Z] 506bd15cee9f: Pull complete [2021-06-10T05:17:45.847Z] 75a0a4a0db45: Pull complete [2021-06-10T05:17:49.268Z] 618dc40b7e24: Pull complete [2021-06-10T05:17:49.545Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T05:17:49.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T05:17:49.545Z] ---> a36622ca3599 [2021-06-10T05:17:49.545Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T05:17:51.525Z] ---> Running in 41edd155ff87 [2021-06-10T05:17:52.122Z] Removing intermediate container 41edd155ff87 [2021-06-10T05:17:52.122Z] ---> 13be77e193c4 [2021-06-10T05:17:52.122Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T05:17:52.396Z] ---> Running in a73c82284ada [2021-06-10T05:17:54.371Z] Removing intermediate container a73c82284ada [2021-06-10T05:17:54.371Z] ---> 6b1917d21f86 [2021-06-10T05:17:54.371Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T05:17:54.649Z] ---> Running in 17aa31449129 [2021-06-10T05:17:57.271Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T05:17:58.239Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T05:17:59.216Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T05:17:59.216Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T05:17:59.216Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T05:17:59.216Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T05:17:59.485Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T05:17:59.485Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T05:17:59.757Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T05:17:59.757Z] OK: 139 MiB in 46 packages [2021-06-10T05:18:00.738Z] Removing intermediate container 17aa31449129 [2021-06-10T05:18:00.738Z] ---> 7dd6b387b9e6 [2021-06-10T05:18:00.738Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T05:18:01.013Z] ---> Running in f21f5dba3644 [2021-06-10T05:18:01.610Z] Removing intermediate container f21f5dba3644 [2021-06-10T05:18:01.610Z] ---> 2a5d3bec13fa [2021-06-10T05:18:01.610Z] Step 7/8 : COPY . . [2021-06-10T05:18:03.055Z] ---> 1bc8de0592ba [2021-06-10T05:18:03.055Z] Step 8/8 : RUN go mod download [2021-06-10T05:18:03.055Z] ---> Running in 37b540e4d695 [2021-06-10T05:18:29.921Z] Removing intermediate container 37b540e4d695 [2021-06-10T05:18:29.921Z] ---> 6ab9bd5bf1c1 [2021-06-10T05:18:29.921Z] Successfully built 6ab9bd5bf1c1 [2021-06-10T05:18:29.921Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:18:30.297Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T05:18:30.297Z] . [Pipeline] withDockerContainer [2021-06-10T05:18:30.583Z] prd-ubuntu18.04-docker-arm64-4c-16g-143 does not seem to be running inside a container [2021-06-10T05:18:30.653Z] $ 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 [2021-06-10T05:18:32.321Z] $ docker top 257f95fd3e5cb1089837e5d554f86553c3f7fb374863e96d42571754ab4b866e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T05:18:33.379Z] + go version [2021-06-10T05:18:33.379Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T05:18:33.408Z] $ docker stop --time=1 257f95fd3e5cb1089837e5d554f86553c3f7fb374863e96d42571754ab4b866e [2021-06-10T05:18:35.275Z] $ docker rm -f 257f95fd3e5cb1089837e5d554f86553c3f7fb374863e96d42571754ab4b866e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:18:36.305Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T05:18:36.305Z] . [Pipeline] withDockerContainer [2021-06-10T05:18:36.588Z] prd-ubuntu18.04-docker-arm64-4c-16g-143 does not seem to be running inside a container [2021-06-10T05:18:36.663Z] $ 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 [2021-06-10T05:18:38.298Z] $ docker top e2251366f96f20b09eede30632d37bab218436f4579f94923badf59213938784 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T05:18:39.351Z] + go mod tidy [2021-06-10T05:18:39.958Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T05:18:39.958Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T05:18:39.958Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T05:18:39.958Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T05:18:43.333Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-10T05:18:44.306Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T05:18:44.306Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T05:18:44.306Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T05:18:44.306Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T05:18:45.285Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-10T05:18:46.264Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-10T05:18:46.312Z] $ docker stop --time=1 e2251366f96f20b09eede30632d37bab218436f4579f94923badf59213938784 [2021-06-10T05:18:49.243Z] $ docker rm -f e2251366f96f20b09eede30632d37bab218436f4579f94923badf59213938784 [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 [2021-06-10T05:18:50.861Z] ---> job-cost.sh [2021-06-10T05:18:50.861Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qxhT [2021-06-10T05:19:29.830Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T05:19:36.512Z] Running on prd-centos7-docker-4c-2g-149 in /w/workspace/dgexfoundry_device-sdk-go_PR-965 [Pipeline] { [Pipeline] ws [2021-06-10T05:19:36.577Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-10T05:19:36.736Z] Selected Git installation does not exist. Using Default [2021-06-10T05:19:36.736Z] The recommended git tool is: NONE [2021-06-10T05:19:39.168Z] using credential edgex-jenkins-ssh [2021-06-10T05:19:39.202Z] Cloning the remote Git repository [2021-06-10T05:19:39.258Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T05:19:39.327Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-10T05:19:39.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T05:19:39.351Z] > git --version # timeout=10 [2021-06-10T05:19:39.358Z] > git --version # 'git version 2.24.4' [2021-06-10T05:19:39.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T05:19:39.383Z] [INFO] Currently running in a labeled security context [2021-06-10T05:19:39.383Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T05:19:39.383Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2294777348508769336.key [2021-06-10T05:19:39.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T05:19:40.750Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 902791f62f87f394a27844f89324d8f205f58021 [2021-06-10T05:19:40.837Z] Merge succeeded, producing 902791f62f87f394a27844f89324d8f205f58021 [2021-06-10T05:19:40.838Z] Checking out Revision 902791f62f87f394a27844f89324d8f205f58021 (PR-965) [2021-06-10T05:19:40.273Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T05:19:40.287Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T05:19:40.301Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T05:19:40.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T05:19:40.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T05:19:40.315Z] [INFO] Currently running in a labeled security context [2021-06-10T05:19:40.315Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T05:19:40.315Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh799977531669245900.key [2021-06-10T05:19:40.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/965/head:refs/remotes/origin/PR-965 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T05:19:40.754Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T05:19:40.765Z] > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [2021-06-10T05:19:40.806Z] > git remote # timeout=10 [2021-06-10T05:19:40.812Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T05:19:40.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T05:19:40.817Z] [INFO] Currently running in a labeled security context [2021-06-10T05:19:40.817Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T05:19:40.817Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2097347890696263566.key [2021-06-10T05:19:40.822Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-10T05:19:40.829Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T05:19:40.836Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T05:19:40.845Z] > git checkout -f 902791f62f87f394a27844f89324d8f205f58021 # timeout=10 [2021-06-10T05:19:44.492Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-10T05:19:44.547Z] > git --version # timeout=10 [2021-06-10T05:19:44.556Z] > git --version # 'git version 2.24.4' [2021-06-10T05:19:44.562Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T05:19:44.855Z] [2021-06-10T05:19:44.855Z] GitHub has been notified of this commit’s build result [2021-06-10T05:19:44.855Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T05:19:45.786Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T05:19:46.135Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T05:19:46.470Z] + sudo service docker restart [2021-06-10T05:19:46.470Z] + true [2021-06-10T05:19:46.470Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T05:20:04.818Z] provisioning config files... [2021-06-10T05:20:04.847Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2700147654402337734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:20:05.236Z] ---> docker-login.sh [2021-06-10T05:20:05.236Z] nexus3.edgexfoundry.org:10001 [2021-06-10T05:20:05.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:20:05.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:20:05.504Z] Configure a credential helper to remove this warning. See [2021-06-10T05:20:05.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:20:05.504Z] [2021-06-10T05:20:05.504Z] Login Succeeded [2021-06-10T05:20:05.504Z] nexus3.edgexfoundry.org:10002 [2021-06-10T05:20:05.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:20:05.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:20:05.504Z] Configure a credential helper to remove this warning. See [2021-06-10T05:20:05.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:20:05.504Z] [2021-06-10T05:20:05.504Z] Login Succeeded [2021-06-10T05:20:05.504Z] nexus3.edgexfoundry.org:10003 [2021-06-10T05:20:05.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:20:05.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:20:05.765Z] Configure a credential helper to remove this warning. See [2021-06-10T05:20:05.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:20:05.765Z] [2021-06-10T05:20:05.765Z] Login Succeeded [2021-06-10T05:20:05.765Z] nexus3.edgexfoundry.org:10004 [2021-06-10T05:20:05.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:20:05.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:20:05.765Z] Configure a credential helper to remove this warning. See [2021-06-10T05:20:05.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:20:05.765Z] [2021-06-10T05:20:05.765Z] Login Succeeded [2021-06-10T05:20:05.765Z] docker.io [2021-06-10T05:20:06.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T05:20:06.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T05:20:06.288Z] Configure a credential helper to remove this warning. See [2021-06-10T05:20:06.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T05:20:06.288Z] [2021-06-10T05:20:06.288Z] Login Succeeded [2021-06-10T05:20:06.288Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T05:20:06.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T05:20:06.616Z] ========================================================= [2021-06-10T05:20:06.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T05:20:06.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:20:06.973Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-10T05:20:06.973Z] Sending build context to Docker daemon 2.651MB [2021-06-10T05:20:06.973Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T05:20:06.973Z] Step 2/8 : FROM ${BASE} [2021-06-10T05:20:06.973Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T05:20:06.973Z] 540db60ca938: Pulling fs layer [2021-06-10T05:20:06.973Z] adcc1eea9eea: Pulling fs layer [2021-06-10T05:20:06.973Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T05:20:06.973Z] 0510c868ecb4: Pulling fs layer [2021-06-10T05:20:06.973Z] afea3b2eda06: Pulling fs layer [2021-06-10T05:20:06.973Z] 7809a108b3ef: Pulling fs layer [2021-06-10T05:20:06.973Z] f706445af74f: Pulling fs layer [2021-06-10T05:20:06.973Z] 0510c868ecb4: Waiting [2021-06-10T05:20:06.973Z] afea3b2eda06: Waiting [2021-06-10T05:20:06.973Z] 7809a108b3ef: Waiting [2021-06-10T05:20:06.973Z] f706445af74f: Waiting [2021-06-10T05:20:07.241Z] 4c4ab2625f07: Verifying Checksum [2021-06-10T05:20:07.241Z] 4c4ab2625f07: Download complete [2021-06-10T05:20:07.241Z] adcc1eea9eea: Verifying Checksum [2021-06-10T05:20:07.241Z] adcc1eea9eea: Download complete [2021-06-10T05:20:07.241Z] afea3b2eda06: Verifying Checksum [2021-06-10T05:20:07.241Z] afea3b2eda06: Download complete [2021-06-10T05:20:07.241Z] 7809a108b3ef: Verifying Checksum [2021-06-10T05:20:07.241Z] 7809a108b3ef: Download complete [2021-06-10T05:20:07.241Z] 540db60ca938: Verifying Checksum [2021-06-10T05:20:07.241Z] 540db60ca938: Download complete [2021-06-10T05:20:07.241Z] 540db60ca938: Pull complete [2021-06-10T05:20:07.502Z] adcc1eea9eea: Pull complete [2021-06-10T05:20:07.502Z] 4c4ab2625f07: Pull complete [2021-06-10T05:20:09.417Z] f706445af74f: Verifying Checksum [2021-06-10T05:20:09.417Z] f706445af74f: Download complete [2021-06-10T05:20:09.679Z] 0510c868ecb4: Verifying Checksum [2021-06-10T05:20:09.679Z] 0510c868ecb4: Download complete [2021-06-10T05:20:13.017Z] 0510c868ecb4: Pull complete [2021-06-10T05:20:13.017Z] afea3b2eda06: Pull complete [2021-06-10T05:20:13.017Z] 7809a108b3ef: Pull complete [2021-06-10T05:20:14.424Z] f706445af74f: Pull complete [2021-06-10T05:20:14.424Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T05:20:14.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T05:20:14.424Z] ---> b068be0155e3 [2021-06-10T05:20:14.424Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T05:20:19.737Z] ---> Running in 8489273b1bdc [2021-06-10T05:20:19.737Z] Removing intermediate container 8489273b1bdc [2021-06-10T05:20:19.737Z] ---> 86f21b61695c [2021-06-10T05:20:19.737Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T05:20:19.737Z] ---> Running in 95f5d2780b5d [2021-06-10T05:20:20.319Z] Removing intermediate container 95f5d2780b5d [2021-06-10T05:20:20.319Z] ---> 3fc98f2c0fe9 [2021-06-10T05:20:20.319Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T05:20:20.579Z] ---> Running in 205ea480c20a [2021-06-10T05:20:20.840Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T05:20:21.788Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T05:20:22.051Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T05:20:22.051Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T05:20:22.312Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T05:20:22.312Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T05:20:22.312Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T05:20:22.575Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T05:20:22.575Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T05:20:22.575Z] OK: 150 MiB in 46 packages [2021-06-10T05:20:22.838Z] Removing intermediate container 205ea480c20a [2021-06-10T05:20:22.838Z] ---> ee8b5fb1f5a7 [2021-06-10T05:20:22.838Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T05:20:22.838Z] ---> Running in 781e67e5fff5 [2021-06-10T05:20:23.104Z] Removing intermediate container 781e67e5fff5 [2021-06-10T05:20:23.104Z] ---> 2054a602af9d [2021-06-10T05:20:23.104Z] Step 7/8 : COPY . . [2021-06-10T05:20:23.371Z] ---> a05f874e3df9 [2021-06-10T05:20:23.371Z] Step 8/8 : RUN go mod download [2021-06-10T05:20:23.371Z] ---> Running in 9d2be12b0d56 [2021-06-10T05:20:35.621Z] Removing intermediate container 9d2be12b0d56 [2021-06-10T05:20:35.621Z] ---> c2683a6e9064 [2021-06-10T05:20:35.621Z] Successfully built c2683a6e9064 [2021-06-10T05:20:35.621Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:20:35.981Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T05:20:35.981Z] . [Pipeline] withDockerContainer [2021-06-10T05:20:36.085Z] prd-centos7-docker-4c-2g-149 does not seem to be running inside a container [2021-06-10T05:20:36.119Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-10T05:20:36.500Z] $ docker top 74a38829a648813d28e3c9bf68ed482ac3dfa7849d4af17844c89d9b5d95bcc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T05:20:36.947Z] + go version [2021-06-10T05:20:36.947Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T05:20:36.974Z] $ docker stop --time=1 74a38829a648813d28e3c9bf68ed482ac3dfa7849d4af17844c89d9b5d95bcc5 [2021-06-10T05:20:38.185Z] $ docker rm -f 74a38829a648813d28e3c9bf68ed482ac3dfa7849d4af17844c89d9b5d95bcc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:20:38.992Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T05:20:38.992Z] . [Pipeline] withDockerContainer [2021-06-10T05:20:39.095Z] prd-centos7-docker-4c-2g-149 does not seem to be running inside a container [2021-06-10T05:20:39.340Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-10T05:20:39.750Z] $ docker top d25c3f3ec22e713c848f0ae21ba4f48047db3472c5b35f602ad1e2f2a273b1e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T05:20:40.231Z] + go mod tidy [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T05:20:40.494Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T05:20:40.494Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T05:20:40.756Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/device-sdk-go/v2/example/driver imports [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application imports [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-10T05:20:40.756Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-10T05:20:40.757Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-10T05:20:40.804Z] $ docker stop --time=1 d25c3f3ec22e713c848f0ae21ba4f48047db3472c5b35f602ad1e2f2a273b1e1 [2021-06-10T05:20:42.037Z] $ docker rm -f d25c3f3ec22e713c848f0ae21ba4f48047db3472c5b35f602ad1e2f2a273b1e1 [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 [2021-06-10T05:20:43.493Z] ---> job-cost.sh [2021-06-10T05:20:43.494Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-g5pN [2021-06-10T05:20:51.612Z] lf-activate-venv(): INFO: Adding /tmp/venv-qxhT/bin to PATH [2021-06-10T05:20:51.612Z] INFO: No Stack... [2021-06-10T05:20:51.612Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T05:20:51.612Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T05:20:51.977Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-10T05:20:51.977Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T05:20:52.090Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] [2021-06-10T05:20:52.097Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] did not exist. Created. [2021-06-10T05:20:52.097Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T05:20:52.602Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T05:20:53.480Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T05:20:53.502Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] [2021-06-10T05:20:53.521Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T05:20:54.173Z] Failed in branch arm64 [2021-06-10T05:21:05.850Z] lf-activate-venv(): INFO: Adding /tmp/venv-g5pN/bin to PATH [2021-06-10T05:21:05.850Z] INFO: No Stack... [2021-06-10T05:21:06.426Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T05:21:07.000Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T05:21:07.342Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-10T05:21:07.342Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T05:21:07.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] [2021-06-10T05:21:07.418Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] did not exist. Created. [2021-06-10T05:21:07.418Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T05:21:07.843Z] /w/workspace/device-sdk-go/1@tmp/durable-6b4f5aac/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-06-10T05:21:08.185Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T05:21:08.230Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T05:21:08.462Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T05:21:08.499Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-965-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T05:21:09.158Z] Failed in branch amd64 [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 [2021-06-10T05:21:12.512Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:21:13.130Z] ---> package-listing.sh [2021-06-10T05:21:13.130Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T05:21:13.130Z] ++ facter osfamily [2021-06-10T05:21:13.395Z] + OS_FAMILY=redhat [2021-06-10T05:21:13.395Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-965 [2021-06-10T05:21:13.395Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T05:21:13.395Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T05:21:13.395Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T05:21:13.395Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T05:21:13.395Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-965 ']' [2021-06-10T05:21:13.395Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T05:21:13.395Z] + case "${OS_FAMILY}" in [2021-06-10T05:21:13.396Z] + rpm -qa [2021-06-10T05:21:13.396Z] + sort [2021-06-10T05:21:13.969Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T05:21:13.969Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T05:21:13.969Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T05:21:13.969Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-965 ']' [2021-06-10T05:21:13.969Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-965/archives/ [2021-06-10T05:21:13.969Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-965/archives/ [Pipeline] echo [2021-06-10T05:21:14.021Z] 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-965/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-10T05:21:14.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:21:14.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T05:21:14.937Z] [2021-06-10T05:21:14.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T05:21:15.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T05:21:15.304Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T05:21:15.304Z] df20fa9351a1: Pulling fs layer [2021-06-10T05:21:15.304Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T05:21:15.304Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T05:21:15.304Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T05:21:15.304Z] 93b61091891f: Pulling fs layer [2021-06-10T05:21:15.304Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T05:21:15.304Z] 5e14af77c1be: Pulling fs layer [2021-06-10T05:21:15.304Z] 01666e4c0597: Pulling fs layer [2021-06-10T05:21:15.304Z] aa168da1d23b: Pulling fs layer [2021-06-10T05:21:15.304Z] 46f8f816bc3b: Waiting [2021-06-10T05:21:15.304Z] 93b61091891f: Waiting [2021-06-10T05:21:15.304Z] 93b9cdb0e59b: Waiting [2021-06-10T05:21:15.304Z] 5e14af77c1be: Waiting [2021-06-10T05:21:15.304Z] 01666e4c0597: Waiting [2021-06-10T05:21:15.304Z] aa168da1d23b: Waiting [2021-06-10T05:21:15.304Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T05:21:15.304Z] 36b3adc4ff6f: Download complete [2021-06-10T05:21:15.304Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T05:21:15.304Z] 46f8f816bc3b: Download complete [2021-06-10T05:21:15.304Z] df20fa9351a1: Verifying Checksum [2021-06-10T05:21:15.304Z] df20fa9351a1: Download complete [2021-06-10T05:21:15.304Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T05:21:15.304Z] 93b9cdb0e59b: Download complete [2021-06-10T05:21:15.567Z] 5e14af77c1be: Verifying Checksum [2021-06-10T05:21:15.567Z] 5e14af77c1be: Download complete [2021-06-10T05:21:15.567Z] 01666e4c0597: Verifying Checksum [2021-06-10T05:21:15.567Z] 01666e4c0597: Download complete [2021-06-10T05:21:15.567Z] 93b61091891f: Verifying Checksum [2021-06-10T05:21:15.567Z] 93b61091891f: Download complete [2021-06-10T05:21:15.567Z] df20fa9351a1: Pull complete [2021-06-10T05:21:15.567Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T05:21:15.567Z] 8ad3a11d3b57: Download complete [2021-06-10T05:21:15.837Z] 36b3adc4ff6f: Pull complete [2021-06-10T05:21:16.109Z] 8ad3a11d3b57: Pull complete [2021-06-10T05:21:16.370Z] 46f8f816bc3b: Pull complete [2021-06-10T05:21:16.631Z] 93b61091891f: Pull complete [2021-06-10T05:21:16.631Z] 93b9cdb0e59b: Pull complete [2021-06-10T05:21:16.631Z] 5e14af77c1be: Pull complete [2021-06-10T05:21:16.894Z] 01666e4c0597: Pull complete [2021-06-10T05:21:17.841Z] aa168da1d23b: Verifying Checksum [2021-06-10T05:21:17.841Z] aa168da1d23b: Download complete [2021-06-10T05:21:22.071Z] aa168da1d23b: Pull complete [2021-06-10T05:21:22.071Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T05:21:22.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T05:21:22.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T05:21:22.170Z] prd-centos7-docker-4c-2g-147 does not seem to be running inside a container [2021-06-10T05:21:22.210Z] $ 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-965/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-965 -v /w/workspace/dgexfoundry_device-sdk-go_PR-965:/w/workspace/dgexfoundry_device-sdk-go_PR-965:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-965@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-10T05:21:24.947Z] $ docker top e6c222d0421a87ecfe5cdbc956041de944988d5d33e13c18360083748681e3f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T05:21:25.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T05:21:25.738Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T05:21:26.064Z] + ls /var/log/sa-host [2021-06-10T05:21:26.064Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T05:21:26.064Z] file_magic: OK [2021-06-10T05:21:26.064Z] HZ: Using current value: 100 [2021-06-10T05:21:26.064Z] file_header: OK [2021-06-10T05:21:26.064Z] 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 [2021-06-10T05:21:26.064Z] Statistics: [2021-06-10T05:21:26.064Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T05:21:26.064Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T05:21:26.064Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T05:21:26.064Z] file_magic: OK [2021-06-10T05:21:26.064Z] HZ: Using current value: 100 [2021-06-10T05:21:26.064Z] file_header: OK [2021-06-10T05:21:26.064Z] 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 [2021-06-10T05:21:26.064Z] Statistics: [2021-06-10T05:21:26.064Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T05:21:26.064Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T05:21:26.777Z] provisioning config files... [2021-06-10T05:21:26.791Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-965@tmp/config8793014630109211130tmp [Pipeline] { [Pipeline] echo [2021-06-10T05:21:26.889Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:21:27.287Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T05:21:27.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:21:27.878Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T05:21:27.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:21:28.355Z] ---> sudo-logs.sh [2021-06-10T05:21:28.356Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T05:21:28.475Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:21:28.851Z] ---> job-cost.sh [2021-06-10T05:21:28.851Z] lf-activate-venv: SKIPPING [2021-06-10T05:21:28.851Z] DEBUG: total: 0.05999999865889549 [2021-06-10T05:21:28.851Z] INFO: Retrieving Stack Cost... [2021-06-10T05:21:29.424Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T05:21:30.003Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T05:21:30.068Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T05:21:30.435Z] ---> logs-deploy.sh [2021-06-10T05:21:30.435Z] lf-activate-venv: SKIPPING [2021-06-10T05:21:30.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-965/1 [2021-06-10T05:21:30.435Z] INFO: archiving workspace using pattern(s): [2021-06-10T05:21:31.405Z] Archives upload complete. [2021-06-10T05:21:31.405Z] INFO: archiving logs to Nexus