Pull request #134 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 jpwhitemn for edgexfoundry/device-rest-go Loading trusted files from base branch main at 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed rather than 721085b1b61f7257f07c593d72f2dc79a7e4ef2f Obtained Jenkinsfile from 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 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-ssh6534866798478568896.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-ssh5263180056689768086.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-134/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-134/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8227684952948049660.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-134/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh965773114024600394.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-ssh7820759765681567203.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-134/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-134/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1617024784389540087.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 on ‘prd-centos7-docker-4c-2g-1002’ Running on prd-centos7-docker-4c-2g-1005 in /w/workspace/gexfoundry_device-rest-go_PR-134 [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-134 # 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-134@tmp/jenkins-gitclient-ssh4546472360851160592.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 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed into PR head commit 721085b1b61f7257f07c593d72f2dc79a7e4ef2f Merge succeeded, producing 721085b1b61f7257f07c593d72f2dc79a7e4ef2f Checking out Revision 721085b1b61f7257f07c593d72f2dc79a7e4ef2f (PR-134) > 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-134@tmp/jenkins-gitclient-ssh4350771506211073346.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 721085b1b61f7257f07c593d72f2dc79a7e4ef2f # 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-134@tmp/jenkins-gitclient-ssh6220506365715940613.key > git merge 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 721085b1b61f7257f07c593d72f2dc79a7e4ef2f # timeout=10 Commit message: "build: update alpine base to 3.14" 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-23T21:46:33.482Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-23T21:46:33.706Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-23T21:46:33.853Z] ========================================================= [2021-09-23T21:46:33.853Z] EdgeX Global Pipelines Version Info [2021-09-23T21:46:33.853Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:46:35.155Z] ------------------- [2021-09-23T21:46:35.155Z] stable info: [2021-09-23T21:46:35.155Z] ------------------- [2021-09-23T21:46:35.155Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-23T21:46:35.155Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T21:46:35.155Z] Message: update stable to v1.0.205 [2021-09-23T21:46:35.747Z] ------------------- [2021-09-23T21:46:35.747Z] experimental info: [2021-09-23T21:46:35.747Z] ------------------- [2021-09-23T21:46:35.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-23T21:46:35.747Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T21:46:35.747Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-23T21:46:36.065Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-09-23T21:46:36.127Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-09-23T21:46:36.188Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-23T21:46:36.251Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-23T21:46:36.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-23T21:46:36.374Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-23T21:46:36.433Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-23T21:46:36.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-23T21:46:36.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-23T21:46:36.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-23T21:46:36.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-23T21:46:36.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-23T21:46:36.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-09-23T21:46:36.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-23T21:46:36.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-23T21:46:36.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-23T21:46:37.063Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-09-23T21:46:37.125Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-23T21:46:37.186Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-23T21:46:37.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-23T21:46:37.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-23T21:46:37.369Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-09-23T21:46:37.431Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-09-23T21:46:37.492Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-23T21:46:37.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-23T21:46:37.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-09-23T21:46:37.675Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-23T21:46:37.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-134 [Pipeline] echo [2021-09-23T21:46:37.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-134 [Pipeline] echo [2021-09-23T21:46:37.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-134 [Pipeline] echo [2021-09-23T21:46:37.931Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 721085b1b61f7257f07c593d72f2dc79a7e4ef2f [Pipeline] echo [2021-09-23T21:46:37.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 721085b [Pipeline] echo [2021-09-23T21:46:38.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T21:46:38.225Z] provisioning config files... [2021-09-23T21:46:38.246Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-134@tmp/config6166850137193661207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:46:38.637Z] ---> docker-login.sh [2021-09-23T21:46:38.637Z] nexus3.edgexfoundry.org:10001 [2021-09-23T21:46:38.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:46:38.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:46:38.906Z] Configure a credential helper to remove this warning. See [2021-09-23T21:46:38.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:46:38.906Z] [2021-09-23T21:46:38.906Z] Login Succeeded [2021-09-23T21:46:38.906Z] nexus3.edgexfoundry.org:10002 [2021-09-23T21:46:38.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:46:38.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:46:38.906Z] Configure a credential helper to remove this warning. See [2021-09-23T21:46:38.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:46:38.906Z] [2021-09-23T21:46:38.906Z] Login Succeeded [2021-09-23T21:46:39.174Z] nexus3.edgexfoundry.org:10003 [2021-09-23T21:46:39.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:46:39.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:46:39.174Z] Configure a credential helper to remove this warning. See [2021-09-23T21:46:39.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:46:39.174Z] [2021-09-23T21:46:39.174Z] Login Succeeded [2021-09-23T21:46:39.174Z] nexus3.edgexfoundry.org:10004 [2021-09-23T21:46:39.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:46:39.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:46:39.446Z] Configure a credential helper to remove this warning. See [2021-09-23T21:46:39.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:46:39.446Z] [2021-09-23T21:46:39.446Z] Login Succeeded [2021-09-23T21:46:39.446Z] docker.io [2021-09-23T21:46:39.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:46:39.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:46:39.714Z] Configure a credential helper to remove this warning. See [2021-09-23T21:46:39.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:46:39.714Z] [2021-09-23T21:46:39.714Z] Login Succeeded [2021-09-23T21:46:39.714Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T21:46:39.743Z] 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-23T21:46:40.637Z] + git log --format=format:%s -1 721085b1b61f7257f07c593d72f2dc79a7e4ef2f [Pipeline] echo [2021-09-23T21:46:40.712Z] GIT_COMMIT: 721085b1b61f7257f07c593d72f2dc79a7e4ef2f, Commit Message: build: update alpine base to 3.14 [Pipeline] echo [2021-09-23T21:46:40.764Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:46:41.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T21:46:41.402Z] [2021-09-23T21:46:41.402Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:46:41.782Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T21:46:41.782Z] latest: Pulling from edgex-devops/git-semver [2021-09-23T21:46:41.782Z] 31603596830f: Pulling fs layer [2021-09-23T21:46:41.782Z] 04fac38145f0: Pulling fs layer [2021-09-23T21:46:41.782Z] 701f6daf10bf: Pulling fs layer [2021-09-23T21:46:41.782Z] 24f72da36158: Pulling fs layer [2021-09-23T21:46:41.782Z] 24f72da36158: Waiting [2021-09-23T21:46:41.782Z] 04fac38145f0: Verifying Checksum [2021-09-23T21:46:41.782Z] 04fac38145f0: Download complete [2021-09-23T21:46:42.049Z] 31603596830f: Verifying Checksum [2021-09-23T21:46:42.049Z] 31603596830f: Download complete [2021-09-23T21:46:42.314Z] 31603596830f: Pull complete [2021-09-23T21:46:42.314Z] 04fac38145f0: Pull complete [2021-09-23T21:46:42.314Z] 24f72da36158: Verifying Checksum [2021-09-23T21:46:42.314Z] 24f72da36158: Download complete [2021-09-23T21:46:42.589Z] 701f6daf10bf: Verifying Checksum [2021-09-23T21:46:42.589Z] 701f6daf10bf: Download complete [2021-09-23T21:46:43.180Z] 701f6daf10bf: Pull complete [2021-09-23T21:46:43.180Z] 24f72da36158: Pull complete [2021-09-23T21:46:43.446Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-23T21:46:43.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T21:46:43.446Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-23T21:46:43.586Z] prd-centos7-docker-4c-2g-1005 does not seem to be running inside a container [2021-09-23T21:46:43.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-134 -v /w/workspace/gexfoundry_device-rest-go_PR-134:/w/workspace/gexfoundry_device-rest-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-134@tmp:/w/workspace/gexfoundry_device-rest-go_PR-134@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-23T21:46:44.380Z] $ docker top 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-23T21:46:44.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-23T21:46:44.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-23T21:46:44.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-23T21:46:44.732Z] $ docker exec 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e ssh-agent [2021-09-23T21:46:44.859Z] SSH_AUTH_SOCK=/tmp/ssh-S2VkoQf9QKWu/agent.14 [2021-09-23T21:46:44.859Z] SSH_AGENT_PID=20 [2021-09-23T21:46:44.872Z] Running ssh-add (command line suppressed) [2021-09-23T21:46:45.002Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-134@tmp/private_key_218547477136296659.key (/w/workspace/gexfoundry_device-rest-go_PR-134@tmp/private_key_218547477136296659.key) [2021-09-23T21:46:45.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-23T21:46:45.386Z] + git tag --points-at HEAD [Pipeline] } [2021-09-23T21:46:45.416Z] $ docker exec --env ******** --env ******** 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e ssh-agent -k [2021-09-23T21:46:45.517Z] unset SSH_AUTH_SOCK; [2021-09-23T21:46:45.517Z] unset SSH_AGENT_PID; [2021-09-23T21:46:45.517Z] echo Agent pid 20 killed; [2021-09-23T21:46:45.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-23T21:46:45.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-23T21:46:45.639Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-23T21:46:45.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-23T21:46:45.765Z] $ docker exec 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e ssh-agent [2021-09-23T21:46:45.880Z] SSH_AUTH_SOCK=/tmp/ssh-2ETkYzt6IAUG/agent.54 [2021-09-23T21:46:45.880Z] SSH_AGENT_PID=60 [2021-09-23T21:46:45.889Z] Running ssh-add (command line suppressed) [2021-09-23T21:46:45.991Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-134@tmp/private_key_9209145964577919914.key (/w/workspace/gexfoundry_device-rest-go_PR-134@tmp/private_key_9209145964577919914.key) [2021-09-23T21:46:46.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-23T21:46:46.392Z] + git semver init [2021-09-23T21:46:46.392Z] # -> Open(): unable to determine branch for HEAD [2021-09-23T21:46:46.392Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-134/.git [2021-09-23T21:46:46.392Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-134 [2021-09-23T21:46:46.392Z] # $SEMVER_REMOTE_NAME = origin [2021-09-23T21:46:46.392Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-23T21:46:46.392Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-23T21:46:46.392Z] # $SEMVER_BRANCH = PR-134 [2021-09-23T21:46:46.392Z] # $SEMVER_TEMP = /tmp/semver-546064380 [2021-09-23T21:46:46.392Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-09-23T21:46:48.981Z] # '/tmp/semver-546064380' -> '/w/workspace/gexfoundry_device-rest-go_PR-134/.semver' [2021-09-23T21:46:48.981Z] # -> Force: false [2021-09-23T21:46:48.981Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-134/.semver [Pipeline] } [2021-09-23T21:46:49.005Z] $ docker exec --env ******** --env ******** 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e ssh-agent -k [2021-09-23T21:46:49.111Z] unset SSH_AUTH_SOCK; [2021-09-23T21:46:49.111Z] unset SSH_AGENT_PID; [2021-09-23T21:46:49.111Z] echo Agent pid 60 killed; [2021-09-23T21:46:49.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-23T21:46:49.575Z] + git semver [Pipeline] } [2021-09-23T21:46:49.612Z] $ docker stop --time=1 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e [2021-09-23T21:46:50.881Z] $ docker rm -f 575bee0b931d20651b22c158750aa71904bcb7eb980bce88c7fc269d2581110e [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T21:46:51.311Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-23T21:46:51.681Z] Stashed 1 file(s) [Pipeline] echo [2021-09-23T21:46:51.706Z] [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-23T21:47:07.240Z] Still waiting to schedule task [2021-09-23T21:47:07.241Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-23T21:47:07.271Z] Still waiting to schedule task [2021-09-23T21:47:07.272Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1003’ [2021-09-23T21:49:06.873Z] Running on prd-centos7-docker-4c-2g-1008 in /w/workspace/gexfoundry_device-rest-go_PR-134 [Pipeline] { [Pipeline] ws [2021-09-23T21:49:06.942Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-09-23T21:49:07.134Z] The recommended git tool is: git [2021-09-23T21:49:11.115Z] using credential edgex-jenkins-ssh [2021-09-23T21:49:11.145Z] Cloning the remote Git repository [2021-09-23T21:49:11.165Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-09-23T21:49:11.231Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-09-23T21:49:11.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-23T21:49:11.265Z] > git --version # timeout=10 [2021-09-23T21:49:11.274Z] > git --version # 'git version 2.24.4' [2021-09-23T21:49:11.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T21:49:11.300Z] [INFO] Currently running in a labeled security context [2021-09-23T21:49:11.300Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T21:49:11.300Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh9164660939325693378.key [2021-09-23T21:49:11.311Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T21:49:19.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-23T21:49:20.005Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T21:49:20.569Z] Merging remotes/origin/main commit 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed into PR head commit 721085b1b61f7257f07c593d72f2dc79a7e4ef2f [2021-09-23T21:49:20.652Z] Merge succeeded, producing 721085b1b61f7257f07c593d72f2dc79a7e4ef2f [2021-09-23T21:49:20.652Z] Checking out Revision 721085b1b61f7257f07c593d72f2dc79a7e4ef2f (PR-134) [2021-09-23T21:49:20.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-23T21:49:20.034Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-23T21:49:20.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T21:49:20.035Z] [INFO] Currently running in a labeled security context [2021-09-23T21:49:20.035Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T21:49:20.035Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2249878735432445007.key [2021-09-23T21:49:20.043Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-23T21:49:20.576Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T21:49:20.585Z] > git checkout -f 721085b1b61f7257f07c593d72f2dc79a7e4ef2f # timeout=10 [2021-09-23T21:49:20.618Z] > git remote # timeout=10 [2021-09-23T21:49:20.622Z] > git config --get remote.origin.url # timeout=10 [2021-09-23T21:49:20.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T21:49:20.629Z] [INFO] Currently running in a labeled security context [2021-09-23T21:49:20.629Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T21:49:20.629Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3789461073656308756.key [2021-09-23T21:49:20.633Z] > git merge 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 [2021-09-23T21:49:20.641Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-23T21:49:20.653Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T21:49:20.675Z] > git checkout -f 721085b1b61f7257f07c593d72f2dc79a7e4ef2f # timeout=10 [2021-09-23T21:49:24.471Z] Commit message: "build: update alpine base to 3.14" [2021-09-23T21:49:24.500Z] > git --version # timeout=10 [2021-09-23T21:49:24.507Z] > git --version # 'git version 2.24.4' [2021-09-23T21:49:24.512Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T21:49:25.133Z] provisioning config files... [2021-09-23T21:49:25.151Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6921735573706150927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:49:25.716Z] ---> docker-login.sh [2021-09-23T21:49:25.716Z] nexus3.edgexfoundry.org:10001 [2021-09-23T21:49:25.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:49:25.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:49:25.716Z] Configure a credential helper to remove this warning. See [2021-09-23T21:49:25.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:49:25.716Z] [2021-09-23T21:49:25.716Z] Login Succeeded [2021-09-23T21:49:25.982Z] nexus3.edgexfoundry.org:10002 [2021-09-23T21:49:25.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:49:25.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:49:25.982Z] Configure a credential helper to remove this warning. See [2021-09-23T21:49:25.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:49:25.982Z] [2021-09-23T21:49:25.982Z] Login Succeeded [2021-09-23T21:49:25.982Z] nexus3.edgexfoundry.org:10003 [2021-09-23T21:49:25.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:49:26.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:49:26.250Z] Configure a credential helper to remove this warning. See [2021-09-23T21:49:26.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:49:26.250Z] [2021-09-23T21:49:26.250Z] Login Succeeded [2021-09-23T21:49:26.250Z] nexus3.edgexfoundry.org:10004 [2021-09-23T21:49:26.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:49:26.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:49:26.250Z] Configure a credential helper to remove this warning. See [2021-09-23T21:49:26.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:49:26.250Z] [2021-09-23T21:49:26.250Z] Login Succeeded [2021-09-23T21:49:26.250Z] docker.io [2021-09-23T21:49:26.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:49:26.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:49:26.785Z] Configure a credential helper to remove this warning. See [2021-09-23T21:49:26.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:49:26.785Z] [2021-09-23T21:49:26.785Z] Login Succeeded [2021-09-23T21:49:26.785Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T21:49:26.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-23T21:49:27.233Z] ========================================================= [2021-09-23T21:49:27.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-23T21:49:27.233Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:49:27.718Z] + 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-23T21:49:27.718Z] Sending build context to Docker daemon 119.8kB [2021-09-23T21:49:27.718Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T21:49:27.718Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-23T21:49:27.718Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-23T21:49:27.718Z] 540db60ca938: Pulling fs layer [2021-09-23T21:49:27.718Z] adcc1eea9eea: Pulling fs layer [2021-09-23T21:49:27.718Z] 4c4ab2625f07: Pulling fs layer [2021-09-23T21:49:27.718Z] db62176df00c: Pulling fs layer [2021-09-23T21:49:27.718Z] 3b30891b0d05: Pulling fs layer [2021-09-23T21:49:27.718Z] 06b49ca38bd5: Pulling fs layer [2021-09-23T21:49:27.718Z] c788192a36de: Pulling fs layer [2021-09-23T21:49:27.718Z] a77e37c0d609: Pulling fs layer [2021-09-23T21:49:27.718Z] c3185cebc471: Pulling fs layer [2021-09-23T21:49:27.718Z] 06b49ca38bd5: Waiting [2021-09-23T21:49:27.718Z] c788192a36de: Waiting [2021-09-23T21:49:27.718Z] a77e37c0d609: Waiting [2021-09-23T21:49:27.718Z] c3185cebc471: Waiting [2021-09-23T21:49:27.718Z] db62176df00c: Waiting [2021-09-23T21:49:27.718Z] 4c4ab2625f07: Verifying Checksum [2021-09-23T21:49:27.718Z] 4c4ab2625f07: Download complete [2021-09-23T21:49:27.992Z] adcc1eea9eea: Verifying Checksum [2021-09-23T21:49:27.992Z] adcc1eea9eea: Download complete [2021-09-23T21:49:27.992Z] 3b30891b0d05: Verifying Checksum [2021-09-23T21:49:27.992Z] 3b30891b0d05: Download complete [2021-09-23T21:49:27.992Z] 06b49ca38bd5: Verifying Checksum [2021-09-23T21:49:27.992Z] 06b49ca38bd5: Download complete [2021-09-23T21:49:27.992Z] c788192a36de: Verifying Checksum [2021-09-23T21:49:27.992Z] c788192a36de: Download complete [2021-09-23T21:49:28.261Z] 540db60ca938: Verifying Checksum [2021-09-23T21:49:28.261Z] 540db60ca938: Download complete [2021-09-23T21:49:28.535Z] 540db60ca938: Pull complete [2021-09-23T21:49:28.535Z] adcc1eea9eea: Pull complete [2021-09-23T21:49:28.808Z] 4c4ab2625f07: Pull complete [2021-09-23T21:49:29.609Z] a77e37c0d609: Verifying Checksum [2021-09-23T21:49:29.609Z] a77e37c0d609: Download complete [2021-09-23T21:49:36.524Z] c3185cebc471: Verifying Checksum [2021-09-23T21:49:36.524Z] c3185cebc471: Download complete [2021-09-23T21:49:38.518Z] db62176df00c: Verifying Checksum [2021-09-23T21:49:38.518Z] db62176df00c: Download complete [2021-09-23T21:49:41.186Z] db62176df00c: Pull complete [2021-09-23T21:49:41.186Z] 3b30891b0d05: Pull complete [2021-09-23T21:49:41.464Z] 06b49ca38bd5: Pull complete [2021-09-23T21:49:41.464Z] c788192a36de: Pull complete [2021-09-23T21:49:41.743Z] a77e37c0d609: Pull complete [2021-09-23T21:49:43.773Z] c3185cebc471: Pull complete [2021-09-23T21:49:43.774Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-23T21:49:43.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-23T21:49:43.774Z] ---> 031687cdd783 [2021-09-23T21:49:43.774Z] Step 3/12 : ARG MAKE='make build' [2021-09-23T21:49:48.100Z] ---> Running in 16e93d77e598 [2021-09-23T21:49:48.100Z] Removing intermediate container 16e93d77e598 [2021-09-23T21:49:48.100Z] ---> e556a35bfb97 [2021-09-23T21:49:48.100Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T21:49:48.100Z] ---> Running in efcf289c0349 [2021-09-23T21:49:48.100Z] Removing intermediate container efcf289c0349 [2021-09-23T21:49:48.100Z] ---> a935826b6c25 [2021-09-23T21:49:48.100Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T21:49:48.100Z] ---> Running in 1161801d45f1 [2021-09-23T21:49:48.100Z] Removing intermediate container 1161801d45f1 [2021-09-23T21:49:48.100Z] ---> 3881554464d7 [2021-09-23T21:49:48.100Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T21:49:48.100Z] ---> Running in be4e15ec57b5 [2021-09-23T21:49:48.370Z] Removing intermediate container be4e15ec57b5 [2021-09-23T21:49:48.370Z] ---> 23144300b259 [2021-09-23T21:49:48.370Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T21:49:48.370Z] ---> Running in 83d9dd9b75e7 [2021-09-23T21:49:48.638Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-23T21:49:49.806Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-23T21:49:50.072Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-23T21:49:50.072Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-23T21:49:50.341Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-23T21:49:50.613Z] Executing busybox-1.32.1-r6.trigger [2021-09-23T21:49:50.613Z] OK: 223 MiB in 55 packages [2021-09-23T21:49:51.198Z] Removing intermediate container 83d9dd9b75e7 [2021-09-23T21:49:51.198Z] ---> cd390d8e8279 [2021-09-23T21:49:51.198Z] Step 8/12 : WORKDIR /device-rest-go [2021-09-23T21:49:51.198Z] ---> Running in 7e42fa998e92 [2021-09-23T21:49:51.198Z] Removing intermediate container 7e42fa998e92 [2021-09-23T21:49:51.198Z] ---> 107a3155eeac [2021-09-23T21:49:51.198Z] Step 9/12 : COPY . . [2021-09-23T21:49:51.467Z] ---> aeafe4a448df [2021-09-23T21:49:51.467Z] Step 10/12 : RUN go mod tidy [2021-09-23T21:49:51.467Z] ---> Running in 6573efef2f47 [2021-09-23T21:49:56.833Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-23T21:49:57.099Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-23T21:49:57.367Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-23T21:49:57.367Z] go: downloading github.com/spf13/cast v1.4.1 [2021-09-23T21:49:57.367Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-23T21:49:57.636Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-23T21:49:57.904Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-23T21:49:57.904Z] go: downloading github.com/google/uuid v1.2.0 [2021-09-23T21:49:58.174Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-23T21:49:58.174Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-23T21:49:58.445Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-23T21:49:58.445Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-23T21:49:58.445Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-23T21:49:58.445Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-23T21:49:58.717Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-23T21:49:59.010Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-23T21:49:59.010Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-23T21:49:59.010Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-23T21:49:59.010Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-23T21:49:59.010Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-23T21:49:59.010Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-23T21:49:59.290Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-23T21:49:59.290Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-23T21:50:00.274Z] go: downloading golang.org/x/text v0.3.2 [2021-09-23T21:50:00.274Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-23T21:50:00.554Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-23T21:50:02.553Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-23T21:50:02.553Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-23T21:50:02.553Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-23T21:50:02.553Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-23T21:50:02.553Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-23T21:50:02.553Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-23T21:50:02.553Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-23T21:50:02.553Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-23T21:50:02.825Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-23T21:50:02.825Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-23T21:50:02.826Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-23T21:50:03.098Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-23T21:50:03.098Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-23T21:50:03.098Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-23T21:50:03.098Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-23T21:50:03.098Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-23T21:50:03.098Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-23T21:50:03.379Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-23T21:50:03.379Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-23T21:50:03.659Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-23T21:50:03.659Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-23T21:50:03.659Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-23T21:50:03.659Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-23T21:50:03.947Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-23T21:50:04.224Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-23T21:50:04.225Z] go: downloading github.com/kr/text v0.1.0 [2021-09-23T21:50:04.225Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-23T21:50:04.225Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-23T21:50:04.503Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-23T21:50:04.503Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-23T21:50:04.503Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-23T21:50:04.503Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-23T21:50:04.503Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-23T21:50:04.503Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-23T21:50:04.787Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-23T21:50:04.787Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-23T21:50:05.066Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-23T21:50:05.066Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-23T21:50:05.066Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-23T21:50:05.066Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-23T21:50:05.066Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-23T21:50:05.345Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-23T21:50:05.345Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-23T21:50:05.345Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-23T21:50:05.345Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-23T21:50:05.832Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-23T21:50:05.832Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-23T21:50:05.832Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-23T21:50:05.832Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-23T21:50:05.832Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-23T21:50:11.277Z] Removing intermediate container 6573efef2f47 [2021-09-23T21:50:11.277Z] ---> d65e295dc650 [2021-09-23T21:50:11.277Z] Step 11/12 : RUN make update [2021-09-23T21:50:11.277Z] ---> Running in e9dcb624498b [2021-09-23T21:50:11.277Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T21:50:23.926Z] Removing intermediate container e9dcb624498b [2021-09-23T21:50:23.926Z] ---> 742bfc85e186 [2021-09-23T21:50:23.926Z] Step 12/12 : RUN $MAKE [2021-09-23T21:50:23.926Z] ---> Running in 6d6bfe072593 [2021-09-23T21:50:23.926Z] noop [2021-09-23T21:50:23.926Z] Removing intermediate container 6d6bfe072593 [2021-09-23T21:50:23.926Z] ---> 1c5462fdc7af [2021-09-23T21:50:23.926Z] Successfully built 1c5462fdc7af [2021-09-23T21:50:23.926Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:50:24.331Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-23T21:50:24.331Z] . [Pipeline] withDockerContainer [2021-09-23T21:50:24.452Z] prd-centos7-docker-4c-2g-1008 does not seem to be running inside a container [2021-09-23T21:50:24.532Z] $ 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 ******** ci-base-image-x86_64 cat [2021-09-23T21:50:24.898Z] $ docker top 87c599d259f0ecfef5d3cd6faa30f5e04633f0309b525a34a4a666a8306c241a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T21:50:25.387Z] + go version [2021-09-23T21:50:25.387Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-23T21:50:25.418Z] $ docker stop --time=1 87c599d259f0ecfef5d3cd6faa30f5e04633f0309b525a34a4a666a8306c241a [2021-09-23T21:50:26.618Z] $ docker rm -f 87c599d259f0ecfef5d3cd6faa30f5e04633f0309b525a34a4a666a8306c241a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:50:27.524Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-23T21:50:27.524Z] . [Pipeline] withDockerContainer [2021-09-23T21:50:27.658Z] prd-centos7-docker-4c-2g-1008 does not seem to be running inside a container [2021-09-23T21:50:27.754Z] $ 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 ******** ci-base-image-x86_64 cat [2021-09-23T21:50:28.119Z] $ docker top d12a176ca4f36fe0319f2bee8bcc1e804075f098b20e464e077831d588dbf8b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-23T21:50:28.647Z] + go mod tidy [Pipeline] sh [2021-09-23T21:50:29.277Z] + make test [2021-09-23T21:50:29.277Z] go mod tidy [2021-09-23T21:50:29.277Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-09-23T21:50:29.868Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-09-23T21:50:44.983Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-09-23T21:50:45.377Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 53.8% of statements [2021-09-23T21:50:45.377Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-23T21:50:47.383Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1009 in /w/workspace/gexfoundry_device-rest-go_PR-134 [Pipeline] { [Pipeline] ws [2021-09-23T21:50:47.449Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-09-23T21:50:47.717Z] The recommended git tool is: git [2021-09-23T21:50:52.198Z] gofmt -l . [2021-09-23T21:50:52.198Z] [ "`gofmt -l .`" = "" ] [2021-09-23T21:50:52.198Z] ./bin/test-go-mod-tidy.sh [2021-09-23T21:50:52.198Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-23T21:50:52.502Z] $ docker stop --time=1 d12a176ca4f36fe0319f2bee8bcc1e804075f098b20e464e077831d588dbf8b5 [2021-09-23T21:50:53.408Z] using credential edgex-jenkins-ssh [2021-09-23T21:50:53.426Z] Cloning the remote Git repository [2021-09-23T21:50:53.480Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-09-23T21:50:53.600Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-09-23T21:50:53.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-23T21:50:53.682Z] > git --version # timeout=10 [2021-09-23T21:50:53.700Z] > git --version # 'git version 2.17.1' [2021-09-23T21:50:53.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T21:50:53.944Z] $ docker rm -f d12a176ca4f36fe0319f2bee8bcc1e804075f098b20e464e077831d588dbf8b5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T21:50:54.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-23T21:50:54.839Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-09-23T21:50:53.796Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-09-23T21:50:56.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-23T21:50:56.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-23T21:50:56.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T21:50:56.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-09-23T21:50:56.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-09-23T21:50:56.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T21:50:56.113Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-23T21:50:56.537Z] + ls -al . [2021-09-23T21:50:56.537Z] total 116 [2021-09-23T21:50:56.537Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 23 21:50 . [2021-09-23T21:50:56.537Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 23 21:49 .. [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 6792 Sep 23 21:49 Attribution.txt [2021-09-23T21:50:56.537Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 23 21:49 bin [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 7459 Sep 23 21:49 CHANGELOG.md [2021-09-23T21:50:56.537Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 21:49 cmd [2021-09-23T21:50:56.537Z] -rw-r--r--. 1 jenkins jenkins 8435 Sep 23 21:50 coverage.out [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 1615 Sep 23 21:49 Dockerfile [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 23 21:49 .dockerignore [2021-09-23T21:50:56.537Z] drwxrwxr-x. 2 jenkins jenkins 76 Sep 23 21:49 driver [2021-09-23T21:50:56.537Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 23 21:49 .git [2021-09-23T21:50:56.537Z] drwxrwxr-x. 2 jenkins jenkins 103 Sep 23 21:49 .github [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 336 Sep 23 21:49 .gitignore [2021-09-23T21:50:56.537Z] -rw-r--r--. 1 jenkins jenkins 271 Sep 23 21:50 go.mod [2021-09-23T21:50:56.537Z] -rw-r--r--. 1 jenkins jenkins 20570 Sep 23 21:50 go.sum [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 21:49 GOVERNANCE.md [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 23 21:49 Jenkinsfile [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 21:49 LICENSE [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 996 Sep 23 21:49 Makefile [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 620 Sep 23 21:49 OWNERS.md [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 7661 Sep 23 21:49 README.md [2021-09-23T21:50:56.537Z] drwxrwxr-x. 4 jenkins jenkins 71 Sep 23 21:49 snap [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 23 21:46 VERSION [2021-09-23T21:50:56.537Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 23 21:49 version.go [2021-09-23T21:50:56.749Z] Merging remotes/origin/main commit 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed into PR head commit 721085b1b61f7257f07c593d72f2dc79a7e4ef2f [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:50:56.918Z] Merge succeeded, producing 721085b1b61f7257f07c593d72f2dc79a7e4ef2f [2021-09-23T21:50:56.919Z] Checking out Revision 721085b1b61f7257f07c593d72f2dc79a7e4ef2f (PR-134) [2021-09-23T21:50:57.148Z] + 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=721085b1b61f7257f07c593d72f2dc79a7e4ef2f --label arch=amd64 --label version=0.0.0 . [2021-09-23T21:50:57.148Z] Sending build context to Docker daemon 129kB [2021-09-23T21:50:57.148Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T21:50:57.148Z] Step 2/25 : FROM ${BASE} AS builder [2021-09-23T21:50:57.148Z] ---> 1c5462fdc7af [2021-09-23T21:50:57.148Z] Step 3/25 : ARG MAKE='make build' [2021-09-23T21:50:57.148Z] ---> Running in 2efb874863d7 [2021-09-23T21:50:57.148Z] Removing intermediate container 2efb874863d7 [2021-09-23T21:50:57.148Z] ---> 25881e1d81e4 [2021-09-23T21:50:57.149Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T21:50:57.431Z] ---> Running in 1ee5ae43b82b [2021-09-23T21:50:57.431Z] Removing intermediate container 1ee5ae43b82b [2021-09-23T21:50:57.431Z] ---> 440d1f546e14 [2021-09-23T21:50:57.431Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T21:50:57.431Z] ---> Running in 4a0f399b461d [2021-09-23T21:50:57.431Z] Removing intermediate container 4a0f399b461d [2021-09-23T21:50:57.431Z] ---> 0e687bb28153 [2021-09-23T21:50:57.431Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T21:50:57.431Z] ---> Running in 4265150f5c8c [2021-09-23T21:50:56.764Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T21:50:56.778Z] > git checkout -f 721085b1b61f7257f07c593d72f2dc79a7e4ef2f # timeout=10 [2021-09-23T21:50:56.846Z] > git remote # timeout=10 [2021-09-23T21:50:56.866Z] > git config --get remote.origin.url # timeout=10 [2021-09-23T21:50:56.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T21:50:56.886Z] > git merge 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 [2021-09-23T21:50:56.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-23T21:50:56.922Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T21:50:56.936Z] > git checkout -f 721085b1b61f7257f07c593d72f2dc79a7e4ef2f # timeout=10 [2021-09-23T21:50:58.041Z] Removing intermediate container 4265150f5c8c [2021-09-23T21:50:58.041Z] ---> 6a7e3a106727 [2021-09-23T21:50:58.041Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T21:50:58.041Z] ---> Running in bfa7d7bef1d6 [2021-09-23T21:50:58.323Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-23T21:50:59.315Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-23T21:50:59.911Z] OK: 223 MiB in 55 packages [2021-09-23T21:50:59.911Z] Removing intermediate container bfa7d7bef1d6 [2021-09-23T21:50:59.911Z] ---> 20a9f65a39ba [2021-09-23T21:50:59.911Z] Step 8/25 : WORKDIR /device-rest-go [2021-09-23T21:51:00.187Z] ---> Running in fc9848f50f4a [2021-09-23T21:51:00.187Z] Removing intermediate container fc9848f50f4a [2021-09-23T21:51:00.187Z] ---> 580892886a14 [2021-09-23T21:51:00.187Z] Step 9/25 : COPY . . [2021-09-23T21:51:00.466Z] ---> 643a3deefe5f [2021-09-23T21:51:00.466Z] Step 10/25 : RUN go mod tidy [2021-09-23T21:51:00.466Z] ---> Running in d8e8eebd171c [2021-09-23T21:51:01.190Z] Removing intermediate container d8e8eebd171c [2021-09-23T21:51:01.190Z] ---> 739a11e2f069 [2021-09-23T21:51:01.190Z] Step 11/25 : RUN make update [2021-09-23T21:51:01.190Z] ---> Running in 0aac5a0470df [2021-09-23T21:51:01.190Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T21:51:01.430Z] Commit message: "build: update alpine base to 3.14" [2021-09-23T21:51:01.474Z] Removing intermediate container 0aac5a0470df [2021-09-23T21:51:01.475Z] ---> 0e9f6363221a [2021-09-23T21:51:01.475Z] Step 12/25 : RUN $MAKE [2021-09-23T21:51:01.475Z] ---> Running in d16d091706bc [2021-09-23T21:51:01.497Z] > git --version # timeout=10 [2021-09-23T21:51:01.510Z] > git --version # 'git version 2.17.1' [2021-09-23T21:51:01.534Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T21:51:01.757Z] go mod tidy [Pipeline] withEnv [2021-09-23T21:51:02.033Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T21:51:02.358Z] provisioning config files... [2021-09-23T21:51:02.391Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1567124299455539254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:51:03.031Z] ---> docker-login.sh [2021-09-23T21:51:03.031Z] nexus3.edgexfoundry.org:10001 [2021-09-23T21:51:05.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:51:05.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:51:05.621Z] Configure a credential helper to remove this warning. See [2021-09-23T21:51:05.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:51:05.621Z] [2021-09-23T21:51:05.621Z] Login Succeeded [2021-09-23T21:51:05.621Z] nexus3.edgexfoundry.org:10002 [2021-09-23T21:51:05.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:51:06.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:51:06.200Z] Configure a credential helper to remove this warning. See [2021-09-23T21:51:06.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:51:06.200Z] [2021-09-23T21:51:06.200Z] Login Succeeded [2021-09-23T21:51:06.200Z] nexus3.edgexfoundry.org:10003 [2021-09-23T21:51:06.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:51:06.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:51:06.841Z] Configure a credential helper to remove this warning. See [2021-09-23T21:51:06.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:51:06.841Z] [2021-09-23T21:51:06.841Z] Login Succeeded [2021-09-23T21:51:06.841Z] nexus3.edgexfoundry.org:10004 [2021-09-23T21:51:07.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:51:07.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:51:07.455Z] Configure a credential helper to remove this warning. See [2021-09-23T21:51:07.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:51:07.455Z] [2021-09-23T21:51:07.455Z] Login Succeeded [2021-09-23T21:51:07.455Z] docker.io [2021-09-23T21:51:08.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:51:09.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:51:09.496Z] Configure a credential helper to remove this warning. See [2021-09-23T21:51:09.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:51:09.496Z] [2021-09-23T21:51:09.496Z] Login Succeeded [2021-09-23T21:51:09.496Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T21:51:09.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-23T21:51:10.217Z] ========================================================= [2021-09-23T21:51:10.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-23T21:51:10.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:51:10.742Z] + 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-23T21:51:10.742Z] Sending build context to Docker daemon 119.8kB [2021-09-23T21:51:11.346Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T21:51:11.346Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-23T21:51:11.346Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-23T21:51:11.346Z] 595b0fe564bb: Pulling fs layer [2021-09-23T21:51:11.346Z] 24495759ef45: Pulling fs layer [2021-09-23T21:51:11.346Z] d148012ef14d: Pulling fs layer [2021-09-23T21:51:11.346Z] e90a11edd702: Pulling fs layer [2021-09-23T21:51:11.346Z] d77568369979: Pulling fs layer [2021-09-23T21:51:11.346Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-23T21:51:11.346Z] 170f2ba95c9a: Pulling fs layer [2021-09-23T21:51:11.346Z] 97ac5df62f85: Pulling fs layer [2021-09-23T21:51:11.346Z] e90a11edd702: Waiting [2021-09-23T21:51:11.346Z] d77568369979: Waiting [2021-09-23T21:51:11.346Z] fc1c9f9a7f3b: Waiting [2021-09-23T21:51:11.346Z] 170f2ba95c9a: Waiting [2021-09-23T21:51:11.346Z] 97ac5df62f85: Waiting [2021-09-23T21:51:11.625Z] d148012ef14d: Verifying Checksum [2021-09-23T21:51:11.625Z] d148012ef14d: Download complete [2021-09-23T21:51:11.625Z] 24495759ef45: Verifying Checksum [2021-09-23T21:51:11.625Z] 24495759ef45: Download complete [2021-09-23T21:51:11.625Z] d77568369979: Verifying Checksum [2021-09-23T21:51:11.625Z] d77568369979: Download complete [2021-09-23T21:51:11.625Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-23T21:51:11.625Z] fc1c9f9a7f3b: Download complete [2021-09-23T21:51:11.625Z] 170f2ba95c9a: Download complete [2021-09-23T21:51:11.904Z] 595b0fe564bb: Verifying Checksum [2021-09-23T21:51:12.512Z] 595b0fe564bb: Pull complete [2021-09-23T21:51:13.134Z] 24495759ef45: Pull complete [2021-09-23T21:51:13.739Z] d148012ef14d: Pull complete [2021-09-23T21:51:14.746Z] Removing intermediate container d16d091706bc [2021-09-23T21:51:14.746Z] ---> 045f7d59b693 [2021-09-23T21:51:14.746Z] Step 13/25 : FROM alpine:3.14 [2021-09-23T21:51:14.746Z] 3.14: Pulling from library/alpine [2021-09-23T21:51:14.746Z] a0d0a0d46f8b: Pulling fs layer [2021-09-23T21:51:14.747Z] a0d0a0d46f8b: Verifying Checksum [2021-09-23T21:51:14.747Z] a0d0a0d46f8b: Download complete [2021-09-23T21:51:14.747Z] a0d0a0d46f8b: Pull complete [2021-09-23T21:51:14.747Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-09-23T21:51:14.747Z] Status: Downloaded newer image for alpine:3.14 [2021-09-23T21:51:14.747Z] ---> 14119a10abf4 [2021-09-23T21:51:14.747Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-09-23T21:51:14.747Z] ---> Running in c04b297f9832 [2021-09-23T21:51:14.747Z] Removing intermediate container c04b297f9832 [2021-09-23T21:51:14.747Z] ---> e70992daae22 [2021-09-23T21:51:14.747Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-09-23T21:51:14.747Z] ---> Running in 5dc24af6fef7 [2021-09-23T21:51:14.747Z] Removing intermediate container 5dc24af6fef7 [2021-09-23T21:51:14.747Z] ---> 0f1b3c120fea [2021-09-23T21:51:14.747Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-23T21:51:14.747Z] ---> Running in 31fb1c322066 [2021-09-23T21:51:14.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-23T21:51:14.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-09-23T21:51:15.031Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-09-23T21:51:15.314Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-09-23T21:51:15.314Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-23T21:51:15.314Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-09-23T21:51:15.587Z] (5/6) Installing libzmq (4.3.4-r0) [2021-09-23T21:51:15.587Z] (6/6) Installing zeromq (4.3.4-r0) [2021-09-23T21:51:15.729Z] 97ac5df62f85: Verifying Checksum [2021-09-23T21:51:15.729Z] 97ac5df62f85: Download complete [2021-09-23T21:51:15.729Z] e90a11edd702: Verifying Checksum [2021-09-23T21:51:15.730Z] e90a11edd702: Download complete [2021-09-23T21:51:16.069Z] Executing busybox-1.33.1-r3.trigger [2021-09-23T21:51:16.069Z] OK: 8 MiB in 20 packages [2021-09-23T21:51:16.069Z] Removing intermediate container 31fb1c322066 [2021-09-23T21:51:16.069Z] ---> 46c24910aeea [2021-09-23T21:51:16.069Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-09-23T21:51:16.351Z] ---> 1d05ed88ffde [2021-09-23T21:51:16.351Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-09-23T21:51:16.630Z] ---> 96e6c174279e [2021-09-23T21:51:16.630Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-09-23T21:51:16.630Z] ---> 658df24d8d27 [2021-09-23T21:51:16.630Z] Step 20/25 : EXPOSE 59986 [2021-09-23T21:51:16.918Z] ---> Running in 3dc512a81d9b [2021-09-23T21:51:16.918Z] Removing intermediate container 3dc512a81d9b [2021-09-23T21:51:16.918Z] ---> 7316931db677 [2021-09-23T21:51:16.918Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-09-23T21:51:16.918Z] ---> Running in 1da15a9c20e1 [2021-09-23T21:51:16.918Z] Removing intermediate container 1da15a9c20e1 [2021-09-23T21:51:16.918Z] ---> 5cb5763dcced [2021-09-23T21:51:16.918Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-09-23T21:51:16.918Z] ---> Running in 581158575a5c [2021-09-23T21:51:17.194Z] Removing intermediate container 581158575a5c [2021-09-23T21:51:17.194Z] ---> d96e9fe42728 [2021-09-23T21:51:17.194Z] Step 23/25 : LABEL arch=amd64 [2021-09-23T21:51:17.194Z] ---> Running in 18256b45fee7 [2021-09-23T21:51:17.194Z] Removing intermediate container 18256b45fee7 [2021-09-23T21:51:17.194Z] ---> fe44af6b4874 [2021-09-23T21:51:17.194Z] Step 24/25 : LABEL git_sha=721085b1b61f7257f07c593d72f2dc79a7e4ef2f [2021-09-23T21:51:17.194Z] ---> Running in 7854d2a9488e [2021-09-23T21:51:17.194Z] Removing intermediate container 7854d2a9488e [2021-09-23T21:51:17.194Z] ---> b63ccba5d89b [2021-09-23T21:51:17.194Z] Step 25/25 : LABEL version=0.0.0 [2021-09-23T21:51:17.467Z] ---> Running in 63de135fff83 [2021-09-23T21:51:17.467Z] Removing intermediate container 63de135fff83 [2021-09-23T21:51:17.467Z] ---> 79a8e3983828 [2021-09-23T21:51:17.467Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-23T21:51:17.467Z] Successfully built 79a8e3983828 [2021-09-23T21:51:17.467Z] 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-23T21:51:18.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T21:51:18.565Z] [2021-09-23T21:51:18.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:51:18.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T21:51:18.980Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-23T21:51:18.980Z] b4d181a07f80: Pulling fs layer [2021-09-23T21:51:18.980Z] a1111a8f2ec3: Pulling fs layer [2021-09-23T21:51:18.980Z] ed53099fbce6: Pulling fs layer [2021-09-23T21:51:18.980Z] dc539afda2c1: Pulling fs layer [2021-09-23T21:51:18.980Z] 77bc0d833cb6: Pulling fs layer [2021-09-23T21:51:18.980Z] 9065ff56babe: Pulling fs layer [2021-09-23T21:51:18.980Z] d287ab97295c: Pulling fs layer [2021-09-23T21:51:18.980Z] dc539afda2c1: Waiting [2021-09-23T21:51:18.980Z] 77bc0d833cb6: Waiting [2021-09-23T21:51:18.980Z] 9065ff56babe: Waiting [2021-09-23T21:51:18.980Z] d287ab97295c: Waiting [2021-09-23T21:51:19.249Z] a1111a8f2ec3: Verifying Checksum [2021-09-23T21:51:19.249Z] a1111a8f2ec3: Download complete [2021-09-23T21:51:19.249Z] dc539afda2c1: Verifying Checksum [2021-09-23T21:51:19.249Z] dc539afda2c1: Download complete [2021-09-23T21:51:19.838Z] 77bc0d833cb6: Verifying Checksum [2021-09-23T21:51:19.838Z] 77bc0d833cb6: Download complete [2021-09-23T21:51:19.838Z] 9065ff56babe: Verifying Checksum [2021-09-23T21:51:19.838Z] 9065ff56babe: Download complete [2021-09-23T21:51:19.838Z] ed53099fbce6: Verifying Checksum [2021-09-23T21:51:19.838Z] ed53099fbce6: Download complete [2021-09-23T21:51:21.284Z] b4d181a07f80: Verifying Checksum [2021-09-23T21:51:21.284Z] b4d181a07f80: Download complete [2021-09-23T21:51:22.281Z] b4d181a07f80: Pull complete [2021-09-23T21:51:22.281Z] a1111a8f2ec3: Pull complete [2021-09-23T21:51:22.898Z] ed53099fbce6: Pull complete [2021-09-23T21:51:22.898Z] dc539afda2c1: Pull complete [2021-09-23T21:51:23.177Z] 77bc0d833cb6: Pull complete [2021-09-23T21:51:23.177Z] 9065ff56babe: Pull complete [2021-09-23T21:51:25.945Z] e90a11edd702: Pull complete [2021-09-23T21:51:26.221Z] d77568369979: Pull complete [2021-09-23T21:51:26.816Z] fc1c9f9a7f3b: Pull complete [2021-09-23T21:51:27.088Z] 170f2ba95c9a: Pull complete [2021-09-23T21:51:28.874Z] d287ab97295c: Verifying Checksum [2021-09-23T21:51:28.874Z] d287ab97295c: Download complete [2021-09-23T21:51:32.482Z] 97ac5df62f85: Pull complete [2021-09-23T21:51:32.482Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-23T21:51:32.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-23T21:51:32.483Z] ---> 04bc70af865f [2021-09-23T21:51:32.483Z] Step 3/12 : ARG MAKE='make build' [2021-09-23T21:51:33.263Z] d287ab97295c: Pull complete [2021-09-23T21:51:33.263Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-23T21:51:33.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T21:51:33.263Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-23T21:51:33.450Z] prd-centos7-docker-4c-2g-1008 does not seem to be running inside a container [2021-09-23T21:51:33.552Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-23T21:51:36.052Z] $ docker top 43a2b25bc4c0ce327d88018a96903cf7097373d39ca1f842d7571f9ad3760143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:51:36.657Z] ---> job-cost.sh [2021-09-23T21:51:36.657Z] lf-activate-venv: SKIPPING [2021-09-23T21:51:36.657Z] INFO: No Stack... [2021-09-23T21:51:36.791Z] ---> Running in d450bde934ab [2021-09-23T21:51:37.390Z] Removing intermediate container d450bde934ab [2021-09-23T21:51:37.390Z] ---> e9f0b9091d77 [2021-09-23T21:51:37.390Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T21:51:37.390Z] ---> Running in ada6926ef8c9 [2021-09-23T21:51:37.991Z] Removing intermediate container ada6926ef8c9 [2021-09-23T21:51:37.991Z] ---> ac3272d83818 [2021-09-23T21:51:37.991Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T21:51:37.991Z] ---> Running in 7092d2add29c [2021-09-23T21:51:38.080Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-23T21:51:38.358Z] INFO: Archiving Costs [Pipeline] sh [2021-09-23T21:51:38.601Z] Removing intermediate container 7092d2add29c [2021-09-23T21:51:38.602Z] ---> 86ff61d2d2ec [2021-09-23T21:51:38.602Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T21:51:38.734Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-09-23T21:51:38.734Z] + cut -d, -f6 [2021-09-23T21:51:38.881Z] ---> Running in b1771d286692 [Pipeline] lock [2021-09-23T21:51:39.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] [2021-09-23T21:51:39.196Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] did not exist. Created. [2021-09-23T21:51:39.197Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-23T21:51:39.693Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-23T21:51:39.752Z] Stashed 1 file(s) [Pipeline] } [2021-09-23T21:51:39.790Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-23T21:51:39.892Z] $ docker stop --time=1 43a2b25bc4c0ce327d88018a96903cf7097373d39ca1f842d7571f9ad3760143 [2021-09-23T21:51:41.130Z] $ docker rm -f 43a2b25bc4c0ce327d88018a96903cf7097373d39ca1f842d7571f9ad3760143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-09-23T21:51:41.524Z] Removing intermediate container b1771d286692 [2021-09-23T21:51:41.524Z] ---> 79234a282e60 [2021-09-23T21:51:41.524Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-09-23T21:51:41.796Z] ---> Running in 48ea68b12c49 [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-23T21:51:42.779Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-23T21:51:47.081Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-23T21:51:55.345Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-23T21:51:55.345Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-23T21:51:55.617Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-23T21:52:02.305Z] Executing busybox-1.32.1-r6.trigger [2021-09-23T21:52:02.305Z] OK: 222 MiB in 55 packages [2021-09-23T21:52:02.583Z] Removing intermediate container 48ea68b12c49 [2021-09-23T21:52:02.583Z] ---> 3b8154b7a192 [2021-09-23T21:52:02.583Z] Step 8/12 : WORKDIR /device-rest-go [2021-09-23T21:52:02.858Z] ---> Running in 16cc8f07be5f [2021-09-23T21:52:03.452Z] Removing intermediate container 16cc8f07be5f [2021-09-23T21:52:03.452Z] ---> 1f68c0e63e91 [2021-09-23T21:52:03.452Z] Step 9/12 : COPY . . [2021-09-23T21:52:04.433Z] ---> 95915efe22c3 [2021-09-23T21:52:04.433Z] Step 10/12 : RUN go mod tidy [2021-09-23T21:52:04.433Z] ---> Running in 5c1e08666003 [2021-09-23T21:52:11.187Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-23T21:52:11.187Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-23T21:52:11.468Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-23T21:52:11.468Z] go: downloading github.com/spf13/cast v1.4.1 [2021-09-23T21:52:11.468Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-23T21:52:11.742Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-23T21:52:12.023Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-23T21:52:12.023Z] go: downloading github.com/google/uuid v1.2.0 [2021-09-23T21:52:12.023Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-23T21:52:12.023Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-23T21:52:12.023Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-23T21:52:12.297Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-23T21:52:12.297Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-23T21:52:12.297Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-23T21:52:12.297Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-23T21:52:12.568Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-23T21:52:12.568Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-23T21:52:12.568Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-23T21:52:12.838Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-23T21:52:12.838Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-23T21:52:12.838Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-23T21:52:12.838Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-23T21:52:12.838Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-23T21:52:12.838Z] go: downloading golang.org/x/text v0.3.2 [2021-09-23T21:52:12.838Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-23T21:52:13.432Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-23T21:52:16.841Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-23T21:52:16.842Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-23T21:52:16.842Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-23T21:52:16.842Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-23T21:52:16.842Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-23T21:52:16.842Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-23T21:52:16.842Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-23T21:52:16.842Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-23T21:52:16.842Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-23T21:52:16.842Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-23T21:52:16.842Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-23T21:52:17.112Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-23T21:52:17.112Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-23T21:52:17.112Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-23T21:52:17.112Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-23T21:52:17.112Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-23T21:52:17.112Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-23T21:52:17.390Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-23T21:52:17.390Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-23T21:52:17.390Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-23T21:52:17.667Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-23T21:52:17.667Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-23T21:52:17.667Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-23T21:52:17.667Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-23T21:52:17.945Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-23T21:52:17.945Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-23T21:52:18.219Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-23T21:52:18.219Z] go: downloading github.com/kr/text v0.1.0 [2021-09-23T21:52:18.219Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-23T21:52:18.490Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-23T21:52:18.490Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-23T21:52:18.490Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-23T21:52:18.490Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-23T21:52:18.490Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-23T21:52:18.490Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-23T21:52:18.763Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-23T21:52:18.763Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-23T21:52:18.763Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-23T21:52:18.763Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-23T21:52:18.763Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-23T21:52:18.763Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-23T21:52:18.763Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-23T21:52:19.037Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-23T21:52:19.037Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-23T21:52:19.037Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-23T21:52:19.037Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-23T21:52:19.037Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-23T21:52:19.309Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-23T21:52:19.309Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-23T21:52:19.309Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-23T21:52:34.378Z] Removing intermediate container 5c1e08666003 [2021-09-23T21:52:34.378Z] ---> 56febf75d1a4 [2021-09-23T21:52:34.378Z] Step 11/12 : RUN make update [2021-09-23T21:52:34.378Z] ---> Running in e287ddeb8b47 [2021-09-23T21:52:34.971Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T21:52:53.256Z] Removing intermediate container e287ddeb8b47 [2021-09-23T21:52:53.256Z] ---> 0dcb8748c2b1 [2021-09-23T21:52:53.256Z] Step 12/12 : RUN $MAKE [2021-09-23T21:52:53.256Z] ---> Running in eb4702d60928 [2021-09-23T21:52:53.256Z] noop [2021-09-23T21:52:53.532Z] Removing intermediate container eb4702d60928 [2021-09-23T21:52:53.532Z] ---> 2f262b4c75c0 [2021-09-23T21:52:53.532Z] Successfully built 2f262b4c75c0 [2021-09-23T21:52:53.532Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:52:53.922Z] + docker inspect -f . ci-base-image-arm64 [2021-09-23T21:52:53.922Z] . [Pipeline] withDockerContainer [2021-09-23T21:52:54.224Z] prd-ubuntu18.04-docker-arm64-4c-16g-1009 does not seem to be running inside a container [2021-09-23T21:52:54.311Z] $ 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-23T21:52:56.106Z] $ docker top 6684017e2a7981e49de9634bb37e6d27c4dc57f6fbfa2840aa41b818dac140e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T21:52:57.172Z] + go version [2021-09-23T21:52:57.172Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-23T21:52:57.208Z] $ docker stop --time=1 6684017e2a7981e49de9634bb37e6d27c4dc57f6fbfa2840aa41b818dac140e9 [2021-09-23T21:52:59.132Z] $ docker rm -f 6684017e2a7981e49de9634bb37e6d27c4dc57f6fbfa2840aa41b818dac140e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:53:01.195Z] + docker inspect -f . ci-base-image-arm64 [2021-09-23T21:53:01.196Z] . [Pipeline] withDockerContainer [2021-09-23T21:53:01.441Z] prd-ubuntu18.04-docker-arm64-4c-16g-1009 does not seem to be running inside a container [2021-09-23T21:53:01.522Z] $ 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-23T21:53:03.128Z] $ docker top b551ee4d4b3823bbeafdd5b88a651fe59ca239e68a82b95ff0b16da4943a5132 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-23T21:53:04.193Z] + go mod tidy [Pipeline] sh [2021-09-23T21:53:05.491Z] + make test [2021-09-23T21:53:05.491Z] go mod tidy [2021-09-23T21:53:06.095Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-09-23T21:53:07.541Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-09-23T21:54:04.618Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-09-23T21:54:04.618Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 53.8% of statements [2021-09-23T21:54:04.618Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-23T21:54:31.435Z] gofmt -l . [2021-09-23T21:54:31.435Z] [ "`gofmt -l .`" = "" ] [2021-09-23T21:54:31.435Z] ./bin/test-go-mod-tidy.sh [2021-09-23T21:54:31.708Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-23T21:54:33.711Z] $ docker stop --time=1 b551ee4d4b3823bbeafdd5b88a651fe59ca239e68a82b95ff0b16da4943a5132 [2021-09-23T21:54:35.777Z] $ docker rm -f b551ee4d4b3823bbeafdd5b88a651fe59ca239e68a82b95ff0b16da4943a5132 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T21:54:36.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-23T21:54:36.833Z] Warning: overwriting stash ‘coverage-report’ [2021-09-23T21:54:37.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-23T21:54:38.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-23T21:54:38.557Z] + ls -al . [2021-09-23T21:54:38.557Z] total 144 [2021-09-23T21:54:38.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 21:54 . [2021-09-23T21:54:38.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:50 .. [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 23 21:50 .dockerignore [2021-09-23T21:54:38.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 21:51 .git [2021-09-23T21:54:38.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:50 .github [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 336 Sep 23 21:50 .gitignore [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 6792 Sep 23 21:50 Attribution.txt [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 7459 Sep 23 21:50 CHANGELOG.md [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 1615 Sep 23 21:50 Dockerfile [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 21:50 GOVERNANCE.md [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 21:50 Jenkinsfile [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 21:50 LICENSE [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 996 Sep 23 21:50 Makefile [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 21:50 OWNERS.md [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 7661 Sep 23 21:50 README.md [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 21:46 VERSION [2021-09-23T21:54:38.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:50 bin [2021-09-23T21:54:38.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 21:50 cmd [2021-09-23T21:54:38.557Z] -rw-r--r-- 1 jenkins jenkins 8435 Sep 23 21:54 coverage.out [2021-09-23T21:54:38.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:50 driver [2021-09-23T21:54:38.557Z] -rw-r--r-- 1 jenkins jenkins 271 Sep 23 21:54 go.mod [2021-09-23T21:54:38.557Z] -rw-r--r-- 1 jenkins jenkins 20570 Sep 23 21:53 go.sum [2021-09-23T21:54:38.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:50 snap [2021-09-23T21:54:38.557Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 23 21:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:54:38.948Z] + 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=721085b1b61f7257f07c593d72f2dc79a7e4ef2f --label arch=arm64 --label version=0.0.0 . [2021-09-23T21:54:38.948Z] Sending build context to Docker daemon 129kB [2021-09-23T21:54:39.544Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T21:54:39.544Z] Step 2/25 : FROM ${BASE} AS builder [2021-09-23T21:54:39.544Z] ---> 2f262b4c75c0 [2021-09-23T21:54:39.544Z] Step 3/25 : ARG MAKE='make build' [2021-09-23T21:54:39.544Z] ---> Running in f5862d20c315 [2021-09-23T21:54:40.138Z] Removing intermediate container f5862d20c315 [2021-09-23T21:54:40.138Z] ---> f7b1efd171a0 [2021-09-23T21:54:40.138Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T21:54:40.412Z] ---> Running in 6526d84e146a [2021-09-23T21:54:40.684Z] Removing intermediate container 6526d84e146a [2021-09-23T21:54:40.684Z] ---> f5399a9a320a [2021-09-23T21:54:40.684Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T21:54:40.959Z] ---> Running in 1e913f143551 [2021-09-23T21:54:41.556Z] Removing intermediate container 1e913f143551 [2021-09-23T21:54:41.556Z] ---> dd2c6fc5b23e [2021-09-23T21:54:41.556Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T21:54:41.556Z] ---> Running in a6c5d4955863 [2021-09-23T21:54:44.194Z] Removing intermediate container a6c5d4955863 [2021-09-23T21:54:44.194Z] ---> b93b64ef90e1 [2021-09-23T21:54:44.194Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T21:54:44.194Z] ---> Running in e92d6615f6ce [2021-09-23T21:54:45.630Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-23T21:54:46.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-23T21:54:47.225Z] OK: 222 MiB in 55 packages [2021-09-23T21:54:48.665Z] Removing intermediate container e92d6615f6ce [2021-09-23T21:54:48.665Z] ---> 94c24d78cf2c [2021-09-23T21:54:48.665Z] Step 8/25 : WORKDIR /device-rest-go [2021-09-23T21:54:48.665Z] ---> Running in 0c0fa8d71826 [2021-09-23T21:54:49.261Z] Removing intermediate container 0c0fa8d71826 [2021-09-23T21:54:49.261Z] ---> 09caa9e409aa [2021-09-23T21:54:49.261Z] Step 9/25 : COPY . . [2021-09-23T21:54:50.244Z] ---> f737fbbf7950 [2021-09-23T21:54:50.244Z] Step 10/25 : RUN go mod tidy [2021-09-23T21:54:50.518Z] ---> Running in 1f716b7e2efb [2021-09-23T21:54:53.906Z] Removing intermediate container 1f716b7e2efb [2021-09-23T21:54:53.906Z] ---> 30a7cf430979 [2021-09-23T21:54:53.906Z] Step 11/25 : RUN make update [2021-09-23T21:54:53.906Z] ---> Running in 45331744485a [2021-09-23T21:54:54.509Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T21:54:55.939Z] Removing intermediate container 45331744485a [2021-09-23T21:54:55.939Z] ---> e1dc88f082c1 [2021-09-23T21:54:55.939Z] Step 12/25 : RUN $MAKE [2021-09-23T21:54:55.939Z] ---> Running in 652d51982299 [2021-09-23T21:54:57.373Z] go mod tidy [2021-09-23T21:54:57.653Z] 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-23T21:55:36.665Z] Removing intermediate container 652d51982299 [2021-09-23T21:55:36.665Z] ---> 84ae3d64727f [2021-09-23T21:55:36.665Z] Step 13/25 : FROM alpine:3.14 [2021-09-23T21:55:39.312Z] 3.14: Pulling from library/alpine [2021-09-23T21:55:39.312Z] 552d1f2373af: Pulling fs layer [2021-09-23T21:55:39.944Z] 552d1f2373af: Verifying Checksum [2021-09-23T21:55:39.944Z] 552d1f2373af: Download complete [2021-09-23T21:55:40.558Z] 552d1f2373af: Pull complete [2021-09-23T21:55:40.558Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-09-23T21:55:40.558Z] Status: Downloaded newer image for alpine:3.14 [2021-09-23T21:55:40.558Z] ---> bb3de5531c18 [2021-09-23T21:55:40.558Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-09-23T21:55:40.834Z] ---> Running in 210f78302b4f [2021-09-23T21:55:41.436Z] Removing intermediate container 210f78302b4f [2021-09-23T21:55:41.436Z] ---> 60911392f50c [2021-09-23T21:55:41.436Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-09-23T21:55:41.436Z] ---> Running in d1189a194f1f [2021-09-23T21:55:42.035Z] Removing intermediate container d1189a194f1f [2021-09-23T21:55:42.035Z] ---> 870c3c58fc37 [2021-09-23T21:55:42.035Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-23T21:55:42.308Z] ---> Running in 96eb316e926b [2021-09-23T21:55:43.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-23T21:55:43.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-09-23T21:55:44.717Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-09-23T21:55:44.717Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-09-23T21:55:44.717Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-23T21:55:44.717Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-09-23T21:55:44.717Z] (5/6) Installing libzmq (4.3.4-r0) [2021-09-23T21:55:44.717Z] (6/6) Installing zeromq (4.3.4-r0) [2021-09-23T21:55:44.717Z] Executing busybox-1.33.1-r3.trigger [2021-09-23T21:55:44.717Z] OK: 8 MiB in 20 packages [2021-09-23T21:55:46.150Z] Removing intermediate container 96eb316e926b [2021-09-23T21:55:46.150Z] ---> 3480e77a1025 [2021-09-23T21:55:46.150Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-09-23T21:55:47.582Z] ---> 4b4e4d04bf7d [2021-09-23T21:55:47.582Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-09-23T21:55:48.175Z] ---> e8b9a8a2d787 [2021-09-23T21:55:48.175Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-09-23T21:55:48.772Z] ---> 4efbfc5b7c20 [2021-09-23T21:55:48.772Z] Step 20/25 : EXPOSE 59986 [2021-09-23T21:55:49.047Z] ---> Running in e9961d83a2e2 [2021-09-23T21:55:49.644Z] Removing intermediate container e9961d83a2e2 [2021-09-23T21:55:49.644Z] ---> 1909c49f9576 [2021-09-23T21:55:49.644Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-09-23T21:55:49.644Z] ---> Running in e6fd0cec8899 [2021-09-23T21:55:50.236Z] Removing intermediate container e6fd0cec8899 [2021-09-23T21:55:50.237Z] ---> df132ebdc5ea [2021-09-23T21:55:50.237Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-09-23T21:55:50.237Z] ---> Running in 747abd11c080 [2021-09-23T21:55:50.832Z] Removing intermediate container 747abd11c080 [2021-09-23T21:55:50.832Z] ---> 44362d5257c8 [2021-09-23T21:55:50.832Z] Step 23/25 : LABEL arch=arm64 [2021-09-23T21:55:51.105Z] ---> Running in 0d04c29382a4 [2021-09-23T21:55:51.379Z] Removing intermediate container 0d04c29382a4 [2021-09-23T21:55:51.379Z] ---> a140a8506f6f [2021-09-23T21:55:51.379Z] Step 24/25 : LABEL git_sha=721085b1b61f7257f07c593d72f2dc79a7e4ef2f [2021-09-23T21:55:51.655Z] ---> Running in 73296552d4a7 [2021-09-23T21:55:51.927Z] Removing intermediate container 73296552d4a7 [2021-09-23T21:55:51.927Z] ---> 429bb6f6aa43 [2021-09-23T21:55:51.927Z] Step 25/25 : LABEL version=0.0.0 [2021-09-23T21:55:52.202Z] ---> Running in 9b8cca67be3f [2021-09-23T21:55:52.798Z] Removing intermediate container 9b8cca67be3f [2021-09-23T21:55:52.798Z] ---> 793f522d0545 [2021-09-23T21:55:52.798Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-23T21:55:52.798Z] Successfully built 793f522d0545 [2021-09-23T21:55:52.798Z] 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-23T21:55:53.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T21:55:53.923Z] [2021-09-23T21:55:53.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:55:54.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T21:55:54.595Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-23T21:55:54.595Z] 448f6bf000e3: Pulling fs layer [2021-09-23T21:55:54.595Z] f757da607395: Pulling fs layer [2021-09-23T21:55:54.595Z] 05883995daec: Pulling fs layer [2021-09-23T21:55:54.595Z] 8603b9c90790: Pulling fs layer [2021-09-23T21:55:54.595Z] 1560dd03e051: Pulling fs layer [2021-09-23T21:55:54.595Z] 27f5ce0e4adf: Pulling fs layer [2021-09-23T21:55:54.595Z] c2d8d7efcc4b: Pulling fs layer [2021-09-23T21:55:54.595Z] 8603b9c90790: Waiting [2021-09-23T21:55:54.595Z] 1560dd03e051: Waiting [2021-09-23T21:55:54.595Z] 27f5ce0e4adf: Waiting [2021-09-23T21:55:54.595Z] c2d8d7efcc4b: Waiting [2021-09-23T21:55:54.871Z] f757da607395: Verifying Checksum [2021-09-23T21:55:54.871Z] f757da607395: Download complete [2021-09-23T21:55:54.871Z] 8603b9c90790: Download complete [2021-09-23T21:55:55.143Z] 1560dd03e051: Verifying Checksum [2021-09-23T21:55:55.143Z] 1560dd03e051: Download complete [2021-09-23T21:55:55.143Z] 27f5ce0e4adf: Verifying Checksum [2021-09-23T21:55:55.143Z] 27f5ce0e4adf: Download complete [2021-09-23T21:55:55.143Z] 05883995daec: Verifying Checksum [2021-09-23T21:55:55.143Z] 05883995daec: Download complete [2021-09-23T21:55:56.141Z] 448f6bf000e3: Verifying Checksum [2021-09-23T21:55:56.141Z] 448f6bf000e3: Download complete [2021-09-23T21:55:59.527Z] c2d8d7efcc4b: Verifying Checksum [2021-09-23T21:55:59.527Z] c2d8d7efcc4b: Download complete [2021-09-23T21:55:59.527Z] 448f6bf000e3: Pull complete [2021-09-23T21:56:00.121Z] f757da607395: Pull complete [2021-09-23T21:56:01.550Z] 05883995daec: Pull complete [2021-09-23T21:56:01.825Z] 8603b9c90790: Pull complete [2021-09-23T21:56:02.805Z] 1560dd03e051: Pull complete [2021-09-23T21:56:03.405Z] 27f5ce0e4adf: Pull complete [2021-09-23T21:56:18.498Z] c2d8d7efcc4b: Pull complete [2021-09-23T21:56:18.498Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-23T21:56:18.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T21:56:18.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-23T21:56:18.763Z] prd-ubuntu18.04-docker-arm64-4c-16g-1009 does not seem to be running inside a container [2021-09-23T21:56:18.839Z] $ 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-23T21:56:26.369Z] $ docker top 006e7138c16c68f4fda09a2a640cc6557f5c4c6ea0ce314d7dc0e46a995095f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:27.495Z] ---> job-cost.sh [2021-09-23T21:56:27.495Z] lf-activate-venv: SKIPPING [2021-09-23T21:56:27.495Z] INFO: No Stack... [2021-09-23T21:56:28.484Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-23T21:56:28.760Z] INFO: Archiving Costs [Pipeline] sh [2021-09-23T21:56:29.456Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/1/archives/cost.csv [2021-09-23T21:56:29.456Z] [Pipeline] lock [2021-09-23T21:56:29.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] [2021-09-23T21:56:29.567Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] did not exist. Created. [2021-09-23T21:56:29.567Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-23T21:56:30.361Z] /w/workspace/device-rest-go/1@tmp/durable-eae07e47/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-eae07e47/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-23T21:56:31.157Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-23T21:56:31.207Z] Warning: overwriting stash ‘stack-cost’ [2021-09-23T21:56:31.266Z] Stashed 1 file(s) [Pipeline] } [2021-09-23T21:56:31.285Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-134-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-23T21:56:31.365Z] $ docker stop --time=1 006e7138c16c68f4fda09a2a640cc6557f5c4c6ea0ce314d7dc0e46a995095f8 [2021-09-23T21:56:33.263Z] $ docker rm -f 006e7138c16c68f4fda09a2a640cc6557f5c4c6ea0ce314d7dc0e46a995095f8 [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-23T21:56:34.743Z] provisioning config files... [2021-09-23T21:56:34.760Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-134@tmp/config4558287548924892970tmp [Pipeline] { [Pipeline] sh [2021-09-23T21:56:35.337Z] + set +x [2021-09-23T21:56:35.338Z] + curl -s https://codecov.io/bash [2021-09-23T21:56:35.338Z] + bash -s -- [2021-09-23T21:56:35.338Z] [2021-09-23T21:56:35.338Z] _____ _ [2021-09-23T21:56:35.338Z] / ____| | | [2021-09-23T21:56:35.338Z] | | ___ __| | ___ ___ _____ __ [2021-09-23T21:56:35.338Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-23T21:56:35.338Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-23T21:56:35.338Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-23T21:56:35.338Z] Bash-1.0.6 [2021-09-23T21:56:35.338Z] [2021-09-23T21:56:35.338Z] [2021-09-23T21:56:35.338Z] ==> git version 2.24.4 found [2021-09-23T21:56:35.338Z] ==> 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-23T21:56:35.338Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-23T21:56:35.338Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-23T21:56:35.338Z] ==> Jenkins CI detected. [2021-09-23T21:56:35.338Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-134 [2021-09-23T21:56:35.338Z] project root: . [2021-09-23T21:56:35.338Z] --> token set from env [2021-09-23T21:56:35.338Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-23T21:56:35.338Z] ==> Running gcov in . (disable via -X gcov) [2021-09-23T21:56:35.338Z] ==> Python coveragepy not found [2021-09-23T21:56:35.338Z] ==> Searching for coverage reports in: [2021-09-23T21:56:35.338Z] + . [2021-09-23T21:56:35.338Z] -> Found 1 reports [2021-09-23T21:56:35.338Z] ==> Detecting git/mercurial file structure [2021-09-23T21:56:35.338Z] ==> Reading reports [2021-09-23T21:56:35.338Z] + ./coverage.out bytes=8435 [2021-09-23T21:56:35.338Z] ==> Appending adjustments [2021-09-23T21:56:35.338Z] https://docs.codecov.io/docs/fixing-reports [2021-09-23T21:56:35.338Z] + Found adjustments [2021-09-23T21:56:35.338Z] ==> Gzipping contents [2021-09-23T21:56:35.338Z] 4.0K /tmp/codecov.uOHnq1.gz [2021-09-23T21:56:35.338Z] ==> Uploading reports [2021-09-23T21:56:35.338Z] url: https://codecov.io [2021-09-23T21:56:35.338Z] query: branch=PR-134&commit=721085b1b61f7257f07c593d72f2dc79a7e4ef2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-134%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=134&job=&cmd_args= [2021-09-23T21:56:35.338Z] -> Pinging Codecov [2021-09-23T21:56:35.338Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-134&commit=721085b1b61f7257f07c593d72f2dc79a7e4ef2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-134%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=134&job=&cmd_args= [2021-09-23T21:56:35.930Z] -> Uploading to [2021-09-23T21:56:35.930Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-23/4E5D53B4F1F92C436F7061BF334D961C/721085b1b61f7257f07c593d72f2dc79a7e4ef2f/e5ac08c8-9cf9-4c41-8637-00562a762a4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210923T215635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a15ef86c37f53c36d85d5bf15d9490501e16d8f4044b6dff9f9bd4fce7dcfe65 [2021-09-23T21:56:35.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-23T21:56:35.930Z] Dload Upload Total Spent Left Speed [2021-09-23T21:56:36.513Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 2200 --:--:-- --:--:-- --:--:-- 2201 [2021-09-23T21:56:36.513Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/721085b1b61f7257f07c593d72f2dc79a7e4ef2f [Pipeline] } [2021-09-23T21:56:36.539Z] 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-23T21:56:39.026Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-134/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:39.393Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:40.053Z] ---> package-listing.sh [2021-09-23T21:56:40.053Z] ++ facter osfamily [2021-09-23T21:56:40.053Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-23T21:56:40.320Z] + OS_FAMILY=redhat [2021-09-23T21:56:40.320Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-134 [2021-09-23T21:56:40.320Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-23T21:56:40.320Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-23T21:56:40.320Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-23T21:56:40.320Z] + PACKAGES=/tmp/packages_start.txt [2021-09-23T21:56:40.320Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-134 ']' [2021-09-23T21:56:40.320Z] + PACKAGES=/tmp/packages_end.txt [2021-09-23T21:56:40.320Z] + case "${OS_FAMILY}" in [2021-09-23T21:56:40.320Z] + rpm -qa [2021-09-23T21:56:40.320Z] + sort [2021-09-23T21:56:40.898Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-23T21:56:40.898Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-23T21:56:40.898Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-23T21:56:40.898Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-134 ']' [2021-09-23T21:56:40.898Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-134/archives/ [2021-09-23T21:56:40.898Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-134/archives/ [Pipeline] echo [2021-09-23T21:56:40.935Z] 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-134/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-23T21:56:41.262Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:56:41.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T21:56:41.891Z] [2021-09-23T21:56:41.891Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:56:42.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T21:56:42.285Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-23T21:56:42.285Z] b4d181a07f80: Pulling fs layer [2021-09-23T21:56:42.285Z] a1111a8f2ec3: Pulling fs layer [2021-09-23T21:56:42.285Z] ed53099fbce6: Pulling fs layer [2021-09-23T21:56:42.285Z] dc539afda2c1: Pulling fs layer [2021-09-23T21:56:42.285Z] 77bc0d833cb6: Pulling fs layer [2021-09-23T21:56:42.285Z] 9065ff56babe: Pulling fs layer [2021-09-23T21:56:42.285Z] d287ab97295c: Pulling fs layer [2021-09-23T21:56:42.285Z] dc539afda2c1: Waiting [2021-09-23T21:56:42.285Z] 77bc0d833cb6: Waiting [2021-09-23T21:56:42.285Z] 9065ff56babe: Waiting [2021-09-23T21:56:42.285Z] d287ab97295c: Waiting [2021-09-23T21:56:42.552Z] a1111a8f2ec3: Verifying Checksum [2021-09-23T21:56:42.552Z] a1111a8f2ec3: Download complete [2021-09-23T21:56:42.552Z] dc539afda2c1: Download complete [2021-09-23T21:56:42.818Z] 77bc0d833cb6: Verifying Checksum [2021-09-23T21:56:42.818Z] 77bc0d833cb6: Download complete [2021-09-23T21:56:42.818Z] 9065ff56babe: Verifying Checksum [2021-09-23T21:56:42.818Z] 9065ff56babe: Download complete [2021-09-23T21:56:42.818Z] ed53099fbce6: Verifying Checksum [2021-09-23T21:56:42.818Z] ed53099fbce6: Download complete [2021-09-23T21:56:43.409Z] b4d181a07f80: Verifying Checksum [2021-09-23T21:56:43.409Z] b4d181a07f80: Download complete [2021-09-23T21:56:45.990Z] b4d181a07f80: Pull complete [2021-09-23T21:56:46.264Z] a1111a8f2ec3: Pull complete [2021-09-23T21:56:46.541Z] d287ab97295c: Verifying Checksum [2021-09-23T21:56:46.541Z] d287ab97295c: Download complete [2021-09-23T21:56:46.541Z] ed53099fbce6: Pull complete [2021-09-23T21:56:46.810Z] dc539afda2c1: Pull complete [2021-09-23T21:56:46.810Z] 77bc0d833cb6: Pull complete [2021-09-23T21:56:47.081Z] 9065ff56babe: Pull complete [2021-09-23T21:56:51.371Z] d287ab97295c: Pull complete [2021-09-23T21:56:51.371Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-23T21:56:51.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T21:56:51.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-23T21:56:51.488Z] prd-centos7-docker-4c-2g-1005 does not seem to be running inside a container [2021-09-23T21:56:51.540Z] $ 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-134/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-134 -v /w/workspace/gexfoundry_device-rest-go_PR-134:/w/workspace/gexfoundry_device-rest-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-134@tmp:/w/workspace/gexfoundry_device-rest-go_PR-134@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-23T21:56:53.983Z] $ docker top 42ded39ad9612d69581053876be0b3325c2b8c818709bd9cd62434f8f222052e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T21:56:54.438Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-23T21:56:54.776Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-23T21:56:55.107Z] + ls /var/log/sa-host [2021-09-23T21:56:55.108Z] + sadf -c /var/log/sa-host/sa05 [2021-09-23T21:56:55.108Z] file_magic: OK [2021-09-23T21:56:55.108Z] HZ: Using current value: 100 [2021-09-23T21:56:55.108Z] file_header: OK [2021-09-23T21:56:55.108Z] 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-23T21:56:55.108Z] Statistics: [2021-09-23T21:56:55.108Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-23T21:56:55.108Z] File successfully converted to sysstat format version 12.0.3 [2021-09-23T21:56:55.108Z] + sadf -c /var/log/sa-host/sa23 [2021-09-23T21:56:55.108Z] file_magic: OK [2021-09-23T21:56:55.108Z] HZ: Using current value: 100 [2021-09-23T21:56:55.108Z] file_header: OK [2021-09-23T21:56:55.108Z] 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-23T21:56:55.108Z] Statistics: [2021-09-23T21:56:55.108Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-23T21:56:55.108Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T21:56:55.461Z] provisioning config files... [2021-09-23T21:56:55.478Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-134@tmp/config4388919747827340296tmp [Pipeline] { [Pipeline] echo [2021-09-23T21:56:55.535Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:55.876Z] ---> create-netrc.sh [Pipeline] } [2021-09-23T21:56:55.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:56.354Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-23T21:56:56.391Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:56.741Z] ---> sudo-logs.sh [2021-09-23T21:56:56.741Z] Archiving 'sudo' log.. [2021-09-23T21:56:56.741Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1005.vexxhost.local: Name or service not known [2021-09-23T21:56:56.741Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1005.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-23T21:56:56.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:57.183Z] ---> job-cost.sh [2021-09-23T21:56:57.183Z] lf-activate-venv: SKIPPING [2021-09-23T21:56:57.184Z] DEBUG: total: 0.10999999940395355 [2021-09-23T21:56:57.184Z] INFO: Retrieving Stack Cost... [2021-09-23T21:56:57.766Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-23T21:56:58.345Z] INFO: Archiving Costs [Pipeline] echo [2021-09-23T21:56:58.402Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:56:58.752Z] ---> logs-deploy.sh [2021-09-23T21:56:58.753Z] lf-activate-venv: SKIPPING [2021-09-23T21:56:58.753Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-134/1 [2021-09-23T21:56:58.753Z] INFO: archiving workspace using pattern(s): [2021-09-23T21:56:59.335Z] Archives upload complete. [2021-09-23T21:56:59.600Z] INFO: archiving logs to Nexus