Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34bdd3d79806ee1d0281597263b9cfdeb3c44d66+a43e2c30b821305cbbceda7bc94393c1897f4bc4 (45e63504248ac4f8eeded1b3dd950286273c6308) 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-ssh7422432523220412284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15947189120910425954.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-183/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-183/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17487207818483401603.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-183/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10539218825788579244.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh16959021601274806436.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-183/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-183/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6972869128925222068.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34496 in /w/workspace/gexfoundry_device-rest-go_PR-183 [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-183 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a43e2c30b821305cbbceda7bc94393c1897f4bc4 into PR head commit 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 Merge succeeded, producing 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 Checking out Revision 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 (PR-183) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a43e2c30b821305cbbceda7bc94393c1897f4bc4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-02T20:06:38.769Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-02T20:06:38.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-02T20:06:39.041Z] ========================================================= [2022-05-02T20:06:39.041Z] EdgeX Global Pipelines Version Info [2022-05-02T20:06:39.041Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:06:39.856Z] ------------------- [2022-05-02T20:06:39.856Z] stable info: [2022-05-02T20:06:39.856Z] ------------------- [2022-05-02T20:06:39.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-02T20:06:39.856Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T20:06:39.856Z] Message: update stable to v1.0.227 [2022-05-02T20:06:40.429Z] ------------------- [2022-05-02T20:06:40.429Z] experimental info: [2022-05-02T20:06:40.429Z] ------------------- [2022-05-02T20:06:40.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-02T20:06:40.429Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-02T20:06:40.429Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-02T20:06:40.683Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-02T20:06:40.725Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-02T20:06:40.766Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-02T20:06:40.802Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-02T20:06:40.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-02T20:06:40.880Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-02T20:06:40.918Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-02T20:06:40.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-02T20:06:40.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-02T20:06:41.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-02T20:06:41.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-02T20:06:41.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-02T20:06:41.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-02T20:06:41.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-02T20:06:41.255Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T20:06:41.293Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T20:06:41.334Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T20:06:41.376Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T20:06:41.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-02T20:06:41.461Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-02T20:06:41.506Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-02T20:06:41.548Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-02T20:06:41.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-02T20:06:41.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-02T20:06:41.666Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-02T20:06:41.709Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-02T20:06:41.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo [2022-05-02T20:06:41.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo [2022-05-02T20:06:41.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo [2022-05-02T20:06:41.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [Pipeline] echo [2022-05-02T20:06:41.917Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34bdd3d [Pipeline] echo [2022-05-02T20:06:41.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:06:42.072Z] provisioning config files... [2022-05-02T20:06:42.090Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-183@tmp/config1042241328848567930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:06:42.438Z] ---> docker-login.sh [2022-05-02T20:06:42.438Z] nexus3.edgexfoundry.org:10001 [2022-05-02T20:06:42.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:42.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:42.701Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:42.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:42.701Z] [2022-05-02T20:06:42.701Z] Login Succeeded [2022-05-02T20:06:42.701Z] nexus3.edgexfoundry.org:10002 [2022-05-02T20:06:42.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:42.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:42.964Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:42.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:42.964Z] [2022-05-02T20:06:42.964Z] Login Succeeded [2022-05-02T20:06:42.964Z] nexus3.edgexfoundry.org:10003 [2022-05-02T20:06:42.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:42.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:42.964Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:42.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:42.964Z] [2022-05-02T20:06:42.964Z] Login Succeeded [2022-05-02T20:06:42.964Z] nexus3.edgexfoundry.org:10004 [2022-05-02T20:06:43.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:43.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:43.228Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:43.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:43.228Z] [2022-05-02T20:06:43.228Z] Login Succeeded [2022-05-02T20:06:43.228Z] docker.io [2022-05-02T20:06:43.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:43.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:43.817Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:43.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:43.817Z] [2022-05-02T20:06:43.817Z] Login Succeeded [2022-05-02T20:06:43.817Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T20:06:43.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-02T20:06:44.467Z] + git rev-list -1 --merges 34bdd3d79806ee1d0281597263b9cfdeb3c44d66~1..34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [Pipeline] echo [2022-05-02T20:06:44.596Z] -----------> git rev-list -1 --merges 34bdd3d79806ee1d0281597263b9cfdeb3c44d66~1..34bdd3d79806ee1d0281597263b9cfdeb3c44d66 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [false] [Pipeline] sh [2022-05-02T20:06:44.912Z] + git log --format=format:%s -1 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [Pipeline] echo [2022-05-02T20:06:44.949Z] ========================================================= [2022-05-02T20:06:44.949Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-02T20:06:44.949Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T20:06:45.373Z] + git log --format=format:%s -1 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [Pipeline] echo [2022-05-02T20:06:45.409Z] [semverPrep] GIT_COMMIT: 34bdd3d79806ee1d0281597263b9cfdeb3c44d66, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-05-02T20:06:45.445Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-02T20:06:45.859Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-02T20:06:45.859Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-02T20:06:45.859Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-02T20:06:45.859Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-02T20:06:45.859Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-02T20:06:45.859Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-02T20:06:45.859Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:06:46.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T20:06:46.239Z] [2022-05-02T20:06:46.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:06:46.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T20:06:46.581Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-02T20:06:46.581Z] 1fe172e4850f: Pulling fs layer [2022-05-02T20:06:46.581Z] caf521ccaac6: Pulling fs layer [2022-05-02T20:06:46.581Z] 3ead6fa29328: Pulling fs layer [2022-05-02T20:06:46.581Z] 5c2a1cbceb83: Pulling fs layer [2022-05-02T20:06:46.581Z] a8d5f1318db7: Pulling fs layer [2022-05-02T20:06:46.581Z] c427282e49a2: Pulling fs layer [2022-05-02T20:06:46.581Z] 1827001aaf11: Pulling fs layer [2022-05-02T20:06:46.581Z] 0714d37db230: Pulling fs layer [2022-05-02T20:06:46.581Z] ac28cf19c067: Pulling fs layer [2022-05-02T20:06:46.581Z] ca983d60f3e2: Pulling fs layer [2022-05-02T20:06:46.581Z] 9f894cec8388: Pulling fs layer [2022-05-02T20:06:46.581Z] c427282e49a2: Waiting [2022-05-02T20:06:46.581Z] 1827001aaf11: Waiting [2022-05-02T20:06:46.581Z] 0714d37db230: Waiting [2022-05-02T20:06:46.581Z] ac28cf19c067: Waiting [2022-05-02T20:06:46.581Z] ca983d60f3e2: Waiting [2022-05-02T20:06:46.581Z] a8d5f1318db7: Waiting [2022-05-02T20:06:46.581Z] 9f894cec8388: Waiting [2022-05-02T20:06:46.581Z] 5c2a1cbceb83: Waiting [2022-05-02T20:06:46.581Z] caf521ccaac6: Verifying Checksum [2022-05-02T20:06:46.581Z] caf521ccaac6: Download complete [2022-05-02T20:06:46.581Z] 5c2a1cbceb83: Verifying Checksum [2022-05-02T20:06:46.581Z] 5c2a1cbceb83: Download complete [2022-05-02T20:06:46.842Z] a8d5f1318db7: Verifying Checksum [2022-05-02T20:06:46.842Z] a8d5f1318db7: Download complete [2022-05-02T20:06:46.842Z] 3ead6fa29328: Verifying Checksum [2022-05-02T20:06:46.842Z] 3ead6fa29328: Download complete [2022-05-02T20:06:46.842Z] c427282e49a2: Verifying Checksum [2022-05-02T20:06:46.842Z] c427282e49a2: Download complete [2022-05-02T20:06:46.842Z] 0714d37db230: Download complete [2022-05-02T20:06:46.842Z] ac28cf19c067: Download complete [2022-05-02T20:06:46.842Z] ca983d60f3e2: Verifying Checksum [2022-05-02T20:06:46.842Z] ca983d60f3e2: Download complete [2022-05-02T20:06:46.842Z] 9f894cec8388: Download complete [2022-05-02T20:06:46.842Z] 1fe172e4850f: Verifying Checksum [2022-05-02T20:06:46.842Z] 1fe172e4850f: Download complete [2022-05-02T20:06:47.105Z] 1827001aaf11: Verifying Checksum [2022-05-02T20:06:47.105Z] 1827001aaf11: Download complete [2022-05-02T20:06:48.490Z] 1fe172e4850f: Pull complete [2022-05-02T20:06:48.490Z] caf521ccaac6: Pull complete [2022-05-02T20:06:49.064Z] 3ead6fa29328: Pull complete [2022-05-02T20:06:49.064Z] 5c2a1cbceb83: Pull complete [2022-05-02T20:06:49.323Z] a8d5f1318db7: Pull complete [2022-05-02T20:06:49.585Z] c427282e49a2: Pull complete [2022-05-02T20:06:51.501Z] 1827001aaf11: Pull complete [2022-05-02T20:06:51.501Z] 0714d37db230: Pull complete [2022-05-02T20:06:51.780Z] ac28cf19c067: Pull complete [2022-05-02T20:06:51.780Z] ca983d60f3e2: Pull complete [2022-05-02T20:06:51.780Z] 9f894cec8388: Pull complete [2022-05-02T20:06:52.043Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-02T20:06:52.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T20:06:52.043Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-02T20:06:52.154Z] prd-ubuntu20.04-docker-8c-8g-34496 does not seem to be running inside a container [2022-05-02T20:06:52.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-183 -v /w/workspace/gexfoundry_device-rest-go_PR-183:/w/workspace/gexfoundry_device-rest-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-183@tmp:/w/workspace/gexfoundry_device-rest-go_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-02T20:06:53.727Z] $ docker top 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-02T20:06:53.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T20:06:53.912Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T20:06:54.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T20:06:54.072Z] $ docker exec 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 ssh-agent [2022-05-02T20:06:54.197Z] SSH_AUTH_SOCK=/tmp/ssh-mYhXHsK5uZhU/agent.33 [2022-05-02T20:06:54.197Z] SSH_AGENT_PID=39 [2022-05-02T20:06:54.207Z] Running ssh-add (command line suppressed) [2022-05-02T20:06:54.341Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-183@tmp/private_key_1422580753675740177.key (/w/workspace/gexfoundry_device-rest-go_PR-183@tmp/private_key_1422580753675740177.key) [2022-05-02T20:06:54.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T20:06:54.683Z] + git tag --points-at HEAD [Pipeline] } [2022-05-02T20:06:54.729Z] $ docker exec --env ******** --env ******** 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 ssh-agent -k [2022-05-02T20:06:54.847Z] unset SSH_AUTH_SOCK; [2022-05-02T20:06:54.848Z] unset SSH_AGENT_PID; [2022-05-02T20:06:54.848Z] echo Agent pid 39 killed; [2022-05-02T20:06:54.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-02T20:06:54.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T20:06:54.935Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T20:06:55.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T20:06:55.073Z] $ docker exec 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 ssh-agent [2022-05-02T20:06:55.189Z] SSH_AUTH_SOCK=/tmp/ssh-XbaFX9bTHUFj/agent.72 [2022-05-02T20:06:55.189Z] SSH_AGENT_PID=79 [2022-05-02T20:06:55.194Z] Running ssh-add (command line suppressed) [2022-05-02T20:06:55.324Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-183@tmp/private_key_6814954053791386509.key (/w/workspace/gexfoundry_device-rest-go_PR-183@tmp/private_key_6814954053791386509.key) [2022-05-02T20:06:55.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T20:06:55.659Z] + git semver init [2022-05-02T20:06:55.921Z] 2022-05-02 20:06:55,878 [run_init] DEBUG init version:0.0.0 force:False [2022-05-02T20:06:55.921Z] 2022-05-02 20:06:55,879 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-183/.semver [2022-05-02T20:06:55.921Z] 2022-05-02 20:06:55,880 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-183/.semver [2022-05-02T20:06:55.921Z] 2022-05-02 20:06:55,880 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-183/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-183, universal_newlines=False, shell=None, istream=None) [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,865 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-183/.git/info/exclude [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,866 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-183/.semver/PR-183 with force:False [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,866 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-183/.semver/PR-183 [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,871 [execute] INFO git cat-file --batch-check [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,878 [execute] INFO git cat-file --batch [2022-05-02T20:06:56.869Z] 2022-05-02 20:06:56,878 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T20:06:57.131Z] 2022-05-02 20:06:56,886 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-183/.semver/PR-183 [2022-05-02T20:06:57.131Z] 0.0.0 [Pipeline] } [2022-05-02T20:06:57.169Z] $ docker exec --env ******** --env ******** 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 ssh-agent -k [2022-05-02T20:06:57.292Z] unset SSH_AUTH_SOCK; [2022-05-02T20:06:57.293Z] unset SSH_AGENT_PID; [2022-05-02T20:06:57.293Z] echo Agent pid 79 killed; [2022-05-02T20:06:57.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-02T20:06:57.718Z] + git semver [Pipeline] } [2022-05-02T20:06:58.019Z] $ docker stop --time=1 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 [2022-05-02T20:06:59.328Z] $ docker rm -f 2f4948b38a5e06c7f962cc675f718e6487f25f993f2a98f1023b377cf62a8b82 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T20:06:59.747Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-02T20:07:00.067Z] Stashed 1 file(s) [Pipeline] echo [2022-05-02T20:07:00.086Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:07:00.648Z] provisioning config files... [2022-05-02T20:07:00.662Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-183@tmp/config23000517970552932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:07:01.013Z] ---> docker-login.sh [2022-05-02T20:07:01.013Z] nexus3.edgexfoundry.org:10001 [2022-05-02T20:07:01.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:07:01.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:07:01.013Z] Configure a credential helper to remove this warning. See [2022-05-02T20:07:01.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:07:01.013Z] [2022-05-02T20:07:01.013Z] Login Succeeded [2022-05-02T20:07:01.013Z] nexus3.edgexfoundry.org:10002 [2022-05-02T20:07:01.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:07:01.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:07:01.275Z] Configure a credential helper to remove this warning. See [2022-05-02T20:07:01.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:07:01.276Z] [2022-05-02T20:07:01.276Z] Login Succeeded [2022-05-02T20:07:01.276Z] nexus3.edgexfoundry.org:10003 [2022-05-02T20:07:01.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:07:01.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:07:01.276Z] Configure a credential helper to remove this warning. See [2022-05-02T20:07:01.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:07:01.276Z] [2022-05-02T20:07:01.276Z] Login Succeeded [2022-05-02T20:07:01.276Z] nexus3.edgexfoundry.org:10004 [2022-05-02T20:07:01.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:07:01.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:07:01.541Z] Configure a credential helper to remove this warning. See [2022-05-02T20:07:01.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:07:01.541Z] [2022-05-02T20:07:01.541Z] Login Succeeded [2022-05-02T20:07:01.541Z] docker.io [2022-05-02T20:07:01.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:07:02.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:07:02.115Z] Configure a credential helper to remove this warning. See [2022-05-02T20:07:02.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:07:02.115Z] [2022-05-02T20:07:02.115Z] Login Succeeded [2022-05-02T20:07:02.115Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T20:07:02.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T20:07:02.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T20:07:02.375Z] ========================================================= [2022-05-02T20:07:02.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-02T20:07:02.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:07:02.782Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T20:07:02.782Z] Sending build context to Docker daemon 10.61MB [2022-05-02T20:07:02.782Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:07:02.782Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-02T20:07:02.782Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-02T20:07:02.782Z] 59bf1c3509f3: Pulling fs layer [2022-05-02T20:07:02.782Z] 666ba61612fd: Pulling fs layer [2022-05-02T20:07:02.782Z] 8ed8ca486205: Pulling fs layer [2022-05-02T20:07:02.782Z] 4fe6c5a15a65: Pulling fs layer [2022-05-02T20:07:02.782Z] 22a0e8bec74d: Pulling fs layer [2022-05-02T20:07:02.782Z] 4fe6c5a15a65: Waiting [2022-05-02T20:07:02.782Z] ca2b28591e48: Pulling fs layer [2022-05-02T20:07:02.782Z] a51346096db8: Pulling fs layer [2022-05-02T20:07:02.782Z] 22a0e8bec74d: Waiting [2022-05-02T20:07:02.782Z] a51346096db8: Waiting [2022-05-02T20:07:02.782Z] daebc70d1ce1: Pulling fs layer [2022-05-02T20:07:02.782Z] 0e18a0eac166: Pulling fs layer [2022-05-02T20:07:02.782Z] 0e18a0eac166: Waiting [2022-05-02T20:07:02.782Z] daebc70d1ce1: Waiting [2022-05-02T20:07:02.782Z] 8ed8ca486205: Verifying Checksum [2022-05-02T20:07:02.782Z] 8ed8ca486205: Download complete [2022-05-02T20:07:03.043Z] 666ba61612fd: Verifying Checksum [2022-05-02T20:07:03.043Z] 666ba61612fd: Download complete [2022-05-02T20:07:03.043Z] 22a0e8bec74d: Verifying Checksum [2022-05-02T20:07:03.043Z] 22a0e8bec74d: Download complete [2022-05-02T20:07:03.043Z] ca2b28591e48: Verifying Checksum [2022-05-02T20:07:03.043Z] ca2b28591e48: Download complete [2022-05-02T20:07:03.043Z] 59bf1c3509f3: Verifying Checksum [2022-05-02T20:07:03.043Z] 59bf1c3509f3: Download complete [2022-05-02T20:07:03.043Z] a51346096db8: Download complete [2022-05-02T20:07:03.043Z] daebc70d1ce1: Verifying Checksum [2022-05-02T20:07:03.043Z] daebc70d1ce1: Download complete [2022-05-02T20:07:03.043Z] 59bf1c3509f3: Pull complete [2022-05-02T20:07:03.304Z] 666ba61612fd: Pull complete [2022-05-02T20:07:03.304Z] 8ed8ca486205: Pull complete [2022-05-02T20:07:03.565Z] 0e18a0eac166: Download complete [2022-05-02T20:07:03.825Z] 4fe6c5a15a65: Download complete [2022-05-02T20:07:08.031Z] 4fe6c5a15a65: Pull complete [2022-05-02T20:07:08.031Z] 22a0e8bec74d: Pull complete [2022-05-02T20:07:08.031Z] ca2b28591e48: Pull complete [2022-05-02T20:07:08.291Z] a51346096db8: Pull complete [2022-05-02T20:07:08.291Z] daebc70d1ce1: Pull complete [2022-05-02T20:07:10.836Z] 0e18a0eac166: Pull complete [2022-05-02T20:07:10.836Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-02T20:07:10.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-02T20:07:10.836Z] ---> f018257e8ee9 [2022-05-02T20:07:10.836Z] Step 3/12 : ARG MAKE='make build' [2022-05-02T20:07:12.749Z] ---> Running in e4060bba51eb [2022-05-02T20:07:12.749Z] Removing intermediate container e4060bba51eb [2022-05-02T20:07:12.749Z] ---> 7ef93313d6c9 [2022-05-02T20:07:12.749Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:07:12.749Z] ---> Running in ffa6d8e999d1 [2022-05-02T20:07:12.749Z] Removing intermediate container ffa6d8e999d1 [2022-05-02T20:07:12.749Z] ---> 53646b82f324 [2022-05-02T20:07:12.749Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:07:12.749Z] ---> Running in 68d77ec5824b [2022-05-02T20:07:12.749Z] Removing intermediate container 68d77ec5824b [2022-05-02T20:07:12.749Z] ---> 3940d4c38ab9 [2022-05-02T20:07:12.749Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:07:12.749Z] ---> Running in 2f51fe98e5ba [2022-05-02T20:07:13.320Z] Removing intermediate container 2f51fe98e5ba [2022-05-02T20:07:13.320Z] ---> 4e7eaae91b0d [2022-05-02T20:07:13.320Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:07:13.320Z] ---> Running in 472aa849f337 [2022-05-02T20:07:13.588Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T20:07:14.529Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T20:07:14.791Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-02T20:07:15.051Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-02T20:07:15.051Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-02T20:07:15.051Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-02T20:07:15.359Z] Executing busybox-1.34.1-r3.trigger [2022-05-02T20:07:15.359Z] OK: 224 MiB in 56 packages [2022-05-02T20:07:15.473Z] Still waiting to schedule task [2022-05-02T20:07:15.473Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-02T20:07:15.620Z] Removing intermediate container 472aa849f337 [2022-05-02T20:07:15.620Z] ---> f37412a2400c [2022-05-02T20:07:15.620Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-02T20:07:15.620Z] ---> Running in 03de2cf9d931 [2022-05-02T20:07:15.881Z] Removing intermediate container 03de2cf9d931 [2022-05-02T20:07:15.881Z] ---> 9e17e5426f99 [2022-05-02T20:07:15.881Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-02T20:07:15.881Z] ---> 058d148f9a60 [2022-05-02T20:07:15.881Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:07:15.881Z] ---> Running in 731b6d54b6b8 [2022-05-02T20:07:30.798Z] Removing intermediate container 731b6d54b6b8 [2022-05-02T20:07:30.798Z] ---> a03c579cc6f8 [2022-05-02T20:07:30.798Z] Step 11/12 : COPY . . [2022-05-02T20:07:30.798Z] ---> b1f0553f0a68 [2022-05-02T20:07:30.798Z] Step 12/12 : RUN $MAKE [2022-05-02T20:07:30.798Z] ---> Running in 0de5437a0332 [2022-05-02T20:07:31.060Z] noop [2022-05-02T20:07:31.323Z] Removing intermediate container 0de5437a0332 [2022-05-02T20:07:31.323Z] ---> 684370f65c1a [2022-05-02T20:07:31.323Z] Successfully built 684370f65c1a [2022-05-02T20:07:31.323Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:07:31.661Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T20:07:31.661Z] . [Pipeline] withDockerContainer [2022-05-02T20:07:31.756Z] prd-ubuntu20.04-docker-8c-8g-34496 does not seem to be running inside a container [2022-05-02T20:07:31.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-183 -v /w/workspace/gexfoundry_device-rest-go_PR-183:/w/workspace/gexfoundry_device-rest-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-183@tmp:/w/workspace/gexfoundry_device-rest-go_PR-183@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 ******** ci-base-image-x86_64 cat [2022-05-02T20:07:32.217Z] $ docker top 1943b29f43984f88dd20e479c5c3934282d08ccec05334075b643c6a73d0d040 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T20:07:32.632Z] + go version [2022-05-02T20:07:32.632Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-02T20:07:32.679Z] $ docker stop --time=1 1943b29f43984f88dd20e479c5c3934282d08ccec05334075b643c6a73d0d040 [2022-05-02T20:07:33.990Z] $ docker rm -f 1943b29f43984f88dd20e479c5c3934282d08ccec05334075b643c6a73d0d040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:07:34.657Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T20:07:34.657Z] . [Pipeline] withDockerContainer [2022-05-02T20:07:34.746Z] prd-ubuntu20.04-docker-8c-8g-34496 does not seem to be running inside a container [2022-05-02T20:07:34.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-183 -v /w/workspace/gexfoundry_device-rest-go_PR-183:/w/workspace/gexfoundry_device-rest-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-183@tmp:/w/workspace/gexfoundry_device-rest-go_PR-183@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 ******** ci-base-image-x86_64 cat [2022-05-02T20:07:35.223Z] $ docker top ed865dda0c9a7b03de3106f48b32971c66da70fbadadefb799c7a941df39a82b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T20:07:35.691Z] + make test [2022-05-02T20:07:35.691Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-02T20:07:35.953Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-02T20:07:45.942Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-02T20:07:45.942Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-05-02T20:07:54.080Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T20:07:57.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T20:07:57.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T20:07:57.375Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T20:07:57.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T20:07:57.452Z] $ docker stop --time=1 ed865dda0c9a7b03de3106f48b32971c66da70fbadadefb799c7a941df39a82b [2022-05-02T20:07:59.348Z] $ docker rm -f ed865dda0c9a7b03de3106f48b32971c66da70fbadadefb799c7a941df39a82b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T20:07:59.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T20:07:59.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-02T20:08:00.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T20:08:00.896Z] + ls -al . [2022-05-02T20:08:00.896Z] total 172 [2022-05-02T20:08:00.896Z] drwxrwxr-x 9 jenkins jenkins 4096 May 2 20:07 . [2022-05-02T20:08:00.896Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 20:06 .. [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 151 May 2 20:06 .dockerignore [2022-05-02T20:08:00.896Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:06 .git [2022-05-02T20:08:00.896Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:06 .github [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 329 May 2 20:06 .gitignore [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 20:06 .golangci.yml [2022-05-02T20:08:00.896Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 20:06 .semver [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 2 20:06 Attribution.txt [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 2 20:06 CHANGELOG.md [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 2 20:06 Dockerfile [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 20:06 GOVERNANCE.md [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 680 May 2 20:06 Jenkinsfile [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 20:06 LICENSE [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 2 20:06 Makefile [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 620 May 2 20:06 OWNERS.md [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 2 20:06 README.md [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 20:06 VERSION [2022-05-02T20:08:00.896Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:06 bin [2022-05-02T20:08:00.896Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:06 cmd [2022-05-02T20:08:00.896Z] -rw-r--r-- 1 jenkins jenkins 9355 May 2 20:07 coverage.out [2022-05-02T20:08:00.896Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:06 driver [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 2 20:06 go.mod [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 2 20:06 go.sum [2022-05-02T20:08:00.896Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:06 snap [2022-05-02T20:08:00.896Z] -rw-rw-r-- 1 jenkins jenkins 713 May 2 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:08:01.233Z] + 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=34bdd3d79806ee1d0281597263b9cfdeb3c44d66 --label arch=amd64 --label version=0.0.0 . [2022-05-02T20:08:01.233Z] Sending build context to Docker daemon 10.62MB [2022-05-02T20:08:01.233Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:08:01.233Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-02T20:08:01.233Z] ---> 684370f65c1a [2022-05-02T20:08:01.233Z] Step 3/25 : ARG MAKE='make build' [2022-05-02T20:08:01.494Z] ---> Running in c0ad506d78f7 [2022-05-02T20:08:01.494Z] Removing intermediate container c0ad506d78f7 [2022-05-02T20:08:01.494Z] ---> d181ac03b7f4 [2022-05-02T20:08:01.494Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:08:01.494Z] ---> Running in 15c040410f37 [2022-05-02T20:08:01.494Z] Removing intermediate container 15c040410f37 [2022-05-02T20:08:01.494Z] ---> c0591368eb15 [2022-05-02T20:08:01.494Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:08:01.494Z] ---> Running in 754b382bc38e [2022-05-02T20:08:01.756Z] Removing intermediate container 754b382bc38e [2022-05-02T20:08:01.756Z] ---> d0901faf77cf [2022-05-02T20:08:01.756Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:08:01.756Z] ---> Running in 6d674f06351c [2022-05-02T20:08:02.330Z] Removing intermediate container 6d674f06351c [2022-05-02T20:08:02.330Z] ---> a59e528fc429 [2022-05-02T20:08:02.330Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:08:02.330Z] ---> Running in 938877c54a9b [2022-05-02T20:08:02.591Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T20:08:03.531Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T20:08:03.793Z] OK: 224 MiB in 56 packages [2022-05-02T20:08:04.053Z] Removing intermediate container 938877c54a9b [2022-05-02T20:08:04.053Z] ---> 2ec4eb090c64 [2022-05-02T20:08:04.053Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-02T20:08:04.053Z] ---> Running in 0b0ba57f2e61 [2022-05-02T20:08:04.317Z] Removing intermediate container 0b0ba57f2e61 [2022-05-02T20:08:04.317Z] ---> 6bda1c4fb1f7 [2022-05-02T20:08:04.317Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-02T20:08:04.317Z] ---> 102c97edb40d [2022-05-02T20:08:04.317Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:08:04.317Z] ---> Running in e33533d3b80d [2022-05-02T20:08:05.293Z] Removing intermediate container e33533d3b80d [2022-05-02T20:08:05.293Z] ---> 46ee66996ca9 [2022-05-02T20:08:05.293Z] Step 11/25 : COPY . . [2022-05-02T20:08:05.553Z] ---> 3e1088d6b019 [2022-05-02T20:08:05.553Z] Step 12/25 : RUN $MAKE [2022-05-02T20:08:05.553Z] ---> Running in b99a3432d549 [2022-05-02T20:08:05.812Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-02T20:08:27.764Z] Removing intermediate container b99a3432d549 [2022-05-02T20:08:27.764Z] ---> 9e73d85e2dd4 [2022-05-02T20:08:27.764Z] Step 13/25 : FROM alpine:3.14 [2022-05-02T20:08:27.764Z] 3.14: Pulling from library/alpine [2022-05-02T20:08:27.764Z] 8663204ce13b: Pulling fs layer [2022-05-02T20:08:27.764Z] 8663204ce13b: Verifying Checksum [2022-05-02T20:08:27.764Z] 8663204ce13b: Download complete [2022-05-02T20:08:27.764Z] 8663204ce13b: Pull complete [2022-05-02T20:08:27.764Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T20:08:27.764Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T20:08:27.764Z] ---> e04c818066af [2022-05-02T20:08:27.764Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-02T20:08:27.764Z] ---> Running in af0349dbcd60 [2022-05-02T20:08:27.764Z] Removing intermediate container af0349dbcd60 [2022-05-02T20:08:27.764Z] ---> dc4a880342c8 [2022-05-02T20:08:27.764Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-02T20:08:27.764Z] ---> Running in dfffec93a312 [2022-05-02T20:08:27.764Z] Removing intermediate container dfffec93a312 [2022-05-02T20:08:27.764Z] ---> 1d25ee7fad51 [2022-05-02T20:08:27.764Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-02T20:08:27.764Z] ---> Running in 9d527a9eb783 [2022-05-02T20:08:27.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-02T20:08:27.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-02T20:08:27.764Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-02T20:08:27.764Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T20:08:27.764Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T20:08:27.764Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T20:08:27.764Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T20:08:27.764Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T20:08:27.764Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T20:08:27.764Z] OK: 8 MiB in 20 packages [2022-05-02T20:08:27.764Z] Removing intermediate container 9d527a9eb783 [2022-05-02T20:08:27.764Z] ---> a8a9785cb08f [2022-05-02T20:08:27.764Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-02T20:08:28.025Z] ---> a8f83ceed9e0 [2022-05-02T20:08:28.025Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-02T20:08:28.286Z] ---> 891212d704a1 [2022-05-02T20:08:28.286Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-02T20:08:28.286Z] ---> a1b2a5667474 [2022-05-02T20:08:28.286Z] Step 20/25 : EXPOSE 59986 [2022-05-02T20:08:28.545Z] ---> Running in 50db63bb86b5 [2022-05-02T20:08:28.545Z] Removing intermediate container 50db63bb86b5 [2022-05-02T20:08:28.545Z] ---> c54068223a71 [2022-05-02T20:08:28.545Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-02T20:08:28.545Z] ---> Running in 08662f7a03bf [2022-05-02T20:08:28.806Z] Removing intermediate container 08662f7a03bf [2022-05-02T20:08:28.806Z] ---> b5915c9804fe [2022-05-02T20:08:28.806Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-02T20:08:28.806Z] ---> Running in f29ff31aedf8 [2022-05-02T20:08:28.806Z] Removing intermediate container f29ff31aedf8 [2022-05-02T20:08:28.806Z] ---> e3db917782ec [2022-05-02T20:08:28.806Z] Step 23/25 : LABEL arch=amd64 [2022-05-02T20:08:28.806Z] ---> Running in 78ca66457aa9 [2022-05-02T20:08:29.066Z] Removing intermediate container 78ca66457aa9 [2022-05-02T20:08:29.066Z] ---> c23187576e60 [2022-05-02T20:08:29.066Z] Step 24/25 : LABEL git_sha=34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [2022-05-02T20:08:29.066Z] ---> Running in e43a46de097b [2022-05-02T20:08:29.066Z] Removing intermediate container e43a46de097b [2022-05-02T20:08:29.066Z] ---> 8d0f2a84253d [2022-05-02T20:08:29.066Z] Step 25/25 : LABEL version=0.0.0 [2022-05-02T20:08:29.066Z] ---> Running in 7a2b574f4798 [2022-05-02T20:08:29.326Z] Removing intermediate container 7a2b574f4798 [2022-05-02T20:08:29.326Z] ---> 3e37056fcab5 [2022-05-02T20:08:29.326Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T20:08:29.326Z] Successfully built 3e37056fcab5 [2022-05-02T20:08:29.326Z] 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 [2022-05-02T20:08:30.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:08:30.054Z] [2022-05-02T20:08:30.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:08:30.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:08:30.398Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-02T20:08:30.398Z] 5eb5b503b376: Pulling fs layer [2022-05-02T20:08:30.398Z] 5c69ac0246d0: Pulling fs layer [2022-05-02T20:08:30.398Z] ec43610c2a17: Pulling fs layer [2022-05-02T20:08:30.398Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-02T20:08:30.398Z] 33b1e0a273af: Pulling fs layer [2022-05-02T20:08:30.398Z] 5d3b04190fa2: Pulling fs layer [2022-05-02T20:08:30.398Z] 2f39f015ded8: Pulling fs layer [2022-05-02T20:08:30.398Z] 5d3b04190fa2: Waiting [2022-05-02T20:08:30.398Z] 2f39f015ded8: Waiting [2022-05-02T20:08:30.398Z] 3a2ae6a8a46f: Waiting [2022-05-02T20:08:30.398Z] 33b1e0a273af: Waiting [2022-05-02T20:08:30.398Z] 5c69ac0246d0: Verifying Checksum [2022-05-02T20:08:30.398Z] 5c69ac0246d0: Download complete [2022-05-02T20:08:30.398Z] 3a2ae6a8a46f: Download complete [2022-05-02T20:08:30.398Z] 33b1e0a273af: Verifying Checksum [2022-05-02T20:08:30.398Z] 33b1e0a273af: Download complete [2022-05-02T20:08:30.398Z] ec43610c2a17: Verifying Checksum [2022-05-02T20:08:30.398Z] ec43610c2a17: Download complete [2022-05-02T20:08:30.398Z] 5d3b04190fa2: Verifying Checksum [2022-05-02T20:08:30.398Z] 5d3b04190fa2: Download complete [2022-05-02T20:08:30.658Z] 5eb5b503b376: Verifying Checksum [2022-05-02T20:08:30.658Z] 5eb5b503b376: Download complete [2022-05-02T20:08:31.231Z] 2f39f015ded8: Verifying Checksum [2022-05-02T20:08:31.231Z] 2f39f015ded8: Download complete [2022-05-02T20:08:32.174Z] 5eb5b503b376: Pull complete [2022-05-02T20:08:32.174Z] 5c69ac0246d0: Pull complete [2022-05-02T20:08:32.435Z] ec43610c2a17: Pull complete [2022-05-02T20:08:32.696Z] 3a2ae6a8a46f: Pull complete [2022-05-02T20:08:32.959Z] 33b1e0a273af: Pull complete [2022-05-02T20:08:32.959Z] 5d3b04190fa2: Pull complete [2022-05-02T20:08:38.243Z] 2f39f015ded8: Pull complete [2022-05-02T20:08:38.243Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-02T20:08:38.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:08:38.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-02T20:08:38.337Z] prd-ubuntu20.04-docker-8c-8g-34496 does not seem to be running inside a container [2022-05-02T20:08:38.383Z] $ 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/gexfoundry_device-rest-go_PR-183 -v /w/workspace/gexfoundry_device-rest-go_PR-183:/w/workspace/gexfoundry_device-rest-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-183@tmp:/w/workspace/gexfoundry_device-rest-go_PR-183@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:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T20:08:40.362Z] $ docker top 7e3c7d703c5e8fb2fdce9c71ce337a8953f94b20b2ddd9ff09b0c5b4f83354ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:08:40.814Z] ---> job-cost.sh [2022-05-02T20:08:40.814Z] lf-activate-venv: SKIPPING [2022-05-02T20:08:40.814Z] INFO: No Stack... [2022-05-02T20:08:41.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T20:08:41.651Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T20:08:41.970Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-183/archives/cost.csv [2022-05-02T20:08:41.970Z] + cut -d, -f6 [Pipeline] lock [2022-05-02T20:08:42.012Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] [2022-05-02T20:08:42.018Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] did not exist. Created. [2022-05-02T20:08:42.018Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T20:08:42.420Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-02T20:08:42.475Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T20:08:42.505Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T20:08:42.595Z] $ docker stop --time=1 7e3c7d703c5e8fb2fdce9c71ce337a8953f94b20b2ddd9ff09b0c5b4f83354ce [2022-05-02T20:08:43.762Z] $ docker rm -f 7e3c7d703c5e8fb2fdce9c71ce337a8953f94b20b2ddd9ff09b0c5b4f83354ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-02T20:10:40.853Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34500 in /w/workspace/gexfoundry_device-rest-go_PR-183 [Pipeline] { [Pipeline] ws [2022-05-02T20:10:40.893Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-02T20:10:41.220Z] The recommended git tool is: git [2022-05-02T20:10:49.295Z] using credential edgex-jenkins-ssh [2022-05-02T20:10:49.323Z] Cloning the remote Git repository [2022-05-02T20:10:49.413Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-02T20:10:49.507Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-02T20:10:49.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-02T20:10:49.623Z] > git --version # timeout=10 [2022-05-02T20:10:49.649Z] > git --version # 'git version 2.25.1' [2022-05-02T20:10:49.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T20:10:49.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T20:10:52.497Z] Merging remotes/origin/main commit a43e2c30b821305cbbceda7bc94393c1897f4bc4 into PR head commit 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [2022-05-02T20:10:52.760Z] Merge succeeded, producing 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [2022-05-02T20:10:52.760Z] Checking out Revision 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 (PR-183) [2022-05-02T20:10:51.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-02T20:10:51.883Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T20:10:51.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-02T20:10:51.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-02T20:10:51.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T20:10:51.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-02T20:10:52.522Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T20:10:52.540Z] > git checkout -f 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 # timeout=10 [2022-05-02T20:10:52.639Z] > git remote # timeout=10 [2022-05-02T20:10:52.660Z] > git config --get remote.origin.url # timeout=10 [2022-05-02T20:10:52.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T20:10:52.700Z] > git merge a43e2c30b821305cbbceda7bc94393c1897f4bc4 # timeout=10 [2022-05-02T20:10:52.741Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-02T20:10:52.771Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T20:10:52.794Z] > git checkout -f 34bdd3d79806ee1d0281597263b9cfdeb3c44d66 # timeout=10 [2022-05-02T20:10:57.181Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-05-02T20:10:57.254Z] > git --version # timeout=10 [2022-05-02T20:10:57.265Z] > git --version # 'git version 2.25.1' [2022-05-02T20:10:57.288Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T20:10:58.395Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-02T20:10:58.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T20:10:58.396Z] Dload Upload Total Spent Left Speed [2022-05-02T20:10:58.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-05-02T20:10:58.952Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-02T20:10:59.320Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-02T20:10:59.320Z] sudo tee /etc/docker/daemon.new [2022-05-02T20:10:59.320Z] { [2022-05-02T20:10:59.320Z] "registry-mirrors": [ [2022-05-02T20:10:59.320Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-02T20:10:59.320Z] ], [2022-05-02T20:10:59.320Z] "bip": "10.250.0.254/24", [2022-05-02T20:10:59.320Z] "hosts": [ [2022-05-02T20:10:59.320Z] "tcp://0.0.0.0:5555", [2022-05-02T20:10:59.320Z] "unix:///var/run/docker.sock" [2022-05-02T20:10:59.320Z] ], [2022-05-02T20:10:59.320Z] "mtu": 1458, [2022-05-02T20:10:59.320Z] "selinux-enabled": true, [2022-05-02T20:10:59.320Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-02T20:10:59.320Z] } [Pipeline] sh [2022-05-02T20:10:59.690Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-02T20:11:00.080Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:11:18.604Z] provisioning config files... [2022-05-02T20:11:18.677Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3744582359541785790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:11:19.338Z] ---> docker-login.sh [2022-05-02T20:11:19.338Z] nexus3.edgexfoundry.org:10001 [2022-05-02T20:11:20.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:11:20.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:11:20.352Z] Configure a credential helper to remove this warning. See [2022-05-02T20:11:20.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:11:20.352Z] [2022-05-02T20:11:20.352Z] Login Succeeded [2022-05-02T20:11:20.634Z] nexus3.edgexfoundry.org:10002 [2022-05-02T20:11:20.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:11:20.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:11:20.911Z] Configure a credential helper to remove this warning. See [2022-05-02T20:11:20.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:11:20.911Z] [2022-05-02T20:11:20.911Z] Login Succeeded [2022-05-02T20:11:21.191Z] nexus3.edgexfoundry.org:10003 [2022-05-02T20:11:21.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:11:21.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:11:21.465Z] Configure a credential helper to remove this warning. See [2022-05-02T20:11:21.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:11:21.465Z] [2022-05-02T20:11:21.465Z] Login Succeeded [2022-05-02T20:11:21.465Z] nexus3.edgexfoundry.org:10004 [2022-05-02T20:11:22.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:11:22.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:11:22.066Z] Configure a credential helper to remove this warning. See [2022-05-02T20:11:22.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:11:22.066Z] [2022-05-02T20:11:22.066Z] Login Succeeded [2022-05-02T20:11:22.066Z] docker.io [2022-05-02T20:11:22.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:11:22.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:11:22.937Z] Configure a credential helper to remove this warning. See [2022-05-02T20:11:22.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:11:22.937Z] [2022-05-02T20:11:22.937Z] Login Succeeded [2022-05-02T20:11:22.937Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T20:11:22.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T20:11:23.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T20:11:23.592Z] ========================================================= [2022-05-02T20:11:23.592Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-02T20:11:23.592Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:11:24.051Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T20:11:24.051Z] Sending build context to Docker daemon 130kB [2022-05-02T20:11:24.327Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:11:24.327Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-02T20:11:24.602Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-02T20:11:24.602Z] 9b3977197b4f: Pulling fs layer [2022-05-02T20:11:24.602Z] 1a89e8eeedd5: Pulling fs layer [2022-05-02T20:11:24.602Z] 94645a83ff95: Pulling fs layer [2022-05-02T20:11:24.602Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-02T20:11:24.602Z] 0c92f367c5e7: Pulling fs layer [2022-05-02T20:11:24.602Z] 3096ccb668a1: Pulling fs layer [2022-05-02T20:11:24.602Z] e8cf19c19ddd: Pulling fs layer [2022-05-02T20:11:24.602Z] a4caa8a26152: Pulling fs layer [2022-05-02T20:11:24.602Z] 3f3a8bcf1eab: Waiting [2022-05-02T20:11:24.602Z] 0c92f367c5e7: Waiting [2022-05-02T20:11:24.602Z] 3096ccb668a1: Waiting [2022-05-02T20:11:24.602Z] e8cf19c19ddd: Waiting [2022-05-02T20:11:24.602Z] a4caa8a26152: Waiting [2022-05-02T20:11:24.602Z] 94645a83ff95: Verifying Checksum [2022-05-02T20:11:24.602Z] 94645a83ff95: Download complete [2022-05-02T20:11:24.602Z] 1a89e8eeedd5: Verifying Checksum [2022-05-02T20:11:24.602Z] 1a89e8eeedd5: Download complete [2022-05-02T20:11:24.602Z] 0c92f367c5e7: Verifying Checksum [2022-05-02T20:11:24.602Z] 0c92f367c5e7: Download complete [2022-05-02T20:11:24.602Z] 3096ccb668a1: Verifying Checksum [2022-05-02T20:11:24.602Z] 3096ccb668a1: Download complete [2022-05-02T20:11:24.602Z] 9b3977197b4f: Verifying Checksum [2022-05-02T20:11:24.602Z] 9b3977197b4f: Download complete [2022-05-02T20:11:24.602Z] e8cf19c19ddd: Download complete [2022-05-02T20:11:25.597Z] 9b3977197b4f: Pull complete [2022-05-02T20:11:25.881Z] 1a89e8eeedd5: Pull complete [2022-05-02T20:11:26.492Z] 94645a83ff95: Pull complete [2022-05-02T20:11:26.766Z] a4caa8a26152: Download complete [2022-05-02T20:11:27.361Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-02T20:11:27.361Z] 3f3a8bcf1eab: Download complete [2022-05-02T20:11:39.768Z] 3f3a8bcf1eab: Pull complete [2022-05-02T20:11:39.768Z] 0c92f367c5e7: Pull complete [2022-05-02T20:11:39.768Z] 3096ccb668a1: Pull complete [2022-05-02T20:11:39.768Z] e8cf19c19ddd: Pull complete [2022-05-02T20:11:45.235Z] a4caa8a26152: Pull complete [2022-05-02T20:11:45.235Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-02T20:11:45.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-02T20:11:45.235Z] ---> 725f1c02e7f9 [2022-05-02T20:11:45.235Z] Step 3/12 : ARG MAKE='make build' [2022-05-02T20:11:45.512Z] ---> Running in 01d0d2d4775f [2022-05-02T20:11:45.789Z] Removing intermediate container 01d0d2d4775f [2022-05-02T20:11:45.789Z] ---> 67c0dc23b57c [2022-05-02T20:11:45.789Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:11:46.092Z] ---> Running in f244ea59786b [2022-05-02T20:11:46.365Z] Removing intermediate container f244ea59786b [2022-05-02T20:11:46.365Z] ---> e7d92d2c6b19 [2022-05-02T20:11:46.365Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:11:46.365Z] ---> Running in a7ee74314ed5 [2022-05-02T20:11:46.642Z] Removing intermediate container a7ee74314ed5 [2022-05-02T20:11:46.642Z] ---> 0dbeaab69cc0 [2022-05-02T20:11:46.642Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:11:46.918Z] ---> Running in 66ba04fc48ce [2022-05-02T20:11:48.896Z] Removing intermediate container 66ba04fc48ce [2022-05-02T20:11:48.896Z] ---> 01ed5dd737c0 [2022-05-02T20:11:48.896Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:11:48.896Z] ---> Running in 767b832d5c22 [2022-05-02T20:11:49.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T20:11:50.856Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T20:11:51.841Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-02T20:11:51.841Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-02T20:11:51.842Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-02T20:11:52.115Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-02T20:11:52.115Z] Executing busybox-1.34.1-r3.trigger [2022-05-02T20:11:52.390Z] OK: 224 MiB in 56 packages [2022-05-02T20:11:53.390Z] Removing intermediate container 767b832d5c22 [2022-05-02T20:11:53.390Z] ---> 50e09d735867 [2022-05-02T20:11:53.390Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-02T20:11:53.390Z] ---> Running in 8a3250ab8053 [2022-05-02T20:11:53.665Z] Removing intermediate container 8a3250ab8053 [2022-05-02T20:11:53.665Z] ---> 49dfd964c10e [2022-05-02T20:11:53.665Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-02T20:11:54.264Z] ---> 9e12198e2e75 [2022-05-02T20:11:54.264Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:11:54.539Z] ---> Running in 8bd52b14ea5d [2022-05-02T20:12:41.524Z] Removing intermediate container 8bd52b14ea5d [2022-05-02T20:12:41.524Z] ---> 20a634ba2f8e [2022-05-02T20:12:41.524Z] Step 11/12 : COPY . . [2022-05-02T20:12:41.524Z] ---> b98bd5ca0047 [2022-05-02T20:12:41.524Z] Step 12/12 : RUN $MAKE [2022-05-02T20:12:41.524Z] ---> Running in 908c51b68210 [2022-05-02T20:12:41.524Z] noop [2022-05-02T20:12:41.799Z] Removing intermediate container 908c51b68210 [2022-05-02T20:12:41.799Z] ---> 893f5e1a4b41 [2022-05-02T20:12:41.799Z] Successfully built 893f5e1a4b41 [2022-05-02T20:12:41.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:12:42.180Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T20:12:42.180Z] . [Pipeline] withDockerContainer [2022-05-02T20:12:42.444Z] prd-ubuntu20.04-docker-arm64-4c-16g-34500 does not seem to be running inside a container [2022-05-02T20:12:42.533Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-02T20:12:43.879Z] $ docker top 89e184ef27070e5db68d4cd594643f226e2c359df96cda15e15df94a8b2687d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T20:12:44.853Z] + go version [2022-05-02T20:12:44.854Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-02T20:12:44.899Z] $ docker stop --time=1 89e184ef27070e5db68d4cd594643f226e2c359df96cda15e15df94a8b2687d1 [2022-05-02T20:12:46.574Z] $ docker rm -f 89e184ef27070e5db68d4cd594643f226e2c359df96cda15e15df94a8b2687d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:12:47.436Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T20:12:47.436Z] . [Pipeline] withDockerContainer [2022-05-02T20:12:47.681Z] prd-ubuntu20.04-docker-arm64-4c-16g-34500 does not seem to be running inside a container [2022-05-02T20:12:47.776Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-02T20:12:49.116Z] $ docker top 29325caa5ecef80b04d9393a8809a12261c2e0f8172a837c9ba95610e18dc0b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T20:12:50.144Z] + make test [2022-05-02T20:12:50.145Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-02T20:12:52.131Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-02T20:14:29.025Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-02T20:14:29.025Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements [2022-05-02T20:14:29.025Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-02T20:14:29.025Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T20:14:51.262Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T20:14:51.262Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T20:14:51.262Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T20:14:54.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T20:14:54.766Z] $ docker stop --time=1 29325caa5ecef80b04d9393a8809a12261c2e0f8172a837c9ba95610e18dc0b8 [2022-05-02T20:14:56.601Z] $ docker rm -f 29325caa5ecef80b04d9393a8809a12261c2e0f8172a837c9ba95610e18dc0b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T20:14:57.719Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T20:14:57.759Z] Warning: overwriting stash ‘coverage-report’ [2022-05-02T20:14:58.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T20:14:58.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T20:14:59.266Z] + ls -al . [2022-05-02T20:14:59.266Z] total 168 [2022-05-02T20:14:59.266Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:14 . [2022-05-02T20:14:59.266Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 20:10 .. [2022-05-02T20:14:59.266Z] -rw-rw-r-- 1 jenkins jenkins 151 May 2 20:10 .dockerignore [2022-05-02T20:14:59.266Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:10 .git [2022-05-02T20:14:59.267Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:10 .github [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 329 May 2 20:10 .gitignore [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 20:10 .golangci.yml [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 2 20:10 Attribution.txt [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 2 20:10 CHANGELOG.md [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 2 20:10 Dockerfile [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 20:10 GOVERNANCE.md [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 680 May 2 20:10 Jenkinsfile [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 20:10 LICENSE [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 2 20:10 Makefile [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 620 May 2 20:10 OWNERS.md [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 2 20:10 README.md [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 20:06 VERSION [2022-05-02T20:14:59.267Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:10 bin [2022-05-02T20:14:59.267Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:10 cmd [2022-05-02T20:14:59.267Z] -rw-r--r-- 1 jenkins jenkins 9355 May 2 20:14 coverage.out [2022-05-02T20:14:59.267Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:10 driver [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 2 20:10 go.mod [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 2 20:10 go.sum [2022-05-02T20:14:59.267Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:10 snap [2022-05-02T20:14:59.267Z] -rw-rw-r-- 1 jenkins jenkins 713 May 2 20:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:14:59.653Z] + 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=34bdd3d79806ee1d0281597263b9cfdeb3c44d66 --label arch=arm64 --label version=0.0.0 . [2022-05-02T20:14:59.653Z] Sending build context to Docker daemon 140.3kB [2022-05-02T20:14:59.938Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:14:59.938Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-02T20:14:59.938Z] ---> 893f5e1a4b41 [2022-05-02T20:14:59.938Z] Step 3/25 : ARG MAKE='make build' [2022-05-02T20:15:00.217Z] ---> Running in 4fd32cc232bb [2022-05-02T20:15:00.495Z] Removing intermediate container 4fd32cc232bb [2022-05-02T20:15:00.495Z] ---> 2aa908e9e84e [2022-05-02T20:15:00.495Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:15:00.495Z] ---> Running in cc14c32426e0 [2022-05-02T20:15:01.098Z] Removing intermediate container cc14c32426e0 [2022-05-02T20:15:01.098Z] ---> e79c6cd49da1 [2022-05-02T20:15:01.098Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:15:01.098Z] ---> Running in fa9ff081bd9f [2022-05-02T20:15:01.384Z] Removing intermediate container fa9ff081bd9f [2022-05-02T20:15:01.384Z] ---> 2d47febd0568 [2022-05-02T20:15:01.384Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:15:01.384Z] ---> Running in a97c476fb306 [2022-05-02T20:15:03.386Z] Removing intermediate container a97c476fb306 [2022-05-02T20:15:03.386Z] ---> 4d05312cb739 [2022-05-02T20:15:03.386Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:15:03.386Z] ---> Running in 56398e340813 [2022-05-02T20:15:04.372Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T20:15:05.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T20:15:06.328Z] OK: 224 MiB in 56 packages [2022-05-02T20:15:07.313Z] Removing intermediate container 56398e340813 [2022-05-02T20:15:07.313Z] ---> 9632e61c1c74 [2022-05-02T20:15:07.313Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-02T20:15:07.313Z] ---> Running in 09e32ebbb09d [2022-05-02T20:15:07.589Z] Removing intermediate container 09e32ebbb09d [2022-05-02T20:15:07.589Z] ---> 769914e45bd4 [2022-05-02T20:15:07.589Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-02T20:15:08.186Z] ---> 1503936d8c16 [2022-05-02T20:15:08.186Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:15:08.186Z] ---> Running in 190a5e9b8ce5 [2022-05-02T20:15:10.172Z] Removing intermediate container 190a5e9b8ce5 [2022-05-02T20:15:10.172Z] ---> 40d47c856cd8 [2022-05-02T20:15:10.172Z] Step 11/25 : COPY . . [2022-05-02T20:15:10.773Z] ---> 3918d14cf462 [2022-05-02T20:15:10.773Z] Step 12/25 : RUN $MAKE [2022-05-02T20:15:11.063Z] ---> Running in 1c0f9a976d8d [2022-05-02T20:15:12.074Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-02T20:17:34.021Z] Removing intermediate container 1c0f9a976d8d [2022-05-02T20:17:34.021Z] ---> 678a42ab9a49 [2022-05-02T20:17:34.021Z] Step 13/25 : FROM alpine:3.14 [2022-05-02T20:17:34.021Z] 3.14: Pulling from library/alpine [2022-05-02T20:17:34.021Z] 455c02918c45: Pulling fs layer [2022-05-02T20:17:34.021Z] 455c02918c45: Verifying Checksum [2022-05-02T20:17:34.021Z] 455c02918c45: Download complete [2022-05-02T20:17:34.021Z] 455c02918c45: Pull complete [2022-05-02T20:17:34.021Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T20:17:34.021Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T20:17:34.021Z] ---> ac73e934f311 [2022-05-02T20:17:34.021Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-02T20:17:34.021Z] ---> Running in 35fdc6f4f8cc [2022-05-02T20:17:34.021Z] Removing intermediate container 35fdc6f4f8cc [2022-05-02T20:17:34.021Z] ---> 28ad44d8fc66 [2022-05-02T20:17:34.021Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-02T20:17:34.021Z] ---> Running in ca5bce01f589 [2022-05-02T20:17:34.021Z] Removing intermediate container ca5bce01f589 [2022-05-02T20:17:34.021Z] ---> eacceb2150ad [2022-05-02T20:17:34.021Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-02T20:17:34.021Z] ---> Running in f2a06d02c615 [2022-05-02T20:17:34.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-02T20:17:34.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-02T20:17:34.298Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-02T20:17:34.298Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T20:17:34.298Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T20:17:34.298Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T20:17:34.298Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T20:17:34.299Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T20:17:34.299Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T20:17:34.299Z] OK: 8 MiB in 20 packages [2022-05-02T20:17:35.300Z] Removing intermediate container f2a06d02c615 [2022-05-02T20:17:35.300Z] ---> 3a9734ab7d15 [2022-05-02T20:17:35.300Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-02T20:17:36.737Z] ---> 05d013992396 [2022-05-02T20:17:36.737Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-02T20:17:37.344Z] ---> 8ce54e746c15 [2022-05-02T20:17:37.344Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-02T20:17:37.942Z] ---> b0cddba8d924 [2022-05-02T20:17:37.942Z] Step 20/25 : EXPOSE 59986 [2022-05-02T20:17:37.942Z] ---> Running in 6c7f6c424bea [2022-05-02T20:17:38.221Z] Removing intermediate container 6c7f6c424bea [2022-05-02T20:17:38.221Z] ---> 2a5161598a70 [2022-05-02T20:17:38.221Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-02T20:17:38.495Z] ---> Running in d0a1ba5de981 [2022-05-02T20:17:38.788Z] Removing intermediate container d0a1ba5de981 [2022-05-02T20:17:38.788Z] ---> 9c4cbcf15829 [2022-05-02T20:17:38.788Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-02T20:17:38.788Z] ---> Running in 83dcce84873e [2022-05-02T20:17:39.064Z] Removing intermediate container 83dcce84873e [2022-05-02T20:17:39.064Z] ---> fa5705c71657 [2022-05-02T20:17:39.064Z] Step 23/25 : LABEL arch=arm64 [2022-05-02T20:17:39.064Z] ---> Running in f6803b3f2fff [2022-05-02T20:17:39.336Z] Removing intermediate container f6803b3f2fff [2022-05-02T20:17:39.336Z] ---> e4977436701e [2022-05-02T20:17:39.336Z] Step 24/25 : LABEL git_sha=34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [2022-05-02T20:17:39.612Z] ---> Running in fd3c6ac44f37 [2022-05-02T20:17:39.888Z] Removing intermediate container fd3c6ac44f37 [2022-05-02T20:17:39.888Z] ---> ac50bf6b3d32 [2022-05-02T20:17:39.888Z] Step 25/25 : LABEL version=0.0.0 [2022-05-02T20:17:39.888Z] ---> Running in 4a00297de67f [2022-05-02T20:17:40.165Z] Removing intermediate container 4a00297de67f [2022-05-02T20:17:40.165Z] ---> 37468c664c72 [2022-05-02T20:17:40.165Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T20:17:40.165Z] Successfully built 37468c664c72 [2022-05-02T20:17:40.165Z] 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 [2022-05-02T20:17:41.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T20:17:41.143Z] [2022-05-02T20:17:41.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:17:41.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T20:17:41.816Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-02T20:17:41.816Z] 8998bd30e6a1: Pulling fs layer [2022-05-02T20:17:41.816Z] 04944245beec: Pulling fs layer [2022-05-02T20:17:41.816Z] 699f458cf7ca: Pulling fs layer [2022-05-02T20:17:41.816Z] 765212b225bb: Pulling fs layer [2022-05-02T20:17:41.816Z] f23df028b6ca: Pulling fs layer [2022-05-02T20:17:41.816Z] d65c8cfc05b1: Pulling fs layer [2022-05-02T20:17:41.816Z] 2437ff75d9bd: Pulling fs layer [2022-05-02T20:17:41.816Z] f23df028b6ca: Waiting [2022-05-02T20:17:41.816Z] d65c8cfc05b1: Waiting [2022-05-02T20:17:41.816Z] 2437ff75d9bd: Waiting [2022-05-02T20:17:41.816Z] 765212b225bb: Waiting [2022-05-02T20:17:41.816Z] 04944245beec: Verifying Checksum [2022-05-02T20:17:41.816Z] 04944245beec: Download complete [2022-05-02T20:17:41.816Z] 765212b225bb: Verifying Checksum [2022-05-02T20:17:41.816Z] 765212b225bb: Download complete [2022-05-02T20:17:41.816Z] f23df028b6ca: Download complete [2022-05-02T20:17:41.816Z] d65c8cfc05b1: Verifying Checksum [2022-05-02T20:17:41.816Z] d65c8cfc05b1: Download complete [2022-05-02T20:17:42.092Z] 699f458cf7ca: Verifying Checksum [2022-05-02T20:17:42.092Z] 699f458cf7ca: Download complete [2022-05-02T20:17:42.368Z] 8998bd30e6a1: Verifying Checksum [2022-05-02T20:17:42.368Z] 8998bd30e6a1: Download complete [2022-05-02T20:17:44.993Z] 2437ff75d9bd: Verifying Checksum [2022-05-02T20:17:44.993Z] 2437ff75d9bd: Download complete [2022-05-02T20:17:46.979Z] 8998bd30e6a1: Pull complete [2022-05-02T20:17:47.258Z] 04944245beec: Pull complete [2022-05-02T20:17:48.695Z] 699f458cf7ca: Pull complete [2022-05-02T20:17:48.971Z] 765212b225bb: Pull complete [2022-05-02T20:17:49.955Z] f23df028b6ca: Pull complete [2022-05-02T20:17:49.955Z] d65c8cfc05b1: Pull complete [2022-05-02T20:18:05.057Z] 2437ff75d9bd: Pull complete [2022-05-02T20:18:05.057Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-02T20:18:05.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T20:18:05.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-02T20:18:05.327Z] prd-ubuntu20.04-docker-arm64-4c-16g-34500 does not seem to be running inside a container [2022-05-02T20:18:05.428Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-02T20:18:08.210Z] $ docker top a55fd8075c5b1d975d646bca13dae7856b62ede2170697df55ccef82bebcc4b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:09.228Z] ---> job-cost.sh [2022-05-02T20:18:09.228Z] lf-activate-venv: SKIPPING [2022-05-02T20:18:09.228Z] INFO: No Stack... [2022-05-02T20:18:09.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-02T20:18:10.481Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T20:18:11.173Z] + cut -d, -f6 [2022-05-02T20:18:11.174Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-05-02T20:18:11.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] [2022-05-02T20:18:11.269Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] did not exist. Created. [2022-05-02T20:18:11.270Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T20:18:12.044Z] /w/workspace/device-rest-go/1@tmp/durable-8310041b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-02T20:18:12.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-02T20:18:12.793Z] Warning: overwriting stash ‘stack-cost’ [2022-05-02T20:18:12.842Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T20:18:12.857Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T20:18:12.940Z] $ docker stop --time=1 a55fd8075c5b1d975d646bca13dae7856b62ede2170697df55ccef82bebcc4b9 [2022-05-02T20:18:14.487Z] $ docker rm -f a55fd8075c5b1d975d646bca13dae7856b62ede2170697df55ccef82bebcc4b9 [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 [2022-05-02T20:18:15.538Z] provisioning config files... [2022-05-02T20:18:15.549Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-183@tmp/config993385262854642548tmp [Pipeline] { [Pipeline] sh [2022-05-02T20:18:15.894Z] + set +x [2022-05-02T20:18:15.894Z] + curl -s https://codecov.io/bash [2022-05-02T20:18:15.894Z] + bash -s -- [2022-05-02T20:18:15.894Z] [2022-05-02T20:18:15.894Z] _____ _ [2022-05-02T20:18:15.894Z] / ____| | | [2022-05-02T20:18:15.894Z] | | ___ __| | ___ ___ _____ __ [2022-05-02T20:18:15.894Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-02T20:18:15.894Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-02T20:18:15.894Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-02T20:18:15.894Z] Bash-1.0.6 [2022-05-02T20:18:15.894Z] [2022-05-02T20:18:15.894Z] [2022-05-02T20:18:15.894Z] ==> git version 2.25.1 found [2022-05-02T20:18:15.894Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-02T20:18:15.894Z] Release-Date: 2020-01-08 [2022-05-02T20:18:15.894Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-02T20:18:15.894Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-02T20:18:15.894Z] ==> Jenkins CI detected. [2022-05-02T20:18:15.894Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-183 [2022-05-02T20:18:15.894Z] project root: . [2022-05-02T20:18:15.894Z] --> token set from env [2022-05-02T20:18:15.894Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-02T20:18:15.894Z] ==> Running gcov in . (disable via -X gcov) [2022-05-02T20:18:15.894Z] ==> Python coveragepy not found [2022-05-02T20:18:15.894Z] ==> Searching for coverage reports in: [2022-05-02T20:18:15.894Z] + . [2022-05-02T20:18:15.894Z] -> Found 1 reports [2022-05-02T20:18:15.894Z] ==> Detecting git/mercurial file structure [2022-05-02T20:18:15.894Z] ==> Reading reports [2022-05-02T20:18:15.894Z] + ./coverage.out bytes=9355 [2022-05-02T20:18:15.894Z] ==> Appending adjustments [2022-05-02T20:18:15.894Z] https://docs.codecov.io/docs/fixing-reports [2022-05-02T20:18:16.158Z] + Found adjustments [2022-05-02T20:18:16.158Z] ==> Gzipping contents [2022-05-02T20:18:16.158Z] 4.0K /tmp/codecov.Lqi6Vr.gz [2022-05-02T20:18:16.158Z] ==> Uploading reports [2022-05-02T20:18:16.158Z] url: https://codecov.io [2022-05-02T20:18:16.158Z] query: branch=PR-183&commit=34bdd3d79806ee1d0281597263b9cfdeb3c44d66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=183&job=&cmd_args= [2022-05-02T20:18:16.158Z] -> Pinging Codecov [2022-05-02T20:18:16.158Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-183&commit=34bdd3d79806ee1d0281597263b9cfdeb3c44d66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=183&job=&cmd_args= [2022-05-02T20:18:16.420Z] -> Uploading to [2022-05-02T20:18:16.420Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-02/4E5D53B4F1F92C436F7061BF334D961C/34bdd3d79806ee1d0281597263b9cfdeb3c44d66/32eb23e5-5fa0-4e32-b677-c5cc5a08f881.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T201816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcdae7c7afa20fb92f466ecf8c4f2750bbbca52223b5f67182e240d87d0d4fdd [2022-05-02T20:18:16.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T20:18:16.420Z] Dload Upload Total Spent Left Speed [2022-05-02T20:18:16.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8896 --:--:-- --:--:-- --:--:-- 8852 100 1806 0 0 100 1806 0 4560 --:--:-- --:--:-- --:--:-- 4549 [2022-05-02T20:18:16.941Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/34bdd3d79806ee1d0281597263b9cfdeb3c44d66 [Pipeline] } [2022-05-02T20:18:16.970Z] 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 [2022-05-02T20:18:18.889Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-183/archives ] [2022-05-02T20:18:18.889Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-183/archives [2022-05-02T20:18:18.889Z] total 16 [2022-05-02T20:18:18.889Z] drwxr-xr-x 3 root root 4096 May 2 20:08 . [2022-05-02T20:18:18.889Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 20:08 .. [2022-05-02T20:18:18.889Z] drwxr-xr-x 2 root root 4096 May 2 20:08 cost [2022-05-02T20:18:18.889Z] -rw-r--r-- 1 root root 85 May 2 20:08 cost.csv [2022-05-02T20:18:18.889Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-183/archives [2022-05-02T20:18:18.889Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-183/archives [2022-05-02T20:18:18.889Z] total 16 [2022-05-02T20:18:18.889Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 20:08 . [2022-05-02T20:18:18.889Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 20:08 .. [2022-05-02T20:18:18.889Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 20:08 cost [2022-05-02T20:18:18.889Z] -rw-r--r-- 1 jenkins jenkins 85 May 2 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:19.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:20.122Z] ---> package-listing.sh [2022-05-02T20:18:20.122Z] ++ facter osfamily [2022-05-02T20:18:20.122Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-02T20:18:20.382Z] + OS_FAMILY=debian [2022-05-02T20:18:20.382Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-183 [2022-05-02T20:18:20.382Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-02T20:18:20.382Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-02T20:18:20.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-02T20:18:20.382Z] + PACKAGES=/tmp/packages_start.txt [2022-05-02T20:18:20.382Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-183 ']' [2022-05-02T20:18:20.382Z] + PACKAGES=/tmp/packages_end.txt [2022-05-02T20:18:20.382Z] + case "${OS_FAMILY}" in [2022-05-02T20:18:20.382Z] + dpkg -l [2022-05-02T20:18:20.382Z] + grep '^ii' [2022-05-02T20:18:20.382Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-02T20:18:20.382Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-02T20:18:20.382Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-02T20:18:20.382Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-183 ']' [2022-05-02T20:18:20.382Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-183/archives/ [2022-05-02T20:18:20.382Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-183/archives/ [Pipeline] echo [2022-05-02T20:18:20.419Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-02T20:18:20.719Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:18:21.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:18:21.308Z] . [Pipeline] withDockerContainer [2022-05-02T20:18:21.396Z] prd-ubuntu20.04-docker-8c-8g-34496 does not seem to be running inside a container [2022-05-02T20:18:21.452Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-183/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-183 -v /w/workspace/gexfoundry_device-rest-go_PR-183:/w/workspace/gexfoundry_device-rest-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-183@tmp:/w/workspace/gexfoundry_device-rest-go_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T20:18:21.693Z] $ docker top 4d66c7c2a7f191e38dde162d9afa4e90d3e7aad48d3d35a2bc0f5e3f5ce2c7ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T20:18:22.066Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-02T20:18:22.384Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-02T20:18:22.694Z] + ls /var/log/sa-host [2022-05-02T20:18:22.695Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:18:22.849Z] provisioning config files... [2022-05-02T20:18:22.859Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-183@tmp/config8179908085353413020tmp [Pipeline] { [Pipeline] echo [2022-05-02T20:18:22.903Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:23.217Z] ---> create-netrc.sh [Pipeline] } [2022-05-02T20:18:23.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:23.646Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-02T20:18:23.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:23.997Z] ---> sudo-logs.sh [2022-05-02T20:18:23.997Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-02T20:18:24.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:24.408Z] ---> job-cost.sh [2022-05-02T20:18:24.408Z] lf-activate-venv: SKIPPING [2022-05-02T20:18:24.408Z] DEBUG: total: 0.2199999988079071 [2022-05-02T20:18:24.408Z] INFO: Retrieving Stack Cost... [2022-05-02T20:18:24.983Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T20:18:25.244Z] INFO: Archiving Costs [Pipeline] echo [2022-05-02T20:18:25.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:18:25.614Z] ---> logs-deploy.sh [2022-05-02T20:18:25.614Z] lf-activate-venv: SKIPPING [2022-05-02T20:18:25.614Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-183/1 [2022-05-02T20:18:25.614Z] INFO: archiving workspace using pattern(s): [2022-05-02T20:18:26.559Z] Archives upload complete. [2022-05-02T20:18:26.559Z] INFO: archiving logs to Nexus