Pull request #133 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of tdrozdovsky for edgexfoundry/device-rest-go Loading trusted files from base branch main at 4353c7216ee3f2112ec46af6800afcb0b221c962 rather than 4225c14ff004e9afc4b7363a3b422edff62f7f37 Obtained Jenkinsfile from 4353c7216ee3f2112ec46af6800afcb0b221c962 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5281036993834602968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7340093894008253860.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-rest-go/branches/PR-133/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-133/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4418108068652003147.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-133/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh642411193777132379.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6049040849289771085.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-rest-go/branches/PR-133/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-133/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7042198367196436873.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-269 in /w/workspace/gexfoundry_device-rest-go_PR-133 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-133 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/jenkins-gitclient-ssh5347632201098753692.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4353c7216ee3f2112ec46af6800afcb0b221c962 into PR head commit 4225c14ff004e9afc4b7363a3b422edff62f7f37 Merge succeeded, producing 4225c14ff004e9afc4b7363a3b422edff62f7f37 Checking out Revision 4225c14ff004e9afc4b7363a3b422edff62f7f37 (PR-133) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/jenkins-gitclient-ssh7280003756965307800.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/jenkins-gitclient-ssh5285545239193524980.key > git merge 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 Commit message: "fix: remove the code: condition that is always true" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-15T19:41:42.239Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-15T19:41:42.433Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-15T19:41:42.551Z] ========================================================= [2021-09-15T19:41:42.551Z] EdgeX Global Pipelines Version Info [2021-09-15T19:41:42.551Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:41:43.839Z] ------------------- [2021-09-15T19:41:43.839Z] stable info: [2021-09-15T19:41:43.839Z] ------------------- [2021-09-15T19:41:43.839Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-15T19:41:43.839Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-15T19:41:43.839Z] Message: update stable to v1.0.205 [2021-09-15T19:41:44.423Z] ------------------- [2021-09-15T19:41:44.423Z] experimental info: [2021-09-15T19:41:44.423Z] ------------------- [2021-09-15T19:41:44.423Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-15T19:41:44.423Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-15T19:41:44.423Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-15T19:41:44.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-09-15T19:41:44.770Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-09-15T19:41:44.835Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-15T19:41:44.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-15T19:41:44.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-15T19:41:45.015Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-15T19:41:45.075Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-15T19:41:45.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-15T19:41:45.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-15T19:41:45.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-15T19:41:45.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-15T19:41:45.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-15T19:41:45.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-09-15T19:41:45.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-15T19:41:45.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-15T19:41:45.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-15T19:41:45.748Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-09-15T19:41:45.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-15T19:41:45.868Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-15T19:41:45.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-15T19:41:45.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-15T19:41:46.045Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-09-15T19:41:46.104Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-09-15T19:41:46.163Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-15T19:41:46.223Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-15T19:41:46.279Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-09-15T19:41:46.338Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-15T19:41:46.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo [2021-09-15T19:41:46.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo [2021-09-15T19:41:46.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo [2021-09-15T19:41:46.574Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4225c14ff004e9afc4b7363a3b422edff62f7f37 [Pipeline] echo [2021-09-15T19:41:46.632Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4225c14 [Pipeline] echo [2021-09-15T19:41:46.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-15T19:41:46.854Z] provisioning config files... [2021-09-15T19:41:46.883Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/config8067142545693955123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:41:47.270Z] ---> docker-login.sh [2021-09-15T19:41:47.270Z] nexus3.edgexfoundry.org:10001 [2021-09-15T19:41:47.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:41:47.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:41:47.536Z] Configure a credential helper to remove this warning. See [2021-09-15T19:41:47.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:41:47.536Z] [2021-09-15T19:41:47.536Z] Login Succeeded [2021-09-15T19:41:47.536Z] nexus3.edgexfoundry.org:10002 [2021-09-15T19:41:47.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:41:47.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:41:47.804Z] Configure a credential helper to remove this warning. See [2021-09-15T19:41:47.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:41:47.804Z] [2021-09-15T19:41:47.804Z] Login Succeeded [2021-09-15T19:41:47.804Z] nexus3.edgexfoundry.org:10003 [2021-09-15T19:41:47.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:41:47.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:41:47.804Z] Configure a credential helper to remove this warning. See [2021-09-15T19:41:47.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:41:47.804Z] [2021-09-15T19:41:47.804Z] Login Succeeded [2021-09-15T19:41:47.804Z] nexus3.edgexfoundry.org:10004 [2021-09-15T19:41:47.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:41:48.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:41:48.071Z] Configure a credential helper to remove this warning. See [2021-09-15T19:41:48.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:41:48.071Z] [2021-09-15T19:41:48.071Z] Login Succeeded [2021-09-15T19:41:48.071Z] docker.io [2021-09-15T19:41:48.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:41:48.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:41:48.337Z] Configure a credential helper to remove this warning. See [2021-09-15T19:41:48.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:41:48.337Z] [2021-09-15T19:41:48.338Z] Login Succeeded [2021-09-15T19:41:48.338Z] ---> docker-login.sh ends [Pipeline] } [2021-09-15T19:41:48.375Z] 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-09-15T19:41:49.268Z] + git log --format=format:%s -1 4225c14ff004e9afc4b7363a3b422edff62f7f37 [Pipeline] echo [2021-09-15T19:41:49.347Z] GIT_COMMIT: 4225c14ff004e9afc4b7363a3b422edff62f7f37, Commit Message: fix: remove the code: condition that is always true [Pipeline] echo [2021-09-15T19:41:49.390Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:41:50.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-15T19:41:50.568Z] [2021-09-15T19:41:50.568Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:41:50.949Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-15T19:41:50.949Z] latest: Pulling from edgex-devops/git-semver [2021-09-15T19:41:50.949Z] 31603596830f: Pulling fs layer [2021-09-15T19:41:50.949Z] 04fac38145f0: Pulling fs layer [2021-09-15T19:41:50.949Z] 701f6daf10bf: Pulling fs layer [2021-09-15T19:41:50.949Z] 24f72da36158: Pulling fs layer [2021-09-15T19:41:50.949Z] 24f72da36158: Waiting [2021-09-15T19:41:50.949Z] 04fac38145f0: Verifying Checksum [2021-09-15T19:41:50.950Z] 04fac38145f0: Download complete [2021-09-15T19:41:51.220Z] 31603596830f: Verifying Checksum [2021-09-15T19:41:51.220Z] 31603596830f: Download complete [2021-09-15T19:41:51.220Z] 31603596830f: Pull complete [2021-09-15T19:41:51.489Z] 04fac38145f0: Pull complete [2021-09-15T19:41:51.489Z] 24f72da36158: Verifying Checksum [2021-09-15T19:41:51.489Z] 24f72da36158: Download complete [2021-09-15T19:41:51.489Z] 701f6daf10bf: Verifying Checksum [2021-09-15T19:41:51.489Z] 701f6daf10bf: Download complete [2021-09-15T19:41:52.076Z] 701f6daf10bf: Pull complete [2021-09-15T19:41:52.076Z] 24f72da36158: Pull complete [2021-09-15T19:41:52.345Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-15T19:41:52.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-15T19:41:52.345Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-15T19:41:52.474Z] prd-centos7-docker-4c-2g-269 does not seem to be running inside a container [2021-09-15T19:41:52.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-133 -v /w/workspace/gexfoundry_device-rest-go_PR-133:/w/workspace/gexfoundry_device-rest-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-133@tmp:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-15T19:41:53.280Z] $ docker top 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-15T19:41:53.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-15T19:41:53.514Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-15T19:41:53.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-15T19:41:53.634Z] $ docker exec 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent [2021-09-15T19:41:53.740Z] SSH_AUTH_SOCK=/tmp/ssh-ls7kaZUSeYVM/agent.14 [2021-09-15T19:41:53.740Z] SSH_AGENT_PID=20 [2021-09-15T19:41:53.760Z] Running ssh-add (command line suppressed) [2021-09-15T19:41:53.870Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_3258830092764244446.key (/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_3258830092764244446.key) [2021-09-15T19:41:53.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-15T19:41:54.256Z] + git tag --points-at HEAD [Pipeline] } [2021-09-15T19:41:54.284Z] $ docker exec --env ******** --env ******** 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent -k [2021-09-15T19:41:54.380Z] unset SSH_AUTH_SOCK; [2021-09-15T19:41:54.380Z] unset SSH_AGENT_PID; [2021-09-15T19:41:54.381Z] echo Agent pid 20 killed; [2021-09-15T19:41:54.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-15T19:41:54.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-15T19:41:54.533Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-15T19:41:54.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-15T19:41:54.651Z] $ docker exec 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent [2021-09-15T19:41:54.762Z] SSH_AUTH_SOCK=/tmp/ssh-bJ3ZtQjeojLf/agent.54 [2021-09-15T19:41:54.762Z] SSH_AGENT_PID=61 [2021-09-15T19:41:54.770Z] Running ssh-add (command line suppressed) [2021-09-15T19:41:54.863Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_5563817153117797556.key (/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/private_key_5563817153117797556.key) [2021-09-15T19:41:54.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-15T19:41:55.250Z] + git semver init [2021-09-15T19:41:55.250Z] # -> Open(): unable to determine branch for HEAD [2021-09-15T19:41:55.250Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-133/.git [2021-09-15T19:41:55.250Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-133 [2021-09-15T19:41:55.250Z] # $SEMVER_REMOTE_NAME = origin [2021-09-15T19:41:55.250Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-15T19:41:55.250Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-15T19:41:55.250Z] # $SEMVER_BRANCH = PR-133 [2021-09-15T19:41:55.250Z] # $SEMVER_TEMP = /tmp/semver-624203539 [2021-09-15T19:41:55.250Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-09-15T19:41:56.216Z] # '/tmp/semver-624203539' -> '/w/workspace/gexfoundry_device-rest-go_PR-133/.semver' [2021-09-15T19:41:56.216Z] # -> Force: false [2021-09-15T19:41:56.216Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-133/.semver [Pipeline] } [2021-09-15T19:41:56.240Z] $ docker exec --env ******** --env ******** 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 ssh-agent -k [2021-09-15T19:41:56.344Z] unset SSH_AUTH_SOCK; [2021-09-15T19:41:56.345Z] unset SSH_AGENT_PID; [2021-09-15T19:41:56.345Z] echo Agent pid 61 killed; [2021-09-15T19:41:56.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-15T19:41:56.809Z] + git semver [Pipeline] } [2021-09-15T19:41:56.842Z] $ docker stop --time=1 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 [2021-09-15T19:41:58.120Z] $ docker rm -f 68891e2aeab84e594919cf67f444cd88964dbfc12a4dd8b767cd45989d094bd0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-15T19:41:58.579Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-15T19:41:58.980Z] Stashed 1 file(s) [Pipeline] echo [2021-09-15T19:41:59.007Z] [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-09-15T19:42:14.599Z] Still waiting to schedule task [2021-09-15T19:42:14.600Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-269’ [2021-09-15T19:42:14.628Z] Still waiting to schedule task [2021-09-15T19:42:14.628Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-15T19:44:39.911Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-270 in /w/workspace/gexfoundry_device-rest-go_PR-133 [Pipeline] { [Pipeline] ws [2021-09-15T19:44:39.982Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-09-15T19:44:40.253Z] The recommended git tool is: git [2021-09-15T19:44:46.045Z] using credential edgex-jenkins-ssh [2021-09-15T19:44:46.076Z] Cloning the remote Git repository [2021-09-15T19:44:46.144Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-09-15T19:44:46.288Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-09-15T19:44:46.358Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-15T19:44:46.358Z] > git --version # timeout=10 [2021-09-15T19:44:46.374Z] > git --version # 'git version 2.17.1' [2021-09-15T19:44:46.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-15T19:44:46.494Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-15T19:44:48.601Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-15T19:44:48.619Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-15T19:44:48.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-15T19:44:48.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-15T19:44:48.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-15T19:44:48.686Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-15T19:44:49.313Z] Merging remotes/origin/main commit 4353c7216ee3f2112ec46af6800afcb0b221c962 into PR head commit 4225c14ff004e9afc4b7363a3b422edff62f7f37 [2021-09-15T19:44:49.512Z] Merge succeeded, producing 4225c14ff004e9afc4b7363a3b422edff62f7f37 [2021-09-15T19:44:49.513Z] Checking out Revision 4225c14ff004e9afc4b7363a3b422edff62f7f37 (PR-133) [2021-09-15T19:44:49.346Z] > git config core.sparsecheckout # timeout=10 [2021-09-15T19:44:49.366Z] > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 [2021-09-15T19:44:49.445Z] > git remote # timeout=10 [2021-09-15T19:44:49.472Z] > git config --get remote.origin.url # timeout=10 [2021-09-15T19:44:49.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-15T19:44:49.494Z] > git merge 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 [2021-09-15T19:44:49.515Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-15T19:44:49.534Z] > git config core.sparsecheckout # timeout=10 [2021-09-15T19:44:49.547Z] > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 [2021-09-15T19:44:53.736Z] Commit message: "fix: remove the code: condition that is always true" [2021-09-15T19:44:53.812Z] > git --version # timeout=10 [2021-09-15T19:44:53.824Z] > git --version # 'git version 2.17.1' [2021-09-15T19:44:53.835Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-15T19:44:54.460Z] provisioning config files... [2021-09-15T19:44:54.493Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9163443190960939119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:44:55.099Z] ---> docker-login.sh [2021-09-15T19:44:55.099Z] nexus3.edgexfoundry.org:10001 [2021-09-15T19:44:57.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:44:57.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:44:57.362Z] Configure a credential helper to remove this warning. See [2021-09-15T19:44:57.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:44:57.362Z] [2021-09-15T19:44:57.362Z] Login Succeeded [2021-09-15T19:44:57.362Z] nexus3.edgexfoundry.org:10002 [2021-09-15T19:44:57.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:44:57.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:44:57.915Z] Configure a credential helper to remove this warning. See [2021-09-15T19:44:57.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:44:57.915Z] [2021-09-15T19:44:57.915Z] Login Succeeded [2021-09-15T19:44:57.915Z] nexus3.edgexfoundry.org:10003 [2021-09-15T19:44:58.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:44:58.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:44:58.474Z] Configure a credential helper to remove this warning. See [2021-09-15T19:44:58.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:44:58.474Z] [2021-09-15T19:44:58.474Z] Login Succeeded [2021-09-15T19:44:58.474Z] nexus3.edgexfoundry.org:10004 [2021-09-15T19:44:58.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:44:59.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:44:59.029Z] Configure a credential helper to remove this warning. See [2021-09-15T19:44:59.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:44:59.029Z] [2021-09-15T19:44:59.029Z] Login Succeeded [2021-09-15T19:44:59.029Z] docker.io [2021-09-15T19:44:59.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:44:59.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:44:59.904Z] Configure a credential helper to remove this warning. See [2021-09-15T19:44:59.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:44:59.904Z] [2021-09-15T19:44:59.904Z] Login Succeeded [2021-09-15T19:44:59.904Z] ---> docker-login.sh ends [Pipeline] } [2021-09-15T19:45:00.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-15T19:45:00.857Z] ========================================================= [2021-09-15T19:45:00.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-15T19:45:00.857Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:45:01.452Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-09-15T19:45:01.452Z] Sending build context to Docker daemon 119.8kB [2021-09-15T19:45:01.731Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-09-15T19:45:01.731Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-15T19:45:02.010Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-15T19:45:02.010Z] 595b0fe564bb: Pulling fs layer [2021-09-15T19:45:02.010Z] 24495759ef45: Pulling fs layer [2021-09-15T19:45:02.010Z] d148012ef14d: Pulling fs layer [2021-09-15T19:45:02.010Z] e90a11edd702: Pulling fs layer [2021-09-15T19:45:02.010Z] d77568369979: Pulling fs layer [2021-09-15T19:45:02.010Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-15T19:45:02.010Z] 170f2ba95c9a: Pulling fs layer [2021-09-15T19:45:02.010Z] 97ac5df62f85: Pulling fs layer [2021-09-15T19:45:02.010Z] d77568369979: Waiting [2021-09-15T19:45:02.010Z] fc1c9f9a7f3b: Waiting [2021-09-15T19:45:02.010Z] 170f2ba95c9a: Waiting [2021-09-15T19:45:02.010Z] 97ac5df62f85: Waiting [2021-09-15T19:45:02.010Z] e90a11edd702: Waiting [2021-09-15T19:45:02.288Z] d148012ef14d: Verifying Checksum [2021-09-15T19:45:02.288Z] d148012ef14d: Download complete [2021-09-15T19:45:02.288Z] 24495759ef45: Verifying Checksum [2021-09-15T19:45:02.288Z] 24495759ef45: Download complete [2021-09-15T19:45:02.288Z] d77568369979: Verifying Checksum [2021-09-15T19:45:02.288Z] d77568369979: Download complete [2021-09-15T19:45:02.288Z] 595b0fe564bb: Verifying Checksum [2021-09-15T19:45:02.288Z] 595b0fe564bb: Download complete [2021-09-15T19:45:02.288Z] fc1c9f9a7f3b: Download complete [2021-09-15T19:45:02.565Z] 170f2ba95c9a: Verifying Checksum [2021-09-15T19:45:02.565Z] 170f2ba95c9a: Download complete [2021-09-15T19:45:03.169Z] 595b0fe564bb: Pull complete [2021-09-15T19:45:04.155Z] 24495759ef45: Pull complete [2021-09-15T19:45:04.434Z] d148012ef14d: Pull complete [2021-09-15T19:45:06.422Z] 97ac5df62f85: Verifying Checksum [2021-09-15T19:45:06.422Z] 97ac5df62f85: Download complete [2021-09-15T19:45:07.023Z] e90a11edd702: Verifying Checksum [2021-09-15T19:45:07.023Z] e90a11edd702: Download complete [2021-09-15T19:45:08.435Z] Running on prd-centos7-docker-4c-2g-271 in /w/workspace/gexfoundry_device-rest-go_PR-133 [Pipeline] { [Pipeline] ws [2021-09-15T19:45:08.497Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-09-15T19:45:08.657Z] The recommended git tool is: git [2021-09-15T19:45:11.482Z] using credential edgex-jenkins-ssh [2021-09-15T19:45:11.498Z] Cloning the remote Git repository [2021-09-15T19:45:11.206Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-09-15T19:45:11.289Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-09-15T19:45:11.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-15T19:45:11.329Z] > git --version # timeout=10 [2021-09-15T19:45:11.336Z] > git --version # 'git version 2.24.4' [2021-09-15T19:45:11.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-15T19:45:11.365Z] [INFO] Currently running in a labeled security context [2021-09-15T19:45:11.365Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-15T19:45:11.365Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5670451210089978358.key [2021-09-15T19:45:11.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-15T19:45:12.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-15T19:45:12.550Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-15T19:45:12.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-15T19:45:12.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-15T19:45:12.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-15T19:45:12.586Z] [INFO] Currently running in a labeled security context [2021-09-15T19:45:12.586Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-15T19:45:12.586Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1343499729229616888.key [2021-09-15T19:45:12.596Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-15T19:45:13.352Z] Merging remotes/origin/main commit 4353c7216ee3f2112ec46af6800afcb0b221c962 into PR head commit 4225c14ff004e9afc4b7363a3b422edff62f7f37 [2021-09-15T19:45:13.449Z] Merge succeeded, producing 4225c14ff004e9afc4b7363a3b422edff62f7f37 [2021-09-15T19:45:13.449Z] Checking out Revision 4225c14ff004e9afc4b7363a3b422edff62f7f37 (PR-133) [2021-09-15T19:45:13.194Z] > git config core.sparsecheckout # timeout=10 [2021-09-15T19:45:13.204Z] > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 [2021-09-15T19:45:13.238Z] > git remote # timeout=10 [2021-09-15T19:45:13.243Z] > git config --get remote.origin.url # timeout=10 [2021-09-15T19:45:13.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-15T19:45:13.251Z] [INFO] Currently running in a labeled security context [2021-09-15T19:45:13.251Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-15T19:45:13.251Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6995167523953665170.key [2021-09-15T19:45:13.258Z] > git merge 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 [2021-09-15T19:45:13.266Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-15T19:45:13.289Z] > git config core.sparsecheckout # timeout=10 [2021-09-15T19:45:13.300Z] > git checkout -f 4225c14ff004e9afc4b7363a3b422edff62f7f37 # timeout=10 [2021-09-15T19:45:17.007Z] Commit message: "fix: remove the code: condition that is always true" [2021-09-15T19:45:17.099Z] > git --version # timeout=10 [2021-09-15T19:45:17.102Z] > git --version # 'git version 2.24.4' [2021-09-15T19:45:17.110Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-15T19:45:17.200Z] e90a11edd702: Pull complete [2021-09-15T19:45:17.200Z] d77568369979: Pull complete [2021-09-15T19:45:17.477Z] fc1c9f9a7f3b: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-15T19:45:17.842Z] provisioning config files... [2021-09-15T19:45:17.862Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config354043574369928382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:45:18.080Z] 170f2ba95c9a: Pull complete [2021-09-15T19:45:18.352Z] ---> docker-login.sh [2021-09-15T19:45:18.352Z] nexus3.edgexfoundry.org:10001 [2021-09-15T19:45:18.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:45:18.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:45:18.352Z] Configure a credential helper to remove this warning. See [2021-09-15T19:45:18.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:45:18.352Z] [2021-09-15T19:45:18.352Z] Login Succeeded [2021-09-15T19:45:18.352Z] nexus3.edgexfoundry.org:10002 [2021-09-15T19:45:18.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:45:18.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:45:18.619Z] Configure a credential helper to remove this warning. See [2021-09-15T19:45:18.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:45:18.619Z] [2021-09-15T19:45:18.619Z] Login Succeeded [2021-09-15T19:45:18.619Z] nexus3.edgexfoundry.org:10003 [2021-09-15T19:45:18.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:45:18.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:45:18.886Z] Configure a credential helper to remove this warning. See [2021-09-15T19:45:18.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:45:18.886Z] [2021-09-15T19:45:18.886Z] Login Succeeded [2021-09-15T19:45:18.886Z] nexus3.edgexfoundry.org:10004 [2021-09-15T19:45:18.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:45:18.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:45:18.886Z] Configure a credential helper to remove this warning. See [2021-09-15T19:45:18.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:45:18.886Z] [2021-09-15T19:45:18.886Z] Login Succeeded [2021-09-15T19:45:18.886Z] docker.io [2021-09-15T19:45:18.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-15T19:45:19.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-15T19:45:19.469Z] Configure a credential helper to remove this warning. See [2021-09-15T19:45:19.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-15T19:45:19.469Z] [2021-09-15T19:45:19.469Z] Login Succeeded [2021-09-15T19:45:19.469Z] ---> docker-login.sh ends [Pipeline] } [2021-09-15T19:45:19.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-15T19:45:19.861Z] ========================================================= [2021-09-15T19:45:19.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-15T19:45:19.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:45:20.346Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-09-15T19:45:20.346Z] Sending build context to Docker daemon 119.8kB [2021-09-15T19:45:20.346Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-09-15T19:45:20.346Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-15T19:45:20.346Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-15T19:45:20.346Z] 540db60ca938: Pulling fs layer [2021-09-15T19:45:20.346Z] adcc1eea9eea: Pulling fs layer [2021-09-15T19:45:20.346Z] 4c4ab2625f07: Pulling fs layer [2021-09-15T19:45:20.346Z] db62176df00c: Pulling fs layer [2021-09-15T19:45:20.346Z] 3b30891b0d05: Pulling fs layer [2021-09-15T19:45:20.346Z] 06b49ca38bd5: Pulling fs layer [2021-09-15T19:45:20.346Z] c788192a36de: Pulling fs layer [2021-09-15T19:45:20.346Z] a77e37c0d609: Pulling fs layer [2021-09-15T19:45:20.346Z] c3185cebc471: Pulling fs layer [2021-09-15T19:45:20.346Z] db62176df00c: Waiting [2021-09-15T19:45:20.346Z] 3b30891b0d05: Waiting [2021-09-15T19:45:20.346Z] 06b49ca38bd5: Waiting [2021-09-15T19:45:20.346Z] c788192a36de: Waiting [2021-09-15T19:45:20.346Z] a77e37c0d609: Waiting [2021-09-15T19:45:20.346Z] c3185cebc471: Waiting [2021-09-15T19:45:20.614Z] 4c4ab2625f07: Verifying Checksum [2021-09-15T19:45:20.614Z] 4c4ab2625f07: Download complete [2021-09-15T19:45:20.614Z] adcc1eea9eea: Verifying Checksum [2021-09-15T19:45:20.614Z] adcc1eea9eea: Download complete [2021-09-15T19:45:20.614Z] 3b30891b0d05: Verifying Checksum [2021-09-15T19:45:20.614Z] 3b30891b0d05: Download complete [2021-09-15T19:45:20.614Z] 06b49ca38bd5: Verifying Checksum [2021-09-15T19:45:20.614Z] 06b49ca38bd5: Download complete [2021-09-15T19:45:20.614Z] c788192a36de: Verifying Checksum [2021-09-15T19:45:20.614Z] c788192a36de: Download complete [2021-09-15T19:45:20.614Z] 540db60ca938: Verifying Checksum [2021-09-15T19:45:20.614Z] 540db60ca938: Download complete [2021-09-15T19:45:20.884Z] 540db60ca938: Pull complete [2021-09-15T19:45:20.884Z] adcc1eea9eea: Pull complete [2021-09-15T19:45:20.884Z] 4c4ab2625f07: Pull complete [2021-09-15T19:45:21.152Z] a77e37c0d609: Verifying Checksum [2021-09-15T19:45:21.152Z] a77e37c0d609: Download complete [2021-09-15T19:45:24.499Z] c3185cebc471: Verifying Checksum [2021-09-15T19:45:24.499Z] c3185cebc471: Download complete [2021-09-15T19:45:24.767Z] db62176df00c: Download complete [2021-09-15T19:45:24.814Z] 97ac5df62f85: Pull complete [2021-09-15T19:45:24.814Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-15T19:45:24.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-15T19:45:24.814Z] ---> 04bc70af865f [2021-09-15T19:45:24.814Z] Step 3/12 : ARG MAKE='make build' [2021-09-15T19:45:28.128Z] db62176df00c: Pull complete [2021-09-15T19:45:28.128Z] 3b30891b0d05: Pull complete [2021-09-15T19:45:28.128Z] 06b49ca38bd5: Pull complete [2021-09-15T19:45:28.128Z] c788192a36de: Pull complete [2021-09-15T19:45:28.128Z] a77e37c0d609: Pull complete [2021-09-15T19:45:29.129Z] ---> Running in a32727a2831c [2021-09-15T19:45:29.129Z] Removing intermediate container a32727a2831c [2021-09-15T19:45:29.129Z] ---> 8a9070fa5a10 [2021-09-15T19:45:29.129Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-15T19:45:29.129Z] ---> Running in 7e6239045e53 [2021-09-15T19:45:29.726Z] Removing intermediate container 7e6239045e53 [2021-09-15T19:45:29.726Z] ---> a2962be5329b [2021-09-15T19:45:29.726Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-15T19:45:29.726Z] ---> Running in 8315289c36c3 [2021-09-15T19:45:30.323Z] Removing intermediate container 8315289c36c3 [2021-09-15T19:45:30.323Z] ---> 73f636b4d485 [2021-09-15T19:45:30.323Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-15T19:45:30.601Z] ---> Running in ed299d0703d6 [2021-09-15T19:45:30.722Z] c3185cebc471: Pull complete [2021-09-15T19:45:30.722Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-15T19:45:30.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-15T19:45:30.722Z] ---> 031687cdd783 [2021-09-15T19:45:30.722Z] Step 3/12 : ARG MAKE='make build' [2021-09-15T19:45:32.131Z] ---> Running in 65d7c79dec25 [2021-09-15T19:45:32.131Z] Removing intermediate container 65d7c79dec25 [2021-09-15T19:45:32.131Z] ---> 5433d26ec409 [2021-09-15T19:45:32.131Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-15T19:45:32.131Z] ---> Running in 21415ec41f90 [2021-09-15T19:45:32.131Z] Removing intermediate container 21415ec41f90 [2021-09-15T19:45:32.131Z] ---> 2e2f3552b57a [2021-09-15T19:45:32.131Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-15T19:45:32.131Z] ---> Running in a4571950a92c [2021-09-15T19:45:32.131Z] Removing intermediate container a4571950a92c [2021-09-15T19:45:32.131Z] ---> f5f58f2a76a8 [2021-09-15T19:45:32.131Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-15T19:45:32.131Z] ---> Running in 48a84a61577b [2021-09-15T19:45:32.714Z] Removing intermediate container 48a84a61577b [2021-09-15T19:45:32.714Z] ---> 1ade5e7fadff [2021-09-15T19:45:32.714Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-15T19:45:32.714Z] ---> Running in 1a7865fa1136 [2021-09-15T19:45:32.979Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-15T19:45:33.940Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-15T19:45:33.996Z] Removing intermediate container ed299d0703d6 [2021-09-15T19:45:33.996Z] ---> 79b6d01a8704 [2021-09-15T19:45:33.996Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-15T19:45:33.996Z] ---> Running in 7f1276c9685b [2021-09-15T19:45:34.206Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-15T19:45:34.206Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-15T19:45:34.472Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-15T19:45:34.740Z] Executing busybox-1.32.1-r6.trigger [2021-09-15T19:45:34.740Z] OK: 223 MiB in 55 packages [2021-09-15T19:45:34.974Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-15T19:45:35.008Z] Removing intermediate container 1a7865fa1136 [2021-09-15T19:45:35.008Z] ---> d311e79d1c79 [2021-09-15T19:45:35.008Z] Step 8/12 : WORKDIR /device-rest-go [2021-09-15T19:45:35.008Z] ---> Running in 486abe3d930b [2021-09-15T19:45:35.008Z] Removing intermediate container 486abe3d930b [2021-09-15T19:45:35.008Z] ---> 359d7babf90d [2021-09-15T19:45:35.008Z] Step 9/12 : COPY . . [2021-09-15T19:45:35.276Z] ---> 294357c68d92 [2021-09-15T19:45:35.276Z] Step 10/12 : RUN go mod tidy [2021-09-15T19:45:35.276Z] ---> Running in c6432bae8cb6 [2021-09-15T19:45:35.948Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-15T19:45:36.537Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-15T19:45:36.808Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-15T19:45:36.808Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-15T19:45:37.081Z] Executing busybox-1.32.1-r6.trigger [2021-09-15T19:45:37.354Z] OK: 222 MiB in 55 packages [2021-09-15T19:45:37.859Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/spf13/cast v1.4.1 [2021-09-15T19:45:37.859Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/google/uuid v1.2.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-15T19:45:37.859Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-15T19:45:37.859Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-15T19:45:37.859Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-15T19:45:37.859Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-15T19:45:37.859Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-15T19:45:37.859Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-15T19:45:38.127Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-15T19:45:38.127Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-15T19:45:38.127Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-15T19:45:38.127Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-15T19:45:38.127Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-15T19:45:38.127Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-15T19:45:38.127Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-15T19:45:38.127Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-15T19:45:38.403Z] go: downloading golang.org/x/text v0.3.2 [2021-09-15T19:45:38.403Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-15T19:45:38.403Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-15T19:45:38.784Z] Removing intermediate container 7f1276c9685b [2021-09-15T19:45:38.784Z] ---> bb5cb68ba498 [2021-09-15T19:45:38.784Z] Step 8/12 : WORKDIR /device-rest-go [2021-09-15T19:45:39.056Z] ---> Running in 6cbb01289117 [2021-09-15T19:45:39.331Z] Removing intermediate container 6cbb01289117 [2021-09-15T19:45:39.331Z] ---> 65bfdc614f22 [2021-09-15T19:45:39.331Z] Step 9/12 : COPY . . [2021-09-15T19:45:39.380Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-15T19:45:39.380Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-15T19:45:39.380Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-15T19:45:39.380Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-15T19:45:39.380Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-15T19:45:39.380Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-15T19:45:39.380Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-15T19:45:39.380Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-15T19:45:39.380Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-15T19:45:39.647Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-15T19:45:39.647Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-15T19:45:39.647Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-15T19:45:39.647Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-15T19:45:39.647Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-15T19:45:39.647Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-15T19:45:39.647Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-15T19:45:39.647Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-15T19:45:39.647Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-15T19:45:39.647Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-15T19:45:39.916Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-15T19:45:39.916Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-15T19:45:39.916Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-15T19:45:39.916Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-15T19:45:39.916Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-15T19:45:39.916Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-15T19:45:40.194Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/kr/text v0.1.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-15T19:45:40.194Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-15T19:45:40.194Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-15T19:45:40.194Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-15T19:45:40.194Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-15T19:45:40.194Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-15T19:45:40.194Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-15T19:45:40.194Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-15T19:45:40.309Z] ---> 52b728edd896 [2021-09-15T19:45:40.309Z] Step 10/12 : RUN go mod tidy [2021-09-15T19:45:40.474Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-15T19:45:40.474Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-15T19:45:40.474Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-15T19:45:40.474Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-15T19:45:40.474Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-15T19:45:40.474Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-15T19:45:40.474Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-15T19:45:40.474Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-15T19:45:40.474Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-15T19:45:40.474Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-15T19:45:40.581Z] ---> Running in 0e578c6bcf74 [2021-09-15T19:45:43.989Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-15T19:45:43.989Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-15T19:45:43.990Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-15T19:45:43.990Z] go: downloading github.com/spf13/cast v1.4.1 [2021-09-15T19:45:43.990Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-15T19:45:43.990Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-15T19:45:43.990Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-15T19:45:43.990Z] go: downloading github.com/google/uuid v1.2.0 [2021-09-15T19:45:43.990Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-15T19:45:43.990Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-15T19:45:44.265Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-15T19:45:44.265Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-15T19:45:44.265Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-15T19:45:44.265Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-15T19:45:44.265Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-15T19:45:44.556Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-15T19:45:44.556Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-15T19:45:44.556Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-15T19:45:44.556Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-15T19:45:44.556Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-15T19:45:44.556Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-15T19:45:44.556Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-15T19:45:44.556Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-15T19:45:44.557Z] go: downloading golang.org/x/text v0.3.2 [2021-09-15T19:45:44.750Z] Removing intermediate container c6432bae8cb6 [2021-09-15T19:45:44.750Z] ---> 37f4ed75a5e0 [2021-09-15T19:45:44.750Z] Step 11/12 : RUN make update [2021-09-15T19:45:44.750Z] ---> Running in abdb8e3ef07e [2021-09-15T19:45:44.750Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-15T19:45:44.837Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-15T19:45:44.837Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-15T19:45:47.469Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-15T19:45:47.469Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-15T19:45:47.469Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-15T19:45:47.469Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-15T19:45:47.744Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-15T19:45:47.745Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-15T19:45:47.745Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-15T19:45:47.745Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-15T19:45:47.745Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-15T19:45:48.020Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-15T19:45:48.020Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-15T19:45:48.020Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-15T19:45:48.020Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-15T19:45:48.020Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-15T19:45:48.020Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-15T19:45:48.020Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-15T19:45:48.020Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-15T19:45:48.297Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-15T19:45:48.297Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-15T19:45:48.297Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-15T19:45:48.297Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-15T19:45:48.297Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-15T19:45:48.571Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-15T19:45:48.571Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-15T19:45:48.571Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-15T19:45:48.571Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-15T19:45:48.846Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-15T19:45:48.846Z] go: downloading github.com/kr/text v0.1.0 [2021-09-15T19:45:48.846Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-15T19:45:48.846Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-15T19:45:48.846Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-15T19:45:48.846Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-15T19:45:48.846Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-15T19:45:49.016Z] Removing intermediate container abdb8e3ef07e [2021-09-15T19:45:49.016Z] ---> c5af0348ff4f [2021-09-15T19:45:49.016Z] Step 12/12 : RUN $MAKE [2021-09-15T19:45:49.016Z] ---> Running in 16327be37eb7 [2021-09-15T19:45:49.016Z] noop [2021-09-15T19:45:49.016Z] Removing intermediate container 16327be37eb7 [2021-09-15T19:45:49.016Z] ---> 447b06f61be8 [2021-09-15T19:45:49.016Z] Successfully built 447b06f61be8 [2021-09-15T19:45:49.016Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:45:49.126Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-15T19:45:49.126Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-15T19:45:49.126Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-15T19:45:49.126Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-15T19:45:49.126Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-15T19:45:49.126Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-15T19:45:49.126Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-15T19:45:49.394Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-15T19:45:49.394Z] . [2021-09-15T19:45:49.404Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-15T19:45:49.404Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-15T19:45:49.404Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-15T19:45:49.404Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-15T19:45:49.404Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-15T19:45:49.404Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-15T19:45:49.404Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-15T19:45:49.404Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [Pipeline] withDockerContainer [2021-09-15T19:45:49.525Z] prd-centos7-docker-4c-2g-271 does not seem to be running inside a container [2021-09-15T19:45:49.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-15T19:45:49.679Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-15T19:45:49.679Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-15T19:45:49.991Z] $ docker top 783705e894e987bb0e5b131386e99b4db0d2d28d2d94de7ec58d3c0adc6ae3d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-15T19:45:50.477Z] + go version [2021-09-15T19:45:50.477Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-15T19:45:50.510Z] $ docker stop --time=1 783705e894e987bb0e5b131386e99b4db0d2d28d2d94de7ec58d3c0adc6ae3d0 [2021-09-15T19:45:51.714Z] $ docker rm -f 783705e894e987bb0e5b131386e99b4db0d2d28d2d94de7ec58d3c0adc6ae3d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:45:52.596Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-15T19:45:52.596Z] . [Pipeline] withDockerContainer [2021-09-15T19:45:52.715Z] prd-centos7-docker-4c-2g-271 does not seem to be running inside a container [2021-09-15T19:45:52.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-15T19:45:53.177Z] $ docker top b5548308140ff7f54a739c059f6981f5b590ab4b550cfa19a33de5ad7cba6933 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-15T19:45:53.695Z] + go mod tidy [Pipeline] sh [2021-09-15T19:45:54.322Z] + make test [2021-09-15T19:45:54.322Z] go mod tidy [2021-09-15T19:45:54.322Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-09-15T19:45:54.910Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-09-15T19:46:04.791Z] Removing intermediate container 0e578c6bcf74 [2021-09-15T19:46:04.791Z] ---> c457e59c9983 [2021-09-15T19:46:04.791Z] Step 11/12 : RUN make update [2021-09-15T19:46:04.791Z] ---> Running in e198ffb9e510 [2021-09-15T19:46:04.791Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-15T19:46:09.973Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-09-15T19:46:10.570Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-09-15T19:46:10.570Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-15T19:46:13.064Z] Removing intermediate container e198ffb9e510 [2021-09-15T19:46:13.064Z] ---> 316030db7b7f [2021-09-15T19:46:13.064Z] Step 12/12 : RUN $MAKE [2021-09-15T19:46:13.064Z] ---> Running in 5e7da5432ad8 [2021-09-15T19:46:14.502Z] noop [2021-09-15T19:46:15.489Z] Removing intermediate container 5e7da5432ad8 [2021-09-15T19:46:15.489Z] ---> ce4be82a388c [2021-09-15T19:46:15.489Z] Successfully built ce4be82a388c [2021-09-15T19:46:15.489Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:46:15.896Z] + docker inspect -f . ci-base-image-arm64 [2021-09-15T19:46:15.896Z] . [Pipeline] withDockerContainer [2021-09-15T19:46:16.187Z] prd-ubuntu18.04-docker-arm64-4c-16g-270 does not seem to be running inside a container [2021-09-15T19:46:16.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-15T19:46:17.230Z] gofmt -l . [2021-09-15T19:46:17.230Z] [ "`gofmt -l .`" = "" ] [2021-09-15T19:46:17.230Z] ./bin/test-go-mod-tidy.sh [2021-09-15T19:46:17.230Z] ./bin/test-attribution-txt.sh [2021-09-15T19:46:18.217Z] $ docker top e10e5f228b4ea01daef596d22f458230f2f1901b71603058367a6a917ff914bf -eo pid,comm [Pipeline] { [Pipeline] } [2021-09-15T19:46:18.616Z] $ docker stop --time=1 b5548308140ff7f54a739c059f6981f5b590ab4b550cfa19a33de5ad7cba6933 [2021-09-15T19:46:20.065Z] $ docker rm -f b5548308140ff7f54a739c059f6981f5b590ab4b550cfa19a33de5ad7cba6933 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-09-15T19:46:20.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-15T19:46:20.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-09-15T19:46:20.934Z] + go version [2021-09-15T19:46:20.934Z] go version go1.16.6 linux/arm64 [Pipeline] // stage [Pipeline] } [2021-09-15T19:46:21.084Z] $ docker stop --time=1 e10e5f228b4ea01daef596d22f458230f2f1901b71603058367a6a917ff914bf [2021-09-15T19:46:23.043Z] $ docker rm -f e10e5f228b4ea01daef596d22f458230f2f1901b71603058367a6a917ff914bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:46:25.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-15T19:46:25.899Z] + docker inspect -f . ci-base-image-arm64 [2021-09-15T19:46:25.899Z] . [Pipeline] withDockerContainer [2021-09-15T19:46:26.076Z] + ls -al . [2021-09-15T19:46:26.076Z] total 116 [2021-09-15T19:46:26.076Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 15 19:46 . [2021-09-15T19:46:26.076Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 19:45 .. [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 6792 Sep 15 19:45 Attribution.txt [2021-09-15T19:46:26.076Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 19:45 bin [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 7459 Sep 15 19:45 CHANGELOG.md [2021-09-15T19:46:26.076Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 15 19:45 cmd [2021-09-15T19:46:26.076Z] -rw-r--r--. 1 jenkins jenkins 8435 Sep 15 19:46 coverage.out [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 1615 Sep 15 19:45 Dockerfile [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 15 19:45 .dockerignore [2021-09-15T19:46:26.076Z] drwxrwxr-x. 2 jenkins jenkins 76 Sep 15 19:45 driver [2021-09-15T19:46:26.076Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 19:45 .git [2021-09-15T19:46:26.076Z] drwxrwxr-x. 2 jenkins jenkins 103 Sep 15 19:45 .github [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 336 Sep 15 19:45 .gitignore [2021-09-15T19:46:26.076Z] -rw-r--r--. 1 jenkins jenkins 271 Sep 15 19:46 go.mod [2021-09-15T19:46:26.076Z] -rw-r--r--. 1 jenkins jenkins 20570 Sep 15 19:45 go.sum [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 15 19:45 GOVERNANCE.md [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 15 19:45 Jenkinsfile [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 15 19:45 LICENSE [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 996 Sep 15 19:45 Makefile [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 620 Sep 15 19:45 OWNERS.md [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 7661 Sep 15 19:45 README.md [2021-09-15T19:46:26.076Z] drwxrwxr-x. 4 jenkins jenkins 71 Sep 15 19:45 snap [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 19:41 VERSION [2021-09-15T19:46:26.076Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 15 19:45 version.go [2021-09-15T19:46:26.184Z] prd-ubuntu18.04-docker-arm64-4c-16g-270 does not seem to be running inside a container [2021-09-15T19:46:26.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-15T19:46:27.973Z] $ docker top a70122a2d7bd162c47e481f7a6933ef20b312bf24f3b217619c84d645f4cbe2e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:46:28.830Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 --label arch=amd64 --label version=0.0.0 . [2021-09-15T19:46:28.830Z] Sending build context to Docker daemon 129kB [2021-09-15T19:46:28.830Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-09-15T19:46:28.830Z] Step 2/25 : FROM ${BASE} AS builder [2021-09-15T19:46:28.830Z] ---> 447b06f61be8 [2021-09-15T19:46:28.830Z] Step 3/25 : ARG MAKE='make build' [2021-09-15T19:46:28.830Z] ---> Running in 20dee728d791 [2021-09-15T19:46:28.830Z] Removing intermediate container 20dee728d791 [2021-09-15T19:46:28.830Z] ---> 302b48675fbb [2021-09-15T19:46:28.830Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-15T19:46:28.830Z] ---> Running in 81751e6227b4 [2021-09-15T19:46:29.072Z] + go mod tidy [2021-09-15T19:46:29.105Z] Removing intermediate container 81751e6227b4 [2021-09-15T19:46:29.105Z] ---> 1a8163ca4ce6 [2021-09-15T19:46:29.105Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-09-15T19:46:29.105Z] ---> Running in 64100b2aaa58 [2021-09-15T19:46:29.105Z] Removing intermediate container 64100b2aaa58 [2021-09-15T19:46:29.105Z] ---> 0cfc719cf662 [2021-09-15T19:46:29.105Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-15T19:46:29.105Z] ---> Running in 03cfba8af5aa [Pipeline] sh [2021-09-15T19:46:29.938Z] Removing intermediate container 03cfba8af5aa [2021-09-15T19:46:29.938Z] ---> 585b8fe71b02 [2021-09-15T19:46:29.938Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-15T19:46:29.938Z] ---> Running in 4e03621f9095 [2021-09-15T19:46:30.203Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-15T19:46:30.383Z] + make test [2021-09-15T19:46:30.383Z] go mod tidy [2021-09-15T19:46:30.786Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-15T19:46:30.982Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-09-15T19:46:31.368Z] OK: 223 MiB in 55 packages [2021-09-15T19:46:31.637Z] Removing intermediate container 4e03621f9095 [2021-09-15T19:46:31.637Z] ---> fb7c6058d480 [2021-09-15T19:46:31.637Z] Step 8/25 : WORKDIR /device-rest-go [2021-09-15T19:46:31.637Z] ---> Running in 9e018fe7c656 [2021-09-15T19:46:31.637Z] Removing intermediate container 9e018fe7c656 [2021-09-15T19:46:31.637Z] ---> 37ebcdc013a3 [2021-09-15T19:46:31.637Z] Step 9/25 : COPY . . [2021-09-15T19:46:31.904Z] ---> 95b03c8fccf5 [2021-09-15T19:46:31.905Z] Step 10/25 : RUN go mod tidy [2021-09-15T19:46:31.905Z] ---> Running in 3579518b0348 [2021-09-15T19:46:31.970Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-09-15T19:46:32.485Z] Removing intermediate container 3579518b0348 [2021-09-15T19:46:32.485Z] ---> 3d4a2a39e851 [2021-09-15T19:46:32.485Z] Step 11/25 : RUN make update [2021-09-15T19:46:32.485Z] ---> Running in 5412746f1f58 [2021-09-15T19:46:32.753Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-15T19:46:33.021Z] Removing intermediate container 5412746f1f58 [2021-09-15T19:46:33.021Z] ---> 68dfcbd779b7 [2021-09-15T19:46:33.021Z] Step 12/25 : RUN $MAKE [2021-09-15T19:46:33.021Z] ---> Running in 2fd0c5042c31 [2021-09-15T19:46:33.298Z] go mod tidy [2021-09-15T19:46:33.576Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-09-15T19:46:45.945Z] Removing intermediate container 2fd0c5042c31 [2021-09-15T19:46:45.945Z] ---> dd66bb98bf3b [2021-09-15T19:46:45.945Z] Step 13/25 : FROM alpine:3.12 [2021-09-15T19:46:45.945Z] 3.12: Pulling from library/alpine [2021-09-15T19:46:45.945Z] e519532ddf75: Pulling fs layer [2021-09-15T19:46:45.945Z] e519532ddf75: Verifying Checksum [2021-09-15T19:46:45.945Z] e519532ddf75: Download complete [2021-09-15T19:46:45.945Z] e519532ddf75: Pull complete [2021-09-15T19:46:45.945Z] Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a [2021-09-15T19:46:45.945Z] Status: Downloaded newer image for alpine:3.12 [2021-09-15T19:46:45.945Z] ---> 48b8ec4ed9eb [2021-09-15T19:46:45.945Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-09-15T19:46:45.945Z] ---> Running in 4fcad9a2c5cf [2021-09-15T19:46:45.945Z] Removing intermediate container 4fcad9a2c5cf [2021-09-15T19:46:45.945Z] ---> b755758cc8f7 [2021-09-15T19:46:45.945Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-09-15T19:46:45.945Z] ---> Running in b2516bb32a11 [2021-09-15T19:46:45.945Z] Removing intermediate container b2516bb32a11 [2021-09-15T19:46:45.945Z] ---> 0e8a42c1abe5 [2021-09-15T19:46:45.945Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-15T19:46:45.945Z] ---> Running in 42872112448d [2021-09-15T19:46:46.212Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-15T19:46:46.213Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-15T19:46:46.481Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-09-15T19:46:46.481Z] (2/6) Installing libgcc (9.3.0-r2) [2021-09-15T19:46:46.481Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-15T19:46:46.481Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-09-15T19:46:46.481Z] (5/6) Installing libzmq (4.3.3-r0) [2021-09-15T19:46:46.481Z] (6/6) Installing zeromq (4.3.3-r0) [2021-09-15T19:46:46.481Z] Executing busybox-1.31.1-r20.trigger [2021-09-15T19:46:46.481Z] OK: 8 MiB in 20 packages [2021-09-15T19:46:46.751Z] Removing intermediate container 42872112448d [2021-09-15T19:46:46.751Z] ---> 7b3ffa0d57b5 [2021-09-15T19:46:46.751Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-09-15T19:46:47.021Z] ---> 846b9567d455 [2021-09-15T19:46:47.022Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-09-15T19:46:47.287Z] ---> e59bd912b8bf [2021-09-15T19:46:47.288Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-09-15T19:46:47.288Z] ---> 9ecdf50abca1 [2021-09-15T19:46:47.288Z] Step 20/25 : EXPOSE 59986 [2021-09-15T19:46:47.288Z] ---> Running in 23aafc3c1869 [2021-09-15T19:46:47.560Z] Removing intermediate container 23aafc3c1869 [2021-09-15T19:46:47.560Z] ---> d80fcc872e17 [2021-09-15T19:46:47.560Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-09-15T19:46:47.560Z] ---> Running in 3aed2732cae6 [2021-09-15T19:46:47.560Z] Removing intermediate container 3aed2732cae6 [2021-09-15T19:46:47.560Z] ---> d273075eae65 [2021-09-15T19:46:47.560Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-09-15T19:46:47.560Z] ---> Running in dcdf098a2df4 [2021-09-15T19:46:47.560Z] Removing intermediate container dcdf098a2df4 [2021-09-15T19:46:47.560Z] ---> 4b25b42cd4e8 [2021-09-15T19:46:47.560Z] Step 23/25 : LABEL arch=amd64 [2021-09-15T19:46:47.826Z] ---> Running in f99c3901f7b3 [2021-09-15T19:46:47.826Z] Removing intermediate container f99c3901f7b3 [2021-09-15T19:46:47.826Z] ---> ed5f90f49530 [2021-09-15T19:46:47.826Z] Step 24/25 : LABEL git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 [2021-09-15T19:46:47.826Z] ---> Running in 3643f0a51a84 [2021-09-15T19:46:47.826Z] Removing intermediate container 3643f0a51a84 [2021-09-15T19:46:47.826Z] ---> e2ef19fb74bc [2021-09-15T19:46:47.826Z] Step 25/25 : LABEL version=0.0.0 [2021-09-15T19:46:47.826Z] ---> Running in f5e1dcf0d3d2 [2021-09-15T19:46:48.093Z] Removing intermediate container f5e1dcf0d3d2 [2021-09-15T19:46:48.093Z] ---> 8a96984544cf [2021-09-15T19:46:48.093Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-15T19:46:48.093Z] Successfully built 8a96984544cf [2021-09-15T19:46:48.093Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:46:49.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-15T19:46:49.224Z] [2021-09-15T19:46:49.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:46:49.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-15T19:46:49.601Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-15T19:46:49.601Z] b4d181a07f80: Pulling fs layer [2021-09-15T19:46:49.601Z] a1111a8f2ec3: Pulling fs layer [2021-09-15T19:46:49.601Z] ed53099fbce6: Pulling fs layer [2021-09-15T19:46:49.601Z] dc539afda2c1: Pulling fs layer [2021-09-15T19:46:49.601Z] 77bc0d833cb6: Pulling fs layer [2021-09-15T19:46:49.601Z] 9065ff56babe: Pulling fs layer [2021-09-15T19:46:49.601Z] d287ab97295c: Pulling fs layer [2021-09-15T19:46:49.601Z] dc539afda2c1: Waiting [2021-09-15T19:46:49.601Z] 77bc0d833cb6: Waiting [2021-09-15T19:46:49.601Z] 9065ff56babe: Waiting [2021-09-15T19:46:49.601Z] d287ab97295c: Waiting [2021-09-15T19:46:49.866Z] a1111a8f2ec3: Verifying Checksum [2021-09-15T19:46:49.866Z] a1111a8f2ec3: Download complete [2021-09-15T19:46:50.132Z] dc539afda2c1: Verifying Checksum [2021-09-15T19:46:50.132Z] dc539afda2c1: Download complete [2021-09-15T19:46:50.132Z] 77bc0d833cb6: Verifying Checksum [2021-09-15T19:46:50.132Z] 77bc0d833cb6: Download complete [2021-09-15T19:46:50.132Z] ed53099fbce6: Verifying Checksum [2021-09-15T19:46:50.132Z] ed53099fbce6: Download complete [2021-09-15T19:46:50.132Z] 9065ff56babe: Verifying Checksum [2021-09-15T19:46:50.132Z] 9065ff56babe: Download complete [2021-09-15T19:46:51.093Z] b4d181a07f80: Verifying Checksum [2021-09-15T19:46:51.093Z] b4d181a07f80: Download complete [2021-09-15T19:46:52.507Z] b4d181a07f80: Pull complete [2021-09-15T19:46:52.508Z] a1111a8f2ec3: Pull complete [2021-09-15T19:46:52.774Z] ed53099fbce6: Pull complete [2021-09-15T19:46:53.040Z] dc539afda2c1: Pull complete [2021-09-15T19:46:53.313Z] 77bc0d833cb6: Pull complete [2021-09-15T19:46:53.313Z] 9065ff56babe: Pull complete [2021-09-15T19:46:54.721Z] d287ab97295c: Verifying Checksum [2021-09-15T19:46:54.721Z] d287ab97295c: Download complete [2021-09-15T19:46:59.021Z] d287ab97295c: Pull complete [2021-09-15T19:46:59.021Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-15T19:46:59.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-15T19:46:59.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-15T19:46:59.141Z] prd-centos7-docker-4c-2g-271 does not seem to be running inside a container [2021-09-15T19:46:59.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-15T19:47:01.568Z] $ docker top 35bd6217078822ca944a4b5017a308086f5d6858b6e6e0c888663018f9ea8c06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:47:02.256Z] ---> job-cost.sh [2021-09-15T19:47:02.256Z] lf-activate-venv: SKIPPING [2021-09-15T19:47:02.256Z] INFO: No Stack... [2021-09-15T19:47:03.670Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-15T19:47:03.670Z] INFO: Archiving Costs [Pipeline] sh [2021-09-15T19:47:04.010Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-09-15T19:47:04.010Z] + cut -d, -f6 [Pipeline] lock [2021-09-15T19:47:04.080Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [2021-09-15T19:47:04.088Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] did not exist. Created. [2021-09-15T19:47:04.088Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-15T19:47:04.532Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-15T19:47:04.594Z] Stashed 1 file(s) [Pipeline] } [2021-09-15T19:47:04.633Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-15T19:47:04.725Z] $ docker stop --time=1 35bd6217078822ca944a4b5017a308086f5d6858b6e6e0c888663018f9ea8c06 [2021-09-15T19:47:05.881Z] $ docker rm -f 35bd6217078822ca944a4b5017a308086f5d6858b6e6e0c888663018f9ea8c06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-15T19:47:28.585Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-09-15T19:47:28.585Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 53.8% of statements [2021-09-15T19:47:28.585Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-15T19:47:55.387Z] gofmt -l . [2021-09-15T19:47:55.387Z] [ "`gofmt -l .`" = "" ] [2021-09-15T19:47:55.387Z] ./bin/test-go-mod-tidy.sh [2021-09-15T19:47:55.387Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-15T19:47:55.444Z] $ docker stop --time=1 a70122a2d7bd162c47e481f7a6933ef20b312bf24f3b217619c84d645f4cbe2e [2021-09-15T19:47:57.547Z] $ docker rm -f a70122a2d7bd162c47e481f7a6933ef20b312bf24f3b217619c84d645f4cbe2e [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-15T19:47:58.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-15T19:47:58.757Z] Warning: overwriting stash ‘coverage-report’ [2021-09-15T19:47:59.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-15T19:48:00.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-15T19:48:00.481Z] + ls -al . [2021-09-15T19:48:00.481Z] total 144 [2021-09-15T19:48:00.481Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 19:47 . [2021-09-15T19:48:00.481Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 19:44 .. [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 15 19:44 .dockerignore [2021-09-15T19:48:00.481Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 19:44 .git [2021-09-15T19:48:00.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 19:44 .github [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 336 Sep 15 19:44 .gitignore [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 6792 Sep 15 19:44 Attribution.txt [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 7459 Sep 15 19:44 CHANGELOG.md [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 1615 Sep 15 19:44 Dockerfile [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 19:44 GOVERNANCE.md [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 19:44 Jenkinsfile [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 19:44 LICENSE [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 996 Sep 15 19:44 Makefile [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 19:44 OWNERS.md [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 7661 Sep 15 19:44 README.md [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 19:41 VERSION [2021-09-15T19:48:00.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 19:44 bin [2021-09-15T19:48:00.481Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 19:44 cmd [2021-09-15T19:48:00.481Z] -rw-r--r-- 1 jenkins jenkins 8435 Sep 15 19:47 coverage.out [2021-09-15T19:48:00.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 19:44 driver [2021-09-15T19:48:00.481Z] -rw-r--r-- 1 jenkins jenkins 271 Sep 15 19:47 go.mod [2021-09-15T19:48:00.481Z] -rw-r--r-- 1 jenkins jenkins 20570 Sep 15 19:46 go.sum [2021-09-15T19:48:00.481Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 19:44 snap [2021-09-15T19:48:00.481Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 15 19:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:48:00.876Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 --label arch=arm64 --label version=0.0.0 . [2021-09-15T19:48:00.877Z] Sending build context to Docker daemon 129kB [2021-09-15T19:48:01.153Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-09-15T19:48:01.153Z] Step 2/25 : FROM ${BASE} AS builder [2021-09-15T19:48:01.153Z] ---> ce4be82a388c [2021-09-15T19:48:01.153Z] Step 3/25 : ARG MAKE='make build' [2021-09-15T19:48:01.432Z] ---> Running in bf757d19eb54 [2021-09-15T19:48:02.038Z] Removing intermediate container bf757d19eb54 [2021-09-15T19:48:02.038Z] ---> 7971c52ad4c9 [2021-09-15T19:48:02.038Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-15T19:48:02.038Z] ---> Running in a90da66e5712 [2021-09-15T19:48:02.637Z] Removing intermediate container a90da66e5712 [2021-09-15T19:48:02.637Z] ---> 4da4d1e99362 [2021-09-15T19:48:02.637Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-09-15T19:48:02.910Z] ---> Running in d30dd9cddb55 [2021-09-15T19:48:03.184Z] Removing intermediate container d30dd9cddb55 [2021-09-15T19:48:03.184Z] ---> 6e7e29d52072 [2021-09-15T19:48:03.184Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-15T19:48:03.459Z] ---> Running in ba3369aa6144 [2021-09-15T19:48:06.089Z] Removing intermediate container ba3369aa6144 [2021-09-15T19:48:06.089Z] ---> a5bc20f35d69 [2021-09-15T19:48:06.089Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-15T19:48:06.089Z] ---> Running in a5ab1f90e3ac [2021-09-15T19:48:07.070Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-15T19:48:08.051Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-15T19:48:09.057Z] OK: 222 MiB in 55 packages [2021-09-15T19:48:10.040Z] Removing intermediate container a5ab1f90e3ac [2021-09-15T19:48:10.040Z] ---> 74be600897cf [2021-09-15T19:48:10.040Z] Step 8/25 : WORKDIR /device-rest-go [2021-09-15T19:48:10.317Z] ---> Running in 8572e7673099 [2021-09-15T19:48:10.914Z] Removing intermediate container 8572e7673099 [2021-09-15T19:48:10.914Z] ---> a44558ad771c [2021-09-15T19:48:10.914Z] Step 9/25 : COPY . . [2021-09-15T19:48:11.515Z] ---> 3d7f43cc85e2 [2021-09-15T19:48:11.515Z] Step 10/25 : RUN go mod tidy [2021-09-15T19:48:11.791Z] ---> Running in 0985ae6afb28 [2021-09-15T19:48:14.419Z] Removing intermediate container 0985ae6afb28 [2021-09-15T19:48:14.419Z] ---> da68d4e189d8 [2021-09-15T19:48:14.419Z] Step 11/25 : RUN make update [2021-09-15T19:48:14.694Z] ---> Running in 218630a22e3c [2021-09-15T19:48:15.675Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-15T19:48:17.111Z] Removing intermediate container 218630a22e3c [2021-09-15T19:48:17.111Z] ---> 4a40191cc337 [2021-09-15T19:48:17.111Z] Step 12/25 : RUN $MAKE [2021-09-15T19:48:17.708Z] ---> Running in d94b7c22fe37 [2021-09-15T19:48:18.711Z] go mod tidy [2021-09-15T19:48:19.315Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-09-15T19:48:58.349Z] Removing intermediate container d94b7c22fe37 [2021-09-15T19:48:58.349Z] ---> ba1f881507c7 [2021-09-15T19:48:58.349Z] Step 13/25 : FROM alpine:3.12 [2021-09-15T19:48:58.349Z] 3.12: Pulling from library/alpine [2021-09-15T19:48:58.349Z] ccdebe76d529: Pulling fs layer [2021-09-15T19:48:58.349Z] ccdebe76d529: Verifying Checksum [2021-09-15T19:48:58.349Z] ccdebe76d529: Download complete [2021-09-15T19:48:58.349Z] ccdebe76d529: Pull complete [2021-09-15T19:48:58.349Z] Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a [2021-09-15T19:48:58.349Z] Status: Downloaded newer image for alpine:3.12 [2021-09-15T19:48:58.349Z] ---> afc2cc120ca2 [2021-09-15T19:48:58.349Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-09-15T19:48:58.349Z] ---> Running in c8a6a67eb4e0 [2021-09-15T19:48:58.349Z] Removing intermediate container c8a6a67eb4e0 [2021-09-15T19:48:58.349Z] ---> a377bf6624e1 [2021-09-15T19:48:58.349Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-09-15T19:48:58.349Z] ---> Running in 2731f36c1b75 [2021-09-15T19:48:58.946Z] Removing intermediate container 2731f36c1b75 [2021-09-15T19:48:58.946Z] ---> 36f1f2ac335a [2021-09-15T19:48:58.946Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-15T19:48:58.946Z] ---> Running in df7e77168224 [2021-09-15T19:49:00.381Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-15T19:49:00.381Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-15T19:49:00.976Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-09-15T19:49:00.977Z] (2/6) Installing libgcc (9.3.0-r2) [2021-09-15T19:49:00.977Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-15T19:49:00.977Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-09-15T19:49:00.977Z] (5/6) Installing libzmq (4.3.3-r0) [2021-09-15T19:49:00.977Z] (6/6) Installing zeromq (4.3.3-r0) [2021-09-15T19:49:00.977Z] Executing busybox-1.31.1-r20.trigger [2021-09-15T19:49:00.977Z] OK: 8 MiB in 20 packages [2021-09-15T19:49:03.596Z] Removing intermediate container df7e77168224 [2021-09-15T19:49:03.596Z] ---> f96d1bd67be1 [2021-09-15T19:49:03.596Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-09-15T19:49:05.031Z] ---> c492da579bd0 [2021-09-15T19:49:05.031Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-09-15T19:49:05.629Z] ---> 2fe92cc75873 [2021-09-15T19:49:05.629Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-09-15T19:49:06.630Z] ---> 291280de780c [2021-09-15T19:49:06.631Z] Step 20/25 : EXPOSE 59986 [2021-09-15T19:49:06.631Z] ---> Running in b532eb259811 [2021-09-15T19:49:07.228Z] Removing intermediate container b532eb259811 [2021-09-15T19:49:07.228Z] ---> a34808ffeab7 [2021-09-15T19:49:07.228Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-09-15T19:49:07.501Z] ---> Running in 9ac89ff6617f [2021-09-15T19:49:08.099Z] Removing intermediate container 9ac89ff6617f [2021-09-15T19:49:08.099Z] ---> ef75aae2ce9f [2021-09-15T19:49:08.099Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-09-15T19:49:08.375Z] ---> Running in 8a8c77b491f1 [2021-09-15T19:49:08.973Z] Removing intermediate container 8a8c77b491f1 [2021-09-15T19:49:08.973Z] ---> 6c2acafb6f36 [2021-09-15T19:49:08.973Z] Step 23/25 : LABEL arch=arm64 [2021-09-15T19:49:08.973Z] ---> Running in d262408b10ab [2021-09-15T19:49:09.568Z] Removing intermediate container d262408b10ab [2021-09-15T19:49:09.568Z] ---> 623c7217aaf7 [2021-09-15T19:49:09.568Z] Step 24/25 : LABEL git_sha=4225c14ff004e9afc4b7363a3b422edff62f7f37 [2021-09-15T19:49:09.568Z] ---> Running in 2b9f63b92188 [2021-09-15T19:49:10.167Z] Removing intermediate container 2b9f63b92188 [2021-09-15T19:49:10.167Z] ---> adeaccade77a [2021-09-15T19:49:10.167Z] Step 25/25 : LABEL version=0.0.0 [2021-09-15T19:49:10.167Z] ---> Running in ec1dd99bb9c9 [2021-09-15T19:49:10.765Z] Removing intermediate container ec1dd99bb9c9 [2021-09-15T19:49:10.765Z] ---> 778a0bdcae01 [2021-09-15T19:49:10.765Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-15T19:49:10.765Z] Successfully built 778a0bdcae01 [2021-09-15T19:49:10.765Z] Successfully tagged device-rest-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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:49:11.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-15T19:49:11.992Z] [2021-09-15T19:49:11.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:49:12.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-15T19:49:12.676Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-15T19:49:12.676Z] 448f6bf000e3: Pulling fs layer [2021-09-15T19:49:12.676Z] f757da607395: Pulling fs layer [2021-09-15T19:49:12.676Z] 05883995daec: Pulling fs layer [2021-09-15T19:49:12.676Z] 8603b9c90790: Pulling fs layer [2021-09-15T19:49:12.676Z] 1560dd03e051: Pulling fs layer [2021-09-15T19:49:12.676Z] 27f5ce0e4adf: Pulling fs layer [2021-09-15T19:49:12.676Z] c2d8d7efcc4b: Pulling fs layer [2021-09-15T19:49:12.676Z] 8603b9c90790: Waiting [2021-09-15T19:49:12.676Z] 1560dd03e051: Waiting [2021-09-15T19:49:12.676Z] 27f5ce0e4adf: Waiting [2021-09-15T19:49:12.676Z] c2d8d7efcc4b: Waiting [2021-09-15T19:49:12.952Z] f757da607395: Verifying Checksum [2021-09-15T19:49:12.952Z] f757da607395: Download complete [2021-09-15T19:49:12.952Z] 8603b9c90790: Download complete [2021-09-15T19:49:13.225Z] 1560dd03e051: Verifying Checksum [2021-09-15T19:49:13.225Z] 1560dd03e051: Download complete [2021-09-15T19:49:13.225Z] 27f5ce0e4adf: Verifying Checksum [2021-09-15T19:49:13.225Z] 27f5ce0e4adf: Download complete [2021-09-15T19:49:13.821Z] 05883995daec: Verifying Checksum [2021-09-15T19:49:13.821Z] 05883995daec: Download complete [2021-09-15T19:49:14.425Z] 448f6bf000e3: Verifying Checksum [2021-09-15T19:49:14.425Z] 448f6bf000e3: Download complete [2021-09-15T19:49:17.841Z] c2d8d7efcc4b: Verifying Checksum [2021-09-15T19:49:17.841Z] c2d8d7efcc4b: Download complete [2021-09-15T19:49:18.116Z] 448f6bf000e3: Pull complete [2021-09-15T19:49:19.106Z] f757da607395: Pull complete [2021-09-15T19:49:20.558Z] 05883995daec: Pull complete [2021-09-15T19:49:20.558Z] 8603b9c90790: Pull complete [2021-09-15T19:49:21.544Z] 1560dd03e051: Pull complete [2021-09-15T19:49:22.141Z] 27f5ce0e4adf: Pull complete [2021-09-15T19:49:37.269Z] c2d8d7efcc4b: Pull complete [2021-09-15T19:49:37.269Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-15T19:49:37.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-15T19:49:37.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-15T19:49:37.566Z] prd-ubuntu18.04-docker-arm64-4c-16g-270 does not seem to be running inside a container [2021-09-15T19:49:37.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-15T19:49:42.420Z] $ docker top 2bc6db17976b3feafe26542f93f2e28027b8b3eeee3cacd1e45e4585653211cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:49:43.443Z] ---> job-cost.sh [2021-09-15T19:49:43.443Z] lf-activate-venv: SKIPPING [2021-09-15T19:49:43.443Z] INFO: No Stack... [2021-09-15T19:49:44.428Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-15T19:49:44.704Z] INFO: Archiving Costs [Pipeline] sh [2021-09-15T19:49:45.404Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-09-15T19:49:45.404Z] + cut -d, -f6 [Pipeline] lock [2021-09-15T19:49:45.512Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [2021-09-15T19:49:45.520Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] did not exist. Created. [2021-09-15T19:49:45.520Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-15T19:49:46.309Z] /w/workspace/device-rest-go/1@tmp/durable-76db5567/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-76db5567/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-15T19:49:47.119Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-15T19:49:47.165Z] Warning: overwriting stash ‘stack-cost’ [2021-09-15T19:49:47.222Z] Stashed 1 file(s) [Pipeline] } [2021-09-15T19:49:47.245Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-15T19:49:47.369Z] $ docker stop --time=1 2bc6db17976b3feafe26542f93f2e28027b8b3eeee3cacd1e45e4585653211cb [2021-09-15T19:49:49.070Z] $ docker rm -f 2bc6db17976b3feafe26542f93f2e28027b8b3eeee3cacd1e45e4585653211cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-09-15T19:49:50.721Z] provisioning config files... [2021-09-15T19:49:50.738Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/config5318580835173960601tmp [Pipeline] { [Pipeline] sh [2021-09-15T19:49:51.114Z] + set +x [2021-09-15T19:49:51.114Z] + bash -s -- [2021-09-15T19:49:51.114Z] + curl -s https://codecov.io/bash [2021-09-15T19:49:51.114Z] [2021-09-15T19:49:51.114Z] _____ _ [2021-09-15T19:49:51.114Z] / ____| | | [2021-09-15T19:49:51.114Z] | | ___ __| | ___ ___ _____ __ [2021-09-15T19:49:51.114Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-15T19:49:51.114Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-15T19:49:51.114Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-15T19:49:51.114Z] Bash-1.0.6 [2021-09-15T19:49:51.114Z] [2021-09-15T19:49:51.114Z] [2021-09-15T19:49:51.114Z] ==> git version 2.24.4 found [2021-09-15T19:49:51.114Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-09-15T19:49:51.114Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-15T19:49:51.114Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-15T19:49:51.114Z] ==> Jenkins CI detected. [2021-09-15T19:49:51.114Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-133 [2021-09-15T19:49:51.114Z] project root: . [2021-09-15T19:49:51.114Z] --> token set from env [2021-09-15T19:49:51.114Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-15T19:49:51.383Z] ==> Running gcov in . (disable via -X gcov) [2021-09-15T19:49:51.383Z] ==> Python coveragepy not found [2021-09-15T19:49:51.383Z] ==> Searching for coverage reports in: [2021-09-15T19:49:51.383Z] + . [2021-09-15T19:49:51.383Z] -> Found 1 reports [2021-09-15T19:49:51.383Z] ==> Detecting git/mercurial file structure [2021-09-15T19:49:51.383Z] ==> Reading reports [2021-09-15T19:49:51.383Z] + ./coverage.out bytes=8435 [2021-09-15T19:49:51.383Z] ==> Appending adjustments [2021-09-15T19:49:51.383Z] https://docs.codecov.io/docs/fixing-reports [2021-09-15T19:49:51.383Z] + Found adjustments [2021-09-15T19:49:51.383Z] ==> Gzipping contents [2021-09-15T19:49:51.383Z] 4.0K /tmp/codecov.sT3juj.gz [2021-09-15T19:49:51.383Z] ==> Uploading reports [2021-09-15T19:49:51.383Z] url: https://codecov.io [2021-09-15T19:49:51.383Z] query: branch=PR-133&commit=4225c14ff004e9afc4b7363a3b422edff62f7f37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=133&job=&cmd_args= [2021-09-15T19:49:51.383Z] -> Pinging Codecov [2021-09-15T19:49:51.383Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-133&commit=4225c14ff004e9afc4b7363a3b422edff62f7f37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=133&job=&cmd_args= [2021-09-15T19:49:51.660Z] -> Uploading to [2021-09-15T19:49:51.660Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-15/4E5D53B4F1F92C436F7061BF334D961C/4225c14ff004e9afc4b7363a3b422edff62f7f37/7c7baa09-1b9e-4efb-9eb6-8a49270a698d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210915T194951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a0a3c6692c463bb969d3463c9840f3d92ff3d0444ef9f4b1d68109e44980a56 [2021-09-15T19:49:51.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-15T19:49:51.660Z] Dload Upload Total Spent Left Speed [2021-09-15T19:49:52.248Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 4450 --:--:-- --:--:-- --:--:-- 4454 [2021-09-15T19:49:52.248Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4225c14ff004e9afc4b7363a3b422edff62f7f37 [Pipeline] } [2021-09-15T19:49:52.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-09-15T19:49:54.979Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-133/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:49:55.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:49:55.970Z] ---> package-listing.sh [2021-09-15T19:49:55.970Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-15T19:49:55.970Z] ++ facter osfamily [2021-09-15T19:49:56.240Z] + OS_FAMILY=redhat [2021-09-15T19:49:56.240Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-133 [2021-09-15T19:49:56.240Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-15T19:49:56.240Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-15T19:49:56.240Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-15T19:49:56.240Z] + PACKAGES=/tmp/packages_start.txt [2021-09-15T19:49:56.240Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-133 ']' [2021-09-15T19:49:56.240Z] + PACKAGES=/tmp/packages_end.txt [2021-09-15T19:49:56.240Z] + case "${OS_FAMILY}" in [2021-09-15T19:49:56.240Z] + rpm -qa [2021-09-15T19:49:56.240Z] + sort [2021-09-15T19:49:56.835Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-15T19:49:56.835Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-15T19:49:56.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-15T19:49:56.835Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-133 ']' [2021-09-15T19:49:56.835Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-133/archives/ [2021-09-15T19:49:56.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-133/archives/ [Pipeline] echo [2021-09-15T19:49:56.874Z] 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/gexfoundry_device-rest-go_PR-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-15T19:49:57.196Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:49:57.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-15T19:49:57.854Z] [2021-09-15T19:49:57.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-15T19:49:58.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-15T19:49:58.224Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-15T19:49:58.224Z] b4d181a07f80: Pulling fs layer [2021-09-15T19:49:58.224Z] a1111a8f2ec3: Pulling fs layer [2021-09-15T19:49:58.224Z] ed53099fbce6: Pulling fs layer [2021-09-15T19:49:58.225Z] dc539afda2c1: Pulling fs layer [2021-09-15T19:49:58.225Z] 77bc0d833cb6: Pulling fs layer [2021-09-15T19:49:58.225Z] 9065ff56babe: Pulling fs layer [2021-09-15T19:49:58.225Z] d287ab97295c: Pulling fs layer [2021-09-15T19:49:58.225Z] dc539afda2c1: Waiting [2021-09-15T19:49:58.225Z] 77bc0d833cb6: Waiting [2021-09-15T19:49:58.225Z] 9065ff56babe: Waiting [2021-09-15T19:49:58.225Z] d287ab97295c: Waiting [2021-09-15T19:49:58.490Z] a1111a8f2ec3: Verifying Checksum [2021-09-15T19:49:58.490Z] a1111a8f2ec3: Download complete [2021-09-15T19:49:58.490Z] dc539afda2c1: Verifying Checksum [2021-09-15T19:49:58.490Z] dc539afda2c1: Download complete [2021-09-15T19:49:58.761Z] 77bc0d833cb6: Verifying Checksum [2021-09-15T19:49:58.761Z] 77bc0d833cb6: Download complete [2021-09-15T19:49:58.761Z] 9065ff56babe: Verifying Checksum [2021-09-15T19:49:58.761Z] 9065ff56babe: Download complete [2021-09-15T19:49:59.027Z] ed53099fbce6: Verifying Checksum [2021-09-15T19:49:59.027Z] ed53099fbce6: Download complete [2021-09-15T19:49:59.615Z] b4d181a07f80: Verifying Checksum [2021-09-15T19:49:59.615Z] b4d181a07f80: Download complete [2021-09-15T19:50:01.032Z] b4d181a07f80: Pull complete [2021-09-15T19:50:01.032Z] a1111a8f2ec3: Pull complete [2021-09-15T19:50:01.304Z] ed53099fbce6: Pull complete [2021-09-15T19:50:01.573Z] dc539afda2c1: Pull complete [2021-09-15T19:50:01.843Z] 77bc0d833cb6: Pull complete [2021-09-15T19:50:01.843Z] 9065ff56babe: Pull complete [2021-09-15T19:50:03.268Z] d287ab97295c: Verifying Checksum [2021-09-15T19:50:03.268Z] d287ab97295c: Download complete [2021-09-15T19:50:08.648Z] d287ab97295c: Pull complete [2021-09-15T19:50:08.648Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-15T19:50:08.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-15T19:50:08.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-15T19:50:08.779Z] prd-centos7-docker-4c-2g-269 does not seem to be running inside a container [2021-09-15T19:50:08.842Z] $ 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/gexfoundry_device-rest-go_PR-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-133 -v /w/workspace/gexfoundry_device-rest-go_PR-133:/w/workspace/gexfoundry_device-rest-go_PR-133:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-133@tmp:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-15T19:50:11.209Z] $ docker top 2c91c24d43c1f3d8d7aa479b2e55d314fd8d84f008d30c34f02f4cd29eb62ff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-15T19:50:11.691Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-15T19:50:12.025Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-15T19:50:12.361Z] + ls /var/log/sa-host [2021-09-15T19:50:12.361Z] + sadf -c /var/log/sa-host/sa05 [2021-09-15T19:50:12.361Z] file_magic: OK [2021-09-15T19:50:12.361Z] HZ: Using current value: 100 [2021-09-15T19:50:12.361Z] file_header: OK [2021-09-15T19:50:12.361Z] 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-09-15T19:50:12.361Z] Statistics: [2021-09-15T19:50:12.361Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-15T19:50:12.361Z] File successfully converted to sysstat format version 12.0.3 [2021-09-15T19:50:12.361Z] + sadf -c /var/log/sa-host/sa15 [2021-09-15T19:50:12.361Z] file_magic: OK [2021-09-15T19:50:12.361Z] HZ: Using current value: 100 [2021-09-15T19:50:12.361Z] file_header: OK [2021-09-15T19:50:12.361Z] 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-09-15T19:50:12.361Z] Statistics: [2021-09-15T19:50:12.361Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-15T19:50:12.361Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-15T19:50:12.996Z] provisioning config files... [2021-09-15T19:50:13.011Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-133@tmp/config1365585825792999900tmp [Pipeline] { [Pipeline] echo [2021-09-15T19:50:13.076Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:50:13.434Z] ---> create-netrc.sh [Pipeline] } [2021-09-15T19:50:13.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:50:13.960Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-15T19:50:14.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:50:14.354Z] ---> sudo-logs.sh [2021-09-15T19:50:14.354Z] Archiving 'sudo' log.. [2021-09-15T19:50:14.354Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-269.vexxhost.local: Name or service not known [2021-09-15T19:50:14.354Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-269.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-15T19:50:14.442Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:50:14.790Z] ---> job-cost.sh [2021-09-15T19:50:14.790Z] lf-activate-venv: SKIPPING [2021-09-15T19:50:14.790Z] DEBUG: total: 0.10999999940395355 [2021-09-15T19:50:14.790Z] INFO: Retrieving Stack Cost... [2021-09-15T19:50:15.748Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-15T19:50:16.015Z] INFO: Archiving Costs [Pipeline] echo [2021-09-15T19:50:16.062Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-15T19:50:16.433Z] ---> logs-deploy.sh [2021-09-15T19:50:16.433Z] lf-activate-venv: SKIPPING [2021-09-15T19:50:16.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-133/1 [2021-09-15T19:50:16.433Z] INFO: archiving workspace using pattern(s): [2021-09-15T19:50:17.222Z] Archives upload complete. [2021-09-15T19:50:17.222Z] INFO: archiving logs to Nexus