Pull request #146 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 7759c41568adf15208c0dd5cadcdb8f87895acd8 rather than cbfdaf904ac601d3ba49eb9838138f50b9acca7f Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 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-ssh2046524710896466715.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh2769069015982357497.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-146/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-146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9054556810460919260.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-146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9197648968224912544.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh5133568720011262545.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-146/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-146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2956747609821100981.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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 USE_ALPINE: true 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-824’ Running on prd-centos7-docker-4c-2g-829 in /w/workspace/gexfoundry_device-rest-go_PR-146 [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-146 # 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-146@tmp/jenkins-gitclient-ssh4193471037931684978.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-146@tmp/jenkins-gitclient-ssh4816230217250713048.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit cbfdaf904ac601d3ba49eb9838138f50b9acca7f Merge succeeded, producing cbfdaf904ac601d3ba49eb9838138f50b9acca7f Checking out Revision cbfdaf904ac601d3ba49eb9838138f50b9acca7f (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # 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-146@tmp/jenkins-gitclient-ssh3552588284685934181.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 Commit message: "build(snap): update snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-16T16:14:14.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-16T16:14:14.725Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-16T16:14:14.816Z] ========================================================= [2021-11-16T16:14:14.816Z] EdgeX Global Pipelines Version Info [2021-11-16T16:14:14.816Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:14:16.017Z] ------------------- [2021-11-16T16:14:16.017Z] stable info: [2021-11-16T16:14:16.017Z] ------------------- [2021-11-16T16:14:16.017Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-16T16:14:16.017Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T16:14:16.017Z] Message: update stable to v1.0.215 [2021-11-16T16:14:16.971Z] ------------------- [2021-11-16T16:14:16.971Z] experimental info: [2021-11-16T16:14:16.971Z] ------------------- [2021-11-16T16:14:16.971Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-16T16:14:16.971Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T16:14:16.971Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-16T16:14:17.140Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-16T16:14:17.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-16T16:14:17.255Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-16T16:14:17.294Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-16T16:14:17.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-16T16:14:17.379Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-16T16:14:17.414Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-16T16:14:17.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-16T16:14:17.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-16T16:14:17.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-16T16:14:17.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-16T16:14:17.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-16T16:14:17.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-16T16:14:17.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-16T16:14:17.757Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T16:14:17.800Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T16:14:17.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T16:14:17.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T16:14:17.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-16T16:14:17.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-16T16:14:17.986Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-16T16:14:18.023Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-16T16:14:18.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-16T16:14:18.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-16T16:14:18.152Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-16T16:14:18.201Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-16T16:14:18.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2021-11-16T16:14:18.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2021-11-16T16:14:18.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2021-11-16T16:14:18.355Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo [2021-11-16T16:14:18.394Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbfdaf9 [Pipeline] echo [2021-11-16T16:14:18.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T16:14:18.553Z] provisioning config files... [2021-11-16T16:14:18.569Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4700624609948782802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:14:18.927Z] ---> docker-login.sh [2021-11-16T16:14:18.927Z] nexus3.edgexfoundry.org:10001 [2021-11-16T16:14:18.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:14:19.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:14:19.190Z] Configure a credential helper to remove this warning. See [2021-11-16T16:14:19.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:14:19.190Z] [2021-11-16T16:14:19.190Z] Login Succeeded [2021-11-16T16:14:19.190Z] nexus3.edgexfoundry.org:10002 [2021-11-16T16:14:19.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:14:19.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:14:19.190Z] Configure a credential helper to remove this warning. See [2021-11-16T16:14:19.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:14:19.190Z] [2021-11-16T16:14:19.190Z] Login Succeeded [2021-11-16T16:14:19.190Z] nexus3.edgexfoundry.org:10003 [2021-11-16T16:14:19.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:14:19.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:14:19.454Z] Configure a credential helper to remove this warning. See [2021-11-16T16:14:19.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:14:19.454Z] [2021-11-16T16:14:19.454Z] Login Succeeded [2021-11-16T16:14:19.454Z] nexus3.edgexfoundry.org:10004 [2021-11-16T16:14:19.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:14:19.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:14:19.454Z] Configure a credential helper to remove this warning. See [2021-11-16T16:14:19.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:14:19.454Z] [2021-11-16T16:14:19.454Z] Login Succeeded [2021-11-16T16:14:19.454Z] docker.io [2021-11-16T16:14:19.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:14:21.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:14:21.385Z] Configure a credential helper to remove this warning. See [2021-11-16T16:14:21.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:14:21.385Z] [2021-11-16T16:14:21.385Z] Login Succeeded [2021-11-16T16:14:21.385Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T16:14:21.404Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-16T16:14:22.982Z] + git rev-list -1 --merges cbfdaf904ac601d3ba49eb9838138f50b9acca7f~1..cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo [2021-11-16T16:14:23.037Z] -----------> git rev-list -1 --merges cbfdaf904ac601d3ba49eb9838138f50b9acca7f~1..cbfdaf904ac601d3ba49eb9838138f50b9acca7f cbfdaf904ac601d3ba49eb9838138f50b9acca7f [false] [Pipeline] sh [2021-11-16T16:14:23.363Z] + git log --format=format:%s -1 cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo [2021-11-16T16:14:23.394Z] ========================================================= [2021-11-16T16:14:23.394Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-16T16:14:23.394Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T16:14:23.818Z] + git log --format=format:%s -1 cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo [2021-11-16T16:14:23.856Z] [semverPrep] GIT_COMMIT: cbfdaf904ac601d3ba49eb9838138f50b9acca7f, Commit Message: build(snap): update snap packaging [Pipeline] echo [2021-11-16T16:14:23.887Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:14:24.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T16:14:24.586Z] [2021-11-16T16:14:24.586Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:14:24.929Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T16:14:24.929Z] latest: Pulling from edgex-devops/git-semver [2021-11-16T16:14:24.929Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T16:14:24.929Z] 3e5f54012d9b: Pulling fs layer [2021-11-16T16:14:24.929Z] 4c7163046ea9: Pulling fs layer [2021-11-16T16:14:24.929Z] 0c2d73faf560: Pulling fs layer [2021-11-16T16:14:24.929Z] 0c2d73faf560: Waiting [2021-11-16T16:14:24.929Z] 3e5f54012d9b: Verifying Checksum [2021-11-16T16:14:24.929Z] 3e5f54012d9b: Download complete [2021-11-16T16:14:24.929Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T16:14:24.929Z] a0d0a0d46f8b: Download complete [2021-11-16T16:14:24.929Z] 0c2d73faf560: Verifying Checksum [2021-11-16T16:14:24.929Z] 0c2d73faf560: Download complete [2021-11-16T16:14:24.929Z] 4c7163046ea9: Verifying Checksum [2021-11-16T16:14:24.929Z] 4c7163046ea9: Download complete [2021-11-16T16:14:25.196Z] a0d0a0d46f8b: Pull complete [2021-11-16T16:14:25.196Z] 3e5f54012d9b: Pull complete [2021-11-16T16:14:25.461Z] 4c7163046ea9: Pull complete [2021-11-16T16:14:25.729Z] 0c2d73faf560: Pull complete [2021-11-16T16:14:25.729Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-16T16:14:25.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T16:14:25.729Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-16T16:14:25.822Z] prd-centos7-docker-4c-2g-829 does not seem to be running inside a container [2021-11-16T16:14:25.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@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-11-16T16:14:26.472Z] $ docker top 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T16:14:26.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T16:14:26.631Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T16:14:26.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T16:14:26.755Z] $ docker exec 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent [2021-11-16T16:14:26.868Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoCelPn/agent.14 [2021-11-16T16:14:26.868Z] SSH_AGENT_PID=21 [2021-11-16T16:14:26.876Z] Running ssh-add (command line suppressed) [2021-11-16T16:14:26.992Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_8963961429817531300.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_8963961429817531300.key) [2021-11-16T16:14:27.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T16:14:27.339Z] + git tag --points-at HEAD [Pipeline] } [2021-11-16T16:14:27.362Z] $ docker exec --env ******** --env ******** 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent -k [2021-11-16T16:14:27.480Z] unset SSH_AUTH_SOCK; [2021-11-16T16:14:27.481Z] unset SSH_AGENT_PID; [2021-11-16T16:14:27.481Z] echo Agent pid 21 killed; [2021-11-16T16:14:27.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-16T16:14:27.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T16:14:27.566Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T16:14:27.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T16:14:27.714Z] $ docker exec 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent [2021-11-16T16:14:27.835Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcADKFM/agent.53 [2021-11-16T16:14:27.835Z] SSH_AGENT_PID=59 [2021-11-16T16:14:27.841Z] Running ssh-add (command line suppressed) [2021-11-16T16:14:27.963Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_7009194349590087024.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_7009194349590087024.key) [2021-11-16T16:14:27.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T16:14:28.305Z] + git semver init [2021-11-16T16:14:28.305Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T16:14:28.305Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git [2021-11-16T16:14:28.305Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-16T16:14:28.305Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T16:14:28.305Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T16:14:28.305Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T16:14:28.305Z] # $SEMVER_BRANCH = PR-146 [2021-11-16T16:14:28.305Z] # $SEMVER_TEMP = /tmp/semver-088053152 [2021-11-16T16:14:28.305Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-16T16:14:29.698Z] # '/tmp/semver-088053152' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' [2021-11-16T16:14:29.698Z] # -> Force: false [2021-11-16T16:14:29.698Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } [2021-11-16T16:14:29.729Z] $ docker exec --env ******** --env ******** 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent -k [2021-11-16T16:14:29.826Z] unset SSH_AUTH_SOCK; [2021-11-16T16:14:29.826Z] unset SSH_AGENT_PID; [2021-11-16T16:14:29.826Z] echo Agent pid 59 killed; [2021-11-16T16:14:29.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T16:14:30.232Z] + git semver [Pipeline] } [2021-11-16T16:14:30.262Z] $ docker stop --time=1 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c [2021-11-16T16:14:31.502Z] $ docker rm -f 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T16:14:31.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-16T16:14:32.197Z] Stashed 1 file(s) [Pipeline] echo [2021-11-16T16:14:32.221Z] [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-11-16T16:14:47.762Z] Still waiting to schedule task [2021-11-16T16:14:47.762Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-16T16:14:47.785Z] Still waiting to schedule task [2021-11-16T16:14:47.785Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-826’ is offline [2021-11-16T16:16:16.928Z] Running on prd-centos7-docker-4c-2g-831 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-16T16:16:16.968Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-11-16T16:16:17.080Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-830 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [2021-11-16T16:16:17.090Z] The recommended git tool is: git [Pipeline] ws [2021-11-16T16:16:17.135Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-11-16T16:16:17.361Z] The recommended git tool is: git [2021-11-16T16:16:19.115Z] using credential edgex-jenkins-ssh [2021-11-16T16:16:19.124Z] Cloning the remote Git repository [2021-11-16T16:16:19.019Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T16:16:19.072Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-11-16T16:16:19.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T16:16:19.100Z] > git --version # timeout=10 [2021-11-16T16:16:19.114Z] > git --version # 'git version 2.24.4' [2021-11-16T16:16:19.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T16:16:19.135Z] [INFO] Currently running in a labeled security context [2021-11-16T16:16:19.135Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-16T16:16:19.135Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4935898671037001940.key [2021-11-16T16:16:19.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T16:16:20.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-16T16:16:20.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T16:16:20.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-16T16:16:20.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T16:16:20.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T16:16:20.218Z] [INFO] Currently running in a labeled security context [2021-11-16T16:16:20.218Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-16T16:16:20.218Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2700235430549858531.key [2021-11-16T16:16:20.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-16T16:16:21.041Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit cbfdaf904ac601d3ba49eb9838138f50b9acca7f [2021-11-16T16:16:21.119Z] Merge succeeded, producing cbfdaf904ac601d3ba49eb9838138f50b9acca7f [2021-11-16T16:16:21.119Z] Checking out Revision cbfdaf904ac601d3ba49eb9838138f50b9acca7f (PR-146) [2021-11-16T16:16:20.926Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T16:16:20.934Z] > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 [2021-11-16T16:16:20.961Z] > git remote # timeout=10 [2021-11-16T16:16:20.965Z] > git config --get remote.origin.url # timeout=10 [2021-11-16T16:16:20.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T16:16:20.971Z] [INFO] Currently running in a labeled security context [2021-11-16T16:16:20.971Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-16T16:16:20.972Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4013383755545081931.key [2021-11-16T16:16:20.975Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-16T16:16:20.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-16T16:16:20.998Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T16:16:21.007Z] > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 [2021-11-16T16:16:23.003Z] using credential edgex-jenkins-ssh [2021-11-16T16:16:23.040Z] Cloning the remote Git repository [2021-11-16T16:16:23.094Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T16:16:23.212Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-11-16T16:16:23.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T16:16:23.275Z] > git --version # timeout=10 [2021-11-16T16:16:23.289Z] > git --version # 'git version 2.17.1' [2021-11-16T16:16:23.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T16:16:23.347Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T16:16:24.775Z] Commit message: "build(snap): update snap packaging" [2021-11-16T16:16:24.674Z] > git --version # timeout=10 [2021-11-16T16:16:24.679Z] > git --version # 'git version 2.24.4' [2021-11-16T16:16:24.686Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T16:16:25.405Z] provisioning config files... [2021-11-16T16:16:25.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7269234429006637320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:16:25.856Z] ---> docker-login.sh [2021-11-16T16:16:25.856Z] nexus3.edgexfoundry.org:10001 [2021-11-16T16:16:25.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:25.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:25.856Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:25.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:25.856Z] [2021-11-16T16:16:25.856Z] Login Succeeded [2021-11-16T16:16:25.856Z] nexus3.edgexfoundry.org:10002 [2021-11-16T16:16:25.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-16T16:16:25.370Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T16:16:25.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-16T16:16:25.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T16:16:25.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T16:16:25.439Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-16T16:16:26.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:26.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:26.121Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:26.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:26.121Z] [2021-11-16T16:16:26.121Z] Login Succeeded [2021-11-16T16:16:26.121Z] nexus3.edgexfoundry.org:10003 [2021-11-16T16:16:26.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:26.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:26.121Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:26.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:26.121Z] [2021-11-16T16:16:26.121Z] Login Succeeded [2021-11-16T16:16:26.121Z] nexus3.edgexfoundry.org:10004 [2021-11-16T16:16:26.341Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit cbfdaf904ac601d3ba49eb9838138f50b9acca7f [2021-11-16T16:16:26.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:26.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:26.382Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:26.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:26.382Z] [2021-11-16T16:16:26.382Z] Login Succeeded [2021-11-16T16:16:26.382Z] docker.io [2021-11-16T16:16:26.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:26.520Z] Merge succeeded, producing cbfdaf904ac601d3ba49eb9838138f50b9acca7f [2021-11-16T16:16:26.520Z] Checking out Revision cbfdaf904ac601d3ba49eb9838138f50b9acca7f (PR-146) [2021-11-16T16:16:26.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:26.952Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:26.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:26.952Z] [2021-11-16T16:16:26.952Z] Login Succeeded [2021-11-16T16:16:26.952Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T16:16:26.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T16:16:27.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T16:16:27.267Z] ========================================================= [2021-11-16T16:16:27.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-16T16:16:27.267Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:16:26.357Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T16:16:26.370Z] > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 [2021-11-16T16:16:26.448Z] > git remote # timeout=10 [2021-11-16T16:16:26.462Z] > git config --get remote.origin.url # timeout=10 [2021-11-16T16:16:26.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T16:16:26.484Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-16T16:16:26.505Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-16T16:16:26.525Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T16:16:26.550Z] > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 [2021-11-16T16:16:27.682Z] + 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-11-16T16:16:27.682Z] Sending build context to Docker daemon 119.3kB [2021-11-16T16:16:27.682Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T16:16:27.682Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T16:16:27.682Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-16T16:16:27.682Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T16:16:27.682Z] 31adcdaf11c8: Pulling fs layer [2021-11-16T16:16:27.682Z] b8b176561691: Pulling fs layer [2021-11-16T16:16:27.682Z] 4527c011a84f: Pulling fs layer [2021-11-16T16:16:27.682Z] 5d74067f8e1e: Pulling fs layer [2021-11-16T16:16:27.682Z] e0aca202a116: Pulling fs layer [2021-11-16T16:16:27.682Z] 3a43be97a3b4: Pulling fs layer [2021-11-16T16:16:27.682Z] 34cad66bf833: Pulling fs layer [2021-11-16T16:16:27.682Z] b4e3c513aaa6: Pulling fs layer [2021-11-16T16:16:27.682Z] 4527c011a84f: Waiting [2021-11-16T16:16:27.682Z] 5d74067f8e1e: Waiting [2021-11-16T16:16:27.682Z] e0aca202a116: Waiting [2021-11-16T16:16:27.682Z] 3a43be97a3b4: Waiting [2021-11-16T16:16:27.682Z] 34cad66bf833: Waiting [2021-11-16T16:16:27.682Z] b4e3c513aaa6: Waiting [2021-11-16T16:16:27.682Z] b8b176561691: Verifying Checksum [2021-11-16T16:16:27.682Z] b8b176561691: Download complete [2021-11-16T16:16:27.682Z] 31adcdaf11c8: Verifying Checksum [2021-11-16T16:16:27.682Z] 31adcdaf11c8: Download complete [2021-11-16T16:16:27.682Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T16:16:27.682Z] a0d0a0d46f8b: Download complete [2021-11-16T16:16:27.954Z] 5d74067f8e1e: Verifying Checksum [2021-11-16T16:16:27.954Z] 5d74067f8e1e: Download complete [2021-11-16T16:16:27.954Z] e0aca202a116: Verifying Checksum [2021-11-16T16:16:27.954Z] e0aca202a116: Download complete [2021-11-16T16:16:27.954Z] 3a43be97a3b4: Verifying Checksum [2021-11-16T16:16:27.954Z] 3a43be97a3b4: Download complete [2021-11-16T16:16:27.954Z] 34cad66bf833: Verifying Checksum [2021-11-16T16:16:27.954Z] 34cad66bf833: Download complete [2021-11-16T16:16:28.241Z] a0d0a0d46f8b: Pull complete [2021-11-16T16:16:28.515Z] 31adcdaf11c8: Pull complete [2021-11-16T16:16:28.515Z] 4527c011a84f: Verifying Checksum [2021-11-16T16:16:28.515Z] 4527c011a84f: Download complete [2021-11-16T16:16:28.515Z] b4e3c513aaa6: Verifying Checksum [2021-11-16T16:16:28.515Z] b4e3c513aaa6: Download complete [2021-11-16T16:16:28.515Z] b8b176561691: Pull complete [2021-11-16T16:16:30.747Z] Commit message: "build(snap): update snap packaging" [2021-11-16T16:16:30.805Z] > git --version # timeout=10 [2021-11-16T16:16:30.820Z] > git --version # 'git version 2.17.1' [2021-11-16T16:16:30.838Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T16:16:31.855Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-16T16:16:31.855Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T16:16:31.855Z] Dload Upload Total Spent Left Speed [2021-11-16T16:16:31.855Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93841 [Pipeline] sh [2021-11-16T16:16:32.268Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-16T16:16:32.621Z] + sudo tee /etc/docker/daemon.new [2021-11-16T16:16:32.621Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-16T16:16:32.621Z] { [2021-11-16T16:16:32.621Z] "registry-mirrors": [ [2021-11-16T16:16:32.621Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-16T16:16:32.621Z] ], [2021-11-16T16:16:32.621Z] "bip": "10.250.0.254/24", [2021-11-16T16:16:32.621Z] "hosts": [ [2021-11-16T16:16:32.621Z] "tcp://0.0.0.0:5555", [2021-11-16T16:16:32.621Z] "unix:///var/run/docker.sock" [2021-11-16T16:16:32.621Z] ], [2021-11-16T16:16:32.621Z] "mtu": 1458, [2021-11-16T16:16:32.621Z] "selinux-enabled": true, [2021-11-16T16:16:32.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-16T16:16:32.621Z] } [Pipeline] sh [2021-11-16T16:16:32.757Z] 4527c011a84f: Pull complete [2021-11-16T16:16:32.757Z] 5d74067f8e1e: Pull complete [2021-11-16T16:16:32.757Z] e0aca202a116: Pull complete [2021-11-16T16:16:32.757Z] 3a43be97a3b4: Pull complete [2021-11-16T16:16:32.757Z] 34cad66bf833: Pull complete [2021-11-16T16:16:32.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-16T16:16:33.413Z] + sudo service docker restart [2021-11-16T16:16:34.702Z] b4e3c513aaa6: Pull complete [2021-11-16T16:16:34.966Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-16T16:16:34.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-16T16:16:34.966Z] ---> 9f6097aaca64 [2021-11-16T16:16:34.966Z] Step 3/11 : ARG MAKE='make build' [2021-11-16T16:16:36.883Z] ---> Running in f8a476ef9971 [2021-11-16T16:16:36.883Z] Removing intermediate container f8a476ef9971 [2021-11-16T16:16:36.883Z] ---> 2a6859aec62f [2021-11-16T16:16:36.883Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T16:16:36.883Z] ---> Running in 5b276529d02c [2021-11-16T16:16:36.883Z] Removing intermediate container 5b276529d02c [2021-11-16T16:16:36.883Z] ---> 713213581a5a [2021-11-16T16:16:36.883Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T16:16:36.883Z] ---> Running in f57212262904 [2021-11-16T16:16:36.883Z] Removing intermediate container f57212262904 [2021-11-16T16:16:36.883Z] ---> 966f44a29160 [2021-11-16T16:16:36.883Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T16:16:36.883Z] ---> Running in ff1f476d5760 [2021-11-16T16:16:37.454Z] Removing intermediate container ff1f476d5760 [2021-11-16T16:16:37.454Z] ---> 6d75802f972a [2021-11-16T16:16:37.454Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T16:16:37.454Z] ---> Running in 9d152f7b2432 [2021-11-16T16:16:37.454Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T16:16:38.397Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T16:16:38.659Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T16:16:38.659Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T16:16:38.921Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T16:16:38.921Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T16:16:39.180Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T16:16:39.180Z] OK: 224 MiB in 56 packages [2021-11-16T16:16:39.440Z] Removing intermediate container 9d152f7b2432 [2021-11-16T16:16:39.440Z] ---> a6891baace98 [2021-11-16T16:16:39.440Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-16T16:16:39.440Z] ---> Running in 45470a846df2 [2021-11-16T16:16:39.440Z] Removing intermediate container 45470a846df2 [2021-11-16T16:16:39.440Z] ---> 2428b4787240 [2021-11-16T16:16:39.440Z] Step 9/11 : COPY . . [2021-11-16T16:16:39.701Z] ---> b467fe795dd3 [2021-11-16T16:16:39.701Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T16:16:39.701Z] ---> Running in 572cf72a798a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T16:16:51.790Z] provisioning config files... [2021-11-16T16:16:51.814Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8184584155667386037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:16:52.233Z] ---> docker-login.sh [2021-11-16T16:16:52.233Z] nexus3.edgexfoundry.org:10001 [2021-11-16T16:16:52.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:53.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:53.106Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:53.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:53.106Z] [2021-11-16T16:16:53.106Z] Login Succeeded [2021-11-16T16:16:53.106Z] nexus3.edgexfoundry.org:10002 [2021-11-16T16:16:53.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:53.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:53.703Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:53.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:53.703Z] [2021-11-16T16:16:53.703Z] Login Succeeded [2021-11-16T16:16:53.703Z] nexus3.edgexfoundry.org:10003 [2021-11-16T16:16:53.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:54.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:54.250Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:54.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:54.250Z] [2021-11-16T16:16:54.250Z] Login Succeeded [2021-11-16T16:16:54.250Z] nexus3.edgexfoundry.org:10004 [2021-11-16T16:16:54.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:54.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:54.799Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:54.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:54.799Z] [2021-11-16T16:16:54.799Z] Login Succeeded [2021-11-16T16:16:54.799Z] docker.io [2021-11-16T16:16:55.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T16:16:55.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T16:16:55.669Z] Configure a credential helper to remove this warning. See [2021-11-16T16:16:55.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T16:16:55.669Z] [2021-11-16T16:16:55.669Z] Login Succeeded [2021-11-16T16:16:55.669Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T16:16:55.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T16:16:56.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T16:16:56.315Z] ========================================================= [2021-11-16T16:16:56.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-16T16:16:56.315Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:16:56.758Z] + 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-11-16T16:16:56.758Z] Sending build context to Docker daemon 119.3kB [2021-11-16T16:16:57.036Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T16:16:57.036Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T16:16:57.316Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-16T16:16:57.316Z] 552d1f2373af: Pulling fs layer [2021-11-16T16:16:57.316Z] ea3f2d53f512: Pulling fs layer [2021-11-16T16:16:57.316Z] 9e70ebbbe112: Pulling fs layer [2021-11-16T16:16:57.316Z] 7a9cfe048b4a: Pulling fs layer [2021-11-16T16:16:57.316Z] 72dc09318566: Pulling fs layer [2021-11-16T16:16:57.316Z] f4f7b4309257: Pulling fs layer [2021-11-16T16:16:57.316Z] 0ac9a79272e3: Pulling fs layer [2021-11-16T16:16:57.316Z] b78e95d17946: Pulling fs layer [2021-11-16T16:16:57.316Z] 72dc09318566: Waiting [2021-11-16T16:16:57.316Z] f4f7b4309257: Waiting [2021-11-16T16:16:57.316Z] 0ac9a79272e3: Waiting [2021-11-16T16:16:57.316Z] b78e95d17946: Waiting [2021-11-16T16:16:57.316Z] 7a9cfe048b4a: Waiting [2021-11-16T16:16:57.316Z] 9e70ebbbe112: Verifying Checksum [2021-11-16T16:16:57.316Z] 9e70ebbbe112: Download complete [2021-11-16T16:16:57.316Z] ea3f2d53f512: Verifying Checksum [2021-11-16T16:16:57.316Z] ea3f2d53f512: Download complete [2021-11-16T16:16:57.316Z] 72dc09318566: Verifying Checksum [2021-11-16T16:16:57.316Z] 72dc09318566: Download complete [2021-11-16T16:16:57.316Z] f4f7b4309257: Verifying Checksum [2021-11-16T16:16:57.316Z] f4f7b4309257: Download complete [2021-11-16T16:16:57.316Z] 552d1f2373af: Verifying Checksum [2021-11-16T16:16:57.316Z] 552d1f2373af: Download complete [2021-11-16T16:16:57.600Z] 0ac9a79272e3: Verifying Checksum [2021-11-16T16:16:57.600Z] 0ac9a79272e3: Download complete [2021-11-16T16:16:58.203Z] 552d1f2373af: Pull complete [2021-11-16T16:16:58.805Z] ea3f2d53f512: Pull complete [2021-11-16T16:16:59.408Z] 9e70ebbbe112: Pull complete [2021-11-16T16:16:59.408Z] b78e95d17946: Download complete [2021-11-16T16:17:00.006Z] 7a9cfe048b4a: Verifying Checksum [2021-11-16T16:17:00.006Z] 7a9cfe048b4a: Download complete [2021-11-16T16:17:10.193Z] 7a9cfe048b4a: Pull complete [2021-11-16T16:17:10.193Z] 72dc09318566: Pull complete [2021-11-16T16:17:10.794Z] f4f7b4309257: Pull complete [2021-11-16T16:17:11.067Z] 0ac9a79272e3: Pull complete [2021-11-16T16:17:11.842Z] Removing intermediate container 572cf72a798a [2021-11-16T16:17:11.842Z] ---> cdbc1c30c27b [2021-11-16T16:17:11.842Z] Step 11/11 : RUN $MAKE [2021-11-16T16:17:11.842Z] ---> Running in 42ecbe356347 [2021-11-16T16:17:11.842Z] noop [2021-11-16T16:17:11.842Z] Removing intermediate container 42ecbe356347 [2021-11-16T16:17:11.842Z] ---> a02f3ed0aac9 [2021-11-16T16:17:11.842Z] Successfully built a02f3ed0aac9 [2021-11-16T16:17:11.842Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:17:12.167Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T16:17:12.167Z] . [Pipeline] withDockerContainer [2021-11-16T16:17:12.255Z] prd-centos7-docker-4c-2g-831 does not seem to be running inside a container [2021-11-16T16:17:12.297Z] $ 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-11-16T16:17:12.630Z] $ docker top b65494826a7410fd6f2b8426018ee1e298ebd068ad1996f28656db234a6fc1f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T16:17:13.066Z] + go version [2021-11-16T16:17:13.066Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-16T16:17:13.093Z] $ docker stop --time=1 b65494826a7410fd6f2b8426018ee1e298ebd068ad1996f28656db234a6fc1f2 [2021-11-16T16:17:14.271Z] $ docker rm -f b65494826a7410fd6f2b8426018ee1e298ebd068ad1996f28656db234a6fc1f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:17:15.015Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T16:17:15.016Z] . [Pipeline] withDockerContainer [2021-11-16T16:17:15.099Z] prd-centos7-docker-4c-2g-831 does not seem to be running inside a container [2021-11-16T16:17:15.142Z] $ 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-11-16T16:17:15.444Z] $ docker top 51c121eca34201a55df7976442ee4cc40b667d3192440b7a79738ea829044789 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T16:17:15.902Z] + make test [2021-11-16T16:17:15.902Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-16T16:17:16.170Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-16T16:17:17.789Z] b78e95d17946: Pull complete [2021-11-16T16:17:17.789Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-16T16:17:17.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-16T16:17:17.789Z] ---> 8b459fc5aaf0 [2021-11-16T16:17:17.789Z] Step 3/11 : ARG MAKE='make build' [2021-11-16T16:17:17.789Z] ---> Running in f119892aea24 [2021-11-16T16:17:18.063Z] Removing intermediate container f119892aea24 [2021-11-16T16:17:18.063Z] ---> 1630bfe64448 [2021-11-16T16:17:18.063Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T16:17:18.063Z] ---> Running in 86dd79569b81 [2021-11-16T16:17:18.660Z] Removing intermediate container 86dd79569b81 [2021-11-16T16:17:18.660Z] ---> 1c70e53a174d [2021-11-16T16:17:18.660Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T16:17:18.660Z] ---> Running in ddde65b89b52 [2021-11-16T16:17:18.933Z] Removing intermediate container ddde65b89b52 [2021-11-16T16:17:18.933Z] ---> cb72c9d12d27 [2021-11-16T16:17:18.933Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T16:17:19.206Z] ---> Running in 974a900645b0 [2021-11-16T16:17:21.195Z] Removing intermediate container 974a900645b0 [2021-11-16T16:17:21.195Z] ---> edd5405274a4 [2021-11-16T16:17:21.195Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T16:17:21.195Z] ---> Running in 1ceb649013e2 [2021-11-16T16:17:22.631Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T16:17:23.223Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T16:17:24.192Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T16:17:24.192Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T16:17:24.192Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T16:17:24.465Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T16:17:24.465Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T16:17:24.465Z] OK: 223 MiB in 56 packages [2021-11-16T16:17:25.447Z] Removing intermediate container 1ceb649013e2 [2021-11-16T16:17:25.447Z] ---> 99014d6ed3ce [2021-11-16T16:17:25.447Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-16T16:17:25.447Z] ---> Running in 8e3bda1142bd [2021-11-16T16:17:26.044Z] Removing intermediate container 8e3bda1142bd [2021-11-16T16:17:26.044Z] ---> 095144bf3822 [2021-11-16T16:17:26.044Z] Step 9/11 : COPY . . [2021-11-16T16:17:26.639Z] ---> 981fecbc62b3 [2021-11-16T16:17:26.639Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T16:17:26.915Z] ---> Running in cd081223af77 [2021-11-16T16:17:31.109Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-16T16:17:31.691Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements [2021-11-16T16:17:31.691Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T16:17:38.323Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T16:17:38.323Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T16:17:38.323Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T16:17:38.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T16:17:38.959Z] $ docker stop --time=1 51c121eca34201a55df7976442ee4cc40b667d3192440b7a79738ea829044789 [2021-11-16T16:17:40.378Z] $ docker rm -f 51c121eca34201a55df7976442ee4cc40b667d3192440b7a79738ea829044789 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T16:17:40.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T16:17:41.002Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-16T16:17:42.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T16:17:42.885Z] + ls -al . [2021-11-16T16:17:42.885Z] total 148 [2021-11-16T16:17:42.885Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 16:17 . [2021-11-16T16:17:42.885Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 16 16:16 .. [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 16 16:16 Attribution.txt [2021-11-16T16:17:42.885Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 16 16:16 bin [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 16 16:16 CHANGELOG.md [2021-11-16T16:17:42.885Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:16 cmd [2021-11-16T16:17:42.885Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 16 16:17 coverage.out [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 16 16:16 Dockerfile [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 16:16 .dockerignore [2021-11-16T16:17:42.885Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 16 16:16 driver [2021-11-16T16:17:42.885Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 16 16:16 .git [2021-11-16T16:17:42.885Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 16 16:16 .github [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 16 16:16 .gitignore [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 16 16:16 go.mod [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 16 16:16 go.sum [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 16:16 GOVERNANCE.md [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 16:16 Jenkinsfile [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:16 LICENSE [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 16 16:16 Makefile [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 16 16:16 OWNERS.md [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 8245 Nov 16 16:16 README.md [2021-11-16T16:17:42.885Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 16 16:16 snap [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 16 16:14 VERSION [2021-11-16T16:17:42.885Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 16:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:17:43.213Z] + 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=cbfdaf904ac601d3ba49eb9838138f50b9acca7f --label arch=amd64 --label version=0.0.0 . [2021-11-16T16:17:43.213Z] Sending build context to Docker daemon 129kB [2021-11-16T16:17:43.213Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T16:17:43.213Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-16T16:17:43.213Z] ---> a02f3ed0aac9 [2021-11-16T16:17:43.213Z] Step 3/24 : ARG MAKE='make build' [2021-11-16T16:17:43.213Z] ---> Running in 015601de9ce9 [2021-11-16T16:17:43.213Z] Removing intermediate container 015601de9ce9 [2021-11-16T16:17:43.213Z] ---> 49737766184d [2021-11-16T16:17:43.213Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T16:17:43.213Z] ---> Running in 67644dd90a9e [2021-11-16T16:17:43.481Z] Removing intermediate container 67644dd90a9e [2021-11-16T16:17:43.481Z] ---> 4360e35a6bde [2021-11-16T16:17:43.481Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T16:17:43.481Z] ---> Running in de18e52595da [2021-11-16T16:17:43.481Z] Removing intermediate container de18e52595da [2021-11-16T16:17:43.481Z] ---> 6468906de079 [2021-11-16T16:17:43.481Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T16:17:43.481Z] ---> Running in 30b66d3b0669 [2021-11-16T16:17:44.060Z] Removing intermediate container 30b66d3b0669 [2021-11-16T16:17:44.060Z] ---> d8371e86ec79 [2021-11-16T16:17:44.060Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T16:17:44.060Z] ---> Running in 70a888465f86 [2021-11-16T16:17:44.321Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T16:17:44.891Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T16:17:45.463Z] OK: 224 MiB in 56 packages [2021-11-16T16:17:45.463Z] Removing intermediate container 70a888465f86 [2021-11-16T16:17:45.463Z] ---> ccf2b578e93d [2021-11-16T16:17:45.463Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-16T16:17:45.463Z] ---> Running in fab32cbeff5e [2021-11-16T16:17:45.730Z] Removing intermediate container fab32cbeff5e [2021-11-16T16:17:45.730Z] ---> 285e9f2c3c0d [2021-11-16T16:17:45.730Z] Step 9/24 : COPY . . [2021-11-16T16:17:45.730Z] ---> 08f43418a53b [2021-11-16T16:17:45.730Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T16:17:45.730Z] ---> Running in 3ea5611a7b56 [2021-11-16T16:17:46.308Z] Removing intermediate container 3ea5611a7b56 [2021-11-16T16:17:46.308Z] ---> 68238d93b1d9 [2021-11-16T16:17:46.308Z] Step 11/24 : RUN $MAKE [2021-11-16T16:17:46.308Z] ---> Running in 5abf137a3411 [2021-11-16T16:17:46.570Z] 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-11-16T16:17:58.853Z] Removing intermediate container 5abf137a3411 [2021-11-16T16:17:58.853Z] ---> f9ea0ccfe507 [2021-11-16T16:17:58.853Z] Step 12/24 : FROM alpine:3.14 [2021-11-16T16:18:02.158Z] 3.14: Pulling from library/alpine [2021-11-16T16:18:02.158Z] 97518928ae5f: Pulling fs layer [2021-11-16T16:18:02.158Z] 97518928ae5f: Verifying Checksum [2021-11-16T16:18:02.158Z] 97518928ae5f: Download complete [2021-11-16T16:18:02.420Z] 97518928ae5f: Pull complete [2021-11-16T16:18:02.420Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T16:18:02.420Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T16:18:02.420Z] ---> 0a97eee8041e [2021-11-16T16:18:02.420Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-16T16:18:02.420Z] ---> Running in 864a5fed92c6 [2021-11-16T16:18:02.420Z] Removing intermediate container 864a5fed92c6 [2021-11-16T16:18:02.420Z] ---> ce40d449413b [2021-11-16T16:18:02.420Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-16T16:18:02.420Z] ---> Running in 1dfb993ce8ad [2021-11-16T16:18:02.679Z] Removing intermediate container 1dfb993ce8ad [2021-11-16T16:18:02.679Z] ---> 3c1bbbfc408f [2021-11-16T16:18:02.679Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T16:18:02.679Z] ---> Running in ac659792a24b [2021-11-16T16:18:02.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T16:18:02.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T16:18:03.202Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T16:18:03.202Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T16:18:03.202Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T16:18:03.202Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T16:18:03.202Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T16:18:03.202Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T16:18:03.202Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T16:18:03.202Z] OK: 8 MiB in 20 packages [2021-11-16T16:18:03.468Z] Removing intermediate container ac659792a24b [2021-11-16T16:18:03.468Z] ---> 771b358f21c9 [2021-11-16T16:18:03.468Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-16T16:18:04.039Z] ---> 2b283676808f [2021-11-16T16:18:04.039Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-16T16:18:04.039Z] ---> da01f25f5209 [2021-11-16T16:18:04.039Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-16T16:18:04.039Z] ---> b80578759687 [2021-11-16T16:18:04.039Z] Step 19/24 : EXPOSE 59986 [2021-11-16T16:18:04.039Z] ---> Running in e5add28131c1 [2021-11-16T16:18:04.298Z] Removing intermediate container e5add28131c1 [2021-11-16T16:18:04.298Z] ---> a569473ce1f8 [2021-11-16T16:18:04.299Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-16T16:18:04.299Z] ---> Running in 296adccfe114 [2021-11-16T16:18:04.299Z] Removing intermediate container 296adccfe114 [2021-11-16T16:18:04.299Z] ---> eb3e0b8465d8 [2021-11-16T16:18:04.299Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-16T16:18:04.299Z] ---> Running in be1f28c6102b [2021-11-16T16:18:04.299Z] Removing intermediate container be1f28c6102b [2021-11-16T16:18:04.299Z] ---> 08dc45ccf4e4 [2021-11-16T16:18:04.299Z] Step 22/24 : LABEL arch=amd64 [2021-11-16T16:18:04.565Z] ---> Running in 4920370474b3 [2021-11-16T16:18:04.565Z] Removing intermediate container 4920370474b3 [2021-11-16T16:18:04.565Z] ---> 558d07cd1b91 [2021-11-16T16:18:04.565Z] Step 23/24 : LABEL git_sha=cbfdaf904ac601d3ba49eb9838138f50b9acca7f [2021-11-16T16:18:04.565Z] ---> Running in 2ef48ddd581a [2021-11-16T16:18:04.565Z] Removing intermediate container 2ef48ddd581a [2021-11-16T16:18:04.565Z] ---> de51f74465bf [2021-11-16T16:18:04.565Z] Step 24/24 : LABEL version=0.0.0 [2021-11-16T16:18:04.565Z] ---> Running in 109b6e10f2bc [2021-11-16T16:18:04.565Z] Removing intermediate container 109b6e10f2bc [2021-11-16T16:18:04.565Z] ---> 674233373931 [2021-11-16T16:18:04.565Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T16:18:04.565Z] Successfully built 674233373931 [2021-11-16T16:18:04.565Z] 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-11-16T16:18:05.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T16:18:05.452Z] [2021-11-16T16:18:05.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:18:05.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T16:18:05.788Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T16:18:05.788Z] b4d181a07f80: Pulling fs layer [2021-11-16T16:18:05.788Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T16:18:05.788Z] ed53099fbce6: Pulling fs layer [2021-11-16T16:18:05.788Z] dc539afda2c1: Pulling fs layer [2021-11-16T16:18:05.788Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T16:18:05.788Z] 9065ff56babe: Pulling fs layer [2021-11-16T16:18:05.788Z] d287ab97295c: Pulling fs layer [2021-11-16T16:18:05.788Z] dc539afda2c1: Waiting [2021-11-16T16:18:05.788Z] 77bc0d833cb6: Waiting [2021-11-16T16:18:05.788Z] 9065ff56babe: Waiting [2021-11-16T16:18:05.788Z] d287ab97295c: Waiting [2021-11-16T16:18:05.788Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T16:18:05.788Z] a1111a8f2ec3: Download complete [2021-11-16T16:18:05.788Z] dc539afda2c1: Verifying Checksum [2021-11-16T16:18:05.788Z] dc539afda2c1: Download complete [2021-11-16T16:18:06.062Z] ed53099fbce6: Verifying Checksum [2021-11-16T16:18:06.062Z] ed53099fbce6: Download complete [2021-11-16T16:18:06.062Z] 9065ff56babe: Verifying Checksum [2021-11-16T16:18:06.062Z] 9065ff56babe: Download complete [2021-11-16T16:18:06.062Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T16:18:06.062Z] 77bc0d833cb6: Download complete [2021-11-16T16:18:06.062Z] b4d181a07f80: Verifying Checksum [2021-11-16T16:18:06.062Z] b4d181a07f80: Download complete [2021-11-16T16:18:06.635Z] d287ab97295c: Verifying Checksum [2021-11-16T16:18:06.635Z] d287ab97295c: Download complete [2021-11-16T16:18:07.596Z] b4d181a07f80: Pull complete [2021-11-16T16:18:07.596Z] a1111a8f2ec3: Pull complete [2021-11-16T16:18:08.167Z] ed53099fbce6: Pull complete [2021-11-16T16:18:08.167Z] dc539afda2c1: Pull complete [2021-11-16T16:18:08.432Z] 77bc0d833cb6: Pull complete [2021-11-16T16:18:08.696Z] 9065ff56babe: Pull complete [2021-11-16T16:18:14.019Z] d287ab97295c: Pull complete [2021-11-16T16:18:14.019Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T16:18:14.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T16:18:14.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T16:18:14.117Z] prd-centos7-docker-4c-2g-831 does not seem to be running inside a container [2021-11-16T16:18:14.153Z] $ 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-11-16T16:18:17.018Z] $ docker top 5e2238a184032a912625db94a0279d06b8ff412d609714f03ccb6465b144506c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:18:17.465Z] ---> job-cost.sh [2021-11-16T16:18:17.465Z] lf-activate-venv: SKIPPING [2021-11-16T16:18:17.465Z] INFO: No Stack... [2021-11-16T16:18:17.725Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T16:18:17.985Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T16:18:18.294Z] + cut -d, -f6 [2021-11-16T16:18:18.294Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-11-16T16:18:18.338Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [2021-11-16T16:18:18.343Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] did not exist. Created. [2021-11-16T16:18:18.343Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T16:18:18.718Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-16T16:18:18.760Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T16:18:18.780Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T16:18:18.845Z] $ docker stop --time=1 5e2238a184032a912625db94a0279d06b8ff412d609714f03ccb6465b144506c [2021-11-16T16:18:19.979Z] $ docker rm -f 5e2238a184032a912625db94a0279d06b8ff412d609714f03ccb6465b144506c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-16T16:18:48.706Z] Removing intermediate container cd081223af77 [2021-11-16T16:18:48.706Z] ---> e5c2c4388c0c [2021-11-16T16:18:48.706Z] Step 11/11 : RUN $MAKE [2021-11-16T16:18:48.706Z] ---> Running in f7b9bf136b86 [2021-11-16T16:18:48.706Z] noop [2021-11-16T16:18:48.706Z] Removing intermediate container f7b9bf136b86 [2021-11-16T16:18:48.706Z] ---> 5cdf95177067 [2021-11-16T16:18:48.706Z] Successfully built 5cdf95177067 [2021-11-16T16:18:48.706Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:18:49.082Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T16:18:49.082Z] . [Pipeline] withDockerContainer [2021-11-16T16:18:49.350Z] prd-ubuntu18.04-docker-arm64-4c-16g-830 does not seem to be running inside a container [2021-11-16T16:18:49.433Z] $ 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-arm64 cat [2021-11-16T16:18:50.897Z] $ docker top 0129db2682c6b42827beaaae66ad8487ac5b5eb4fce38b22d1036359390e1e06 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T16:18:51.890Z] + go version [2021-11-16T16:18:51.890Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-16T16:18:51.927Z] $ docker stop --time=1 0129db2682c6b42827beaaae66ad8487ac5b5eb4fce38b22d1036359390e1e06 [2021-11-16T16:18:53.619Z] $ docker rm -f 0129db2682c6b42827beaaae66ad8487ac5b5eb4fce38b22d1036359390e1e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:18:54.599Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T16:18:54.599Z] . [Pipeline] withDockerContainer [2021-11-16T16:18:54.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-830 does not seem to be running inside a container [2021-11-16T16:18:54.944Z] $ 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-arm64 cat [2021-11-16T16:18:56.488Z] $ docker top 2cfacce53913f5c91a95b2585f97d502df71ca6080b2b5b454c7f5b496ee2634 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T16:18:57.509Z] + make test [2021-11-16T16:18:57.509Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-16T16:18:58.967Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-16T16:19:55.569Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-16T16:19:55.569Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements [2021-11-16T16:19:55.569Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T16:20:17.767Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T16:20:17.767Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T16:20:17.767Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T16:20:19.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T16:20:19.285Z] $ docker stop --time=1 2cfacce53913f5c91a95b2585f97d502df71ca6080b2b5b454c7f5b496ee2634 [2021-11-16T16:20:21.077Z] $ docker rm -f 2cfacce53913f5c91a95b2585f97d502df71ca6080b2b5b454c7f5b496ee2634 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T16:20:21.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T16:20:21.983Z] Warning: overwriting stash ‘coverage-report’ [2021-11-16T16:20:22.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T16:20:23.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T16:20:23.482Z] + ls -al . [2021-11-16T16:20:23.482Z] total 176 [2021-11-16T16:20:23.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:20 . [2021-11-16T16:20:23.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:16 .. [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 16:16 .dockerignore [2021-11-16T16:20:23.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:16 .git [2021-11-16T16:20:23.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:16 .github [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 16 16:16 .gitignore [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 16 16:16 Attribution.txt [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 16 16:16 CHANGELOG.md [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 16 16:16 Dockerfile [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 16:16 GOVERNANCE.md [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 16:16 Jenkinsfile [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:16 LICENSE [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 16 16:16 Makefile [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 16 16:16 OWNERS.md [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 8245 Nov 16 16:16 README.md [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 16 16:14 VERSION [2021-11-16T16:20:23.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:16 bin [2021-11-16T16:20:23.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:16 cmd [2021-11-16T16:20:23.482Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 16 16:19 coverage.out [2021-11-16T16:20:23.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:16 driver [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 16 16:16 go.mod [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 16 16:16 go.sum [2021-11-16T16:20:23.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:16 snap [2021-11-16T16:20:23.482Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 16:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:20:23.864Z] + 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=cbfdaf904ac601d3ba49eb9838138f50b9acca7f --label arch=arm64 --label version=0.0.0 . [2021-11-16T16:20:23.864Z] Sending build context to Docker daemon 129kB [2021-11-16T16:20:24.146Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T16:20:24.146Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-16T16:20:24.146Z] ---> 5cdf95177067 [2021-11-16T16:20:24.146Z] Step 3/24 : ARG MAKE='make build' [2021-11-16T16:20:24.430Z] ---> Running in 46f0a5ad6fcc [2021-11-16T16:20:25.072Z] Removing intermediate container 46f0a5ad6fcc [2021-11-16T16:20:25.072Z] ---> aac69e799d07 [2021-11-16T16:20:25.072Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T16:20:25.072Z] ---> Running in 4006b5b2bf6d [2021-11-16T16:20:25.351Z] Removing intermediate container 4006b5b2bf6d [2021-11-16T16:20:25.351Z] ---> 35d457d9d8ec [2021-11-16T16:20:25.351Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T16:20:25.633Z] ---> Running in f18b11fa513d [2021-11-16T16:20:25.909Z] Removing intermediate container f18b11fa513d [2021-11-16T16:20:25.909Z] ---> 2fab20963df1 [2021-11-16T16:20:25.909Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T16:20:26.187Z] ---> Running in 82a13194a7a2 [2021-11-16T16:20:28.172Z] Removing intermediate container 82a13194a7a2 [2021-11-16T16:20:28.172Z] ---> 2607c95325d9 [2021-11-16T16:20:28.173Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T16:20:28.173Z] ---> Running in 1edd6f968eeb [2021-11-16T16:20:29.146Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T16:20:30.122Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T16:20:30.716Z] OK: 223 MiB in 56 packages [2021-11-16T16:20:31.699Z] Removing intermediate container 1edd6f968eeb [2021-11-16T16:20:31.699Z] ---> 167a68234d2b [2021-11-16T16:20:31.699Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-16T16:20:31.971Z] ---> Running in 5c3a20d67873 [2021-11-16T16:20:32.246Z] Removing intermediate container 5c3a20d67873 [2021-11-16T16:20:32.246Z] ---> f564779919de [2021-11-16T16:20:32.246Z] Step 9/24 : COPY . . [2021-11-16T16:20:33.228Z] ---> 96007c6865e4 [2021-11-16T16:20:33.228Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T16:20:33.228Z] ---> Running in 91f696cdb5ff [2021-11-16T16:20:35.845Z] Removing intermediate container 91f696cdb5ff [2021-11-16T16:20:35.845Z] ---> f97b11035713 [2021-11-16T16:20:35.845Z] Step 11/24 : RUN $MAKE [2021-11-16T16:20:35.845Z] ---> Running in 4d97456df1f8 [2021-11-16T16:20:36.822Z] 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-11-16T16:21:15.838Z] Removing intermediate container 4d97456df1f8 [2021-11-16T16:21:15.838Z] ---> 1b828209da73 [2021-11-16T16:21:15.838Z] Step 12/24 : FROM alpine:3.14 [2021-11-16T16:21:15.838Z] 3.14: Pulling from library/alpine [2021-11-16T16:21:15.838Z] be307f383ecc: Pulling fs layer [2021-11-16T16:21:15.838Z] be307f383ecc: Verifying Checksum [2021-11-16T16:21:15.838Z] be307f383ecc: Download complete [2021-11-16T16:21:16.435Z] be307f383ecc: Pull complete [2021-11-16T16:21:16.435Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T16:21:16.435Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T16:21:16.435Z] ---> 5b8b7b635229 [2021-11-16T16:21:16.435Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-16T16:21:16.435Z] ---> Running in 4f5ea87ddbc8 [2021-11-16T16:21:17.033Z] Removing intermediate container 4f5ea87ddbc8 [2021-11-16T16:21:17.033Z] ---> 11da1cad6280 [2021-11-16T16:21:17.033Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-16T16:21:17.033Z] ---> Running in 256108419b65 [2021-11-16T16:21:17.306Z] Removing intermediate container 256108419b65 [2021-11-16T16:21:17.306Z] ---> 37e77a991358 [2021-11-16T16:21:17.306Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T16:21:17.306Z] ---> Running in 8f289b90be73 [2021-11-16T16:21:18.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T16:21:18.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T16:21:19.338Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T16:21:19.338Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T16:21:19.338Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T16:21:19.338Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T16:21:19.610Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T16:21:19.611Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T16:21:19.611Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T16:21:19.611Z] OK: 8 MiB in 20 packages [2021-11-16T16:21:20.589Z] Removing intermediate container 8f289b90be73 [2021-11-16T16:21:20.589Z] ---> 444c8ad89ca9 [2021-11-16T16:21:20.589Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-16T16:21:21.568Z] ---> 7ab99da116cb [2021-11-16T16:21:21.568Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-16T16:21:22.547Z] ---> 8e7bd995643b [2021-11-16T16:21:22.547Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-16T16:21:23.140Z] ---> 2bff637665fb [2021-11-16T16:21:23.140Z] Step 19/24 : EXPOSE 59986 [2021-11-16T16:21:23.140Z] ---> Running in 9d2daa616aa5 [2021-11-16T16:21:23.411Z] Removing intermediate container 9d2daa616aa5 [2021-11-16T16:21:23.411Z] ---> e86866306d62 [2021-11-16T16:21:23.411Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-16T16:21:23.411Z] ---> Running in 260f861c54af [2021-11-16T16:21:24.003Z] Removing intermediate container 260f861c54af [2021-11-16T16:21:24.003Z] ---> 5357dab785a5 [2021-11-16T16:21:24.003Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-16T16:21:24.003Z] ---> Running in dc76d0cd740d [2021-11-16T16:21:24.274Z] Removing intermediate container dc76d0cd740d [2021-11-16T16:21:24.274Z] ---> eb6a70a6db23 [2021-11-16T16:21:24.274Z] Step 22/24 : LABEL arch=arm64 [2021-11-16T16:21:24.546Z] ---> Running in 900a6da354db [2021-11-16T16:21:24.821Z] Removing intermediate container 900a6da354db [2021-11-16T16:21:24.821Z] ---> bd693f63f206 [2021-11-16T16:21:24.821Z] Step 23/24 : LABEL git_sha=cbfdaf904ac601d3ba49eb9838138f50b9acca7f [2021-11-16T16:21:24.821Z] ---> Running in d79680993bd7 [2021-11-16T16:21:25.412Z] Removing intermediate container d79680993bd7 [2021-11-16T16:21:25.412Z] ---> 17cf697945a9 [2021-11-16T16:21:25.412Z] Step 24/24 : LABEL version=0.0.0 [2021-11-16T16:21:25.412Z] ---> Running in e4edda675825 [2021-11-16T16:21:25.684Z] Removing intermediate container e4edda675825 [2021-11-16T16:21:25.684Z] ---> 9608828688ec [2021-11-16T16:21:25.684Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T16:21:25.684Z] Successfully built 9608828688ec [2021-11-16T16:21:25.684Z] 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-11-16T16:21:26.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T16:21:26.419Z] [2021-11-16T16:21:26.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:21:26.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T16:21:27.063Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-16T16:21:27.063Z] 448f6bf000e3: Pulling fs layer [2021-11-16T16:21:27.063Z] f757da607395: Pulling fs layer [2021-11-16T16:21:27.063Z] 05883995daec: Pulling fs layer [2021-11-16T16:21:27.063Z] 8603b9c90790: Pulling fs layer [2021-11-16T16:21:27.063Z] 1560dd03e051: Pulling fs layer [2021-11-16T16:21:27.063Z] 27f5ce0e4adf: Pulling fs layer [2021-11-16T16:21:27.063Z] c2d8d7efcc4b: Pulling fs layer [2021-11-16T16:21:27.063Z] 1560dd03e051: Waiting [2021-11-16T16:21:27.063Z] 27f5ce0e4adf: Waiting [2021-11-16T16:21:27.063Z] c2d8d7efcc4b: Waiting [2021-11-16T16:21:27.063Z] 8603b9c90790: Waiting [2021-11-16T16:21:27.063Z] f757da607395: Verifying Checksum [2021-11-16T16:21:27.063Z] f757da607395: Download complete [2021-11-16T16:21:27.063Z] 8603b9c90790: Download complete [2021-11-16T16:21:27.063Z] 1560dd03e051: Download complete [2021-11-16T16:21:27.335Z] 27f5ce0e4adf: Verifying Checksum [2021-11-16T16:21:27.335Z] 27f5ce0e4adf: Download complete [2021-11-16T16:21:27.335Z] 05883995daec: Verifying Checksum [2021-11-16T16:21:27.335Z] 05883995daec: Download complete [2021-11-16T16:21:27.610Z] 448f6bf000e3: Verifying Checksum [2021-11-16T16:21:27.610Z] 448f6bf000e3: Download complete [2021-11-16T16:21:30.237Z] c2d8d7efcc4b: Verifying Checksum [2021-11-16T16:21:30.237Z] c2d8d7efcc4b: Download complete [2021-11-16T16:21:31.214Z] 448f6bf000e3: Pull complete [2021-11-16T16:21:31.807Z] f757da607395: Pull complete [2021-11-16T16:21:33.241Z] 05883995daec: Pull complete [2021-11-16T16:21:33.512Z] 8603b9c90790: Pull complete [2021-11-16T16:21:34.485Z] 1560dd03e051: Pull complete [2021-11-16T16:21:34.485Z] 27f5ce0e4adf: Pull complete [2021-11-16T16:21:49.561Z] c2d8d7efcc4b: Pull complete [2021-11-16T16:21:49.561Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-16T16:21:49.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T16:21:49.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-16T16:21:49.830Z] prd-ubuntu18.04-docker-arm64-4c-16g-830 does not seem to be running inside a container [2021-11-16T16:21:49.919Z] $ 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:arm64 cat [2021-11-16T16:21:52.705Z] $ docker top 52865d5aa755f0bfbd37d0da9b955d12573d6ec92104ee626cc09b30abb507b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:21:53.698Z] ---> job-cost.sh [2021-11-16T16:21:53.698Z] lf-activate-venv: SKIPPING [2021-11-16T16:21:53.698Z] INFO: No Stack... [2021-11-16T16:21:54.290Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-16T16:21:54.561Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T16:21:55.243Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-11-16T16:21:55.244Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T16:21:55.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [2021-11-16T16:21:55.330Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] did not exist. Created. [2021-11-16T16:21:55.331Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T16:21:56.068Z] /w/workspace/device-rest-go/1@tmp/durable-23fd3f73/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-23fd3f73/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-16T16:21:56.753Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-16T16:21:56.786Z] Warning: overwriting stash ‘stack-cost’ [2021-11-16T16:21:56.828Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T16:21:56.846Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T16:21:56.920Z] $ docker stop --time=1 52865d5aa755f0bfbd37d0da9b955d12573d6ec92104ee626cc09b30abb507b4 [2021-11-16T16:21:58.539Z] $ docker rm -f 52865d5aa755f0bfbd37d0da9b955d12573d6ec92104ee626cc09b30abb507b4 [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-11-16T16:21:59.648Z] provisioning config files... [2021-11-16T16:21:59.661Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config3442796273287929685tmp [Pipeline] { [Pipeline] sh [2021-11-16T16:22:00.011Z] + set +x [2021-11-16T16:22:00.011Z] + curl -s https://codecov.io/bash [2021-11-16T16:22:00.011Z] + bash -s -- [2021-11-16T16:22:00.011Z] [2021-11-16T16:22:00.011Z] _____ _ [2021-11-16T16:22:00.011Z] / ____| | | [2021-11-16T16:22:00.011Z] | | ___ __| | ___ ___ _____ __ [2021-11-16T16:22:00.011Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-16T16:22:00.011Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-16T16:22:00.011Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-16T16:22:00.011Z] Bash-1.0.6 [2021-11-16T16:22:00.011Z] [2021-11-16T16:22:00.011Z] [2021-11-16T16:22:00.012Z] ==> git version 2.24.4 found [2021-11-16T16:22:00.012Z] ==> 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-11-16T16:22:00.012Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-16T16:22:00.012Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-16T16:22:00.012Z] ==> Jenkins CI detected. [2021-11-16T16:22:00.012Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-16T16:22:00.012Z] project root: . [2021-11-16T16:22:00.012Z] --> token set from env [2021-11-16T16:22:00.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-16T16:22:00.278Z] ==> Running gcov in . (disable via -X gcov) [2021-11-16T16:22:00.278Z] ==> Python coveragepy not found [2021-11-16T16:22:00.278Z] ==> Searching for coverage reports in: [2021-11-16T16:22:00.278Z] + . [2021-11-16T16:22:00.278Z] -> Found 1 reports [2021-11-16T16:22:00.278Z] ==> Detecting git/mercurial file structure [2021-11-16T16:22:00.278Z] ==> Reading reports [2021-11-16T16:22:00.278Z] + ./coverage.out bytes=9215 [2021-11-16T16:22:00.278Z] ==> Appending adjustments [2021-11-16T16:22:00.278Z] https://docs.codecov.io/docs/fixing-reports [2021-11-16T16:22:00.278Z] + Found adjustments [2021-11-16T16:22:00.278Z] ==> Gzipping contents [2021-11-16T16:22:00.278Z] 4.0K /tmp/codecov.eJh44z.gz [2021-11-16T16:22:00.278Z] ==> Uploading reports [2021-11-16T16:22:00.278Z] url: https://codecov.io [2021-11-16T16:22:00.278Z] query: branch=PR-146&commit=cbfdaf904ac601d3ba49eb9838138f50b9acca7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-16T16:22:00.278Z] -> Pinging Codecov [2021-11-16T16:22:00.278Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-146&commit=cbfdaf904ac601d3ba49eb9838138f50b9acca7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-16T16:22:00.543Z] -> Uploading to [2021-11-16T16:22:00.543Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-16/4E5D53B4F1F92C436F7061BF334D961C/cbfdaf904ac601d3ba49eb9838138f50b9acca7f/49b118b1-cf2c-4d86-a8a2-538d112c253c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211116T162200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=648e811c077cbe3f666017deb393a83ec44a6dec8146aed9d67f15857a902324 [2021-11-16T16:22:00.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T16:22:00.543Z] Dload Upload Total Spent Left Speed [2021-11-16T16:22:00.806Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 5406 --:--:-- --:--:-- --:--:-- 5421 [2021-11-16T16:22:00.806Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] } [2021-11-16T16:22:00.831Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-16T16:22:02.954Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:03.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:03.906Z] ---> package-listing.sh [2021-11-16T16:22:03.906Z] ++ facter osfamily [2021-11-16T16:22:03.906Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-16T16:22:04.172Z] + OS_FAMILY=redhat [2021-11-16T16:22:04.172Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-16T16:22:04.172Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-16T16:22:04.172Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-16T16:22:04.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-16T16:22:04.172Z] + PACKAGES=/tmp/packages_start.txt [2021-11-16T16:22:04.172Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-16T16:22:04.172Z] + PACKAGES=/tmp/packages_end.txt [2021-11-16T16:22:04.172Z] + case "${OS_FAMILY}" in [2021-11-16T16:22:04.172Z] + sort [2021-11-16T16:22:04.172Z] + rpm -qa [2021-11-16T16:22:04.745Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-16T16:22:04.745Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-16T16:22:04.745Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-16T16:22:04.745Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-16T16:22:04.745Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [2021-11-16T16:22:04.745Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [Pipeline] echo [2021-11-16T16:22:04.775Z] 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-16T16:22:05.077Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:22:05.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T16:22:05.677Z] [2021-11-16T16:22:05.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T16:22:06.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T16:22:06.025Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T16:22:06.025Z] b4d181a07f80: Pulling fs layer [2021-11-16T16:22:06.025Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T16:22:06.025Z] ed53099fbce6: Pulling fs layer [2021-11-16T16:22:06.025Z] dc539afda2c1: Pulling fs layer [2021-11-16T16:22:06.025Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T16:22:06.025Z] 9065ff56babe: Pulling fs layer [2021-11-16T16:22:06.025Z] d287ab97295c: Pulling fs layer [2021-11-16T16:22:06.025Z] 77bc0d833cb6: Waiting [2021-11-16T16:22:06.025Z] 9065ff56babe: Waiting [2021-11-16T16:22:06.025Z] d287ab97295c: Waiting [2021-11-16T16:22:06.025Z] dc539afda2c1: Waiting [2021-11-16T16:22:06.025Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T16:22:06.025Z] a1111a8f2ec3: Download complete [2021-11-16T16:22:06.025Z] dc539afda2c1: Verifying Checksum [2021-11-16T16:22:06.025Z] dc539afda2c1: Download complete [2021-11-16T16:22:06.287Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T16:22:06.287Z] 77bc0d833cb6: Download complete [2021-11-16T16:22:06.287Z] ed53099fbce6: Verifying Checksum [2021-11-16T16:22:06.287Z] ed53099fbce6: Download complete [2021-11-16T16:22:06.287Z] 9065ff56babe: Verifying Checksum [2021-11-16T16:22:06.287Z] 9065ff56babe: Download complete [2021-11-16T16:22:06.287Z] b4d181a07f80: Verifying Checksum [2021-11-16T16:22:06.287Z] b4d181a07f80: Download complete [2021-11-16T16:22:06.878Z] d287ab97295c: Verifying Checksum [2021-11-16T16:22:06.878Z] d287ab97295c: Download complete [2021-11-16T16:22:07.833Z] b4d181a07f80: Pull complete [2021-11-16T16:22:08.102Z] a1111a8f2ec3: Pull complete [2021-11-16T16:22:08.677Z] ed53099fbce6: Pull complete [2021-11-16T16:22:08.677Z] dc539afda2c1: Pull complete [2021-11-16T16:22:08.938Z] 77bc0d833cb6: Pull complete [2021-11-16T16:22:09.210Z] 9065ff56babe: Pull complete [2021-11-16T16:22:14.569Z] d287ab97295c: Pull complete [2021-11-16T16:22:14.569Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T16:22:14.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T16:22:14.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T16:22:14.653Z] prd-centos7-docker-4c-2g-829 does not seem to be running inside a container [2021-11-16T16:22:14.687Z] $ 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-146/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-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@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-11-16T16:22:16.511Z] $ docker top 99a9e2a35831497ce59e5a464ebbf4315da817c9ea102654bb5a7372d472e4ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T16:22:16.921Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-16T16:22:17.229Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-16T16:22:17.545Z] + ls /var/log/sa-host [2021-11-16T16:22:17.545Z] + sadf -c /var/log/sa-host/sa16 [2021-11-16T16:22:17.545Z] file_magic: OK [2021-11-16T16:22:17.545Z] HZ: Using current value: 100 [2021-11-16T16:22:17.545Z] file_header: OK [2021-11-16T16:22:17.545Z] 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-11-16T16:22:17.545Z] Statistics: [2021-11-16T16:22:17.545Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T16:22:17.545Z] File successfully converted to sysstat format version 12.0.3 [2021-11-16T16:22:17.545Z] + sadf -c /var/log/sa-host/sa30 [2021-11-16T16:22:17.545Z] file_magic: OK [2021-11-16T16:22:17.545Z] HZ: Using current value: 100 [2021-11-16T16:22:17.545Z] file_header: OK [2021-11-16T16:22:17.545Z] 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-11-16T16:22:17.545Z] Statistics: [2021-11-16T16:22:17.545Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T16:22:17.545Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T16:22:17.672Z] provisioning config files... [2021-11-16T16:22:17.682Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config427858314112225167tmp [Pipeline] { [Pipeline] echo [2021-11-16T16:22:17.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:18.055Z] ---> create-netrc.sh [Pipeline] } [2021-11-16T16:22:18.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:18.477Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-16T16:22:18.501Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:18.825Z] ---> sudo-logs.sh [2021-11-16T16:22:18.825Z] Archiving 'sudo' log.. [2021-11-16T16:22:18.825Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-829.novalocal: Name or service not known [2021-11-16T16:22:18.825Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-829.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-16T16:22:18.885Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:19.218Z] ---> job-cost.sh [2021-11-16T16:22:19.218Z] lf-activate-venv: SKIPPING [2021-11-16T16:22:19.218Z] DEBUG: total: 0.10999999940395355 [2021-11-16T16:22:19.218Z] INFO: Retrieving Stack Cost... [2021-11-16T16:22:19.480Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T16:22:19.741Z] INFO: Archiving Costs [Pipeline] echo [2021-11-16T16:22:19.768Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T16:22:20.091Z] ---> logs-deploy.sh [2021-11-16T16:22:20.092Z] lf-activate-venv: SKIPPING [2021-11-16T16:22:20.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/1 [2021-11-16T16:22:20.092Z] INFO: archiving workspace using pattern(s): [2021-11-16T16:22:21.035Z] Archives upload complete. [2021-11-16T16:22:21.035Z] INFO: archiving logs to Nexus