Pull request #275 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Obtained Jenkinsfile from b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb+e28169b2e94fb685934981c338b1a6a24f9d6fce (cacd8e751d7ea446b6facdf1d8e29c41993c58e9) 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-ssh128887764202339198.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-ssh3761525496557810836.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-275/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-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12013373178502503025.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-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12488575194796551511.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-ssh201666181299589065.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-275/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-275/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4179741878363524222.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4836 in /w/workspace/gexfoundry_device-rest-go_PR-275 [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-275 # 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/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb Merge succeeded, producing b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb Checking out Revision b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb (PR-275) > git config core.sparsecheckout # timeout=10 > git checkout -f b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb # 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 e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" 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-21T12:02:25.897Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T12:02:26.079Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T12:02:26.181Z] ========================================================= [2023-03-21T12:02:26.181Z] EdgeX Global Pipelines Version Info [2023-03-21T12:02:26.181Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:02:26.918Z] ------------------- [2023-03-21T12:02:26.918Z] stable info: [2023-03-21T12:02:26.918Z] ------------------- [2023-03-21T12:02:26.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T12:02:26.918Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T12:02:26.918Z] Message: update stable to v1.0.245 [2023-03-21T12:02:27.486Z] ------------------- [2023-03-21T12:02:27.486Z] experimental info: [2023-03-21T12:02:27.486Z] ------------------- [2023-03-21T12:02:27.486Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T12:02:27.486Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T12:02:27.486Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T12:02:27.781Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T12:02:27.826Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T12:02:27.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T12:02:27.909Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T12:02:27.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T12:02:27.990Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T12:02:28.027Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T12:02:28.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T12:02:28.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T12:02:28.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T12:02:28.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T12:02:28.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T12:02:28.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T12:02:28.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T12:02:28.350Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T12:02:28.391Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T12:02:28.431Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T12:02:28.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T12:02:28.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T12:02:28.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T12:02:28.591Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T12:02:28.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T12:02:28.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T12:02:28.722Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T12:02:28.768Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T12:02:28.810Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T12:02:28.850Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T12:02:28.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo [2023-03-21T12:02:28.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo [2023-03-21T12:02:28.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo [2023-03-21T12:02:29.027Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [Pipeline] echo [2023-03-21T12:02:29.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4eaadd [Pipeline] echo [2023-03-21T12:02:29.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T12:02:29.229Z] provisioning config files... [2023-03-21T12:02:29.242Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp/config1585054865774715237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:02:29.588Z] ---> docker-login.sh [2023-03-21T12:02:29.588Z] nexus3.edgexfoundry.org:10001 [2023-03-21T12:02:29.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:29.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:29.847Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:29.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:29.847Z] [2023-03-21T12:02:29.847Z] Login Succeeded [2023-03-21T12:02:29.847Z] nexus3.edgexfoundry.org:10002 [2023-03-21T12:02:29.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:29.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:29.847Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:29.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:29.847Z] [2023-03-21T12:02:29.847Z] Login Succeeded [2023-03-21T12:02:29.847Z] nexus3.edgexfoundry.org:10003 [2023-03-21T12:02:30.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:30.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:30.106Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:30.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:30.106Z] [2023-03-21T12:02:30.106Z] Login Succeeded [2023-03-21T12:02:30.106Z] nexus3.edgexfoundry.org:10004 [2023-03-21T12:02:30.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:30.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:30.106Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:30.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:30.106Z] [2023-03-21T12:02:30.106Z] Login Succeeded [2023-03-21T12:02:30.106Z] docker.io [2023-03-21T12:02:30.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:30.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:30.366Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:30.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:30.366Z] [2023-03-21T12:02:30.366Z] Login Succeeded [2023-03-21T12:02:30.366Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T12:02:30.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T12:02:31.025Z] + git rev-list -1 --merges b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb~1..b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [Pipeline] echo [2023-03-21T12:02:31.091Z] -----------> git rev-list -1 --merges b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb~1..b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [false] [Pipeline] sh [2023-03-21T12:02:31.398Z] + git log --format=format:%s -1 b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [Pipeline] echo [2023-03-21T12:02:31.434Z] ========================================================= [2023-03-21T12:02:31.434Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T12:02:31.434Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T12:02:31.863Z] + git log --format=format:%s -1 b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [Pipeline] echo [2023-03-21T12:02:31.894Z] [semverPrep] GIT_COMMIT: b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-21T12:02:31.923Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T12:02:32.288Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T12:02:32.288Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T12:02:32.288Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T12:02:32.288Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T12:02:32.288Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T12:02:32.288Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T12:02:32.288Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:02:32.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T12:02:32.719Z] [2023-03-21T12:02:32.719Z] 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-21T12:02:33.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T12:02:33.098Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T12:02:33.098Z] b85a868b505f: Pulling fs layer [2023-03-21T12:02:33.098Z] e2be974225ed: Pulling fs layer [2023-03-21T12:02:33.098Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T12:02:33.098Z] 988bab9f4d93: Pulling fs layer [2023-03-21T12:02:33.098Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T12:02:33.098Z] eaf3925da568: Pulling fs layer [2023-03-21T12:02:33.098Z] bab4dde63d76: Pulling fs layer [2023-03-21T12:02:33.098Z] bde34c3a00c8: Pulling fs layer [2023-03-21T12:02:33.098Z] b352a97aabf1: Pulling fs layer [2023-03-21T12:02:33.098Z] 4872d77fe225: Pulling fs layer [2023-03-21T12:02:33.098Z] 5851b861e8e6: Pulling fs layer [2023-03-21T12:02:33.098Z] bab4dde63d76: Waiting [2023-03-21T12:02:33.098Z] bde34c3a00c8: Waiting [2023-03-21T12:02:33.098Z] b352a97aabf1: Waiting [2023-03-21T12:02:33.098Z] 4872d77fe225: Waiting [2023-03-21T12:02:33.098Z] 5851b861e8e6: Waiting [2023-03-21T12:02:33.098Z] 988bab9f4d93: Waiting [2023-03-21T12:02:33.098Z] 1469e6f7b9e6: Waiting [2023-03-21T12:02:33.098Z] eaf3925da568: Waiting [2023-03-21T12:02:33.098Z] e2be974225ed: Verifying Checksum [2023-03-21T12:02:33.098Z] e2be974225ed: Download complete [2023-03-21T12:02:33.098Z] 988bab9f4d93: Download complete [2023-03-21T12:02:33.360Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T12:02:33.361Z] 339a4e72a1f5: Download complete [2023-03-21T12:02:33.361Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T12:02:33.361Z] 1469e6f7b9e6: Download complete [2023-03-21T12:02:33.361Z] eaf3925da568: Verifying Checksum [2023-03-21T12:02:33.361Z] bde34c3a00c8: Verifying Checksum [2023-03-21T12:02:33.361Z] bde34c3a00c8: Download complete [2023-03-21T12:02:33.361Z] b352a97aabf1: Verifying Checksum [2023-03-21T12:02:33.361Z] b352a97aabf1: Download complete [2023-03-21T12:02:33.361Z] 4872d77fe225: Verifying Checksum [2023-03-21T12:02:33.361Z] 4872d77fe225: Download complete [2023-03-21T12:02:33.361Z] 5851b861e8e6: Verifying Checksum [2023-03-21T12:02:33.361Z] 5851b861e8e6: Download complete [2023-03-21T12:02:33.361Z] b85a868b505f: Verifying Checksum [2023-03-21T12:02:33.361Z] b85a868b505f: Download complete [2023-03-21T12:02:33.621Z] bab4dde63d76: Verifying Checksum [2023-03-21T12:02:33.621Z] bab4dde63d76: Download complete [2023-03-21T12:02:34.561Z] b85a868b505f: Pull complete [2023-03-21T12:02:34.821Z] e2be974225ed: Pull complete [2023-03-21T12:02:35.388Z] 339a4e72a1f5: Pull complete [2023-03-21T12:02:35.388Z] 988bab9f4d93: Pull complete [2023-03-21T12:02:35.647Z] 1469e6f7b9e6: Pull complete [2023-03-21T12:02:35.907Z] eaf3925da568: Pull complete [2023-03-21T12:02:37.811Z] bab4dde63d76: Pull complete [2023-03-21T12:02:37.811Z] bde34c3a00c8: Pull complete [2023-03-21T12:02:37.811Z] b352a97aabf1: Pull complete [2023-03-21T12:02:37.811Z] 4872d77fe225: Pull complete [2023-03-21T12:02:38.071Z] 5851b861e8e6: Pull complete [2023-03-21T12:02:38.071Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T12:02:38.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T12:02:38.071Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:02:38.299Z] prd-ubuntu20.04-docker-8c-8g-4836 does not seem to be running inside a container [2023-03-21T12:02:38.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-275 -v /w/workspace/gexfoundry_device-rest-go_PR-275:/w/workspace/gexfoundry_device-rest-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-275@tmp:/w/workspace/gexfoundry_device-rest-go_PR-275@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-devops/py-git-semver:0.1.4 cat [2023-03-21T12:02:39.728Z] $ docker top 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 -eo pid,comm [2023-03-21T12:02:39.784Z] 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-21T12:02:39.784Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T12:02:39.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T12:02:39.908Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T12:02:40.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T12:02:40.037Z] $ docker exec 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 ssh-agent [2023-03-21T12:02:40.158Z] SSH_AUTH_SOCK=/tmp/ssh-uiHFqchIUCH7/agent.32 [2023-03-21T12:02:40.158Z] SSH_AGENT_PID=38 [2023-03-21T12:02:40.208Z] Running ssh-add (command line suppressed) [2023-03-21T12:02:40.314Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-275@tmp/private_key_2179201401653763768.key (/w/workspace/gexfoundry_device-rest-go_PR-275@tmp/private_key_2179201401653763768.key) [2023-03-21T12:02:40.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T12:02:40.659Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T12:02:40.690Z] $ docker exec --env ******** --env ******** 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 ssh-agent -k [2023-03-21T12:02:40.798Z] unset SSH_AUTH_SOCK; [2023-03-21T12:02:40.798Z] unset SSH_AGENT_PID; [2023-03-21T12:02:40.798Z] echo Agent pid 38 killed; [2023-03-21T12:02:40.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T12:02:40.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T12:02:40.906Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T12:02:41.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T12:02:41.030Z] $ docker exec 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 ssh-agent [2023-03-21T12:02:41.134Z] SSH_AUTH_SOCK=/tmp/ssh-sJD7ROBbbSas/agent.69 [2023-03-21T12:02:41.134Z] SSH_AGENT_PID=75 [2023-03-21T12:02:41.139Z] Running ssh-add (command line suppressed) [2023-03-21T12:02:41.253Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-275@tmp/private_key_7207338614222512884.key (/w/workspace/gexfoundry_device-rest-go_PR-275@tmp/private_key_7207338614222512884.key) [2023-03-21T12:02:41.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T12:02:41.590Z] + git semver init [2023-03-21T12:02:41.851Z] 2023-03-21 12:02:41,800 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T12:02:41.851Z] 2023-03-21 12:02:41,801 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-275/.semver [2023-03-21T12:02:41.851Z] 2023-03-21 12:02:41,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-275/.semver [2023-03-21T12:02:41.851Z] 2023-03-21 12:02:41,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-275/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-275, universal_newlines=False, shell=None, istream=None) [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,743 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-275/.git/info/exclude [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,744 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-275/.semver/PR-275 with force:False [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,744 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-275/.semver/PR-275 [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,748 [execute] INFO git cat-file --batch-check [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-275/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,755 [execute] INFO git cat-file --batch [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-275/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T12:02:42.790Z] 2023-03-21 12:02:42,759 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-275/.semver/PR-275 [2023-03-21T12:02:42.790Z] 0.0.0 [Pipeline] } [2023-03-21T12:02:42.821Z] $ docker exec --env ******** --env ******** 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 ssh-agent -k [2023-03-21T12:02:42.922Z] unset SSH_AUTH_SOCK; [2023-03-21T12:02:42.923Z] unset SSH_AGENT_PID; [2023-03-21T12:02:42.924Z] echo Agent pid 75 killed; [2023-03-21T12:02:42.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T12:02:43.342Z] + git semver [Pipeline] } [2023-03-21T12:02:43.627Z] $ docker stop --time=1 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 [2023-03-21T12:02:44.940Z] $ docker rm -f --volumes 7f449a835d25046d635234499d1fc3b74b86745b03f2c6e40dbc21a79f4f9a27 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T12:02:45.347Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T12:02:45.609Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T12:02:45.625Z] [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-21T12:02:46.215Z] provisioning config files... [2023-03-21T12:02:46.234Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp/config12718715278026791778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:02:46.578Z] ---> docker-login.sh [2023-03-21T12:02:46.578Z] nexus3.edgexfoundry.org:10001 [2023-03-21T12:02:46.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:46.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:46.578Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:46.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:46.578Z] [2023-03-21T12:02:46.578Z] Login Succeeded [2023-03-21T12:02:46.578Z] nexus3.edgexfoundry.org:10002 [2023-03-21T12:02:46.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:46.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:46.578Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:46.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:46.578Z] [2023-03-21T12:02:46.578Z] Login Succeeded [2023-03-21T12:02:46.578Z] nexus3.edgexfoundry.org:10003 [2023-03-21T12:02:46.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:46.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:46.838Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:46.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:46.838Z] [2023-03-21T12:02:46.838Z] Login Succeeded [2023-03-21T12:02:46.838Z] nexus3.edgexfoundry.org:10004 [2023-03-21T12:02:46.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:46.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:46.838Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:46.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:46.838Z] [2023-03-21T12:02:46.838Z] Login Succeeded [2023-03-21T12:02:46.838Z] docker.io [2023-03-21T12:02:47.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:02:47.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:02:47.098Z] Configure a credential helper to remove this warning. See [2023-03-21T12:02:47.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:02:47.098Z] [2023-03-21T12:02:47.098Z] Login Succeeded [2023-03-21T12:02:47.098Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T12:02:47.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T12:02:47.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:02:47.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:02:47.387Z] ========================================================= [2023-03-21T12:02:47.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T12:02:47.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:02:47.860Z] + 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-21T12:02:47.861Z] Sending build context to Docker daemon 10.87MB [2023-03-21T12:02:47.861Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:02:47.861Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T12:02:47.861Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T12:02:47.861Z] 63b65145d645: Pulling fs layer [2023-03-21T12:02:47.861Z] a2d21d5440eb: Pulling fs layer [2023-03-21T12:02:47.861Z] 935e6c44a52c: Pulling fs layer [2023-03-21T12:02:47.861Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T12:02:47.861Z] 30dea6a524f1: Pulling fs layer [2023-03-21T12:02:47.861Z] a2aff8979fd8: Pulling fs layer [2023-03-21T12:02:47.861Z] 6808be2612f2: Pulling fs layer [2023-03-21T12:02:47.861Z] f25807f1079a: Pulling fs layer [2023-03-21T12:02:47.861Z] 6808be2612f2: Waiting [2023-03-21T12:02:47.861Z] a2aff8979fd8: Waiting [2023-03-21T12:02:47.861Z] 94cc34f8dd06: Waiting [2023-03-21T12:02:47.861Z] f25807f1079a: Waiting [2023-03-21T12:02:47.861Z] 30dea6a524f1: Waiting [2023-03-21T12:02:47.861Z] a2d21d5440eb: Download complete [2023-03-21T12:02:48.135Z] 94cc34f8dd06: Download complete [2023-03-21T12:02:48.135Z] 30dea6a524f1: Download complete [2023-03-21T12:02:48.135Z] 63b65145d645: Verifying Checksum [2023-03-21T12:02:48.135Z] 63b65145d645: Download complete [2023-03-21T12:02:48.135Z] a2aff8979fd8: Verifying Checksum [2023-03-21T12:02:48.135Z] a2aff8979fd8: Download complete [2023-03-21T12:02:48.399Z] 63b65145d645: Pull complete [2023-03-21T12:02:48.399Z] a2d21d5440eb: Pull complete [2023-03-21T12:02:48.660Z] f25807f1079a: Verifying Checksum [2023-03-21T12:02:48.660Z] f25807f1079a: Download complete [2023-03-21T12:02:48.660Z] 935e6c44a52c: Verifying Checksum [2023-03-21T12:02:48.660Z] 935e6c44a52c: Download complete [2023-03-21T12:02:49.228Z] 6808be2612f2: Verifying Checksum [2023-03-21T12:02:49.228Z] 6808be2612f2: Download complete [2023-03-21T12:02:52.516Z] 935e6c44a52c: Pull complete [2023-03-21T12:02:52.516Z] 94cc34f8dd06: Pull complete [2023-03-21T12:02:52.516Z] 30dea6a524f1: Pull complete [2023-03-21T12:02:52.516Z] a2aff8979fd8: Pull complete [2023-03-21T12:02:55.043Z] 6808be2612f2: Pull complete [2023-03-21T12:02:55.301Z] f25807f1079a: Pull complete [2023-03-21T12:02:55.301Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T12:02:55.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T12:02:55.301Z] ---> 3b553350e43f [2023-03-21T12:02:55.301Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:02:57.203Z] ---> Running in 956be15fc78f [2023-03-21T12:02:57.203Z] Removing intermediate container 956be15fc78f [2023-03-21T12:02:57.203Z] ---> 2247763614ca [2023-03-21T12:02:57.203Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:02:57.203Z] ---> Running in 7e811d238967 [2023-03-21T12:02:57.462Z] Removing intermediate container 7e811d238967 [2023-03-21T12:02:57.462Z] ---> 566dcdd1c938 [2023-03-21T12:02:57.462Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T12:02:57.462Z] ---> Running in 7e2d3de827cc [2023-03-21T12:02:57.462Z] Removing intermediate container 7e2d3de827cc [2023-03-21T12:02:57.462Z] ---> 9c9fc3d746a1 [2023-03-21T12:02:57.462Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:02:57.722Z] ---> Running in 6d0e0705f0fc [2023-03-21T12:02:57.722Z] Removing intermediate container 6d0e0705f0fc [2023-03-21T12:02:57.722Z] ---> 9bc2fd720a77 [2023-03-21T12:02:57.722Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:02:57.722Z] ---> Running in e7c618a0bbd9 [2023-03-21T12:02:57.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T12:02:58.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T12:02:58.498Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T12:02:58.498Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T12:02:58.498Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T12:02:58.498Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T12:02:58.498Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T12:02:58.498Z] OK: 269 MiB in 57 packages [2023-03-21T12:02:59.067Z] Removing intermediate container e7c618a0bbd9 [2023-03-21T12:02:59.067Z] ---> 2326597d88b2 [2023-03-21T12:02:59.067Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T12:02:59.067Z] ---> Running in 94a5af8af462 [2023-03-21T12:02:59.067Z] Removing intermediate container 94a5af8af462 [2023-03-21T12:02:59.067Z] ---> dc19ad7f5f11 [2023-03-21T12:02:59.067Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T12:02:59.328Z] ---> 5be34c48ff16 [2023-03-21T12:02:59.328Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:02:59.328Z] ---> Running in f85dbc219120 [2023-03-21T12:03:01.039Z] Still waiting to schedule task [2023-03-21T12:03:01.039Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-21T12:03:25.886Z] Removing intermediate container f85dbc219120 [2023-03-21T12:03:25.886Z] ---> a795ca0e62cd [2023-03-21T12:03:25.886Z] Step 11/12 : COPY . . [2023-03-21T12:03:25.886Z] ---> 9f7fe4d8b935 [2023-03-21T12:03:25.886Z] Step 12/12 : RUN $MAKE [2023-03-21T12:03:25.886Z] ---> Running in 8710defc0461 [2023-03-21T12:03:25.886Z] noop [2023-03-21T12:03:25.886Z] Removing intermediate container 8710defc0461 [2023-03-21T12:03:25.886Z] ---> 8a5d1011f829 [2023-03-21T12:03:25.886Z] Successfully built 8a5d1011f829 [2023-03-21T12:03:25.886Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:03:26.336Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T12:03:26.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:03:26.487Z] prd-ubuntu20.04-docker-8c-8g-4836 does not seem to be running inside a container [2023-03-21T12:03:26.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-275 -v /w/workspace/gexfoundry_device-rest-go_PR-275:/w/workspace/gexfoundry_device-rest-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-275@tmp:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T12:03:26.898Z] $ docker top 7f4402e740437c4c3419eaaf1bde80a279b1fb487aced1af21b3dadd4eecb279 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:03:27.288Z] + go version [2023-03-21T12:03:27.288Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T12:03:27.322Z] $ docker stop --time=1 7f4402e740437c4c3419eaaf1bde80a279b1fb487aced1af21b3dadd4eecb279 [2023-03-21T12:03:28.613Z] $ docker rm -f --volumes 7f4402e740437c4c3419eaaf1bde80a279b1fb487aced1af21b3dadd4eecb279 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:03:29.328Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T12:03:29.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:03:29.479Z] prd-ubuntu20.04-docker-8c-8g-4836 does not seem to be running inside a container [2023-03-21T12:03:29.515Z] $ 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-275 -v /w/workspace/gexfoundry_device-rest-go_PR-275:/w/workspace/gexfoundry_device-rest-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-275@tmp:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T12:03:29.915Z] $ docker top 6dcb96f5d99256e3ce46e1580c1e37b201391c3b9caa921358437c5d85907c66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:03:30.302Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-275 [Pipeline] fileExists [Pipeline] sh [2023-03-21T12:03:30.654Z] + make test [2023-03-21T12:03:30.654Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T12:03:34.841Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T12:03:44.815Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T12:03:44.815Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.0% of statements [2023-03-21T12:03:50.073Z] go vet ./... [2023-03-21T12:03:53.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T12:03:53.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T12:03:53.352Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T12:03:53.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T12:03:53.421Z] $ docker stop --time=1 6dcb96f5d99256e3ce46e1580c1e37b201391c3b9caa921358437c5d85907c66 [2023-03-21T12:03:55.541Z] $ docker rm -f --volumes 6dcb96f5d99256e3ce46e1580c1e37b201391c3b9caa921358437c5d85907c66 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T12:03:56.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T12:03:56.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T12:03:56.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T12:03:57.033Z] + ls -al . [2023-03-21T12:03:57.033Z] total 184 [2023-03-21T12:03:57.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:03 . [2023-03-21T12:03:57.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:02 .. [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 12:02 .dockerignore [2023-03-21T12:03:57.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:02 .git [2023-03-21T12:03:57.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:02 .github [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 12:02 .gitignore [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 12:02 .golangci.yml [2023-03-21T12:03:57.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:02 .semver [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 12:02 Attribution.txt [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 12:02 CHANGELOG.md [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 12:02 Dockerfile [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 12:02 GOVERNANCE.md [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 12:02 Jenkinsfile [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 12:02 LICENSE [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 12:02 Makefile [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 12:02 OWNERS.md [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 12:02 README.md [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:02 VERSION [2023-03-21T12:03:57.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:02 bin [2023-03-21T12:03:57.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:02 cmd [2023-03-21T12:03:57.033Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 12:03 coverage.out [2023-03-21T12:03:57.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:02 driver [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 12:02 go.mod [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 12:02 go.sum [2023-03-21T12:03:57.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:02 snap [2023-03-21T12:03:57.033Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 12:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:03:57.429Z] + 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=b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb --label arch=amd64 --label version=0.0.0 . [2023-03-21T12:03:57.429Z] Sending build context to Docker daemon 10.88MB [2023-03-21T12:03:57.429Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:03:57.429Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T12:03:57.429Z] ---> 8a5d1011f829 [2023-03-21T12:03:57.429Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:03:57.429Z] ---> Running in 7b5482deb4bc [2023-03-21T12:03:57.688Z] Removing intermediate container 7b5482deb4bc [2023-03-21T12:03:57.688Z] ---> 57cc8e5aef00 [2023-03-21T12:03:57.688Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:03:57.688Z] ---> Running in a7b4d3e90155 [2023-03-21T12:03:57.688Z] Removing intermediate container a7b4d3e90155 [2023-03-21T12:03:57.688Z] ---> 7ac6bd527c9a [2023-03-21T12:03:57.688Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T12:03:57.688Z] ---> Running in ae3a088770cc [2023-03-21T12:03:57.946Z] Removing intermediate container ae3a088770cc [2023-03-21T12:03:57.946Z] ---> 7b5a7492793c [2023-03-21T12:03:57.946Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:03:57.946Z] ---> Running in 4a5b65121c40 [2023-03-21T12:03:57.946Z] Removing intermediate container 4a5b65121c40 [2023-03-21T12:03:57.946Z] ---> 36f8db3aecaa [2023-03-21T12:03:57.946Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:03:57.946Z] ---> Running in b4575f9ab875 [2023-03-21T12:03:58.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T12:03:58.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T12:03:58.733Z] OK: 269 MiB in 57 packages [2023-03-21T12:03:58.991Z] Removing intermediate container b4575f9ab875 [2023-03-21T12:03:58.991Z] ---> 78cdc294fd17 [2023-03-21T12:03:58.991Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T12:03:58.991Z] ---> Running in 5894d167b2e2 [2023-03-21T12:03:58.991Z] Removing intermediate container 5894d167b2e2 [2023-03-21T12:03:58.991Z] ---> ef7bd35351ca [2023-03-21T12:03:58.991Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T12:03:59.252Z] ---> 62f3d16d1f24 [2023-03-21T12:03:59.252Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:03:59.252Z] ---> Running in 0e0c8c4fcbaf [2023-03-21T12:04:00.186Z] Removing intermediate container 0e0c8c4fcbaf [2023-03-21T12:04:00.186Z] ---> a0484ea693d9 [2023-03-21T12:04:00.186Z] Step 11/25 : COPY . . [2023-03-21T12:04:00.443Z] ---> 94fc3577e3a3 [2023-03-21T12:04:00.443Z] Step 12/25 : RUN $MAKE [2023-03-21T12:04:00.443Z] ---> Running in ad7cfee084ec [2023-03-21T12:04:00.701Z] 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-21T12:04:18.775Z] Removing intermediate container ad7cfee084ec [2023-03-21T12:04:18.775Z] ---> 5ece52c0f47a [2023-03-21T12:04:18.775Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T12:04:18.775Z] 3.17: Pulling from library/alpine [2023-03-21T12:04:18.775Z] 63b65145d645: Already exists [2023-03-21T12:04:18.775Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T12:04:18.775Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T12:04:18.775Z] ---> b2aa39c304c2 [2023-03-21T12:04:18.775Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T12:04:18.775Z] ---> Running in 8ce8458fd3a2 [2023-03-21T12:04:18.775Z] Removing intermediate container 8ce8458fd3a2 [2023-03-21T12:04:18.775Z] ---> b74ca1230692 [2023-03-21T12:04:18.775Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T12:04:18.775Z] ---> Running in 6ffd4f9cd5cf [2023-03-21T12:04:18.775Z] Removing intermediate container 6ffd4f9cd5cf [2023-03-21T12:04:18.775Z] ---> c5999f30c291 [2023-03-21T12:04:18.775Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T12:04:18.775Z] ---> Running in 5748246dc747 [2023-03-21T12:04:18.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T12:04:18.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T12:04:18.775Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T12:04:18.775Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T12:04:18.775Z] OK: 7 MiB in 16 packages [2023-03-21T12:04:18.775Z] Removing intermediate container 5748246dc747 [2023-03-21T12:04:18.775Z] ---> adb27248b2e6 [2023-03-21T12:04:18.775Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T12:04:19.340Z] ---> 6f666633509b [2023-03-21T12:04:19.340Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T12:04:19.340Z] ---> fe2f2aff5ab6 [2023-03-21T12:04:19.340Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T12:04:19.596Z] ---> c0b0a272e678 [2023-03-21T12:04:19.596Z] Step 20/25 : EXPOSE 59986 [2023-03-21T12:04:19.596Z] ---> Running in bb4857456866 [2023-03-21T12:04:19.596Z] Removing intermediate container bb4857456866 [2023-03-21T12:04:19.596Z] ---> 0ae35dc5ef99 [2023-03-21T12:04:19.596Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T12:04:19.596Z] ---> Running in ccb1272c7b9e [2023-03-21T12:04:19.853Z] Removing intermediate container ccb1272c7b9e [2023-03-21T12:04:19.853Z] ---> 5b0696a894d1 [2023-03-21T12:04:19.853Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T12:04:19.853Z] ---> Running in 909a3e18e65e [2023-03-21T12:04:19.853Z] Removing intermediate container 909a3e18e65e [2023-03-21T12:04:19.853Z] ---> f49a558b0591 [2023-03-21T12:04:19.853Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T12:04:19.853Z] ---> Running in d690961fbd2b [2023-03-21T12:04:20.111Z] Removing intermediate container d690961fbd2b [2023-03-21T12:04:20.111Z] ---> 0f294c35f91c [2023-03-21T12:04:20.111Z] Step 24/25 : LABEL git_sha=b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [2023-03-21T12:04:20.111Z] ---> Running in 2f93036fdf82 [2023-03-21T12:04:20.111Z] Removing intermediate container 2f93036fdf82 [2023-03-21T12:04:20.111Z] ---> 6ec5ab31e29f [2023-03-21T12:04:20.111Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T12:04:20.111Z] ---> Running in 9b7af8e55470 [2023-03-21T12:04:20.369Z] Removing intermediate container 9b7af8e55470 [2023-03-21T12:04:20.369Z] ---> 7c28fdd75186 [2023-03-21T12:04:20.369Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T12:04:20.369Z] Successfully built 7c28fdd75186 [2023-03-21T12:04:20.369Z] 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-21T12:04:21.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:04:21.205Z] [2023-03-21T12:04:21.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:04:21.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:04:21.574Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T12:04:21.574Z] 5eb5b503b376: Pulling fs layer [2023-03-21T12:04:21.574Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T12:04:21.574Z] ec43610c2a17: Pulling fs layer [2023-03-21T12:04:21.574Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T12:04:21.574Z] 33b1e0a273af: Pulling fs layer [2023-03-21T12:04:21.574Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T12:04:21.574Z] 2f39f015ded8: Pulling fs layer [2023-03-21T12:04:21.574Z] 3a2ae6a8a46f: Waiting [2023-03-21T12:04:21.574Z] 5d3b04190fa2: Waiting [2023-03-21T12:04:21.574Z] 33b1e0a273af: Waiting [2023-03-21T12:04:21.574Z] 2f39f015ded8: Waiting [2023-03-21T12:04:21.574Z] 5c69ac0246d0: Download complete [2023-03-21T12:04:21.574Z] 3a2ae6a8a46f: Download complete [2023-03-21T12:04:21.835Z] 33b1e0a273af: Verifying Checksum [2023-03-21T12:04:21.835Z] 33b1e0a273af: Download complete [2023-03-21T12:04:21.835Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T12:04:21.835Z] 5d3b04190fa2: Download complete [2023-03-21T12:04:21.835Z] ec43610c2a17: Verifying Checksum [2023-03-21T12:04:21.835Z] ec43610c2a17: Download complete [2023-03-21T12:04:21.835Z] 5eb5b503b376: Verifying Checksum [2023-03-21T12:04:21.835Z] 5eb5b503b376: Download complete [2023-03-21T12:04:22.400Z] 2f39f015ded8: Download complete [2023-03-21T12:04:22.973Z] 5eb5b503b376: Pull complete [2023-03-21T12:04:22.973Z] 5c69ac0246d0: Pull complete [2023-03-21T12:04:23.538Z] ec43610c2a17: Pull complete [2023-03-21T12:04:23.538Z] 3a2ae6a8a46f: Pull complete [2023-03-21T12:04:23.796Z] 33b1e0a273af: Pull complete [2023-03-21T12:04:23.796Z] 5d3b04190fa2: Pull complete [2023-03-21T12:04:27.975Z] 2f39f015ded8: Pull complete [2023-03-21T12:04:27.975Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T12:04:27.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:04:27.975Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:04:28.190Z] prd-ubuntu20.04-docker-8c-8g-4836 does not seem to be running inside a container [2023-03-21T12:04:28.224Z] $ 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-275 -v /w/workspace/gexfoundry_device-rest-go_PR-275:/w/workspace/gexfoundry_device-rest-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-275@tmp:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T12:04:30.116Z] $ docker top 934f383cf8e7c887d1cbc0bff9c3e175c5d9b3cd19b034cd03f20265c0ec6724 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:04:30.546Z] ---> job-cost.sh [2023-03-21T12:04:30.546Z] lf-activate-venv: SKIPPING [2023-03-21T12:04:30.546Z] INFO: No Stack... [2023-03-21T12:04:30.805Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T12:04:31.064Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T12:04:31.377Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-275/archives/cost.csv [2023-03-21T12:04:31.377Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T12:04:31.417Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] [2023-03-21T12:04:31.422Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] did not exist. Created. [2023-03-21T12:04:31.422Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T12:04:31.811Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T12:04:31.864Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T12:04:31.899Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T12:04:31.979Z] $ docker stop --time=1 934f383cf8e7c887d1cbc0bff9c3e175c5d9b3cd19b034cd03f20265c0ec6724 [2023-03-21T12:04:33.137Z] $ docker rm -f --volumes 934f383cf8e7c887d1cbc0bff9c3e175c5d9b3cd19b034cd03f20265c0ec6724 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T12:06:05.338Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4838 in /w/workspace/gexfoundry_device-rest-go_PR-275 [Pipeline] { [Pipeline] ws [2023-03-21T12:06:05.399Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T12:06:05.482Z] The recommended git tool is: git [2023-03-21T12:06:12.193Z] using credential edgex-jenkins-ssh [2023-03-21T12:06:12.213Z] Cloning the remote Git repository [2023-03-21T12:06:12.277Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T12:06:12.394Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-21T12:06:12.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T12:06:12.578Z] > git --version # timeout=10 [2023-03-21T12:06:12.604Z] > git --version # 'git version 2.25.1' [2023-03-21T12:06:12.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T12:06:12.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T12:06:14.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T12:06:14.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T12:06:15.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T12:06:15.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T12:06:15.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T12:06:15.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T12:06:16.444Z] Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [2023-03-21T12:06:16.772Z] Merge succeeded, producing b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [2023-03-21T12:06:16.772Z] Checking out Revision b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb (PR-275) [2023-03-21T12:06:16.468Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T12:06:16.552Z] > git checkout -f b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb # timeout=10 [2023-03-21T12:06:16.651Z] > git remote # timeout=10 [2023-03-21T12:06:16.671Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T12:06:16.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T12:06:16.724Z] > git merge e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [2023-03-21T12:06:16.755Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T12:06:16.783Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T12:06:16.798Z] > git checkout -f b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb # timeout=10 [2023-03-21T12:06:20.358Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [2023-03-21T12:06:20.413Z] > git --version # timeout=10 [2023-03-21T12:06:20.424Z] > git --version # 'git version 2.25.1' [2023-03-21T12:06:20.440Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T12:06:21.496Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T12:06:21.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T12:06:21.496Z] Dload Upload Total Spent Left Speed [2023-03-21T12:06:21.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2023-03-21T12:06:22.232Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T12:06:22.603Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T12:06:22.603Z] + sudo tee /etc/docker/daemon.new [2023-03-21T12:06:22.603Z] { [2023-03-21T12:06:22.603Z] "registry-mirrors": [ [2023-03-21T12:06:22.603Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T12:06:22.603Z] ], [2023-03-21T12:06:22.603Z] "bip": "10.250.0.254/24", [2023-03-21T12:06:22.603Z] "hosts": [ [2023-03-21T12:06:22.603Z] "tcp://0.0.0.0:5555", [2023-03-21T12:06:22.603Z] "unix:///var/run/docker.sock" [2023-03-21T12:06:22.603Z] ], [2023-03-21T12:06:22.603Z] "mtu": 1458, [2023-03-21T12:06:22.603Z] "selinux-enabled": true, [2023-03-21T12:06:22.603Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T12:06:22.603Z] } [Pipeline] sh [2023-03-21T12:06:22.959Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T12:06:23.319Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T12:06:41.666Z] provisioning config files... [2023-03-21T12:06:41.701Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12018691833855576292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:06:42.110Z] ---> docker-login.sh [2023-03-21T12:06:42.110Z] nexus3.edgexfoundry.org:10001 [2023-03-21T12:06:42.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:06:42.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:06:42.705Z] Configure a credential helper to remove this warning. See [2023-03-21T12:06:42.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:06:42.705Z] [2023-03-21T12:06:42.705Z] Login Succeeded [2023-03-21T12:06:42.705Z] nexus3.edgexfoundry.org:10002 [2023-03-21T12:06:42.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:06:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:06:43.250Z] Configure a credential helper to remove this warning. See [2023-03-21T12:06:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:06:43.250Z] [2023-03-21T12:06:43.250Z] Login Succeeded [2023-03-21T12:06:43.250Z] nexus3.edgexfoundry.org:10003 [2023-03-21T12:06:43.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:06:43.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:06:43.523Z] Configure a credential helper to remove this warning. See [2023-03-21T12:06:43.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:06:43.523Z] [2023-03-21T12:06:43.523Z] Login Succeeded [2023-03-21T12:06:43.802Z] nexus3.edgexfoundry.org:10004 [2023-03-21T12:06:44.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:06:44.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:06:44.075Z] Configure a credential helper to remove this warning. See [2023-03-21T12:06:44.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:06:44.075Z] [2023-03-21T12:06:44.075Z] Login Succeeded [2023-03-21T12:06:44.075Z] docker.io [2023-03-21T12:06:44.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T12:06:44.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T12:06:44.619Z] Configure a credential helper to remove this warning. See [2023-03-21T12:06:44.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T12:06:44.619Z] [2023-03-21T12:06:44.619Z] Login Succeeded [2023-03-21T12:06:44.619Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T12:06:44.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T12:06:45.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:06:45.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T12:06:45.194Z] ========================================================= [2023-03-21T12:06:45.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T12:06:45.194Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:06:45.703Z] + 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-21T12:06:45.703Z] Sending build context to Docker daemon 138.2kB [2023-03-21T12:06:45.974Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:06:45.974Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T12:06:46.249Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T12:06:46.249Z] af6eaf76a39c: Pulling fs layer [2023-03-21T12:06:46.249Z] 55522c791124: Pulling fs layer [2023-03-21T12:06:46.249Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T12:06:46.249Z] 169dfbe0d373: Pulling fs layer [2023-03-21T12:06:46.249Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T12:06:46.249Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T12:06:46.249Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T12:06:46.249Z] e1ff8fa3b103: Waiting [2023-03-21T12:06:46.249Z] 52ebb69f0ebf: Waiting [2023-03-21T12:06:46.249Z] 5abe8eddf0d5: Waiting [2023-03-21T12:06:46.249Z] 169dfbe0d373: Waiting [2023-03-21T12:06:46.249Z] 55522c791124: Download complete [2023-03-21T12:06:46.249Z] 169dfbe0d373: Verifying Checksum [2023-03-21T12:06:46.249Z] 169dfbe0d373: Download complete [2023-03-21T12:06:46.249Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T12:06:46.249Z] e1ff8fa3b103: Download complete [2023-03-21T12:06:46.249Z] af6eaf76a39c: Verifying Checksum [2023-03-21T12:06:46.249Z] af6eaf76a39c: Download complete [2023-03-21T12:06:47.233Z] af6eaf76a39c: Pull complete [2023-03-21T12:06:47.520Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T12:06:47.520Z] 5abe8eddf0d5: Download complete [2023-03-21T12:06:47.793Z] 55522c791124: Pull complete [2023-03-21T12:06:49.228Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T12:06:49.228Z] 52ebb69f0ebf: Download complete [2023-03-21T12:06:49.228Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T12:06:59.334Z] ce5c4a1c91eb: Pull complete [2023-03-21T12:06:59.605Z] 169dfbe0d373: Pull complete [2023-03-21T12:06:59.877Z] e1ff8fa3b103: Pull complete [2023-03-21T12:07:06.550Z] 52ebb69f0ebf: Pull complete [2023-03-21T12:07:07.518Z] 5abe8eddf0d5: Pull complete [2023-03-21T12:07:07.790Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T12:07:07.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T12:07:07.790Z] ---> 6cb57ee374ae [2023-03-21T12:07:07.790Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:07:09.763Z] ---> Running in dc40ba133074 [2023-03-21T12:07:10.032Z] Removing intermediate container dc40ba133074 [2023-03-21T12:07:10.033Z] ---> 97193a81f845 [2023-03-21T12:07:10.033Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:07:10.033Z] ---> Running in 3fc0114eecf3 [2023-03-21T12:07:10.306Z] Removing intermediate container 3fc0114eecf3 [2023-03-21T12:07:10.306Z] ---> d6a7bd27ca80 [2023-03-21T12:07:10.306Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T12:07:10.579Z] ---> Running in fa2e1ef3611f [2023-03-21T12:07:10.847Z] Removing intermediate container fa2e1ef3611f [2023-03-21T12:07:10.847Z] ---> 0ab01d36f104 [2023-03-21T12:07:10.847Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:07:10.847Z] ---> Running in b507dd8d50ce [2023-03-21T12:07:11.434Z] Removing intermediate container b507dd8d50ce [2023-03-21T12:07:11.434Z] ---> e6d2237803d4 [2023-03-21T12:07:11.434Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:07:11.434Z] ---> Running in a717e54d323b [2023-03-21T12:07:12.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T12:07:13.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T12:07:14.861Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T12:07:14.861Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T12:07:14.861Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T12:07:14.861Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T12:07:14.861Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T12:07:14.861Z] OK: 268 MiB in 57 packages [2023-03-21T12:07:15.838Z] Removing intermediate container a717e54d323b [2023-03-21T12:07:15.838Z] ---> 714adff639c7 [2023-03-21T12:07:15.838Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T12:07:15.838Z] ---> Running in fe5b836d9875 [2023-03-21T12:07:16.425Z] Removing intermediate container fe5b836d9875 [2023-03-21T12:07:16.425Z] ---> dc17d3edefe4 [2023-03-21T12:07:16.425Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T12:07:16.694Z] ---> 2b823a7c3e27 [2023-03-21T12:07:16.694Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:07:16.964Z] ---> Running in 5ce4e631b996 [2023-03-21T12:08:38.621Z] Removing intermediate container 5ce4e631b996 [2023-03-21T12:08:38.621Z] ---> 66a17b426a2d [2023-03-21T12:08:38.621Z] Step 11/12 : COPY . . [2023-03-21T12:08:38.621Z] ---> 59cd759045f4 [2023-03-21T12:08:38.621Z] Step 12/12 : RUN $MAKE [2023-03-21T12:08:38.621Z] ---> Running in fff997020a49 [2023-03-21T12:08:38.621Z] noop [2023-03-21T12:08:38.621Z] Removing intermediate container fff997020a49 [2023-03-21T12:08:38.621Z] ---> ba7d4ff302c1 [2023-03-21T12:08:38.621Z] Successfully built ba7d4ff302c1 [2023-03-21T12:08:38.621Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:08:39.100Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T12:08:39.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:08:39.391Z] prd-ubuntu20.04-docker-arm64-4c-16g-4838 does not seem to be running inside a container [2023-03-21T12:08:39.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T12:08:40.674Z] $ docker top c03be8c4e35b896d4f27b32d9a3b446bd097d12f793d7c82d35ea00d21f53ef2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:08:41.574Z] + go version [2023-03-21T12:08:41.574Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T12:08:41.684Z] $ docker stop --time=1 c03be8c4e35b896d4f27b32d9a3b446bd097d12f793d7c82d35ea00d21f53ef2 [2023-03-21T12:08:43.360Z] $ docker rm -f --volumes c03be8c4e35b896d4f27b32d9a3b446bd097d12f793d7c82d35ea00d21f53ef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:08:44.465Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T12:08:44.465Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:08:44.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-4838 does not seem to be running inside a container [2023-03-21T12:08:44.867Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T12:08:46.051Z] $ docker top 6319ffe944c886b6f3a36d81362b4c3e08bb0ad42084b20b9cdd118f042169a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:08:46.939Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T12:08:47.652Z] + make test [2023-03-21T12:08:47.652Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T12:09:26.568Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T12:11:33.300Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T12:11:33.300Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 33.0% of statements [2023-03-21T12:11:33.300Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T12:11:33.300Z] go vet ./... [2023-03-21T12:11:55.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T12:11:55.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T12:11:55.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T12:11:55.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T12:11:55.448Z] $ docker stop --time=1 6319ffe944c886b6f3a36d81362b4c3e08bb0ad42084b20b9cdd118f042169a5 [2023-03-21T12:11:57.410Z] $ docker rm -f --volumes 6319ffe944c886b6f3a36d81362b4c3e08bb0ad42084b20b9cdd118f042169a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T12:11:58.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T12:11:58.742Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T12:11:59.370Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T12:11:59.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T12:12:00.326Z] + ls -al . [2023-03-21T12:12:00.326Z] total 180 [2023-03-21T12:12:00.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:08 . [2023-03-21T12:12:00.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:06 .. [2023-03-21T12:12:00.326Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 12:06 .dockerignore [2023-03-21T12:12:00.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:06 .git [2023-03-21T12:12:00.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:06 .github [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 12:06 .gitignore [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 12:06 .golangci.yml [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 12:06 Attribution.txt [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 12:06 CHANGELOG.md [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 12:06 Dockerfile [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 12:06 GOVERNANCE.md [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 12:06 Jenkinsfile [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 12:06 LICENSE [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 12:06 Makefile [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 12:06 OWNERS.md [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 12:06 README.md [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:02 VERSION [2023-03-21T12:12:00.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:06 bin [2023-03-21T12:12:00.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:06 cmd [2023-03-21T12:12:00.327Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 12:11 coverage.out [2023-03-21T12:12:00.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:06 driver [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 12:06 go.mod [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 12:06 go.sum [2023-03-21T12:12:00.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:06 snap [2023-03-21T12:12:00.327Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 12:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:12:00.774Z] + 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=b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb --label arch=arm64 --label version=0.0.0 . [2023-03-21T12:12:00.774Z] Sending build context to Docker daemon 153.1kB [2023-03-21T12:12:01.053Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T12:12:01.053Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T12:12:01.053Z] ---> ba7d4ff302c1 [2023-03-21T12:12:01.053Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T12:12:01.053Z] ---> Running in d0da72e348ba [2023-03-21T12:12:01.334Z] Removing intermediate container d0da72e348ba [2023-03-21T12:12:01.334Z] ---> 6765baeb8757 [2023-03-21T12:12:01.334Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T12:12:01.605Z] ---> Running in b6ca05e8af82 [2023-03-21T12:12:01.874Z] Removing intermediate container b6ca05e8af82 [2023-03-21T12:12:01.874Z] ---> fc6aed66794c [2023-03-21T12:12:01.874Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T12:12:01.874Z] ---> Running in 3826b4061137 [2023-03-21T12:12:02.143Z] Removing intermediate container 3826b4061137 [2023-03-21T12:12:02.143Z] ---> 080fd9895a5d [2023-03-21T12:12:02.143Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T12:12:02.416Z] ---> Running in b1a632c6acc9 [2023-03-21T12:12:02.685Z] Removing intermediate container b1a632c6acc9 [2023-03-21T12:12:02.685Z] ---> 74895840e8da [2023-03-21T12:12:02.685Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T12:12:02.685Z] ---> Running in 49579a51536b [2023-03-21T12:12:04.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T12:12:04.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T12:12:05.809Z] OK: 268 MiB in 57 packages [2023-03-21T12:12:08.401Z] Removing intermediate container 49579a51536b [2023-03-21T12:12:08.401Z] ---> fb30f1cfa770 [2023-03-21T12:12:08.401Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T12:12:08.401Z] ---> Running in cd1058d3b59f [2023-03-21T12:12:08.670Z] Removing intermediate container cd1058d3b59f [2023-03-21T12:12:08.670Z] ---> 0c642570a144 [2023-03-21T12:12:08.670Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T12:12:09.257Z] ---> 2c654e8a7d1d [2023-03-21T12:12:09.258Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T12:12:09.258Z] ---> Running in a7fb25e32b80 [2023-03-21T12:12:12.624Z] Removing intermediate container a7fb25e32b80 [2023-03-21T12:12:12.624Z] ---> 11583f150eae [2023-03-21T12:12:12.624Z] Step 11/25 : COPY . . [2023-03-21T12:12:12.900Z] ---> 4fa680928c79 [2023-03-21T12:12:12.900Z] Step 12/25 : RUN $MAKE [2023-03-21T12:12:12.900Z] ---> Running in 1cb5c7678887 [2023-03-21T12:12:14.326Z] 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-21T12:14:36.049Z] Removing intermediate container 1cb5c7678887 [2023-03-21T12:14:36.049Z] ---> b9b82fab7c08 [2023-03-21T12:14:36.049Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T12:14:36.049Z] 3.17: Pulling from library/alpine [2023-03-21T12:14:36.049Z] af6eaf76a39c: Already exists [2023-03-21T12:14:36.049Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T12:14:36.049Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T12:14:36.049Z] ---> d74e625d9115 [2023-03-21T12:14:36.049Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T12:14:36.049Z] ---> Running in f5a162eb9026 [2023-03-21T12:14:36.049Z] Removing intermediate container f5a162eb9026 [2023-03-21T12:14:36.049Z] ---> 3fdcd428ddc1 [2023-03-21T12:14:36.049Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T12:14:36.049Z] ---> Running in 8adda8d49363 [2023-03-21T12:14:36.049Z] Removing intermediate container 8adda8d49363 [2023-03-21T12:14:36.049Z] ---> 9a5225522ec3 [2023-03-21T12:14:36.049Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T12:14:36.049Z] ---> Running in 18b28b4a7f80 [2023-03-21T12:14:36.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T12:14:36.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T12:14:36.049Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T12:14:36.049Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T12:14:36.049Z] OK: 8 MiB in 16 packages [2023-03-21T12:14:36.049Z] Removing intermediate container 18b28b4a7f80 [2023-03-21T12:14:36.049Z] ---> 614da38e214d [2023-03-21T12:14:36.049Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T12:14:36.049Z] ---> 13bd1ecb6228 [2023-03-21T12:14:36.049Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T12:14:36.049Z] ---> de2c78dd356e [2023-03-21T12:14:36.049Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T12:14:36.049Z] ---> 09a312a4c17a [2023-03-21T12:14:36.049Z] Step 20/25 : EXPOSE 59986 [2023-03-21T12:14:36.049Z] ---> Running in 7e4ec88aa84c [2023-03-21T12:14:36.049Z] Removing intermediate container 7e4ec88aa84c [2023-03-21T12:14:36.049Z] ---> 8c37155c2ad3 [2023-03-21T12:14:36.049Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T12:14:36.049Z] ---> Running in 3ada35663cf4 [2023-03-21T12:14:36.049Z] Removing intermediate container 3ada35663cf4 [2023-03-21T12:14:36.049Z] ---> 73cb89569e64 [2023-03-21T12:14:36.049Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T12:14:36.049Z] ---> Running in fbc857cc4754 [2023-03-21T12:14:36.049Z] Removing intermediate container fbc857cc4754 [2023-03-21T12:14:36.049Z] ---> 3a9774d9f793 [2023-03-21T12:14:36.049Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T12:14:36.049Z] ---> Running in e42a272df663 [2023-03-21T12:14:36.049Z] Removing intermediate container e42a272df663 [2023-03-21T12:14:36.049Z] ---> 46492023dd58 [2023-03-21T12:14:36.049Z] Step 24/25 : LABEL git_sha=b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [2023-03-21T12:14:36.049Z] ---> Running in 0d401cd8ee84 [2023-03-21T12:14:36.049Z] Removing intermediate container 0d401cd8ee84 [2023-03-21T12:14:36.049Z] ---> 39a8b7164e7f [2023-03-21T12:14:36.049Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T12:14:36.049Z] ---> Running in 65250719910e [2023-03-21T12:14:36.314Z] Removing intermediate container 65250719910e [2023-03-21T12:14:36.314Z] ---> 2525c0bf8f65 [2023-03-21T12:14:36.314Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T12:14:36.314Z] Successfully built 2525c0bf8f65 [2023-03-21T12:14:36.314Z] 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-21T12:14:37.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T12:14:37.149Z] [2023-03-21T12:14:37.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:14:37.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T12:14:37.544Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T12:14:37.544Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T12:14:37.544Z] 04944245beec: Pulling fs layer [2023-03-21T12:14:37.544Z] 699f458cf7ca: Pulling fs layer [2023-03-21T12:14:37.544Z] 765212b225bb: Pulling fs layer [2023-03-21T12:14:37.544Z] f23df028b6ca: Pulling fs layer [2023-03-21T12:14:37.544Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T12:14:37.544Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T12:14:37.544Z] f23df028b6ca: Waiting [2023-03-21T12:14:37.544Z] d65c8cfc05b1: Waiting [2023-03-21T12:14:37.544Z] 765212b225bb: Waiting [2023-03-21T12:14:37.544Z] 2437ff75d9bd: Waiting [2023-03-21T12:14:37.824Z] 04944245beec: Verifying Checksum [2023-03-21T12:14:37.824Z] 04944245beec: Download complete [2023-03-21T12:14:37.824Z] 765212b225bb: Verifying Checksum [2023-03-21T12:14:37.824Z] 765212b225bb: Download complete [2023-03-21T12:14:37.824Z] f23df028b6ca: Verifying Checksum [2023-03-21T12:14:37.824Z] f23df028b6ca: Download complete [2023-03-21T12:14:37.824Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T12:14:37.824Z] d65c8cfc05b1: Download complete [2023-03-21T12:14:37.824Z] 699f458cf7ca: Verifying Checksum [2023-03-21T12:14:37.824Z] 699f458cf7ca: Download complete [2023-03-21T12:14:38.407Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T12:14:40.350Z] 2437ff75d9bd: Download complete [2023-03-21T12:14:42.294Z] 8998bd30e6a1: Pull complete [2023-03-21T12:14:42.294Z] 04944245beec: Pull complete [2023-03-21T12:14:43.701Z] 699f458cf7ca: Pull complete [2023-03-21T12:14:43.970Z] 765212b225bb: Pull complete [2023-03-21T12:14:44.553Z] f23df028b6ca: Pull complete [2023-03-21T12:14:44.819Z] d65c8cfc05b1: Pull complete [2023-03-21T12:14:59.818Z] 2437ff75d9bd: Pull complete [2023-03-21T12:14:59.818Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T12:14:59.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T12:14:59.818Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:15:00.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-4838 does not seem to be running inside a container [2023-03-21T12:15:00.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T12:15:03.033Z] $ docker top 94f3ae649ee5c74593365baa2af767b9954bb1c7991123e9480824044a2ee2d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:03.946Z] ---> job-cost.sh [2023-03-21T12:15:03.946Z] lf-activate-venv: SKIPPING [2023-03-21T12:15:03.946Z] INFO: No Stack... [2023-03-21T12:15:04.214Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T12:15:05.180Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T12:15:05.844Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-21T12:15:05.844Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T12:15:05.936Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] [2023-03-21T12:15:05.941Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] did not exist. Created. [2023-03-21T12:15:05.941Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T12:15:06.673Z] /w/workspace/device-rest-go/1@tmp/durable-4e3db9f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T12:15:07.345Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T12:15:07.382Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T12:15:07.430Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T12:15:07.447Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-275-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T12:15:07.749Z] $ docker stop --time=1 94f3ae649ee5c74593365baa2af767b9954bb1c7991123e9480824044a2ee2d9 [2023-03-21T12:15:09.287Z] $ docker rm -f --volumes 94f3ae649ee5c74593365baa2af767b9954bb1c7991123e9480824044a2ee2d9 [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-21T12:15:11.211Z] provisioning config files... [2023-03-21T12:15:11.219Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp/config14867330937011422509tmp [Pipeline] { [Pipeline] sh [2023-03-21T12:15:11.549Z] + set +x [2023-03-21T12:15:11.549Z] + curl -s https://codecov.io/bash [2023-03-21T12:15:11.549Z] + bash -s -- [2023-03-21T12:15:11.549Z] [2023-03-21T12:15:11.549Z] _____ _ [2023-03-21T12:15:11.549Z] / ____| | | [2023-03-21T12:15:11.549Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T12:15:11.549Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T12:15:11.549Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T12:15:11.549Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T12:15:11.549Z] Bash-1.0.6 [2023-03-21T12:15:11.549Z] [2023-03-21T12:15:11.549Z] [2023-03-21T12:15:11.549Z] ==> git version 2.25.1 found [2023-03-21T12:15:11.549Z] ==> 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-21T12:15:11.549Z] Release-Date: 2020-01-08 [2023-03-21T12:15:11.549Z] 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-21T12:15:11.549Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T12:15:11.549Z] ==> Jenkins CI detected. [2023-03-21T12:15:11.549Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-275 [2023-03-21T12:15:11.549Z] project root: . [2023-03-21T12:15:11.549Z] --> token set from env [2023-03-21T12:15:11.549Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T12:15:11.549Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T12:15:11.549Z] ==> Python coveragepy not found [2023-03-21T12:15:11.549Z] ==> Searching for coverage reports in: [2023-03-21T12:15:11.549Z] + . [2023-03-21T12:15:11.549Z] -> Found 1 reports [2023-03-21T12:15:11.549Z] ==> Detecting git/mercurial file structure [2023-03-21T12:15:11.549Z] ==> Reading reports [2023-03-21T12:15:11.808Z] + ./coverage.out bytes=14200 [2023-03-21T12:15:11.808Z] ==> Appending adjustments [2023-03-21T12:15:11.808Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T12:15:11.808Z] + Found adjustments [2023-03-21T12:15:11.808Z] ==> Gzipping contents [2023-03-21T12:15:11.808Z] 4.0K /tmp/codecov.cqKHLV.gz [2023-03-21T12:15:11.808Z] ==> Uploading reports [2023-03-21T12:15:11.808Z] url: https://codecov.io [2023-03-21T12:15:11.808Z] query: branch=PR-275&commit=b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-275%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=275&job=&cmd_args= [2023-03-21T12:15:11.808Z] -> Pinging Codecov [2023-03-21T12:15:11.808Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-275&commit=b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-275%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=275&job=&cmd_args= [2023-03-21T12:15:11.808Z] -> Uploading to [2023-03-21T12:15:11.808Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb/06213f49-f6ec-427a-ae48-116c371ec0b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T121511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e214bbf861993317aa3a4b92b635568d0b2eb70f9eb94642f1c5ff2527bc6b8 [2023-03-21T12:15:12.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T12:15:12.068Z] Dload Upload Total Spent Left Speed [2023-03-21T12:15:12.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 8679 --:--:-- --:--:-- --:--:-- 8679 [2023-03-21T12:15:12.329Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b4eaadda57dc0dcf005d7c598ed54ebfb7ce09bb [Pipeline] } [2023-03-21T12:15:12.355Z] 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-21T12:15:14.145Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-275/archives ] [2023-03-21T12:15:14.145Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-275/archives [2023-03-21T12:15:14.145Z] total 16 [2023-03-21T12:15:14.145Z] drwxr-xr-x 3 root root 4096 Mar 21 12:04 . [2023-03-21T12:15:14.145Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 12:04 .. [2023-03-21T12:15:14.145Z] drwxr-xr-x 2 root root 4096 Mar 21 12:04 cost [2023-03-21T12:15:14.145Z] -rw-r--r-- 1 root root 86 Mar 21 12:04 cost.csv [2023-03-21T12:15:14.145Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-275/archives [2023-03-21T12:15:14.145Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-275/archives [2023-03-21T12:15:14.145Z] total 16 [2023-03-21T12:15:14.145Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:04 . [2023-03-21T12:15:14.145Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 12:04 .. [2023-03-21T12:15:14.145Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 12:04 cost [2023-03-21T12:15:14.145Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 12:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:14.477Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:15.369Z] ---> package-listing.sh [2023-03-21T12:15:15.369Z] ++ facter osfamily [2023-03-21T12:15:15.369Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T12:15:15.630Z] + OS_FAMILY=debian [2023-03-21T12:15:15.630Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-275 [2023-03-21T12:15:15.630Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T12:15:15.630Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T12:15:15.630Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T12:15:15.630Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T12:15:15.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-275 ']' [2023-03-21T12:15:15.630Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T12:15:15.630Z] + case "${OS_FAMILY}" in [2023-03-21T12:15:15.630Z] + dpkg -l [2023-03-21T12:15:15.630Z] + grep '^ii' [2023-03-21T12:15:15.630Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T12:15:15.630Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T12:15:15.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T12:15:15.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-275 ']' [2023-03-21T12:15:15.630Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-275/archives/ [2023-03-21T12:15:15.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-275/archives/ [Pipeline] echo [2023-03-21T12:15:15.665Z] 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-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T12:15:15.960Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T12:15:16.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T12:15:16.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T12:15:16.717Z] prd-ubuntu20.04-docker-8c-8g-4836 does not seem to be running inside a container [2023-03-21T12:15:16.746Z] $ 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-275/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-275 -v /w/workspace/gexfoundry_device-rest-go_PR-275:/w/workspace/gexfoundry_device-rest-go_PR-275:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-275@tmp:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T12:15:16.986Z] $ docker top 11f8dea7e423cf9bc96a055946f52298b456353d05ad96572e5f713ee6452539 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T12:15:17.388Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T12:15:17.699Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T12:15:18.019Z] + ls /var/log/sa-host [2023-03-21T12:15:18.020Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T12:15:18.157Z] provisioning config files... [2023-03-21T12:15:18.165Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-275@tmp/config14872314132337738251tmp [Pipeline] { [Pipeline] echo [2023-03-21T12:15:18.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:18.527Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T12:15:18.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:18.950Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T12:15:18.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:19.305Z] ---> sudo-logs.sh [2023-03-21T12:15:19.305Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T12:15:19.387Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:19.697Z] ---> job-cost.sh [2023-03-21T12:15:19.697Z] lf-activate-venv: SKIPPING [2023-03-21T12:15:19.697Z] DEBUG: total: 0.2199999988079071 [2023-03-21T12:15:19.697Z] INFO: Retrieving Stack Cost... [2023-03-21T12:15:20.262Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T12:15:20.521Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T12:15:20.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T12:15:20.859Z] ---> logs-deploy.sh [2023-03-21T12:15:20.859Z] lf-activate-venv: SKIPPING [2023-03-21T12:15:20.859Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-275/1 [2023-03-21T12:15:20.859Z] INFO: archiving workspace using pattern(s): [2023-03-21T12:15:21.793Z] Archives upload complete. [2023-03-21T12:15:21.793Z] INFO: archiving logs to Nexus