Pull request #981 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd+c561a9a459db1ea872112ec1cdd177ce5971df20 (7f3902bec8ac44fabfb8661c07ad82a4334f291e) 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-ssh3703463064988048654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh3032534848944690889.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 6a41506d72e8e131afc862d141935157bee59f41 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-981/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-981/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1380582447069296563.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-981/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2345813836380207960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh8497777927573662966.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-981/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-981/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6001091922717544354.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 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 6a41506d72e8e131afc862d141935157bee59f41 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-1066 in /w/workspace/dgexfoundry_device-sdk-go_PR-981 [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-981 # 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-981@tmp/jenkins-gitclient-ssh9170514590180036025.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 c561a9a459db1ea872112ec1cdd177ce5971df20 into PR head commit bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd Merge succeeded, producing bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd Checking out Revision bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd (PR-981) > 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-981@tmp/jenkins-gitclient-ssh8415594925748773215.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/981/head:refs/remotes/origin/PR-981 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd # 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-981@tmp/jenkins-gitclient-ssh7217178903459350199.key > git merge c561a9a459db1ea872112ec1cdd177ce5971df20 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T04:06:48.042Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T04:06:48.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T04:06:48.415Z] ========================================================= [2021-06-24T04:06:48.415Z] EdgeX Global Pipelines Version Info [2021-06-24T04:06:48.415Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:06:49.991Z] ------------------- [2021-06-24T04:06:49.991Z] stable info: [2021-06-24T04:06:49.991Z] ------------------- [2021-06-24T04:06:49.991Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T04:06:49.991Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T04:06:49.991Z] Message: update stable to v1.0.195 [2021-06-24T04:06:50.566Z] ------------------- [2021-06-24T04:06:50.566Z] experimental info: [2021-06-24T04:06:50.566Z] ------------------- [2021-06-24T04:06:50.566Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T04:06:50.566Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T04:06:50.566Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T04:06:50.810Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-24T04:06:50.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-24T04:06:50.919Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T04:06:50.977Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T04:06:51.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T04:06:51.085Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T04:06:51.143Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T04:06:51.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T04:06:51.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-24T04:06:51.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T04:06:51.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T04:06:51.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-24T04:06:51.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T04:06:51.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T04:06:51.615Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T04:06:51.680Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T04:06:51.742Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T04:06:51.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T04:06:51.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T04:06:51.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T04:06:51.984Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T04:06:52.046Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-24T04:06:52.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T04:06:52.167Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T04:06:52.226Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T04:06:52.288Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T04:06:52.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-981 [Pipeline] echo [2021-06-24T04:06:52.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-981 [Pipeline] echo [2021-06-24T04:06:52.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-981 [Pipeline] echo [2021-06-24T04:06:52.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [Pipeline] echo [2021-06-24T04:06:52.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf79818 [Pipeline] echo [2021-06-24T04:06:52.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T04:06:52.836Z] provisioning config files... [2021-06-24T04:06:52.855Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp/config555863861688247877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:06:53.249Z] ---> docker-login.sh [2021-06-24T04:06:53.249Z] nexus3.edgexfoundry.org:10001 [2021-06-24T04:06:53.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:06:53.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:06:53.831Z] Configure a credential helper to remove this warning. See [2021-06-24T04:06:53.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:06:53.831Z] [2021-06-24T04:06:53.831Z] Login Succeeded [2021-06-24T04:06:53.831Z] nexus3.edgexfoundry.org:10002 [2021-06-24T04:06:53.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:06:53.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:06:53.831Z] Configure a credential helper to remove this warning. See [2021-06-24T04:06:53.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:06:53.831Z] [2021-06-24T04:06:53.831Z] Login Succeeded [2021-06-24T04:06:53.831Z] nexus3.edgexfoundry.org:10003 [2021-06-24T04:06:54.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:06:54.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:06:54.095Z] Configure a credential helper to remove this warning. See [2021-06-24T04:06:54.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:06:54.095Z] [2021-06-24T04:06:54.095Z] Login Succeeded [2021-06-24T04:06:54.095Z] nexus3.edgexfoundry.org:10004 [2021-06-24T04:06:54.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:06:54.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:06:54.359Z] Configure a credential helper to remove this warning. See [2021-06-24T04:06:54.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:06:54.359Z] [2021-06-24T04:06:54.359Z] Login Succeeded [2021-06-24T04:06:54.359Z] docker.io [2021-06-24T04:06:54.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:06:54.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:06:54.622Z] Configure a credential helper to remove this warning. See [2021-06-24T04:06:54.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:06:54.622Z] [2021-06-24T04:06:54.622Z] Login Succeeded [2021-06-24T04:06:54.622Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T04:06:54.650Z] 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-24T04:06:55.472Z] + git log --format=format:%s -1 bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [Pipeline] echo [2021-06-24T04:06:55.536Z] GIT_COMMIT: bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-06-24T04:06:55.577Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:06:56.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T04:06:56.653Z] [2021-06-24T04:06:56.653Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:06:57.014Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T04:06:57.015Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T04:06:57.015Z] 31603596830f: Pulling fs layer [2021-06-24T04:06:57.015Z] 54011a49482f: Pulling fs layer [2021-06-24T04:06:57.015Z] a6820b24f6d8: Pulling fs layer [2021-06-24T04:06:57.015Z] f581987b2513: Pulling fs layer [2021-06-24T04:06:57.015Z] f581987b2513: Waiting [2021-06-24T04:06:57.015Z] 54011a49482f: Verifying Checksum [2021-06-24T04:06:57.015Z] 54011a49482f: Download complete [2021-06-24T04:06:57.015Z] 31603596830f: Verifying Checksum [2021-06-24T04:06:57.015Z] 31603596830f: Download complete [2021-06-24T04:06:57.278Z] f581987b2513: Verifying Checksum [2021-06-24T04:06:57.278Z] f581987b2513: Download complete [2021-06-24T04:06:57.278Z] a6820b24f6d8: Verifying Checksum [2021-06-24T04:06:57.278Z] a6820b24f6d8: Download complete [2021-06-24T04:06:57.278Z] 31603596830f: Pull complete [2021-06-24T04:06:57.555Z] 54011a49482f: Pull complete [2021-06-24T04:06:58.136Z] a6820b24f6d8: Pull complete [2021-06-24T04:06:58.136Z] f581987b2513: Pull complete [2021-06-24T04:06:58.136Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T04:06:58.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T04:06:58.136Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T04:06:58.268Z] prd-centos7-docker-4c-2g-1066 does not seem to be running inside a container [2021-06-24T04:06:58.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-981 -v /w/workspace/dgexfoundry_device-sdk-go_PR-981:/w/workspace/dgexfoundry_device-sdk-go_PR-981:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-981@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-24T04:06:59.508Z] $ docker top ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T04:06:59.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T04:06:59.741Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T04:06:59.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T04:06:59.875Z] $ docker exec ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 ssh-agent [2021-06-24T04:07:00.006Z] SSH_AUTH_SOCK=/tmp/ssh-I6GTk73U8WAT/agent.13 [2021-06-24T04:07:00.006Z] SSH_AGENT_PID=19 [2021-06-24T04:07:00.020Z] Running ssh-add (command line suppressed) [2021-06-24T04:07:00.128Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp/private_key_3995481532689889556.key (/w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp/private_key_3995481532689889556.key) [2021-06-24T04:07:00.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T04:07:00.501Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T04:07:00.520Z] $ docker exec --env ******** --env ******** ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 ssh-agent -k [2021-06-24T04:07:00.631Z] unset SSH_AUTH_SOCK; [2021-06-24T04:07:00.632Z] unset SSH_AGENT_PID; [2021-06-24T04:07:00.632Z] echo Agent pid 19 killed; [2021-06-24T04:07:00.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T04:07:00.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T04:07:00.747Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T04:07:00.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T04:07:00.877Z] $ docker exec ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 ssh-agent [2021-06-24T04:07:00.994Z] SSH_AUTH_SOCK=/tmp/ssh-IK1kJOw1KsWN/agent.53 [2021-06-24T04:07:00.994Z] SSH_AGENT_PID=59 [2021-06-24T04:07:01.001Z] Running ssh-add (command line suppressed) [2021-06-24T04:07:01.101Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp/private_key_8263533534714235631.key (/w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp/private_key_8263533534714235631.key) [2021-06-24T04:07:01.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T04:07:01.483Z] + git semver init [2021-06-24T04:07:01.483Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T04:07:01.483Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-981/.git [2021-06-24T04:07:01.483Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-981 [2021-06-24T04:07:01.483Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T04:07:01.483Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T04:07:01.483Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T04:07:01.483Z] # $SEMVER_BRANCH = PR-981 [2021-06-24T04:07:01.483Z] # $SEMVER_TEMP = /tmp/semver-289836163 [2021-06-24T04:07:01.483Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-24T04:07:02.469Z] # '/tmp/semver-289836163' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-981/.semver' [2021-06-24T04:07:02.469Z] # -> Force: false [2021-06-24T04:07:02.469Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-981/.semver [Pipeline] } [2021-06-24T04:07:02.487Z] $ docker exec --env ******** --env ******** ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 ssh-agent -k [2021-06-24T04:07:02.621Z] unset SSH_AUTH_SOCK; [2021-06-24T04:07:02.621Z] unset SSH_AGENT_PID; [2021-06-24T04:07:02.621Z] echo Agent pid 59 killed; [2021-06-24T04:07:02.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T04:07:03.087Z] + git semver [Pipeline] } [2021-06-24T04:07:03.122Z] $ docker stop --time=1 ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 [2021-06-24T04:07:04.395Z] $ docker rm -f ff7c2138d2834e9df02c738d323fb99f9e8fabfc6d0094bcda9a4ae473093657 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T04:07:04.839Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T04:07:05.226Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T04:07:05.249Z] [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-24T04:07:20.813Z] Still waiting to schedule task [2021-06-24T04:07:20.813Z] ‘prd-centos7-builder-2c-1g-1065’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-24T04:07:20.813Z] ‘prd-centos7-docker-4c-2g-1067’ is offline [2021-06-24T04:07:20.813Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-24T04:07:20.843Z] Still waiting to schedule task [2021-06-24T04:07:20.843Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-24T04:08:41.881Z] Running on prd-centos7-docker-4c-2g-1070 in /w/workspace/dgexfoundry_device-sdk-go_PR-981 [Pipeline] { [Pipeline] ws [2021-06-24T04:08:41.949Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-24T04:08:42.101Z] Selected Git installation does not exist. Using Default [2021-06-24T04:08:42.101Z] The recommended git tool is: NONE [2021-06-24T04:08:44.452Z] using credential edgex-jenkins-ssh [2021-06-24T04:08:44.480Z] Cloning the remote Git repository [2021-06-24T04:08:44.245Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T04:08:44.314Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-24T04:08:44.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T04:08:44.346Z] > git --version # timeout=10 [2021-06-24T04:08:44.365Z] > git --version # 'git version 2.24.4' [2021-06-24T04:08:44.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T04:08:44.388Z] [INFO] Currently running in a labeled security context [2021-06-24T04:08:44.389Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T04:08:44.389Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8651538286099565324.key [2021-06-24T04:08:44.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T04:08:45.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T04:08:45.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T04:08:45.833Z] Merging remotes/origin/master commit c561a9a459db1ea872112ec1cdd177ce5971df20 into PR head commit bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [2021-06-24T04:08:45.928Z] Merge succeeded, producing bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [2021-06-24T04:08:45.928Z] Checking out Revision bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd (PR-981) [2021-06-24T04:08:45.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T04:08:45.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T04:08:45.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T04:08:45.206Z] [INFO] Currently running in a labeled security context [2021-06-24T04:08:45.206Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T04:08:45.207Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1870438803018628092.key [2021-06-24T04:08:45.220Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/981/head:refs/remotes/origin/PR-981 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T04:08:45.701Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T04:08:45.710Z] > git checkout -f bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd # timeout=10 [2021-06-24T04:08:45.745Z] > git remote # timeout=10 [2021-06-24T04:08:45.751Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T04:08:45.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T04:08:45.763Z] [INFO] Currently running in a labeled security context [2021-06-24T04:08:45.763Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T04:08:45.763Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6470203373617450088.key [2021-06-24T04:08:45.775Z] > git merge c561a9a459db1ea872112ec1cdd177ce5971df20 # timeout=10 [2021-06-24T04:08:45.786Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T04:08:45.798Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T04:08:45.801Z] > git checkout -f bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd # timeout=10 [2021-06-24T04:08:49.457Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-06-24T04:08:49.472Z] > git --version # timeout=10 [2021-06-24T04:08:49.475Z] > git --version # 'git version 2.24.4' [2021-06-24T04:08:49.478Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T04:08:50.625Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T04:08:50.979Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T04:08:51.304Z] + sudo service docker restart [2021-06-24T04:08:51.304Z] + true [2021-06-24T04:08:51.304Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T04:09:08.211Z] provisioning config files... [2021-06-24T04:09:08.224Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5139285701319310584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:09:08.606Z] ---> docker-login.sh [2021-06-24T04:09:08.607Z] nexus3.edgexfoundry.org:10001 [2021-06-24T04:09:08.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:09:08.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:09:08.868Z] Configure a credential helper to remove this warning. See [2021-06-24T04:09:08.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:09:08.868Z] [2021-06-24T04:09:08.868Z] Login Succeeded [2021-06-24T04:09:08.868Z] nexus3.edgexfoundry.org:10002 [2021-06-24T04:09:08.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:09:08.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:09:08.868Z] Configure a credential helper to remove this warning. See [2021-06-24T04:09:08.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:09:08.868Z] [2021-06-24T04:09:08.868Z] Login Succeeded [2021-06-24T04:09:08.868Z] nexus3.edgexfoundry.org:10003 [2021-06-24T04:09:08.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:09:09.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:09:09.131Z] Configure a credential helper to remove this warning. See [2021-06-24T04:09:09.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:09:09.131Z] [2021-06-24T04:09:09.131Z] Login Succeeded [2021-06-24T04:09:09.131Z] nexus3.edgexfoundry.org:10004 [2021-06-24T04:09:09.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:09:09.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:09:09.131Z] Configure a credential helper to remove this warning. See [2021-06-24T04:09:09.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:09:09.131Z] [2021-06-24T04:09:09.131Z] Login Succeeded [2021-06-24T04:09:09.131Z] docker.io [2021-06-24T04:09:09.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:09:09.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:09:09.657Z] Configure a credential helper to remove this warning. See [2021-06-24T04:09:09.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:09:09.657Z] [2021-06-24T04:09:09.657Z] Login Succeeded [2021-06-24T04:09:09.657Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T04:09:09.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T04:09:09.989Z] ========================================================= [2021-06-24T04:09:09.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T04:09:09.989Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:09:10.393Z] + 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-24T04:09:10.393Z] Sending build context to Docker daemon 2.7MB [2021-06-24T04:09:10.393Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T04:09:10.393Z] Step 2/8 : FROM ${BASE} [2021-06-24T04:09:10.658Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T04:09:10.658Z] 540db60ca938: Pulling fs layer [2021-06-24T04:09:10.658Z] adcc1eea9eea: Pulling fs layer [2021-06-24T04:09:10.658Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T04:09:10.658Z] 0510c868ecb4: Pulling fs layer [2021-06-24T04:09:10.658Z] afea3b2eda06: Pulling fs layer [2021-06-24T04:09:10.658Z] 7809a108b3ef: Pulling fs layer [2021-06-24T04:09:10.658Z] f706445af74f: Pulling fs layer [2021-06-24T04:09:10.658Z] 0510c868ecb4: Waiting [2021-06-24T04:09:10.658Z] afea3b2eda06: Waiting [2021-06-24T04:09:10.658Z] 7809a108b3ef: Waiting [2021-06-24T04:09:10.658Z] f706445af74f: Waiting [2021-06-24T04:09:10.658Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T04:09:10.658Z] 4c4ab2625f07: Download complete [2021-06-24T04:09:10.658Z] adcc1eea9eea: Verifying Checksum [2021-06-24T04:09:10.658Z] adcc1eea9eea: Download complete [2021-06-24T04:09:10.658Z] afea3b2eda06: Verifying Checksum [2021-06-24T04:09:10.658Z] afea3b2eda06: Download complete [2021-06-24T04:09:10.658Z] 540db60ca938: Verifying Checksum [2021-06-24T04:09:10.658Z] 540db60ca938: Download complete [2021-06-24T04:09:10.658Z] 7809a108b3ef: Verifying Checksum [2021-06-24T04:09:10.658Z] 7809a108b3ef: Download complete [2021-06-24T04:09:10.930Z] 540db60ca938: Pull complete [2021-06-24T04:09:11.191Z] adcc1eea9eea: Pull complete [2021-06-24T04:09:11.191Z] 4c4ab2625f07: Pull complete [2021-06-24T04:09:12.584Z] f706445af74f: Verifying Checksum [2021-06-24T04:09:12.584Z] f706445af74f: Download complete [2021-06-24T04:09:13.168Z] 0510c868ecb4: Verifying Checksum [2021-06-24T04:09:13.168Z] 0510c868ecb4: Download complete [2021-06-24T04:09:16.503Z] 0510c868ecb4: Pull complete [2021-06-24T04:09:16.503Z] afea3b2eda06: Pull complete [2021-06-24T04:09:16.503Z] 7809a108b3ef: Pull complete [2021-06-24T04:09:17.913Z] f706445af74f: Pull complete [2021-06-24T04:09:17.913Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T04:09:17.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T04:09:17.913Z] ---> b068be0155e3 [2021-06-24T04:09:17.913Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T04:09:22.161Z] ---> Running in ab024efaa0f5 [2021-06-24T04:09:22.161Z] Removing intermediate container ab024efaa0f5 [2021-06-24T04:09:22.161Z] ---> 6c4fd7b00b5b [2021-06-24T04:09:22.161Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T04:09:22.161Z] ---> Running in 2869daef2878 [2021-06-24T04:09:22.431Z] Removing intermediate container 2869daef2878 [2021-06-24T04:09:22.431Z] ---> b928913c4c32 [2021-06-24T04:09:22.431Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T04:09:22.431Z] ---> Running in dd540456906f [2021-06-24T04:09:22.704Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T04:09:25.840Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1068 in /w/workspace/dgexfoundry_device-sdk-go_PR-981 [Pipeline] { [Pipeline] ws [2021-06-24T04:09:25.922Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-24T04:09:26.201Z] Selected Git installation does not exist. Using Default [2021-06-24T04:09:26.201Z] The recommended git tool is: NONE [2021-06-24T04:09:28.939Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.13/main: temporary error (try again later) [2021-06-24T04:09:28.939Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T04:09:28.939Z] ERROR: unable to select packages: [2021-06-24T04:09:28.939Z]  libc-dev (no such package): [2021-06-24T04:09:28.939Z] required by: world[libc-dev] [2021-06-24T04:09:28.939Z] libsodium-dev (no such package): [2021-06-24T04:09:28.939Z] required by: world[libsodium-dev] [2021-06-24T04:09:28.939Z] zeromq-dev (no such package): [2021-06-24T04:09:28.939Z] required by: world[zeromq-dev] [2021-06-24T04:09:28.939Z] The command '/bin/sh -c apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev' returned a non-zero code: 3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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-24T04:09:30.828Z] ---> job-cost.sh [2021-06-24T04:09:30.828Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jbju [2021-06-24T04:09:33.437Z] using credential edgex-jenkins-ssh [2021-06-24T04:09:33.459Z] Cloning the remote Git repository [2021-06-24T04:09:33.512Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T04:09:33.628Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-24T04:09:33.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T04:09:33.804Z] > git --version # timeout=10 [2021-06-24T04:09:33.841Z] > git --version # 'git version 2.17.1' [2021-06-24T04:09:33.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T04:09:33.948Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T04:09:35.947Z] Merging remotes/origin/master commit c561a9a459db1ea872112ec1cdd177ce5971df20 into PR head commit bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [2021-06-24T04:09:36.155Z] Merge succeeded, producing bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [2021-06-24T04:09:36.155Z] Checking out Revision bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd (PR-981) [2021-06-24T04:09:35.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T04:09:35.302Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T04:09:35.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T04:09:35.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T04:09:35.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T04:09:35.399Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/981/head:refs/remotes/origin/PR-981 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T04:09:35.965Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T04:09:35.977Z] > git checkout -f bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd # timeout=10 [2021-06-24T04:09:36.070Z] > git remote # timeout=10 [2021-06-24T04:09:36.090Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T04:09:36.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T04:09:36.120Z] > git merge c561a9a459db1ea872112ec1cdd177ce5971df20 # timeout=10 [2021-06-24T04:09:36.140Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T04:09:36.160Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T04:09:36.172Z] > git checkout -f bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd # timeout=10 [2021-06-24T04:09:39.012Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T04:09:40.400Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-06-24T04:09:40.456Z] > git --version # timeout=10 [2021-06-24T04:09:40.463Z] > git --version # 'git version 2.17.1' [2021-06-24T04:09:40.477Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T04:09:40.759Z] [2021-06-24T04:09:40.759Z] GitHub has been notified of this commit’s build result [2021-06-24T04:09:40.759Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T04:09:41.943Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T04:09:42.361Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T04:09:42.721Z] + true [2021-06-24T04:09:42.721Z] + sudo service docker restart [2021-06-24T04:09:53.954Z] lf-activate-venv(): INFO: Adding /tmp/venv-jbju/bin to PATH [2021-06-24T04:09:53.954Z] INFO: No Stack... [2021-06-24T04:09:54.527Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T04:09:55.102Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T04:09:55.421Z] + cut -d, -f6 [2021-06-24T04:09:55.421Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-24T04:09:55.482Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] [2021-06-24T04:09:55.489Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] did not exist. Created. [2021-06-24T04:09:55.489Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T04:09:55.903Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T04:09:56.132Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T04:09:56.154Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T04:09:56.832Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T04:10:02.291Z] provisioning config files... [2021-06-24T04:10:02.322Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9111724332885046355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:10:02.763Z] ---> docker-login.sh [2021-06-24T04:10:02.764Z] nexus3.edgexfoundry.org:10001 [2021-06-24T04:10:03.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:10:04.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:10:04.037Z] Configure a credential helper to remove this warning. See [2021-06-24T04:10:04.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:10:04.037Z] [2021-06-24T04:10:04.037Z] Login Succeeded [2021-06-24T04:10:04.037Z] nexus3.edgexfoundry.org:10002 [2021-06-24T04:10:04.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:10:04.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:10:04.589Z] Configure a credential helper to remove this warning. See [2021-06-24T04:10:04.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:10:04.589Z] [2021-06-24T04:10:04.589Z] Login Succeeded [2021-06-24T04:10:04.589Z] nexus3.edgexfoundry.org:10003 [2021-06-24T04:10:04.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:10:05.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:10:05.156Z] Configure a credential helper to remove this warning. See [2021-06-24T04:10:05.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:10:05.156Z] [2021-06-24T04:10:05.156Z] Login Succeeded [2021-06-24T04:10:05.156Z] nexus3.edgexfoundry.org:10004 [2021-06-24T04:10:05.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:10:05.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:10:05.710Z] Configure a credential helper to remove this warning. See [2021-06-24T04:10:05.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:10:05.710Z] [2021-06-24T04:10:05.710Z] Login Succeeded [2021-06-24T04:10:05.710Z] docker.io [2021-06-24T04:10:05.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T04:10:06.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T04:10:06.591Z] Configure a credential helper to remove this warning. See [2021-06-24T04:10:06.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T04:10:06.591Z] [2021-06-24T04:10:06.591Z] Login Succeeded [2021-06-24T04:10:06.591Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T04:10:06.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T04:10:07.267Z] ========================================================= [2021-06-24T04:10:07.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T04:10:07.267Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:10:07.707Z] + 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-24T04:10:08.317Z] Sending build context to Docker daemon 2.699MB [2021-06-24T04:10:08.317Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T04:10:08.317Z] Step 2/8 : FROM ${BASE} [2021-06-24T04:10:08.607Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T04:10:08.607Z] 595b0fe564bb: Pulling fs layer [2021-06-24T04:10:08.607Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T04:10:08.607Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T04:10:08.607Z] ba82ee9f976e: Pulling fs layer [2021-06-24T04:10:08.607Z] 506bd15cee9f: Pulling fs layer [2021-06-24T04:10:08.607Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T04:10:08.607Z] 618dc40b7e24: Pulling fs layer [2021-06-24T04:10:08.607Z] 506bd15cee9f: Waiting [2021-06-24T04:10:08.607Z] 75a0a4a0db45: Waiting [2021-06-24T04:10:08.607Z] 618dc40b7e24: Waiting [2021-06-24T04:10:08.607Z] ba82ee9f976e: Waiting [2021-06-24T04:10:08.607Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T04:10:08.607Z] 5b7225fbf94c: Download complete [2021-06-24T04:10:08.607Z] 3088b5b3c5c0: Download complete [2021-06-24T04:10:08.607Z] 506bd15cee9f: Verifying Checksum [2021-06-24T04:10:08.607Z] 506bd15cee9f: Download complete [2021-06-24T04:10:08.607Z] 75a0a4a0db45: Download complete [2021-06-24T04:10:08.607Z] 595b0fe564bb: Verifying Checksum [2021-06-24T04:10:08.607Z] 595b0fe564bb: Download complete [2021-06-24T04:10:09.595Z] 595b0fe564bb: Pull complete [2021-06-24T04:10:09.872Z] 3088b5b3c5c0: Pull complete [2021-06-24T04:10:10.477Z] 5b7225fbf94c: Pull complete [2021-06-24T04:10:10.754Z] 618dc40b7e24: Verifying Checksum [2021-06-24T04:10:10.754Z] 618dc40b7e24: Download complete [2021-06-24T04:10:12.192Z] ba82ee9f976e: Download complete [2021-06-24T04:10:22.385Z] ba82ee9f976e: Pull complete [2021-06-24T04:10:22.385Z] 506bd15cee9f: Pull complete [2021-06-24T04:10:22.660Z] 75a0a4a0db45: Pull complete [2021-06-24T04:10:28.088Z] 618dc40b7e24: Pull complete [2021-06-24T04:10:28.088Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T04:10:28.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T04:10:28.088Z] ---> a36622ca3599 [2021-06-24T04:10:28.088Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T04:10:28.361Z] ---> Running in 34a3df602d8b [2021-06-24T04:10:28.977Z] Removing intermediate container 34a3df602d8b [2021-06-24T04:10:28.977Z] ---> 5d4c4c934d90 [2021-06-24T04:10:28.977Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T04:10:28.977Z] ---> Running in 4070839761db [2021-06-24T04:10:32.077Z] Removing intermediate container 4070839761db [2021-06-24T04:10:32.077Z] ---> 9cbb443e0559 [2021-06-24T04:10:32.077Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T04:10:32.077Z] ---> Running in 7be55d6e8b9e [2021-06-24T04:10:32.672Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T04:10:33.674Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T04:10:34.275Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T04:10:34.275Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T04:10:34.549Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T04:10:34.824Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T04:10:34.824Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T04:10:35.100Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T04:10:35.100Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T04:10:35.100Z] OK: 139 MiB in 46 packages [2021-06-24T04:10:36.540Z] Removing intermediate container 7be55d6e8b9e [2021-06-24T04:10:36.540Z] ---> 1f521c56bfbf [2021-06-24T04:10:36.540Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T04:10:36.540Z] ---> Running in 1302c6235e90 [2021-06-24T04:10:37.140Z] Removing intermediate container 1302c6235e90 [2021-06-24T04:10:37.140Z] ---> bcc76caea624 [2021-06-24T04:10:37.140Z] Step 7/8 : COPY . . [2021-06-24T04:10:38.586Z] ---> 7ded105b6093 [2021-06-24T04:10:38.586Z] Step 8/8 : RUN go mod download [2021-06-24T04:10:38.586Z] ---> Running in bc8edb12ea26 [2021-06-24T04:11:05.397Z] Removing intermediate container bc8edb12ea26 [2021-06-24T04:11:05.397Z] ---> 36926a8c83a5 [2021-06-24T04:11:05.397Z] Successfully built 36926a8c83a5 [2021-06-24T04:11:05.397Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:11:05.779Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T04:11:05.780Z] . [Pipeline] withDockerContainer [2021-06-24T04:11:06.073Z] prd-ubuntu18.04-docker-arm64-4c-16g-1068 does not seem to be running inside a container [2021-06-24T04:11:06.176Z] $ 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-24T04:11:07.885Z] $ docker top f6043c48ca748abe65fde91fc2f05fc537016e3ff4fc560c2362b91eec066ba3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T04:11:08.942Z] + go version [2021-06-24T04:11:08.942Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T04:11:08.980Z] $ docker stop --time=1 f6043c48ca748abe65fde91fc2f05fc537016e3ff4fc560c2362b91eec066ba3 [2021-06-24T04:11:10.843Z] $ docker rm -f f6043c48ca748abe65fde91fc2f05fc537016e3ff4fc560c2362b91eec066ba3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:11:13.787Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T04:11:13.787Z] . [Pipeline] withDockerContainer [2021-06-24T04:11:14.078Z] prd-ubuntu18.04-docker-arm64-4c-16g-1068 does not seem to be running inside a container [2021-06-24T04:11:14.162Z] $ 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-24T04:11:15.784Z] $ docker top 7f775409fe6fceb289dff71c6da4a91fbafe8fb17c52f4b26020c7b7b4bfa72b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T04:11:16.800Z] + go mod tidy [Pipeline] sh [2021-06-24T04:11:18.088Z] + make test [2021-06-24T04:11:18.088Z] go mod tidy [2021-06-24T04:11:18.683Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T04:11:42.210Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T04:12:41.811Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T04:12:41.811Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T04:12:41.811Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T04:12:56.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.271s coverage: 24.2% of statements [2021-06-24T04:12:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T04:12:56.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.200s coverage: 28.1% of statements [2021-06-24T04:12:56.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.248s coverage: 78.9% of statements [2021-06-24T04:12:56.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.226s coverage: 9.0% of statements [2021-06-24T04:12:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T04:12:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T04:12:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T04:12:56.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.330s coverage: 28.7% of statements [2021-06-24T04:12:56.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T04:12:57.959Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.211s coverage: 83.3% of statements [2021-06-24T04:12:57.959Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T04:12:57.959Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T04:12:57.959Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.319s coverage: 58.0% of statements [2021-06-24T04:13:02.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.021s coverage: 89.2% of statements [2021-06-24T04:13:02.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T04:13:02.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements [2021-06-24T04:13:02.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T04:13:02.306Z] GO111MODULE=on go vet ./... [2021-06-24T04:13:58.945Z] gofmt -l . [2021-06-24T04:13:58.945Z] [ "`gofmt -l .`" = "" ] [2021-06-24T04:13:58.945Z] ./bin/test-attribution-txt.sh [2021-06-24T04:13:58.945Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T04:13:58.977Z] $ docker stop --time=1 7f775409fe6fceb289dff71c6da4a91fbafe8fb17c52f4b26020c7b7b4bfa72b [2021-06-24T04:14:01.005Z] $ docker rm -f 7f775409fe6fceb289dff71c6da4a91fbafe8fb17c52f4b26020c7b7b4bfa72b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T04:14:02.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T04:14:03.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T04:14:04.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T04:14:05.128Z] + ls -al . [2021-06-24T04:14:05.128Z] total 248 [2021-06-24T04:14:05.128Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 04:13 . [2021-06-24T04:14:05.128Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 04:09 .. [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 04:09 .dockerignore [2021-06-24T04:14:05.128Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 04:09 .git [2021-06-24T04:14:05.128Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 04:09 .github [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 04:09 .gitignore [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 04:09 Dockerfile.build [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 04:09 Jenkinsfile [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 04:09 LICENSE [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 04:09 Makefile [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 04:09 README.md [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 04:09 RELEASE-NOTES.txt [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 04:07 VERSION [2021-06-24T04:14:05.128Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 04:09 bin [2021-06-24T04:14:05.128Z] -rw-r--r-- 1 jenkins jenkins 125635 Jun 24 04:13 coverage.out [2021-06-24T04:14:05.128Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 04:09 example [2021-06-24T04:14:05.128Z] -rw-r--r-- 1 jenkins jenkins 570 Jun 24 04:13 go.mod [2021-06-24T04:14:05.128Z] -rw-r--r-- 1 jenkins jenkins 20512 Jun 24 04:11 go.sum [2021-06-24T04:14:05.128Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 04:09 internal [2021-06-24T04:14:05.128Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 04:09 openapi [2021-06-24T04:14:05.128Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 04:09 pkg [2021-06-24T04:14:05.128Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 04:09 snap [2021-06-24T04:14:05.128Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:14:05.537Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd --label arch=arm64 --label version=0.0.0 . [2021-06-24T04:14:06.147Z] Sending build context to Docker daemon 2.826MB [2021-06-24T04:14:06.147Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T04:14:06.147Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T04:14:06.147Z] ---> 36926a8c83a5 [2021-06-24T04:14:06.147Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T04:14:06.420Z] ---> Running in f13dffcc1952 [2021-06-24T04:14:07.021Z] Removing intermediate container f13dffcc1952 [2021-06-24T04:14:07.021Z] ---> 13dc7d061b3f [2021-06-24T04:14:07.021Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T04:14:07.021Z] ---> Running in 51c715397cc4 [2021-06-24T04:14:07.620Z] Removing intermediate container 51c715397cc4 [2021-06-24T04:14:07.620Z] ---> 71bb6aa89462 [2021-06-24T04:14:07.620Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T04:14:07.620Z] ---> Running in b48a961c8567 [2021-06-24T04:14:09.615Z] Removing intermediate container b48a961c8567 [2021-06-24T04:14:09.615Z] ---> 1b20815852b0 [2021-06-24T04:14:09.615Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T04:14:09.891Z] ---> Running in 19bc12342932 [2021-06-24T04:14:11.338Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T04:14:11.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T04:14:12.926Z] OK: 139 MiB in 46 packages [2021-06-24T04:14:13.912Z] Removing intermediate container 19bc12342932 [2021-06-24T04:14:13.912Z] ---> 5f864490ae03 [2021-06-24T04:14:13.912Z] Step 7/23 : COPY . . [2021-06-24T04:14:16.306Z] ---> 4efd9ecfd964 [2021-06-24T04:14:16.306Z] Step 8/23 : RUN go mod download [2021-06-24T04:14:16.306Z] ---> Running in a7954a20293b [2021-06-24T04:14:17.750Z] Removing intermediate container a7954a20293b [2021-06-24T04:14:17.750Z] ---> 72bee107b151 [2021-06-24T04:14:17.750Z] Step 9/23 : RUN make build [2021-06-24T04:14:18.026Z] ---> Running in ec9b7503e630 [2021-06-24T04:14:19.468Z] go mod tidy [2021-06-24T04:14:19.746Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T04:14:52.173Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T04:14:53.613Z] Removing intermediate container ec9b7503e630 [2021-06-24T04:14:53.613Z] ---> ce408edc2102 [2021-06-24T04:14:53.613Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T04:14:54.208Z] 3.12: Pulling from library/alpine [2021-06-24T04:14:54.483Z] d2f70382dc9a: Pulling fs layer [2021-06-24T04:14:54.757Z] d2f70382dc9a: Download complete [2021-06-24T04:14:55.355Z] d2f70382dc9a: Pull complete [2021-06-24T04:14:55.355Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T04:14:55.355Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T04:14:55.355Z] ---> c4fd0aeabfcf [2021-06-24T04:14:55.355Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T04:14:55.631Z] ---> Running in 27d6ebcc91c0 [2021-06-24T04:14:56.228Z] Removing intermediate container 27d6ebcc91c0 [2021-06-24T04:14:56.228Z] ---> f9712967fb56 [2021-06-24T04:14:56.228Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T04:14:56.228Z] ---> Running in 460aa0e08f6a [2021-06-24T04:14:58.222Z] Removing intermediate container 460aa0e08f6a [2021-06-24T04:14:58.222Z] ---> 8e605043967b [2021-06-24T04:14:58.222Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T04:14:58.222Z] ---> Running in c1e2de7d1c91 [2021-06-24T04:14:59.657Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T04:15:00.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T04:15:00.848Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T04:15:01.127Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T04:15:01.127Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T04:15:01.411Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T04:15:01.411Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T04:15:01.411Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T04:15:01.709Z] OK: 8 MiB in 19 packages [2021-06-24T04:15:02.763Z] Removing intermediate container c1e2de7d1c91 [2021-06-24T04:15:02.763Z] ---> b924fa6e014a [2021-06-24T04:15:02.763Z] Step 14/23 : WORKDIR / [2021-06-24T04:15:02.763Z] ---> Running in 95c36dfeb5a5 [2021-06-24T04:15:03.392Z] Removing intermediate container 95c36dfeb5a5 [2021-06-24T04:15:03.392Z] ---> 7daa5fcd8015 [2021-06-24T04:15:03.392Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T04:15:03.997Z] ---> 3bb00dbb0199 [2021-06-24T04:15:03.997Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T04:15:05.494Z] ---> aacbe810337c [2021-06-24T04:15:05.494Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T04:15:06.099Z] ---> 77f4df0d98bf [2021-06-24T04:15:06.099Z] Step 18/23 : EXPOSE 59999 [2021-06-24T04:15:06.099Z] ---> Running in e7c656278870 [2021-06-24T04:15:06.701Z] Removing intermediate container e7c656278870 [2021-06-24T04:15:06.701Z] ---> dbe4b01a0ff5 [2021-06-24T04:15:06.701Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T04:15:06.701Z] ---> Running in 6d3834060395 [2021-06-24T04:15:07.302Z] Removing intermediate container 6d3834060395 [2021-06-24T04:15:07.302Z] ---> 7776f22459f3 [2021-06-24T04:15:07.302Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T04:15:07.302Z] ---> Running in d3aa881ddbfd [2021-06-24T04:15:07.902Z] Removing intermediate container d3aa881ddbfd [2021-06-24T04:15:07.902Z] ---> 6e5ae1f1b0d7 [2021-06-24T04:15:07.902Z] Step 21/23 : LABEL arch=arm64 [2021-06-24T04:15:07.902Z] ---> Running in 28d7fb48ae47 [2021-06-24T04:15:08.508Z] Removing intermediate container 28d7fb48ae47 [2021-06-24T04:15:08.508Z] ---> 7588fdfeb92e [2021-06-24T04:15:08.508Z] Step 22/23 : LABEL git_sha=bf798187f5dac8d1d2ac8bc065d5d405cbf3c7bd [2021-06-24T04:15:08.508Z] ---> Running in fd47393c1f2f [2021-06-24T04:15:09.125Z] Removing intermediate container fd47393c1f2f [2021-06-24T04:15:09.125Z] ---> ed24c019646d [2021-06-24T04:15:09.125Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T04:15:09.125Z] ---> Running in 31530a4702cc [2021-06-24T04:15:09.765Z] Removing intermediate container 31530a4702cc [2021-06-24T04:15:09.765Z] ---> 0b3faacf5f35 [2021-06-24T04:15:09.765Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T04:15:09.765Z] Successfully built 0b3faacf5f35 [2021-06-24T04:15:09.765Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:15:11.043Z] ---> job-cost.sh [2021-06-24T04:15:11.043Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YTkZ [2021-06-24T04:15:50.083Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T04:17:15.216Z] lf-activate-venv(): INFO: Adding /tmp/venv-YTkZ/bin to PATH [2021-06-24T04:17:15.216Z] INFO: No Stack... [2021-06-24T04:17:15.216Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T04:17:15.216Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T04:17:15.584Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-24T04:17:15.584Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T04:17:15.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] [2021-06-24T04:17:15.678Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] did not exist. Created. [2021-06-24T04:17:15.678Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T04:17:16.127Z] /w/workspace/device-sdk-go/1@tmp/durable-fcc676ec/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-fcc676ec/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T04:17:16.499Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T04:17:16.541Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T04:17:16.693Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T04:17:16.719Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-981-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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-24T04:17:20.438Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:17:21.056Z] ---> package-listing.sh [2021-06-24T04:17:21.056Z] ++ facter osfamily [2021-06-24T04:17:21.056Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T04:17:21.330Z] + OS_FAMILY=redhat [2021-06-24T04:17:21.330Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-981 [2021-06-24T04:17:21.330Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T04:17:21.330Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T04:17:21.330Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T04:17:21.330Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T04:17:21.330Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-981 ']' [2021-06-24T04:17:21.330Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T04:17:21.330Z] + case "${OS_FAMILY}" in [2021-06-24T04:17:21.330Z] + rpm -qa [2021-06-24T04:17:21.330Z] + sort [2021-06-24T04:17:21.923Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T04:17:21.923Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T04:17:21.923Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T04:17:21.923Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-981 ']' [2021-06-24T04:17:21.923Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-981/archives/ [2021-06-24T04:17:21.923Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-981/archives/ [Pipeline] echo [2021-06-24T04:17:21.959Z] 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-981/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-24T04:17:22.273Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:17:22.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T04:17:22.896Z] [2021-06-24T04:17:22.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T04:17:23.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T04:17:23.261Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T04:17:23.261Z] df20fa9351a1: Pulling fs layer [2021-06-24T04:17:23.261Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T04:17:23.261Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T04:17:23.261Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T04:17:23.261Z] 93b61091891f: Pulling fs layer [2021-06-24T04:17:23.261Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T04:17:23.261Z] 5e14af77c1be: Pulling fs layer [2021-06-24T04:17:23.261Z] 01666e4c0597: Pulling fs layer [2021-06-24T04:17:23.261Z] aa168da1d23b: Pulling fs layer [2021-06-24T04:17:23.261Z] 93b9cdb0e59b: Waiting [2021-06-24T04:17:23.261Z] 5e14af77c1be: Waiting [2021-06-24T04:17:23.261Z] 01666e4c0597: Waiting [2021-06-24T04:17:23.261Z] aa168da1d23b: Waiting [2021-06-24T04:17:23.261Z] 46f8f816bc3b: Waiting [2021-06-24T04:17:23.261Z] 93b61091891f: Waiting [2021-06-24T04:17:23.261Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T04:17:23.261Z] 36b3adc4ff6f: Download complete [2021-06-24T04:17:23.261Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T04:17:23.261Z] 46f8f816bc3b: Download complete [2021-06-24T04:17:23.261Z] df20fa9351a1: Verifying Checksum [2021-06-24T04:17:23.261Z] df20fa9351a1: Download complete [2021-06-24T04:17:23.524Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T04:17:23.524Z] 93b9cdb0e59b: Download complete [2021-06-24T04:17:23.524Z] 5e14af77c1be: Verifying Checksum [2021-06-24T04:17:23.524Z] 5e14af77c1be: Download complete [2021-06-24T04:17:23.524Z] 01666e4c0597: Verifying Checksum [2021-06-24T04:17:23.524Z] 01666e4c0597: Download complete [2021-06-24T04:17:23.524Z] 93b61091891f: Verifying Checksum [2021-06-24T04:17:23.524Z] 93b61091891f: Download complete [2021-06-24T04:17:23.524Z] df20fa9351a1: Pull complete [2021-06-24T04:17:23.790Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T04:17:23.790Z] 8ad3a11d3b57: Download complete [2021-06-24T04:17:23.790Z] 36b3adc4ff6f: Pull complete [2021-06-24T04:17:24.383Z] 8ad3a11d3b57: Pull complete [2021-06-24T04:17:24.383Z] 46f8f816bc3b: Pull complete [2021-06-24T04:17:24.961Z] 93b61091891f: Pull complete [2021-06-24T04:17:24.961Z] 93b9cdb0e59b: Pull complete [2021-06-24T04:17:24.961Z] 5e14af77c1be: Pull complete [2021-06-24T04:17:25.227Z] 01666e4c0597: Pull complete [2021-06-24T04:17:25.814Z] aa168da1d23b: Verifying Checksum [2021-06-24T04:17:25.814Z] aa168da1d23b: Download complete [2021-06-24T04:17:31.160Z] aa168da1d23b: Pull complete [2021-06-24T04:17:31.160Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T04:17:31.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T04:17:31.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T04:17:31.277Z] prd-centos7-docker-4c-2g-1066 does not seem to be running inside a container [2021-06-24T04:17:31.324Z] $ 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-981/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-981 -v /w/workspace/dgexfoundry_device-sdk-go_PR-981:/w/workspace/dgexfoundry_device-sdk-go_PR-981:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-981@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-24T04:17:33.974Z] $ docker top 9ac72dba84423c8df8664881aa06cbc5f855fd5b4f26642b2c36937e38103e80 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T04:17:34.430Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T04:17:34.747Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T04:17:37.575Z] + ls /var/log/sa-host [2021-06-24T04:17:37.575Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T04:17:37.575Z] file_magic: OK [2021-06-24T04:17:37.575Z] HZ: Using current value: 100 [2021-06-24T04:17:37.575Z] file_header: OK [2021-06-24T04:17:37.575Z] 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-24T04:17:37.575Z] Statistics: [2021-06-24T04:17:37.575Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T04:17:37.575Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T04:17:37.575Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T04:17:37.575Z] file_magic: OK [2021-06-24T04:17:37.575Z] HZ: Using current value: 100 [2021-06-24T04:17:37.575Z] file_header: OK [2021-06-24T04:17:37.575Z] 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-24T04:17:37.575Z] Statistics: [2021-06-24T04:17:37.575Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T04:17:37.575Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T04:17:38.349Z] provisioning config files... [2021-06-24T04:17:38.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-981@tmp/config1701745705888011746tmp [Pipeline] { [Pipeline] echo [2021-06-24T04:17:38.433Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:17:38.791Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T04:17:38.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:17:39.297Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T04:17:39.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:17:39.669Z] ---> sudo-logs.sh [2021-06-24T04:17:39.669Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T04:17:39.761Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:17:40.103Z] ---> job-cost.sh [2021-06-24T04:17:40.103Z] lf-activate-venv: SKIPPING [2021-06-24T04:17:40.103Z] DEBUG: total: 0.18000000715255737 [2021-06-24T04:17:40.103Z] INFO: Retrieving Stack Cost... [2021-06-24T04:17:41.058Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T04:17:41.632Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T04:17:41.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T04:17:42.013Z] ---> logs-deploy.sh [2021-06-24T04:17:42.013Z] lf-activate-venv: SKIPPING [2021-06-24T04:17:42.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-981/1 [2021-06-24T04:17:42.013Z] INFO: archiving workspace using pattern(s): [2021-06-24T04:17:42.963Z] Archives upload complete. [2021-06-24T04:17:42.963Z] INFO: archiving logs to Nexus