Pull request #264 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 757f5e285ffe1337c45ee0f2d8852be709980887+9c5623199907a7486af291752bc308b670b6913e (4ecc6bd091935dd12956e2dd8af98e6ce2e229c6) 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-ssh9088947743890215236.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15948375492177297390.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-264/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-264/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13879852152582042120.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-264/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2574305981229802178.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh13169224561288903150.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-264/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-264/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11965910205961030277.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9961 in /w/workspace/gexfoundry_device-rest-go_PR-264 [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-264 # 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 > 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/264/head:refs/remotes/origin/PR-264 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9c5623199907a7486af291752bc308b670b6913e into PR head commit 757f5e285ffe1337c45ee0f2d8852be709980887 Merge succeeded, producing 757f5e285ffe1337c45ee0f2d8852be709980887 Checking out Revision 757f5e285ffe1337c45ee0f2d8852be709980887 (PR-264) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T20:58:55.323Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T20:58:55.491Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 757f5e285ffe1337c45ee0f2d8852be709980887 # 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 9c5623199907a7486af291752bc308b670b6913e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 757f5e285ffe1337c45ee0f2d8852be709980887 # timeout=10 [Pipeline] echo [2023-03-13T20:58:55.586Z] ========================================================= [2023-03-13T20:58:55.586Z] EdgeX Global Pipelines Version Info [2023-03-13T20:58:55.586Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T20:58:56.322Z] ------------------- [2023-03-13T20:58:56.322Z] stable info: [2023-03-13T20:58:56.322Z] ------------------- [2023-03-13T20:58:56.322Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T20:58:56.322Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T20:58:56.322Z] Message: update stable to v1.0.245 [2023-03-13T20:58:56.895Z] ------------------- [2023-03-13T20:58:56.895Z] experimental info: [2023-03-13T20:58:56.895Z] ------------------- [2023-03-13T20:58:56.895Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T20:58:56.895Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T20:58:56.895Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T20:58:57.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-13T20:58:57.212Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-13T20:58:57.250Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T20:58:57.289Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T20:58:57.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T20:58:57.364Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-13T20:58:57.407Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T20:58:57.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T20:58:57.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T20:58:57.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T20:58:57.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T20:58:57.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-13T20:58:57.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T20:58:57.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T20:58:57.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T20:58:57.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T20:58:57.799Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T20:58:57.841Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T20:58:57.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T20:58:57.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T20:58:57.962Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T20:58:58.000Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T20:58:58.041Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T20:58:58.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T20:58:58.132Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T20:58:58.171Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T20:58:58.217Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T20:58:58.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-264 [Pipeline] echo [2023-03-13T20:58:58.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-264 [Pipeline] echo [2023-03-13T20:58:58.335Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-264 [Pipeline] echo [2023-03-13T20:58:58.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 757f5e285ffe1337c45ee0f2d8852be709980887 [Pipeline] echo [2023-03-13T20:58:58.415Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 757f5e2 [Pipeline] echo [2023-03-13T20:58:58.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T20:58:58.564Z] provisioning config files... [2023-03-13T20:58:58.579Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp/config16663107423925618851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T20:58:58.920Z] ---> docker-login.sh [2023-03-13T20:58:58.920Z] nexus3.edgexfoundry.org:10001 [2023-03-13T20:58:59.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:58:59.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:58:59.180Z] Configure a credential helper to remove this warning. See [2023-03-13T20:58:59.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:58:59.180Z] [2023-03-13T20:58:59.180Z] Login Succeeded [2023-03-13T20:58:59.180Z] nexus3.edgexfoundry.org:10002 [2023-03-13T20:58:59.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:58:59.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:58:59.439Z] Configure a credential helper to remove this warning. See [2023-03-13T20:58:59.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:58:59.439Z] [2023-03-13T20:58:59.439Z] Login Succeeded [2023-03-13T20:58:59.439Z] nexus3.edgexfoundry.org:10003 [2023-03-13T20:58:59.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:58:59.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:58:59.439Z] Configure a credential helper to remove this warning. See [2023-03-13T20:58:59.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:58:59.439Z] [2023-03-13T20:58:59.439Z] Login Succeeded [2023-03-13T20:58:59.439Z] nexus3.edgexfoundry.org:10004 [2023-03-13T20:58:59.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:58:59.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:58:59.700Z] Configure a credential helper to remove this warning. See [2023-03-13T20:58:59.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:58:59.700Z] [2023-03-13T20:58:59.700Z] Login Succeeded [2023-03-13T20:58:59.700Z] docker.io [2023-03-13T20:58:59.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:58:59.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:58:59.959Z] Configure a credential helper to remove this warning. See [2023-03-13T20:58:59.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:58:59.959Z] [2023-03-13T20:58:59.959Z] Login Succeeded [2023-03-13T20:58:59.959Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T20:58:59.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T20:59:00.620Z] + git rev-list -1 --merges 757f5e285ffe1337c45ee0f2d8852be709980887~1..757f5e285ffe1337c45ee0f2d8852be709980887 [Pipeline] echo [2023-03-13T20:59:00.680Z] -----------> git rev-list -1 --merges 757f5e285ffe1337c45ee0f2d8852be709980887~1..757f5e285ffe1337c45ee0f2d8852be709980887 757f5e285ffe1337c45ee0f2d8852be709980887 [false] [Pipeline] sh [2023-03-13T20:59:00.995Z] + git log --format=format:%s -1 757f5e285ffe1337c45ee0f2d8852be709980887 [Pipeline] echo [2023-03-13T20:59:01.031Z] ========================================================= [2023-03-13T20:59:01.031Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T20:59:01.031Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T20:59:01.460Z] + git log --format=format:%s -1 757f5e285ffe1337c45ee0f2d8852be709980887 [Pipeline] echo [2023-03-13T20:59:01.492Z] [semverPrep] GIT_COMMIT: 757f5e285ffe1337c45ee0f2d8852be709980887, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-13T20:59:01.523Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T20:59:01.891Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T20:59:01.891Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T20:59:01.891Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T20:59:01.891Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T20:59:01.891Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T20:59:01.891Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T20:59:01.891Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T20:59:02.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T20:59:02.323Z] [2023-03-13T20:59:02.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T20:59:02.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T20:59:02.694Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T20:59:02.694Z] b85a868b505f: Pulling fs layer [2023-03-13T20:59:02.694Z] e2be974225ed: Pulling fs layer [2023-03-13T20:59:02.694Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T20:59:02.694Z] 988bab9f4d93: Pulling fs layer [2023-03-13T20:59:02.694Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T20:59:02.694Z] eaf3925da568: Pulling fs layer [2023-03-13T20:59:02.694Z] bab4dde63d76: Pulling fs layer [2023-03-13T20:59:02.694Z] bde34c3a00c8: Pulling fs layer [2023-03-13T20:59:02.694Z] b352a97aabf1: Pulling fs layer [2023-03-13T20:59:02.694Z] 4872d77fe225: Pulling fs layer [2023-03-13T20:59:02.694Z] 988bab9f4d93: Waiting [2023-03-13T20:59:02.694Z] 5851b861e8e6: Pulling fs layer [2023-03-13T20:59:02.694Z] 1469e6f7b9e6: Waiting [2023-03-13T20:59:02.694Z] eaf3925da568: Waiting [2023-03-13T20:59:02.694Z] bde34c3a00c8: Waiting [2023-03-13T20:59:02.694Z] bab4dde63d76: Waiting [2023-03-13T20:59:02.694Z] b352a97aabf1: Waiting [2023-03-13T20:59:02.694Z] 5851b861e8e6: Waiting [2023-03-13T20:59:02.694Z] 4872d77fe225: Waiting [2023-03-13T20:59:02.694Z] e2be974225ed: Download complete [2023-03-13T20:59:02.694Z] 988bab9f4d93: Download complete [2023-03-13T20:59:02.957Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T20:59:02.957Z] eaf3925da568: Download complete [2023-03-13T20:59:02.957Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T20:59:02.957Z] 339a4e72a1f5: Download complete [2023-03-13T20:59:02.957Z] bde34c3a00c8: Download complete [2023-03-13T20:59:02.957Z] b352a97aabf1: Verifying Checksum [2023-03-13T20:59:02.957Z] b352a97aabf1: Download complete [2023-03-13T20:59:02.957Z] 4872d77fe225: Verifying Checksum [2023-03-13T20:59:02.957Z] 4872d77fe225: Download complete [2023-03-13T20:59:02.957Z] b85a868b505f: Verifying Checksum [2023-03-13T20:59:02.957Z] b85a868b505f: Download complete [2023-03-13T20:59:02.957Z] 5851b861e8e6: Download complete [2023-03-13T20:59:03.217Z] bab4dde63d76: Verifying Checksum [2023-03-13T20:59:03.217Z] bab4dde63d76: Download complete [2023-03-13T20:59:04.594Z] b85a868b505f: Pull complete [2023-03-13T20:59:04.594Z] e2be974225ed: Pull complete [2023-03-13T20:59:04.860Z] 339a4e72a1f5: Pull complete [2023-03-13T20:59:05.118Z] 988bab9f4d93: Pull complete [2023-03-13T20:59:05.376Z] 1469e6f7b9e6: Pull complete [2023-03-13T20:59:05.376Z] eaf3925da568: Pull complete [2023-03-13T20:59:07.277Z] bab4dde63d76: Pull complete [2023-03-13T20:59:07.277Z] bde34c3a00c8: Pull complete [2023-03-13T20:59:07.537Z] b352a97aabf1: Pull complete [2023-03-13T20:59:07.537Z] 4872d77fe225: Pull complete [2023-03-13T20:59:07.537Z] 5851b861e8e6: Pull complete [2023-03-13T20:59:07.537Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T20:59:07.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T20:59:07.537Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T20:59:07.757Z] prd-ubuntu20.04-docker-8c-8g-9961 does not seem to be running inside a container [2023-03-13T20:59:07.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-264 -v /w/workspace/gexfoundry_device-rest-go_PR-264:/w/workspace/gexfoundry_device-rest-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-264@tmp:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T20:59:09.654Z] $ docker top 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 -eo pid,comm [2023-03-13T20:59:09.707Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T20:59:09.707Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T20:59:09.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T20:59:09.829Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T20:59:09.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T20:59:09.944Z] $ docker exec 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 ssh-agent [2023-03-13T20:59:10.061Z] SSH_AUTH_SOCK=/tmp/ssh-sSOS4kgDbQqO/agent.32 [2023-03-13T20:59:10.061Z] SSH_AGENT_PID=38 [2023-03-13T20:59:10.067Z] Running ssh-add (command line suppressed) [2023-03-13T20:59:10.171Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-264@tmp/private_key_1262249369675920626.key (/w/workspace/gexfoundry_device-rest-go_PR-264@tmp/private_key_1262249369675920626.key) [2023-03-13T20:59:10.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T20:59:10.520Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T20:59:10.548Z] $ docker exec --env ******** --env ******** 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 ssh-agent -k [2023-03-13T20:59:10.652Z] unset SSH_AUTH_SOCK; [2023-03-13T20:59:10.653Z] unset SSH_AGENT_PID; [2023-03-13T20:59:10.653Z] echo Agent pid 38 killed; [2023-03-13T20:59:10.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T20:59:10.738Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T20:59:10.738Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T20:59:10.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T20:59:10.853Z] $ docker exec 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 ssh-agent [2023-03-13T20:59:10.960Z] SSH_AUTH_SOCK=/tmp/ssh-TRC3BnibnbK9/agent.70 [2023-03-13T20:59:10.960Z] SSH_AGENT_PID=76 [2023-03-13T20:59:10.965Z] Running ssh-add (command line suppressed) [2023-03-13T20:59:11.078Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-264@tmp/private_key_10311204829435206258.key (/w/workspace/gexfoundry_device-rest-go_PR-264@tmp/private_key_10311204829435206258.key) [2023-03-13T20:59:11.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T20:59:11.426Z] + git semver init [2023-03-13T20:59:11.686Z] 2023-03-13 20:59:11,624 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T20:59:11.686Z] 2023-03-13 20:59:11,625 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-264/.semver [2023-03-13T20:59:11.686Z] 2023-03-13 20:59:11,626 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-264/.semver [2023-03-13T20:59:11.686Z] 2023-03-13 20:59:11,626 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-264/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-264, universal_newlines=False, shell=None, istream=None) [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,657 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-264/.git/info/exclude [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,658 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-264/.semver/PR-264 with force:False [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,658 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-264/.semver/PR-264 [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,663 [execute] INFO git cat-file --batch-check [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-264/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,670 [execute] INFO git cat-file --batch [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-264/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T20:59:13.067Z] 2023-03-13 20:59:12,676 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-264/.semver/PR-264 [2023-03-13T20:59:13.067Z] 0.0.0 [Pipeline] } [2023-03-13T20:59:13.093Z] $ docker exec --env ******** --env ******** 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 ssh-agent -k [2023-03-13T20:59:13.190Z] unset SSH_AUTH_SOCK; [2023-03-13T20:59:13.191Z] unset SSH_AGENT_PID; [2023-03-13T20:59:13.191Z] echo Agent pid 76 killed; [2023-03-13T20:59:13.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T20:59:13.624Z] + git semver [Pipeline] } [2023-03-13T20:59:13.919Z] $ docker stop --time=1 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 [2023-03-13T20:59:15.268Z] $ docker rm -f --volumes 6c91597674decd44222fb7ced12e498eb334a1272d24c13bf81b51f1419c1dd9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T20:59:15.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T20:59:15.932Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T20:59:15.951Z] [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 [2023-03-13T20:59:16.523Z] provisioning config files... [2023-03-13T20:59:16.537Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp/config6816072857209267079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T20:59:16.874Z] ---> docker-login.sh [2023-03-13T20:59:16.874Z] nexus3.edgexfoundry.org:10001 [2023-03-13T20:59:16.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:59:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:59:16.874Z] Configure a credential helper to remove this warning. See [2023-03-13T20:59:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:59:16.874Z] [2023-03-13T20:59:16.874Z] Login Succeeded [2023-03-13T20:59:16.874Z] nexus3.edgexfoundry.org:10002 [2023-03-13T20:59:16.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:59:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:59:16.874Z] Configure a credential helper to remove this warning. See [2023-03-13T20:59:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:59:16.874Z] [2023-03-13T20:59:16.874Z] Login Succeeded [2023-03-13T20:59:16.874Z] nexus3.edgexfoundry.org:10003 [2023-03-13T20:59:17.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:59:17.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:59:17.134Z] Configure a credential helper to remove this warning. See [2023-03-13T20:59:17.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:59:17.134Z] [2023-03-13T20:59:17.134Z] Login Succeeded [2023-03-13T20:59:17.134Z] nexus3.edgexfoundry.org:10004 [2023-03-13T20:59:17.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:59:17.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:59:17.134Z] Configure a credential helper to remove this warning. See [2023-03-13T20:59:17.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:59:17.134Z] [2023-03-13T20:59:17.134Z] Login Succeeded [2023-03-13T20:59:17.134Z] docker.io [2023-03-13T20:59:17.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T20:59:17.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T20:59:17.394Z] Configure a credential helper to remove this warning. See [2023-03-13T20:59:17.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T20:59:17.394Z] [2023-03-13T20:59:17.394Z] Login Succeeded [2023-03-13T20:59:17.394Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T20:59:17.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T20:59:17.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T20:59:17.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T20:59:17.662Z] ========================================================= [2023-03-13T20:59:17.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-13T20:59:17.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T20:59:18.125Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T20:59:18.125Z] Sending build context to Docker daemon 10.84MB [2023-03-13T20:59:18.125Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T20:59:18.125Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T20:59:18.125Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T20:59:18.125Z] 63b65145d645: Pulling fs layer [2023-03-13T20:59:18.125Z] a2d21d5440eb: Pulling fs layer [2023-03-13T20:59:18.125Z] 935e6c44a52c: Pulling fs layer [2023-03-13T20:59:18.125Z] 94cc34f8dd06: Pulling fs layer [2023-03-13T20:59:18.125Z] 30dea6a524f1: Pulling fs layer [2023-03-13T20:59:18.125Z] a2aff8979fd8: Pulling fs layer [2023-03-13T20:59:18.125Z] 6808be2612f2: Pulling fs layer [2023-03-13T20:59:18.125Z] f25807f1079a: Pulling fs layer [2023-03-13T20:59:18.125Z] 6808be2612f2: Waiting [2023-03-13T20:59:18.125Z] 94cc34f8dd06: Waiting [2023-03-13T20:59:18.125Z] f25807f1079a: Waiting [2023-03-13T20:59:18.125Z] a2aff8979fd8: Waiting [2023-03-13T20:59:18.125Z] 30dea6a524f1: Waiting [2023-03-13T20:59:18.388Z] a2d21d5440eb: Verifying Checksum [2023-03-13T20:59:18.388Z] a2d21d5440eb: Download complete [2023-03-13T20:59:18.388Z] 94cc34f8dd06: Download complete [2023-03-13T20:59:18.388Z] 30dea6a524f1: Download complete [2023-03-13T20:59:18.388Z] 63b65145d645: Verifying Checksum [2023-03-13T20:59:18.388Z] 63b65145d645: Download complete [2023-03-13T20:59:18.388Z] a2aff8979fd8: Verifying Checksum [2023-03-13T20:59:18.388Z] a2aff8979fd8: Download complete [2023-03-13T20:59:18.388Z] 63b65145d645: Pull complete [2023-03-13T20:59:18.649Z] a2d21d5440eb: Pull complete [2023-03-13T20:59:18.908Z] f25807f1079a: Verifying Checksum [2023-03-13T20:59:18.908Z] f25807f1079a: Download complete [2023-03-13T20:59:18.908Z] 935e6c44a52c: Download complete [2023-03-13T20:59:19.165Z] 6808be2612f2: Verifying Checksum [2023-03-13T20:59:19.165Z] 6808be2612f2: Download complete [2023-03-13T20:59:22.444Z] 935e6c44a52c: Pull complete [2023-03-13T20:59:22.444Z] 94cc34f8dd06: Pull complete [2023-03-13T20:59:22.702Z] 30dea6a524f1: Pull complete [2023-03-13T20:59:22.703Z] a2aff8979fd8: Pull complete [2023-03-13T20:59:25.233Z] 6808be2612f2: Pull complete [2023-03-13T20:59:25.799Z] f25807f1079a: Pull complete [2023-03-13T20:59:25.799Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-13T20:59:25.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-13T20:59:25.799Z] ---> 3b553350e43f [2023-03-13T20:59:25.799Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T20:59:28.383Z] ---> Running in 1265967e2829 [2023-03-13T20:59:28.383Z] Removing intermediate container 1265967e2829 [2023-03-13T20:59:28.383Z] ---> b219af6e8ba7 [2023-03-13T20:59:28.383Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T20:59:28.383Z] ---> Running in b1dc288bbc65 [2023-03-13T20:59:28.383Z] Removing intermediate container b1dc288bbc65 [2023-03-13T20:59:28.383Z] ---> 4e91a7f63913 [2023-03-13T20:59:28.383Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T20:59:28.383Z] ---> Running in a1c52b67ff3e [2023-03-13T20:59:28.383Z] Removing intermediate container a1c52b67ff3e [2023-03-13T20:59:28.383Z] ---> 3c3afe913c0f [2023-03-13T20:59:28.383Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T20:59:28.383Z] ---> Running in 700acf2b2186 [2023-03-13T20:59:28.642Z] Removing intermediate container 700acf2b2186 [2023-03-13T20:59:28.642Z] ---> ac8e099d44cc [2023-03-13T20:59:28.642Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T20:59:28.642Z] ---> Running in 49192559bf61 [2023-03-13T20:59:28.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-13T20:59:28.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-13T20:59:29.159Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-13T20:59:29.159Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-13T20:59:29.159Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-13T20:59:29.159Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-13T20:59:29.159Z] Executing busybox-1.35.0-r29.trigger [2023-03-13T20:59:29.159Z] OK: 269 MiB in 57 packages [2023-03-13T20:59:29.724Z] Removing intermediate container 49192559bf61 [2023-03-13T20:59:29.724Z] ---> 758537f82725 [2023-03-13T20:59:29.724Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-13T20:59:29.724Z] ---> Running in fe92a29e67c1 [2023-03-13T20:59:29.724Z] Removing intermediate container fe92a29e67c1 [2023-03-13T20:59:29.724Z] ---> 8fbdbbe4b52d [2023-03-13T20:59:29.724Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T20:59:29.983Z] ---> 318de7962354 [2023-03-13T20:59:29.983Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T20:59:29.983Z] ---> Running in 0626472e424d [2023-03-13T20:59:31.369Z] Still waiting to schedule task [2023-03-13T20:59:31.369Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-13T20:59:56.541Z] Removing intermediate container 0626472e424d [2023-03-13T20:59:56.541Z] ---> 60aee59a9b09 [2023-03-13T20:59:56.541Z] Step 11/12 : COPY . . [2023-03-13T20:59:56.541Z] ---> 020f68b355dc [2023-03-13T20:59:56.541Z] Step 12/12 : RUN $MAKE [2023-03-13T20:59:56.541Z] ---> Running in 12b95c41e7f8 [2023-03-13T20:59:56.541Z] noop [2023-03-13T20:59:56.541Z] Removing intermediate container 12b95c41e7f8 [2023-03-13T20:59:56.541Z] ---> 7c5326c16360 [2023-03-13T20:59:56.541Z] Successfully built 7c5326c16360 [2023-03-13T20:59:56.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T20:59:56.979Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T20:59:56.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T20:59:57.117Z] prd-ubuntu20.04-docker-8c-8g-9961 does not seem to be running inside a container [2023-03-13T20:59:57.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-264 -v /w/workspace/gexfoundry_device-rest-go_PR-264:/w/workspace/gexfoundry_device-rest-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-264@tmp:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T20:59:57.509Z] $ docker top c59d83c41cae5fb9c4f274506343db39dee7235c278dfd147ff4bdc915ec2f38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T20:59:57.898Z] + go version [2023-03-13T20:59:57.898Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-13T20:59:57.936Z] $ docker stop --time=1 c59d83c41cae5fb9c4f274506343db39dee7235c278dfd147ff4bdc915ec2f38 [2023-03-13T20:59:59.221Z] $ docker rm -f --volumes c59d83c41cae5fb9c4f274506343db39dee7235c278dfd147ff4bdc915ec2f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T20:59:59.915Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T20:59:59.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:00:00.062Z] prd-ubuntu20.04-docker-8c-8g-9961 does not seem to be running inside a container [2023-03-13T21:00:00.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-264 -v /w/workspace/gexfoundry_device-rest-go_PR-264:/w/workspace/gexfoundry_device-rest-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-264@tmp:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T21:00:00.450Z] $ docker top 288045f26d3eb69c4e56f3c95fb9a2b09bfbf535da151995dc301b685368cbf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:00:00.835Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-264 [Pipeline] fileExists [Pipeline] sh [2023-03-13T21:00:01.205Z] + make test [2023-03-13T21:00:01.205Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T21:00:06.474Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-13T21:00:16.443Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-13T21:00:16.443Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.1% of statements [2023-03-13T21:00:24.550Z] go vet ./... [2023-03-13T21:00:27.832Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T21:00:27.832Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T21:00:27.832Z] ./bin/test-attribution-txt.sh [2023-03-13T21:00:27.832Z] An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [Pipeline] echo [2023-03-13T21:00:27.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T21:00:27.898Z] $ docker stop --time=1 288045f26d3eb69c4e56f3c95fb9a2b09bfbf535da151995dc301b685368cbf3 [2023-03-13T21:00:30.206Z] $ docker rm -f --volumes 288045f26d3eb69c4e56f3c95fb9a2b09bfbf535da151995dc301b685368cbf3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T21:00:30.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T21:00:30.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T21:00:31.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T21:00:31.798Z] + ls -al . [2023-03-13T21:00:31.798Z] total 184 [2023-03-13T21:00:31.798Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 21:00 . [2023-03-13T21:00:31.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 20:58 .. [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 20:58 .dockerignore [2023-03-13T21:00:31.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 20:59 .git [2023-03-13T21:00:31.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 20:58 .github [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 20:58 .gitignore [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 20:58 .golangci.yml [2023-03-13T21:00:31.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 20:59 .semver [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 13 20:58 Attribution.txt [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 13 20:58 CHANGELOG.md [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 13 20:58 Dockerfile [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 20:58 GOVERNANCE.md [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 20:58 Jenkinsfile [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 20:58 LICENSE [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 13 20:58 Makefile [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 20:58 OWNERS.md [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 13 20:58 README.md [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 20:59 VERSION [2023-03-13T21:00:31.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 20:58 bin [2023-03-13T21:00:31.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 20:58 cmd [2023-03-13T21:00:31.798Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 13 21:00 coverage.out [2023-03-13T21:00:31.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 20:58 driver [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 13 20:58 go.mod [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 20:58 go.sum [2023-03-13T21:00:31.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 20:58 snap [2023-03-13T21:00:31.798Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:00:32.205Z] + 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=757f5e285ffe1337c45ee0f2d8852be709980887 --label arch=amd64 --label version=0.0.0 . [2023-03-13T21:00:32.205Z] Sending build context to Docker daemon 10.86MB [2023-03-13T21:00:32.205Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T21:00:32.205Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-13T21:00:32.205Z] ---> 7c5326c16360 [2023-03-13T21:00:32.205Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-13T21:00:32.465Z] ---> Running in 498a1a428e79 [2023-03-13T21:00:32.465Z] Removing intermediate container 498a1a428e79 [2023-03-13T21:00:32.465Z] ---> d9aa8a3c34e4 [2023-03-13T21:00:32.465Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T21:00:32.465Z] ---> Running in eb29e9d5642d [2023-03-13T21:00:32.465Z] Removing intermediate container eb29e9d5642d [2023-03-13T21:00:32.466Z] ---> 127d0d2a02c2 [2023-03-13T21:00:32.466Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T21:00:32.466Z] ---> Running in b77a73e87ca5 [2023-03-13T21:00:32.728Z] Removing intermediate container b77a73e87ca5 [2023-03-13T21:00:32.728Z] ---> ae8ef6d6de57 [2023-03-13T21:00:32.728Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T21:00:32.728Z] ---> Running in d95d159004bd [2023-03-13T21:00:32.728Z] Removing intermediate container d95d159004bd [2023-03-13T21:00:32.728Z] ---> 06100fb9811b [2023-03-13T21:00:32.728Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T21:00:32.728Z] ---> Running in ad0c60e07a48 [2023-03-13T21:00:32.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-13T21:00:33.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-13T21:00:33.508Z] OK: 269 MiB in 57 packages [2023-03-13T21:00:33.766Z] Removing intermediate container ad0c60e07a48 [2023-03-13T21:00:33.766Z] ---> 540ab0d8a94f [2023-03-13T21:00:33.766Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-13T21:00:33.766Z] ---> Running in 9c47fb3d780d [2023-03-13T21:00:33.766Z] Removing intermediate container 9c47fb3d780d [2023-03-13T21:00:33.766Z] ---> 717bac5f844f [2023-03-13T21:00:33.766Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-13T21:00:34.024Z] ---> 2b1dec4690ba [2023-03-13T21:00:34.024Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T21:00:34.024Z] ---> Running in fe6482296963 [2023-03-13T21:00:34.960Z] Removing intermediate container fe6482296963 [2023-03-13T21:00:34.960Z] ---> 17e9d033ae0d [2023-03-13T21:00:34.960Z] Step 11/25 : COPY . . [2023-03-13T21:00:35.219Z] ---> ac77df1643b9 [2023-03-13T21:00:35.219Z] Step 12/25 : RUN $MAKE [2023-03-13T21:00:35.219Z] ---> Running in 186aa5b233a5 [2023-03-13T21:00:35.476Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-13T21:00:57.561Z] Removing intermediate container 186aa5b233a5 [2023-03-13T21:00:57.561Z] ---> 9535b5de1550 [2023-03-13T21:00:57.561Z] Step 13/25 : FROM alpine:3.16 [2023-03-13T21:00:57.561Z] 3.16: Pulling from library/alpine [2023-03-13T21:00:57.561Z] ef5531b6e74e: Pulling fs layer [2023-03-13T21:00:57.561Z] ef5531b6e74e: Download complete [2023-03-13T21:00:57.561Z] ef5531b6e74e: Pull complete [2023-03-13T21:00:57.561Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-13T21:00:57.561Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T21:00:57.561Z] ---> dfd21b5a31f5 [2023-03-13T21:00:57.561Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T21:00:57.561Z] ---> Running in f7ee28719be8 [2023-03-13T21:00:57.561Z] Removing intermediate container f7ee28719be8 [2023-03-13T21:00:57.561Z] ---> 897fc97a3ff9 [2023-03-13T21:00:57.561Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-13T21:00:57.561Z] ---> Running in 049e12f89227 [2023-03-13T21:00:57.561Z] Removing intermediate container 049e12f89227 [2023-03-13T21:00:57.561Z] ---> 55fb17382ddf [2023-03-13T21:00:57.561Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-13T21:00:57.561Z] ---> Running in b2593309f268 [2023-03-13T21:00:57.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T21:00:57.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T21:00:57.561Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T21:00:57.561Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T21:00:57.561Z] OK: 6 MiB in 15 packages [2023-03-13T21:00:57.561Z] Removing intermediate container b2593309f268 [2023-03-13T21:00:57.561Z] ---> bea0130673d4 [2023-03-13T21:00:57.561Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-13T21:00:57.561Z] ---> 0784ad0a613c [2023-03-13T21:00:57.561Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-13T21:00:57.561Z] ---> 7aa6a2512522 [2023-03-13T21:00:57.561Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-13T21:00:57.561Z] ---> 9afb2ccbb2c5 [2023-03-13T21:00:57.561Z] Step 20/25 : EXPOSE 59986 [2023-03-13T21:00:57.561Z] ---> Running in 5a100b11544e [2023-03-13T21:00:57.561Z] Removing intermediate container 5a100b11544e [2023-03-13T21:00:57.561Z] ---> 4876c3b749db [2023-03-13T21:00:57.561Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-13T21:00:57.561Z] ---> Running in 0bf524370e4f [2023-03-13T21:00:57.561Z] Removing intermediate container 0bf524370e4f [2023-03-13T21:00:57.561Z] ---> cd06299eef76 [2023-03-13T21:00:57.561Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T21:00:57.561Z] ---> Running in 590fa3fe9896 [2023-03-13T21:00:57.561Z] Removing intermediate container 590fa3fe9896 [2023-03-13T21:00:57.561Z] ---> 88f8160611e8 [2023-03-13T21:00:57.561Z] Step 23/25 : LABEL arch=amd64 [2023-03-13T21:00:57.561Z] ---> Running in 836f74c10590 [2023-03-13T21:00:57.561Z] Removing intermediate container 836f74c10590 [2023-03-13T21:00:57.561Z] ---> d51705abbc24 [2023-03-13T21:00:57.561Z] Step 24/25 : LABEL git_sha=757f5e285ffe1337c45ee0f2d8852be709980887 [2023-03-13T21:00:57.561Z] ---> Running in ba8f39a0bb2c [2023-03-13T21:00:57.561Z] Removing intermediate container ba8f39a0bb2c [2023-03-13T21:00:57.561Z] ---> 63d1cbc80fb4 [2023-03-13T21:00:57.561Z] Step 25/25 : LABEL version=0.0.0 [2023-03-13T21:00:57.561Z] ---> Running in a1eb5b58283a [2023-03-13T21:00:57.561Z] Removing intermediate container a1eb5b58283a [2023-03-13T21:00:57.561Z] ---> 2f8df314b638 [2023-03-13T21:00:57.561Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T21:00:57.561Z] Successfully built 2f8df314b638 [2023-03-13T21:00:57.561Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:00:58.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:00:58.400Z] [2023-03-13T21:00:58.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:00:58.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:00:58.784Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T21:00:58.784Z] 5eb5b503b376: Pulling fs layer [2023-03-13T21:00:58.784Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T21:00:58.784Z] ec43610c2a17: Pulling fs layer [2023-03-13T21:00:58.784Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T21:00:58.784Z] 33b1e0a273af: Pulling fs layer [2023-03-13T21:00:58.784Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T21:00:58.784Z] 2f39f015ded8: Pulling fs layer [2023-03-13T21:00:58.784Z] 5d3b04190fa2: Waiting [2023-03-13T21:00:58.784Z] 3a2ae6a8a46f: Waiting [2023-03-13T21:00:58.784Z] 2f39f015ded8: Waiting [2023-03-13T21:00:58.784Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T21:00:58.784Z] 5c69ac0246d0: Download complete [2023-03-13T21:00:58.784Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T21:00:58.784Z] 3a2ae6a8a46f: Download complete [2023-03-13T21:00:59.042Z] 33b1e0a273af: Verifying Checksum [2023-03-13T21:00:59.042Z] 33b1e0a273af: Download complete [2023-03-13T21:00:59.042Z] 5d3b04190fa2: Download complete [2023-03-13T21:00:59.042Z] ec43610c2a17: Verifying Checksum [2023-03-13T21:00:59.042Z] ec43610c2a17: Download complete [2023-03-13T21:00:59.042Z] 5eb5b503b376: Verifying Checksum [2023-03-13T21:00:59.042Z] 5eb5b503b376: Download complete [2023-03-13T21:00:59.607Z] 2f39f015ded8: Download complete [2023-03-13T21:01:00.540Z] 5eb5b503b376: Pull complete [2023-03-13T21:01:00.540Z] 5c69ac0246d0: Pull complete [2023-03-13T21:01:01.107Z] ec43610c2a17: Pull complete [2023-03-13T21:01:01.107Z] 3a2ae6a8a46f: Pull complete [2023-03-13T21:01:01.122Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9962 in /w/workspace/gexfoundry_device-rest-go_PR-264 [Pipeline] { [Pipeline] ws [2023-03-13T21:01:01.187Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-13T21:01:01.262Z] The recommended git tool is: git [2023-03-13T21:01:01.365Z] 33b1e0a273af: Pull complete [2023-03-13T21:01:01.365Z] 5d3b04190fa2: Pull complete [2023-03-13T21:01:06.328Z] using credential edgex-jenkins-ssh [2023-03-13T21:01:06.348Z] Cloning the remote Git repository [2023-03-13T21:01:06.640Z] 2f39f015ded8: Pull complete [2023-03-13T21:01:06.641Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T21:01:06.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:01:06.641Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:01:06.856Z] prd-ubuntu20.04-docker-8c-8g-9961 does not seem to be running inside a container [2023-03-13T21:01:06.895Z] $ 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-264 -v /w/workspace/gexfoundry_device-rest-go_PR-264:/w/workspace/gexfoundry_device-rest-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-264@tmp:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T21:01:06.390Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T21:01:06.468Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-13T21:01:06.628Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T21:01:06.629Z] > git --version # timeout=10 [2023-03-13T21:01:06.653Z] > git --version # 'git version 2.25.1' [2023-03-13T21:01:06.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T21:01:06.709Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T21:01:08.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-13T21:01:08.633Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T21:01:08.997Z] $ docker top c5ffb5abe911597cb71a3dcf3575039566a1ced56cbfce830e9e2eeaee49d730 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:01:09.454Z] ---> job-cost.sh [2023-03-13T21:01:09.454Z] lf-activate-venv: SKIPPING [2023-03-13T21:01:09.454Z] INFO: No Stack... [2023-03-13T21:01:09.714Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T21:01:09.512Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-13T21:01:09.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T21:01:09.552Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T21:01:09.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/264/head:refs/remotes/origin/PR-264 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T21:01:10.033Z] Merging remotes/origin/main commit 9c5623199907a7486af291752bc308b670b6913e into PR head commit 757f5e285ffe1337c45ee0f2d8852be709980887 [2023-03-13T21:01:10.246Z] Merge succeeded, producing 757f5e285ffe1337c45ee0f2d8852be709980887 [2023-03-13T21:01:10.246Z] Checking out Revision 757f5e285ffe1337c45ee0f2d8852be709980887 (PR-264) [2023-03-13T21:01:10.283Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T21:01:10.598Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-264/archives/cost.csv [2023-03-13T21:01:10.598Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T21:01:10.642Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] [2023-03-13T21:01:10.646Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] did not exist. Created. [2023-03-13T21:01:10.646Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T21:01:10.782Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-13T21:01:10.829Z] > git --version # timeout=10 [2023-03-13T21:01:10.840Z] > git --version # 'git version 2.25.1' [2023-03-13T21:01:10.859Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T21:01:11.034Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T21:01:11.086Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T21:01:11.114Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T21:01:11.195Z] $ docker stop --time=1 c5ffb5abe911597cb71a3dcf3575039566a1ced56cbfce830e9e2eeaee49d730 [2023-03-13T21:01:11.363Z] [2023-03-13T21:01:11.363Z] GitHub has been notified of this commit’s build result [2023-03-13T21:01:11.363Z] [2023-03-13T21:01:10.050Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T21:01:10.065Z] > git checkout -f 757f5e285ffe1337c45ee0f2d8852be709980887 # timeout=10 [2023-03-13T21:01:10.146Z] > git remote # timeout=10 [2023-03-13T21:01:10.165Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T21:01:10.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T21:01:10.196Z] > git merge 9c5623199907a7486af291752bc308b670b6913e # timeout=10 [2023-03-13T21:01:10.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T21:01:10.253Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T21:01:10.269Z] > git checkout -f 757f5e285ffe1337c45ee0f2d8852be709980887 # timeout=10 [2023-03-13T21:01:12.350Z] $ docker rm -f --volumes c5ffb5abe911597cb71a3dcf3575039566a1ced56cbfce830e9e2eeaee49d730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T21:01:13.244Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T21:01:13.244Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T21:01:13.244Z] Dload Upload Total Spent Left Speed [2023-03-13T21:01:13.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh [2023-03-13T21:01:13.925Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T21:01:14.271Z] + sudo tee /etc/docker/daemon.new [2023-03-13T21:01:14.271Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T21:01:14.271Z] { [2023-03-13T21:01:14.271Z] "registry-mirrors": [ [2023-03-13T21:01:14.271Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T21:01:14.271Z] ], [2023-03-13T21:01:14.271Z] "bip": "10.250.0.254/24", [2023-03-13T21:01:14.271Z] "hosts": [ [2023-03-13T21:01:14.271Z] "tcp://0.0.0.0:5555", [2023-03-13T21:01:14.271Z] "unix:///var/run/docker.sock" [2023-03-13T21:01:14.271Z] ], [2023-03-13T21:01:14.271Z] "mtu": 1458, [2023-03-13T21:01:14.271Z] "selinux-enabled": true, [2023-03-13T21:01:14.271Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T21:01:14.271Z] } [Pipeline] sh [2023-03-13T21:01:14.634Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T21:01:14.978Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T21:01:33.295Z] provisioning config files... [2023-03-13T21:01:33.319Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2062523446395297688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:01:33.702Z] ---> docker-login.sh [2023-03-13T21:01:33.702Z] nexus3.edgexfoundry.org:10001 [2023-03-13T21:01:33.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:01:34.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:01:34.243Z] Configure a credential helper to remove this warning. See [2023-03-13T21:01:34.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:01:34.243Z] [2023-03-13T21:01:34.243Z] Login Succeeded [2023-03-13T21:01:34.243Z] nexus3.edgexfoundry.org:10002 [2023-03-13T21:01:34.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:01:34.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:01:34.781Z] Configure a credential helper to remove this warning. See [2023-03-13T21:01:34.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:01:34.781Z] [2023-03-13T21:01:34.781Z] Login Succeeded [2023-03-13T21:01:34.781Z] nexus3.edgexfoundry.org:10003 [2023-03-13T21:01:34.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:01:35.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:01:35.053Z] Configure a credential helper to remove this warning. See [2023-03-13T21:01:35.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:01:35.053Z] [2023-03-13T21:01:35.053Z] Login Succeeded [2023-03-13T21:01:35.053Z] nexus3.edgexfoundry.org:10004 [2023-03-13T21:01:35.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:01:35.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:01:35.324Z] Configure a credential helper to remove this warning. See [2023-03-13T21:01:35.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:01:35.324Z] [2023-03-13T21:01:35.324Z] Login Succeeded [2023-03-13T21:01:35.324Z] docker.io [2023-03-13T21:01:35.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:01:35.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:01:35.859Z] Configure a credential helper to remove this warning. See [2023-03-13T21:01:35.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:01:35.859Z] [2023-03-13T21:01:35.859Z] Login Succeeded [2023-03-13T21:01:35.859Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T21:01:35.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T21:01:36.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T21:01:36.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T21:01:36.353Z] ========================================================= [2023-03-13T21:01:36.353Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-13T21:01:36.353Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:01:36.864Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T21:01:36.864Z] Sending build context to Docker daemon 138.8kB [2023-03-13T21:01:37.136Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T21:01:37.136Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T21:01:37.136Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T21:01:37.136Z] af6eaf76a39c: Pulling fs layer [2023-03-13T21:01:37.136Z] 55522c791124: Pulling fs layer [2023-03-13T21:01:37.136Z] ce5c4a1c91eb: Pulling fs layer [2023-03-13T21:01:37.136Z] 169dfbe0d373: Pulling fs layer [2023-03-13T21:01:37.136Z] e1ff8fa3b103: Pulling fs layer [2023-03-13T21:01:37.136Z] 52ebb69f0ebf: Pulling fs layer [2023-03-13T21:01:37.136Z] 5abe8eddf0d5: Pulling fs layer [2023-03-13T21:01:37.136Z] 169dfbe0d373: Waiting [2023-03-13T21:01:37.136Z] e1ff8fa3b103: Waiting [2023-03-13T21:01:37.136Z] 52ebb69f0ebf: Waiting [2023-03-13T21:01:37.136Z] 5abe8eddf0d5: Waiting [2023-03-13T21:01:37.136Z] 55522c791124: Verifying Checksum [2023-03-13T21:01:37.136Z] 55522c791124: Download complete [2023-03-13T21:01:37.412Z] 169dfbe0d373: Verifying Checksum [2023-03-13T21:01:37.412Z] 169dfbe0d373: Download complete [2023-03-13T21:01:37.412Z] e1ff8fa3b103: Download complete [2023-03-13T21:01:37.412Z] af6eaf76a39c: Download complete [2023-03-13T21:01:38.395Z] af6eaf76a39c: Pull complete [2023-03-13T21:01:38.395Z] 5abe8eddf0d5: Verifying Checksum [2023-03-13T21:01:38.395Z] 5abe8eddf0d5: Download complete [2023-03-13T21:01:38.987Z] 55522c791124: Pull complete [2023-03-13T21:01:39.957Z] 52ebb69f0ebf: Verifying Checksum [2023-03-13T21:01:39.957Z] 52ebb69f0ebf: Download complete [2023-03-13T21:01:39.957Z] ce5c4a1c91eb: Verifying Checksum [2023-03-13T21:01:39.957Z] ce5c4a1c91eb: Download complete [2023-03-13T21:01:52.298Z] ce5c4a1c91eb: Pull complete [2023-03-13T21:01:52.298Z] 169dfbe0d373: Pull complete [2023-03-13T21:01:52.298Z] e1ff8fa3b103: Pull complete [2023-03-13T21:01:57.642Z] 52ebb69f0ebf: Pull complete [2023-03-13T21:01:59.615Z] 5abe8eddf0d5: Pull complete [2023-03-13T21:01:59.615Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-13T21:01:59.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-13T21:01:59.615Z] ---> 6cb57ee374ae [2023-03-13T21:01:59.615Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T21:02:01.036Z] ---> Running in d0a97f78cbb0 [2023-03-13T21:02:01.698Z] Removing intermediate container d0a97f78cbb0 [2023-03-13T21:02:01.698Z] ---> 6d2ddd6ee1cc [2023-03-13T21:02:01.698Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T21:02:01.698Z] ---> Running in 95665043a8e7 [2023-03-13T21:02:02.017Z] Removing intermediate container 95665043a8e7 [2023-03-13T21:02:02.017Z] ---> 8aa4488e5376 [2023-03-13T21:02:02.017Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T21:02:02.017Z] ---> Running in ad4f07c112f4 [2023-03-13T21:02:02.298Z] Removing intermediate container ad4f07c112f4 [2023-03-13T21:02:02.298Z] ---> e8a15fdd0671 [2023-03-13T21:02:02.298Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T21:02:02.582Z] ---> Running in 6bfd4d01ccc6 [2023-03-13T21:02:02.866Z] Removing intermediate container 6bfd4d01ccc6 [2023-03-13T21:02:02.866Z] ---> fd82d12bc10c [2023-03-13T21:02:02.866Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T21:02:02.866Z] ---> Running in 19db40200d7c [2023-03-13T21:02:04.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-13T21:02:04.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-13T21:02:05.519Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-13T21:02:05.519Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-13T21:02:05.519Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-13T21:02:05.786Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-13T21:02:05.786Z] Executing busybox-1.35.0-r29.trigger [2023-03-13T21:02:05.786Z] OK: 268 MiB in 57 packages [2023-03-13T21:02:06.760Z] Removing intermediate container 19db40200d7c [2023-03-13T21:02:06.760Z] ---> b811288aba7b [2023-03-13T21:02:06.760Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-13T21:02:06.760Z] ---> Running in 0d7188c4df72 [2023-03-13T21:02:07.035Z] Removing intermediate container 0d7188c4df72 [2023-03-13T21:02:07.035Z] ---> 1e4d20ad79e7 [2023-03-13T21:02:07.035Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T21:02:07.627Z] ---> aa8eeb785e29 [2023-03-13T21:02:07.627Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T21:02:07.627Z] ---> Running in 7922c654aa06 [2023-03-13T21:03:04.047Z] Removing intermediate container 7922c654aa06 [2023-03-13T21:03:04.048Z] ---> a324d851da32 [2023-03-13T21:03:04.048Z] Step 11/12 : COPY . . [2023-03-13T21:03:04.048Z] ---> 7b99409c88ad [2023-03-13T21:03:04.048Z] Step 12/12 : RUN $MAKE [2023-03-13T21:03:04.048Z] ---> Running in 3076d86fc8a5 [2023-03-13T21:03:04.048Z] noop [2023-03-13T21:03:04.313Z] Removing intermediate container 3076d86fc8a5 [2023-03-13T21:03:04.313Z] ---> 1b52886535ac [2023-03-13T21:03:04.313Z] Successfully built 1b52886535ac [2023-03-13T21:03:04.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:03:04.789Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T21:03:04.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:03:05.044Z] prd-ubuntu20.04-docker-arm64-4c-16g-9962 does not seem to be running inside a container [2023-03-13T21:03:05.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T21:03:07.817Z] $ docker top 61cb9feb1cf3f96192d49ad363742860b20583ff2e9e311e005b14e6744e710b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:03:08.667Z] + go version [2023-03-13T21:03:08.667Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-13T21:03:08.705Z] $ docker stop --time=1 61cb9feb1cf3f96192d49ad363742860b20583ff2e9e311e005b14e6744e710b [2023-03-13T21:03:10.252Z] $ docker rm -f --volumes 61cb9feb1cf3f96192d49ad363742860b20583ff2e9e311e005b14e6744e710b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:03:11.096Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T21:03:11.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:03:11.341Z] prd-ubuntu20.04-docker-arm64-4c-16g-9962 does not seem to be running inside a container [2023-03-13T21:03:11.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T21:03:12.451Z] $ docker top fdb5a322ac659dcf40b6c7a01f30393d013526d18a0b121b77e25c0726bb1760 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:03:12.978Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T21:03:13.359Z] + make test [2023-03-13T21:03:13.359Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T21:03:45.573Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-13T21:05:37.271Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-13T21:05:37.271Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 33.1% of statements [2023-03-13T21:05:37.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T21:05:37.271Z] go vet ./... [2023-03-13T21:06:04.002Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T21:06:04.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T21:06:04.002Z] ./bin/test-attribution-txt.sh [2023-03-13T21:06:04.002Z] An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [Pipeline] echo [2023-03-13T21:06:04.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T21:06:04.075Z] $ docker stop --time=1 fdb5a322ac659dcf40b6c7a01f30393d013526d18a0b121b77e25c0726bb1760 [2023-03-13T21:06:05.979Z] $ docker rm -f --volumes fdb5a322ac659dcf40b6c7a01f30393d013526d18a0b121b77e25c0726bb1760 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T21:06:07.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T21:06:07.247Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T21:06:07.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T21:06:08.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T21:06:08.598Z] + ls -al . [2023-03-13T21:06:08.598Z] total 180 [2023-03-13T21:06:08.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 21:03 . [2023-03-13T21:06:08.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:01 .. [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 21:01 .dockerignore [2023-03-13T21:06:08.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 21:01 .git [2023-03-13T21:06:08.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 21:01 .github [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 21:01 .gitignore [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 21:01 .golangci.yml [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 13 21:01 Attribution.txt [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 13 21:01 CHANGELOG.md [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 13 21:01 Dockerfile [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 21:01 GOVERNANCE.md [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 21:01 Jenkinsfile [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 21:01 LICENSE [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 13 21:01 Makefile [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 21:01 OWNERS.md [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 13 21:01 README.md [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 20:59 VERSION [2023-03-13T21:06:08.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:01 bin [2023-03-13T21:06:08.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 21:01 cmd [2023-03-13T21:06:08.598Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 13 21:05 coverage.out [2023-03-13T21:06:08.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:01 driver [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 13 21:01 go.mod [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 21:01 go.sum [2023-03-13T21:06:08.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:01 snap [2023-03-13T21:06:08.598Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:06:09.012Z] + 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=757f5e285ffe1337c45ee0f2d8852be709980887 --label arch=arm64 --label version=0.0.0 . [2023-03-13T21:06:09.012Z] Sending build context to Docker daemon 153.6kB [2023-03-13T21:06:09.279Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T21:06:09.279Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-13T21:06:09.279Z] ---> 1b52886535ac [2023-03-13T21:06:09.279Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-13T21:06:09.547Z] ---> Running in 18a9117c8246 [2023-03-13T21:06:10.135Z] Removing intermediate container 18a9117c8246 [2023-03-13T21:06:10.135Z] ---> cdb9bb38713b [2023-03-13T21:06:10.135Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T21:06:10.135Z] ---> Running in db4b69694eac [2023-03-13T21:06:10.404Z] Removing intermediate container db4b69694eac [2023-03-13T21:06:10.404Z] ---> bf86e7a5dcee [2023-03-13T21:06:10.404Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T21:06:10.673Z] ---> Running in 9836e4d24dc7 [2023-03-13T21:06:10.942Z] Removing intermediate container 9836e4d24dc7 [2023-03-13T21:06:10.942Z] ---> c4c7ed517f0d [2023-03-13T21:06:10.942Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T21:06:10.942Z] ---> Running in 691603a60846 [2023-03-13T21:06:11.217Z] Removing intermediate container 691603a60846 [2023-03-13T21:06:11.217Z] ---> 038070c4b4e2 [2023-03-13T21:06:11.217Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T21:06:11.496Z] ---> Running in 2c630789221f [2023-03-13T21:06:12.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-13T21:06:13.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-13T21:06:14.465Z] OK: 268 MiB in 57 packages [2023-03-13T21:06:15.428Z] Removing intermediate container 2c630789221f [2023-03-13T21:06:15.428Z] ---> 4249e18df095 [2023-03-13T21:06:15.428Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-13T21:06:15.428Z] ---> Running in 4457f07c3170 [2023-03-13T21:06:15.695Z] Removing intermediate container 4457f07c3170 [2023-03-13T21:06:15.695Z] ---> 7fb6e553b218 [2023-03-13T21:06:15.695Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-13T21:06:16.285Z] ---> ec10be6959d4 [2023-03-13T21:06:16.285Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T21:06:16.285Z] ---> Running in dfa42b50ed96 [2023-03-13T21:06:21.628Z] Removing intermediate container dfa42b50ed96 [2023-03-13T21:06:21.628Z] ---> 8e23c179dc98 [2023-03-13T21:06:21.628Z] Step 11/25 : COPY . . [2023-03-13T21:06:21.628Z] ---> 481f14ec2008 [2023-03-13T21:06:21.628Z] Step 12/25 : RUN $MAKE [2023-03-13T21:06:21.628Z] ---> Running in 2de259ada1a5 [2023-03-13T21:06:23.571Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-13T21:08:30.262Z] Removing intermediate container 2de259ada1a5 [2023-03-13T21:08:30.262Z] ---> 0c7953f07b6d [2023-03-13T21:08:30.262Z] Step 13/25 : FROM alpine:3.16 [2023-03-13T21:08:30.262Z] 3.16: Pulling from library/alpine [2023-03-13T21:08:30.262Z] 3760b48202b3: Pulling fs layer [2023-03-13T21:08:30.262Z] 3760b48202b3: Verifying Checksum [2023-03-13T21:08:30.262Z] 3760b48202b3: Download complete [2023-03-13T21:08:30.529Z] 3760b48202b3: Pull complete [2023-03-13T21:08:30.529Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-13T21:08:30.529Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T21:08:30.529Z] ---> 4c81e5bf8899 [2023-03-13T21:08:30.529Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T21:08:30.529Z] ---> Running in 31cf6d6278dd [2023-03-13T21:08:30.795Z] Removing intermediate container 31cf6d6278dd [2023-03-13T21:08:30.795Z] ---> 8968401c76d8 [2023-03-13T21:08:30.795Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-13T21:08:31.062Z] ---> Running in efdbbf88e014 [2023-03-13T21:08:31.337Z] Removing intermediate container efdbbf88e014 [2023-03-13T21:08:31.337Z] ---> 7e63fa53d686 [2023-03-13T21:08:31.337Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-13T21:08:31.337Z] ---> Running in af9e85a4d560 [2023-03-13T21:08:32.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T21:08:32.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T21:08:33.260Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T21:08:33.260Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T21:08:33.260Z] OK: 5 MiB in 15 packages [2023-03-13T21:08:34.216Z] Removing intermediate container af9e85a4d560 [2023-03-13T21:08:34.216Z] ---> a9fa41444265 [2023-03-13T21:08:34.216Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-13T21:08:35.617Z] ---> ac13c70f38a4 [2023-03-13T21:08:35.617Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-13T21:08:35.883Z] ---> 877af99dc687 [2023-03-13T21:08:35.883Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-13T21:08:36.148Z] ---> 3e6cb7d68c27 [2023-03-13T21:08:36.148Z] Step 20/25 : EXPOSE 59986 [2023-03-13T21:08:36.412Z] ---> Running in 758b4c9c07c1 [2023-03-13T21:08:36.412Z] Removing intermediate container 758b4c9c07c1 [2023-03-13T21:08:36.412Z] ---> d98c5a75b9ae [2023-03-13T21:08:36.412Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-13T21:08:36.677Z] ---> Running in 09c754ef7dfe [2023-03-13T21:08:36.941Z] Removing intermediate container 09c754ef7dfe [2023-03-13T21:08:36.941Z] ---> b4c5fb0e8df2 [2023-03-13T21:08:36.941Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T21:08:36.941Z] ---> Running in ddaecbe70ce2 [2023-03-13T21:08:37.206Z] Removing intermediate container ddaecbe70ce2 [2023-03-13T21:08:37.206Z] ---> 9b134f3271ed [2023-03-13T21:08:37.206Z] Step 23/25 : LABEL arch=arm64 [2023-03-13T21:08:37.206Z] ---> Running in 29264341291c [2023-03-13T21:08:37.472Z] Removing intermediate container 29264341291c [2023-03-13T21:08:37.472Z] ---> 4fa17b9d2b8d [2023-03-13T21:08:37.472Z] Step 24/25 : LABEL git_sha=757f5e285ffe1337c45ee0f2d8852be709980887 [2023-03-13T21:08:37.472Z] ---> Running in bb026b02ae37 [2023-03-13T21:08:37.740Z] Removing intermediate container bb026b02ae37 [2023-03-13T21:08:37.740Z] ---> 0157b856e5d3 [2023-03-13T21:08:37.740Z] Step 25/25 : LABEL version=0.0.0 [2023-03-13T21:08:38.004Z] ---> Running in edb3fa28cf0d [2023-03-13T21:08:38.004Z] Removing intermediate container edb3fa28cf0d [2023-03-13T21:08:38.004Z] ---> 51708a3aa5bd [2023-03-13T21:08:38.004Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T21:08:38.004Z] Successfully built 51708a3aa5bd [2023-03-13T21:08:38.004Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:08:39.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T21:08:39.177Z] [2023-03-13T21:08:39.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:08:39.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T21:08:39.605Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T21:08:39.605Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T21:08:39.605Z] 04944245beec: Pulling fs layer [2023-03-13T21:08:39.605Z] 699f458cf7ca: Pulling fs layer [2023-03-13T21:08:39.605Z] 765212b225bb: Pulling fs layer [2023-03-13T21:08:39.605Z] f23df028b6ca: Pulling fs layer [2023-03-13T21:08:39.605Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T21:08:39.605Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T21:08:39.605Z] f23df028b6ca: Waiting [2023-03-13T21:08:39.605Z] d65c8cfc05b1: Waiting [2023-03-13T21:08:39.605Z] 2437ff75d9bd: Waiting [2023-03-13T21:08:39.605Z] 765212b225bb: Waiting [2023-03-13T21:08:39.875Z] 04944245beec: Verifying Checksum [2023-03-13T21:08:39.875Z] 04944245beec: Download complete [2023-03-13T21:08:39.875Z] 765212b225bb: Verifying Checksum [2023-03-13T21:08:39.875Z] 765212b225bb: Download complete [2023-03-13T21:08:39.875Z] f23df028b6ca: Verifying Checksum [2023-03-13T21:08:39.875Z] f23df028b6ca: Download complete [2023-03-13T21:08:39.875Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T21:08:39.875Z] d65c8cfc05b1: Download complete [2023-03-13T21:08:39.875Z] 699f458cf7ca: Verifying Checksum [2023-03-13T21:08:39.875Z] 699f458cf7ca: Download complete [2023-03-13T21:08:40.457Z] 8998bd30e6a1: Download complete [2023-03-13T21:08:42.552Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T21:08:42.552Z] 2437ff75d9bd: Download complete [2023-03-13T21:08:44.556Z] 8998bd30e6a1: Pull complete [2023-03-13T21:08:44.832Z] 04944245beec: Pull complete [2023-03-13T21:08:46.237Z] 699f458cf7ca: Pull complete [2023-03-13T21:08:46.503Z] 765212b225bb: Pull complete [2023-03-13T21:08:47.087Z] f23df028b6ca: Pull complete [2023-03-13T21:08:47.352Z] d65c8cfc05b1: Pull complete [2023-03-13T21:09:02.329Z] 2437ff75d9bd: Pull complete [2023-03-13T21:09:02.329Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T21:09:02.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T21:09:02.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:09:02.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-9962 does not seem to be running inside a container [2023-03-13T21:09:02.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T21:09:05.086Z] $ docker top 86de51e31d8d470080604f8de55a76710d4dd80f67d190e4d1f1eb1a6c51989e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:05.636Z] ---> job-cost.sh [2023-03-13T21:09:05.903Z] lf-activate-venv: SKIPPING [2023-03-13T21:09:05.903Z] INFO: No Stack... [2023-03-13T21:09:06.168Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T21:09:07.119Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T21:09:07.454Z] + cut -d, -f6 [2023-03-13T21:09:07.455Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-03-13T21:09:07.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] [2023-03-13T21:09:07.546Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] did not exist. Created. [2023-03-13T21:09:07.546Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T21:09:07.953Z] /w/workspace/device-rest-go/1@tmp/durable-423e107e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T21:09:08.300Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T21:09:08.336Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T21:09:08.382Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T21:09:08.396Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-264-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T21:09:08.475Z] $ docker stop --time=1 86de51e31d8d470080604f8de55a76710d4dd80f67d190e4d1f1eb1a6c51989e [2023-03-13T21:09:09.916Z] $ docker rm -f --volumes 86de51e31d8d470080604f8de55a76710d4dd80f67d190e4d1f1eb1a6c51989e [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 [2023-03-13T21:09:10.853Z] provisioning config files... [2023-03-13T21:09:10.863Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp/config14185928569369884532tmp [Pipeline] { [Pipeline] sh [2023-03-13T21:09:11.204Z] + set +x [2023-03-13T21:09:11.204Z] + curl -s https://codecov.io/bash [2023-03-13T21:09:11.204Z] + bash -s -- [2023-03-13T21:09:11.204Z] [2023-03-13T21:09:11.204Z] _____ _ [2023-03-13T21:09:11.204Z] / ____| | | [2023-03-13T21:09:11.204Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T21:09:11.204Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T21:09:11.204Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T21:09:11.204Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T21:09:11.204Z] Bash-1.0.6 [2023-03-13T21:09:11.204Z] [2023-03-13T21:09:11.204Z] [2023-03-13T21:09:11.204Z] ==> git version 2.25.1 found [2023-03-13T21:09:11.204Z] ==> 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 [2023-03-13T21:09:11.204Z] Release-Date: 2020-01-08 [2023-03-13T21:09:11.204Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-13T21:09:11.204Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T21:09:11.204Z] ==> Jenkins CI detected. [2023-03-13T21:09:11.204Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-264 [2023-03-13T21:09:11.204Z] project root: . [2023-03-13T21:09:11.204Z] --> token set from env [2023-03-13T21:09:11.204Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T21:09:11.204Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T21:09:11.204Z] ==> Python coveragepy not found [2023-03-13T21:09:11.204Z] ==> Searching for coverage reports in: [2023-03-13T21:09:11.204Z] + . [2023-03-13T21:09:11.204Z] -> Found 1 reports [2023-03-13T21:09:11.204Z] ==> Detecting git/mercurial file structure [2023-03-13T21:09:11.204Z] ==> Reading reports [2023-03-13T21:09:11.204Z] + ./coverage.out bytes=14200 [2023-03-13T21:09:11.463Z] ==> Appending adjustments [2023-03-13T21:09:11.463Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T21:09:11.463Z] + Found adjustments [2023-03-13T21:09:11.463Z] ==> Gzipping contents [2023-03-13T21:09:11.463Z] 4.0K /tmp/codecov.Cl2WYT.gz [2023-03-13T21:09:11.463Z] ==> Uploading reports [2023-03-13T21:09:11.463Z] url: https://codecov.io [2023-03-13T21:09:11.463Z] query: branch=PR-264&commit=757f5e285ffe1337c45ee0f2d8852be709980887&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-264%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=264&job=&cmd_args= [2023-03-13T21:09:11.463Z] -> Pinging Codecov [2023-03-13T21:09:11.463Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-264&commit=757f5e285ffe1337c45ee0f2d8852be709980887&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-264%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=264&job=&cmd_args= [2023-03-13T21:09:11.463Z] -> Uploading to [2023-03-13T21:09:11.463Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/4E5D53B4F1F92C436F7061BF334D961C/757f5e285ffe1337c45ee0f2d8852be709980887/ee1c5030-46a2-4c3a-8ae4-e9bb47d25dfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T210911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f1501d0869d184b9c54899e09df88c7898f231c1eb8bff2c887986151d82249 [2023-03-13T21:09:11.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T21:09:11.723Z] Dload Upload Total Spent Left Speed [2023-03-13T21:09:11.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 11153 --:--:-- --:--:-- --:--:-- 11103 100 2465 0 0 100 2465 0 9628 --:--:-- --:--:-- --:--:-- 9591 [2023-03-13T21:09:11.982Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/757f5e285ffe1337c45ee0f2d8852be709980887 [Pipeline] } [2023-03-13T21:09:12.009Z] 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 [2023-03-13T21:09:13.751Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-264/archives ] [2023-03-13T21:09:13.751Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-264/archives [2023-03-13T21:09:13.751Z] total 16 [2023-03-13T21:09:13.751Z] drwxr-xr-x 3 root root 4096 Mar 13 21:01 . [2023-03-13T21:09:13.751Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 21:01 .. [2023-03-13T21:09:13.751Z] drwxr-xr-x 2 root root 4096 Mar 13 21:01 cost [2023-03-13T21:09:13.751Z] -rw-r--r-- 1 root root 86 Mar 13 21:01 cost.csv [2023-03-13T21:09:13.751Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-264/archives [2023-03-13T21:09:13.751Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-264/archives [2023-03-13T21:09:13.751Z] total 16 [2023-03-13T21:09:13.751Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 21:01 . [2023-03-13T21:09:13.751Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 21:01 .. [2023-03-13T21:09:13.751Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 21:01 cost [2023-03-13T21:09:13.751Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:14.073Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:14.961Z] ---> package-listing.sh [2023-03-13T21:09:14.961Z] ++ facter osfamily [2023-03-13T21:09:14.961Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T21:09:15.220Z] + OS_FAMILY=debian [2023-03-13T21:09:15.220Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-264 [2023-03-13T21:09:15.220Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T21:09:15.220Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T21:09:15.220Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T21:09:15.220Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T21:09:15.220Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-264 ']' [2023-03-13T21:09:15.220Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T21:09:15.220Z] + case "${OS_FAMILY}" in [2023-03-13T21:09:15.220Z] + dpkg -l [2023-03-13T21:09:15.220Z] + grep '^ii' [2023-03-13T21:09:15.220Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T21:09:15.220Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T21:09:15.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T21:09:15.220Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-264 ']' [2023-03-13T21:09:15.220Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-264/archives/ [2023-03-13T21:09:15.220Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-264/archives/ [Pipeline] echo [2023-03-13T21:09:15.257Z] 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-264/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T21:09:15.547Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:09:16.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:09:16.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:09:16.323Z] prd-ubuntu20.04-docker-8c-8g-9961 does not seem to be running inside a container [2023-03-13T21:09:16.357Z] $ 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-264/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-264 -v /w/workspace/gexfoundry_device-rest-go_PR-264:/w/workspace/gexfoundry_device-rest-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-264@tmp:/w/workspace/gexfoundry_device-rest-go_PR-264@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 [2023-03-13T21:09:16.542Z] $ docker top b3778fbc82f3908701893306a4e8f2b9d914fccc817a5e05bcd442fc18e196cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:09:16.924Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T21:09:17.233Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T21:09:17.543Z] + ls /var/log/sa-host [2023-03-13T21:09:17.543Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T21:09:17.773Z] provisioning config files... [2023-03-13T21:09:17.782Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-264@tmp/config16528163644212903363tmp [Pipeline] { [Pipeline] echo [2023-03-13T21:09:17.833Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:18.149Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T21:09:18.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:18.596Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T21:09:18.639Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:18.950Z] ---> sudo-logs.sh [2023-03-13T21:09:18.950Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T21:09:19.049Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:19.356Z] ---> job-cost.sh [2023-03-13T21:09:19.357Z] lf-activate-venv: SKIPPING [2023-03-13T21:09:19.357Z] DEBUG: total: 0.2199999988079071 [2023-03-13T21:09:19.357Z] INFO: Retrieving Stack Cost... [2023-03-13T21:09:19.926Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T21:09:20.185Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T21:09:20.215Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:09:20.522Z] ---> logs-deploy.sh [2023-03-13T21:09:20.522Z] lf-activate-venv: SKIPPING [2023-03-13T21:09:20.522Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-264/1 [2023-03-13T21:09:20.522Z] INFO: archiving workspace using pattern(s): [2023-03-13T21:09:21.459Z] Archives upload complete. [2023-03-13T21:09:21.459Z] INFO: archiving logs to Nexus