Pull request #259 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca5c6edfc50c199ca01e531a9e95656f0a558baf+3364b454c95a561448dfe8dfd76d21007d3a77e4 (be0e1ed00f417e811bc8fb0bb73f36d8a03ff655) 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-ssh10181089681392757744.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15869868075573867952.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-259/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-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11532251059049053440.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-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8072133221462938886.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12893254794557781867.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-259/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-259/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17284919038176674529.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-7593 in /w/workspace/gexfoundry_device-rest-go_PR-259 [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-259 # 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 Merging remotes/origin/main commit 3364b454c95a561448dfe8dfd76d21007d3a77e4 into PR head commit ca5c6edfc50c199ca01e531a9e95656f0a558baf Merge succeeded, producing ca5c6edfc50c199ca01e531a9e95656f0a558baf Checking out Revision ca5c6edfc50c199ca01e531a9e95656f0a558baf (PR-259) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca5c6edfc50c199ca01e531a9e95656f0a558baf # 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 3364b454c95a561448dfe8dfd76d21007d3a77e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca5c6edfc50c199ca01e531a9e95656f0a558baf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T15:27:46.167Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-27T15:27:46.330Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T15:27:46.429Z] ========================================================= [2023-02-27T15:27:46.429Z] EdgeX Global Pipelines Version Info [2023-02-27T15:27:46.429Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:47.168Z] ------------------- [2023-02-27T15:27:47.168Z] stable info: [2023-02-27T15:27:47.168Z] ------------------- [2023-02-27T15:27:47.168Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T15:27:47.168Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T15:27:47.168Z] Message: update stable to v1.0.244 [2023-02-27T15:27:47.738Z] ------------------- [2023-02-27T15:27:47.738Z] experimental info: [2023-02-27T15:27:47.738Z] ------------------- [2023-02-27T15:27:47.738Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T15:27:47.738Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T15:27:47.738Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T15:27:48.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-27T15:27:48.063Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-27T15:27:48.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T15:27:48.149Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T15:27:48.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T15:27:48.229Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T15:27:48.272Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T15:27:48.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T15:27:48.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T15:27:48.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T15:27:48.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T15:27:48.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-27T15:27:48.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T15:27:48.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T15:27:48.645Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T15:27:48.692Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T15:27:48.734Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T15:27:48.775Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T15:27:48.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T15:27:48.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T15:27:48.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-27T15:27:48.940Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-27T15:27:48.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T15:27:49.027Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T15:27:49.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T15:27:49.116Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T15:27:49.161Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T15:27:49.204Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-259 [Pipeline] echo [2023-02-27T15:27:49.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-259 [Pipeline] echo [2023-02-27T15:27:49.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-259 [Pipeline] echo [2023-02-27T15:27:49.323Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca5c6edfc50c199ca01e531a9e95656f0a558baf [Pipeline] echo [2023-02-27T15:27:49.363Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca5c6ed [Pipeline] echo [2023-02-27T15:27:49.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T15:27:49.523Z] provisioning config files... [2023-02-27T15:27:49.552Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp/config7484064833389003257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:27:49.904Z] ---> docker-login.sh [2023-02-27T15:27:49.904Z] nexus3.edgexfoundry.org:10001 [2023-02-27T15:27:50.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:27:50.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:27:50.163Z] Configure a credential helper to remove this warning. See [2023-02-27T15:27:50.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:27:50.163Z] [2023-02-27T15:27:50.163Z] Login Succeeded [2023-02-27T15:27:50.163Z] nexus3.edgexfoundry.org:10002 [2023-02-27T15:27:50.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:27:50.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:27:50.163Z] Configure a credential helper to remove this warning. See [2023-02-27T15:27:50.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:27:50.163Z] [2023-02-27T15:27:50.163Z] Login Succeeded [2023-02-27T15:27:50.163Z] nexus3.edgexfoundry.org:10003 [2023-02-27T15:27:50.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:27:50.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:27:50.423Z] Configure a credential helper to remove this warning. See [2023-02-27T15:27:50.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:27:50.423Z] [2023-02-27T15:27:50.423Z] Login Succeeded [2023-02-27T15:27:50.423Z] nexus3.edgexfoundry.org:10004 [2023-02-27T15:27:50.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:27:50.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:27:50.423Z] Configure a credential helper to remove this warning. See [2023-02-27T15:27:50.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:27:50.423Z] [2023-02-27T15:27:50.423Z] Login Succeeded [2023-02-27T15:27:50.423Z] docker.io [2023-02-27T15:27:50.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:27:50.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:27:50.944Z] Configure a credential helper to remove this warning. See [2023-02-27T15:27:50.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:27:50.944Z] [2023-02-27T15:27:50.944Z] Login Succeeded [2023-02-27T15:27:50.944Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T15:27:50.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-27T15:27:51.626Z] + git rev-list -1 --merges ca5c6edfc50c199ca01e531a9e95656f0a558baf~1..ca5c6edfc50c199ca01e531a9e95656f0a558baf [Pipeline] echo [2023-02-27T15:27:51.684Z] -----------> git rev-list -1 --merges ca5c6edfc50c199ca01e531a9e95656f0a558baf~1..ca5c6edfc50c199ca01e531a9e95656f0a558baf ca5c6edfc50c199ca01e531a9e95656f0a558baf [false] [Pipeline] sh [2023-02-27T15:27:52.000Z] + git log --format=format:%s -1 ca5c6edfc50c199ca01e531a9e95656f0a558baf [Pipeline] echo [2023-02-27T15:27:52.039Z] ========================================================= [2023-02-27T15:27:52.039Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T15:27:52.039Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T15:27:52.472Z] + git log --format=format:%s -1 ca5c6edfc50c199ca01e531a9e95656f0a558baf [Pipeline] echo [2023-02-27T15:27:52.506Z] [semverPrep] GIT_COMMIT: ca5c6edfc50c199ca01e531a9e95656f0a558baf, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-27T15:27:52.536Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T15:27:52.907Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T15:27:52.907Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T15:27:52.907Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T15:27:52.907Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T15:27:52.907Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-27T15:27:52.907Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T15:27:52.907Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:27:53.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T15:27:53.351Z] [2023-02-27T15:27:53.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:27:53.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T15:27:53.749Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T15:27:53.749Z] b85a868b505f: Pulling fs layer [2023-02-27T15:27:53.749Z] e2be974225ed: Pulling fs layer [2023-02-27T15:27:53.749Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T15:27:53.749Z] 988bab9f4d93: Pulling fs layer [2023-02-27T15:27:53.749Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T15:27:53.749Z] eaf3925da568: Pulling fs layer [2023-02-27T15:27:53.749Z] bab4dde63d76: Pulling fs layer [2023-02-27T15:27:53.749Z] bde34c3a00c8: Pulling fs layer [2023-02-27T15:27:53.749Z] 1469e6f7b9e6: Waiting [2023-02-27T15:27:53.749Z] eaf3925da568: Waiting [2023-02-27T15:27:53.749Z] bab4dde63d76: Waiting [2023-02-27T15:27:53.749Z] b352a97aabf1: Pulling fs layer [2023-02-27T15:27:53.749Z] 4872d77fe225: Pulling fs layer [2023-02-27T15:27:53.749Z] 5851b861e8e6: Pulling fs layer [2023-02-27T15:27:53.749Z] bde34c3a00c8: Waiting [2023-02-27T15:27:53.749Z] b352a97aabf1: Waiting [2023-02-27T15:27:53.749Z] 4872d77fe225: Waiting [2023-02-27T15:27:53.749Z] 5851b861e8e6: Waiting [2023-02-27T15:27:53.749Z] e2be974225ed: Verifying Checksum [2023-02-27T15:27:53.749Z] e2be974225ed: Download complete [2023-02-27T15:27:53.749Z] 988bab9f4d93: Verifying Checksum [2023-02-27T15:27:53.749Z] 988bab9f4d93: Download complete [2023-02-27T15:27:54.024Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T15:27:54.024Z] 1469e6f7b9e6: Download complete [2023-02-27T15:27:54.024Z] eaf3925da568: Verifying Checksum [2023-02-27T15:27:54.024Z] eaf3925da568: Download complete [2023-02-27T15:27:54.024Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T15:27:54.024Z] 339a4e72a1f5: Download complete [2023-02-27T15:27:54.024Z] bde34c3a00c8: Download complete [2023-02-27T15:27:54.024Z] b352a97aabf1: Download complete [2023-02-27T15:27:54.024Z] 4872d77fe225: Verifying Checksum [2023-02-27T15:27:54.024Z] 4872d77fe225: Download complete [2023-02-27T15:27:54.024Z] 5851b861e8e6: Verifying Checksum [2023-02-27T15:27:54.024Z] 5851b861e8e6: Download complete [2023-02-27T15:27:54.024Z] b85a868b505f: Verifying Checksum [2023-02-27T15:27:54.024Z] b85a868b505f: Download complete [2023-02-27T15:27:54.286Z] bab4dde63d76: Verifying Checksum [2023-02-27T15:27:54.286Z] bab4dde63d76: Download complete [2023-02-27T15:27:55.222Z] b85a868b505f: Pull complete [2023-02-27T15:27:55.481Z] e2be974225ed: Pull complete [2023-02-27T15:27:56.050Z] 339a4e72a1f5: Pull complete [2023-02-27T15:27:56.050Z] 988bab9f4d93: Pull complete [2023-02-27T15:27:56.309Z] 1469e6f7b9e6: Pull complete [2023-02-27T15:27:56.309Z] eaf3925da568: Pull complete [2023-02-27T15:27:58.214Z] bab4dde63d76: Pull complete [2023-02-27T15:27:58.214Z] bde34c3a00c8: Pull complete [2023-02-27T15:27:58.214Z] b352a97aabf1: Pull complete [2023-02-27T15:27:58.476Z] 4872d77fe225: Pull complete [2023-02-27T15:27:58.476Z] 5851b861e8e6: Pull complete [2023-02-27T15:27:58.476Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T15:27:58.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T15:27:58.476Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:27:58.692Z] prd-ubuntu20.04-docker-8c-8g-7593 does not seem to be running inside a container [2023-02-27T15:27:58.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-259 -v /w/workspace/gexfoundry_device-rest-go_PR-259:/w/workspace/gexfoundry_device-rest-go_PR-259:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-259@tmp:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-27T15:27:59.973Z] $ docker top 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b -eo pid,comm [2023-02-27T15:28:00.026Z] 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-02-27T15:28:00.026Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T15:28:00.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T15:28:00.152Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T15:28:00.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T15:28:00.281Z] $ docker exec 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b ssh-agent [2023-02-27T15:28:00.389Z] SSH_AUTH_SOCK=/tmp/ssh-EqPtevO7Jlk8/agent.33 [2023-02-27T15:28:00.389Z] SSH_AGENT_PID=39 [2023-02-27T15:28:00.396Z] Running ssh-add (command line suppressed) [2023-02-27T15:28:00.508Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-259@tmp/private_key_9371153930384221633.key (/w/workspace/gexfoundry_device-rest-go_PR-259@tmp/private_key_9371153930384221633.key) [2023-02-27T15:28:00.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T15:28:00.859Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T15:28:00.888Z] $ docker exec --env ******** --env ******** 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b ssh-agent -k [2023-02-27T15:28:00.991Z] unset SSH_AUTH_SOCK; [2023-02-27T15:28:00.992Z] unset SSH_AGENT_PID; [2023-02-27T15:28:00.992Z] echo Agent pid 39 killed; [2023-02-27T15:28:01.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T15:28:01.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T15:28:01.097Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T15:28:01.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T15:28:01.228Z] $ docker exec 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b ssh-agent [2023-02-27T15:28:01.336Z] SSH_AUTH_SOCK=/tmp/ssh-9z9CEYnVYCNc/agent.72 [2023-02-27T15:28:01.336Z] SSH_AGENT_PID=78 [2023-02-27T15:28:01.341Z] Running ssh-add (command line suppressed) [2023-02-27T15:28:01.462Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-259@tmp/private_key_16422382300943318114.key (/w/workspace/gexfoundry_device-rest-go_PR-259@tmp/private_key_16422382300943318114.key) [2023-02-27T15:28:01.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T15:28:01.815Z] + git semver init [2023-02-27T15:28:02.078Z] 2023-02-27 15:28:01,986 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T15:28:02.078Z] 2023-02-27 15:28:01,987 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-259/.semver [2023-02-27T15:28:02.078Z] 2023-02-27 15:28:01,987 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-259/.semver [2023-02-27T15:28:02.078Z] 2023-02-27 15:28:01,988 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-259/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-259, universal_newlines=False, shell=None, istream=None) [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,091 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-259/.git/info/exclude [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,092 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-259/.semver/PR-259 with force:False [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,092 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-259/.semver/PR-259 [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,096 [execute] INFO git cat-file --batch-check [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-259/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,102 [execute] INFO git cat-file --batch [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-259/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T15:28:03.461Z] 2023-02-27 15:28:03,105 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-259/.semver/PR-259 [2023-02-27T15:28:03.461Z] 0.0.0 [Pipeline] } [2023-02-27T15:28:03.486Z] $ docker exec --env ******** --env ******** 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b ssh-agent -k [2023-02-27T15:28:03.586Z] unset SSH_AUTH_SOCK; [2023-02-27T15:28:03.587Z] unset SSH_AGENT_PID; [2023-02-27T15:28:03.587Z] echo Agent pid 78 killed; [2023-02-27T15:28:03.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T15:28:04.010Z] + git semver [Pipeline] } [2023-02-27T15:28:04.297Z] $ docker stop --time=1 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b [2023-02-27T15:28:05.633Z] $ docker rm -f --volumes 58bcfdb7dd802c43f8548a7b56e888af59ec8979a9a5a5b96e2e251876541a1b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T15:28:06.027Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T15:28:06.317Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T15:28:06.335Z] [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-02-27T15:28:06.910Z] provisioning config files... [2023-02-27T15:28:06.921Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp/config9257517064179507715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:28:07.273Z] ---> docker-login.sh [2023-02-27T15:28:07.273Z] nexus3.edgexfoundry.org:10001 [2023-02-27T15:28:07.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:28:07.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:28:07.273Z] Configure a credential helper to remove this warning. See [2023-02-27T15:28:07.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:28:07.273Z] [2023-02-27T15:28:07.273Z] Login Succeeded [2023-02-27T15:28:07.273Z] nexus3.edgexfoundry.org:10002 [2023-02-27T15:28:07.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:28:07.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:28:07.273Z] Configure a credential helper to remove this warning. See [2023-02-27T15:28:07.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:28:07.273Z] [2023-02-27T15:28:07.273Z] Login Succeeded [2023-02-27T15:28:07.273Z] nexus3.edgexfoundry.org:10003 [2023-02-27T15:28:07.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:28:07.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:28:07.539Z] Configure a credential helper to remove this warning. See [2023-02-27T15:28:07.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:28:07.539Z] [2023-02-27T15:28:07.539Z] Login Succeeded [2023-02-27T15:28:07.539Z] nexus3.edgexfoundry.org:10004 [2023-02-27T15:28:07.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:28:07.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:28:07.540Z] Configure a credential helper to remove this warning. See [2023-02-27T15:28:07.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:28:07.540Z] [2023-02-27T15:28:07.540Z] Login Succeeded [2023-02-27T15:28:07.540Z] docker.io [2023-02-27T15:28:07.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:28:08.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:28:08.060Z] Configure a credential helper to remove this warning. See [2023-02-27T15:28:08.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:28:08.060Z] [2023-02-27T15:28:08.060Z] Login Succeeded [2023-02-27T15:28:08.060Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T15:28:08.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T15:28:08.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:28:08.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:28:08.347Z] ========================================================= [2023-02-27T15:28:08.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T15:28:08.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:28:08.825Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T15:28:08.825Z] Sending build context to Docker daemon 10.83MB [2023-02-27T15:28:08.825Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:28:08.825Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-27T15:28:08.825Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T15:28:08.825Z] 213ec9aee27d: Pulling fs layer [2023-02-27T15:28:08.825Z] 4583459ba037: Pulling fs layer [2023-02-27T15:28:08.825Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T15:28:08.825Z] 53926ce57604: Pulling fs layer [2023-02-27T15:28:08.825Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T15:28:08.825Z] 22ff95d597cd: Pulling fs layer [2023-02-27T15:28:08.825Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T15:28:08.825Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T15:28:08.825Z] a7acece74701: Pulling fs layer [2023-02-27T15:28:08.825Z] 22ff95d597cd: Waiting [2023-02-27T15:28:08.825Z] 12d6caf4c0d1: Waiting [2023-02-27T15:28:08.825Z] 21b2b0c7a3f4: Waiting [2023-02-27T15:28:08.825Z] 96b7cbca73a9: Waiting [2023-02-27T15:28:08.825Z] a7acece74701: Waiting [2023-02-27T15:28:08.825Z] 53926ce57604: Waiting [2023-02-27T15:28:08.825Z] 93c1e223e6f2: Verifying Checksum [2023-02-27T15:28:08.825Z] 93c1e223e6f2: Download complete [2023-02-27T15:28:08.825Z] 4583459ba037: Download complete [2023-02-27T15:28:09.090Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-27T15:28:09.090Z] 21b2b0c7a3f4: Download complete [2023-02-27T15:28:09.090Z] 22ff95d597cd: Verifying Checksum [2023-02-27T15:28:09.090Z] 22ff95d597cd: Download complete [2023-02-27T15:28:09.090Z] 213ec9aee27d: Verifying Checksum [2023-02-27T15:28:09.090Z] 213ec9aee27d: Download complete [2023-02-27T15:28:09.090Z] 12d6caf4c0d1: Verifying Checksum [2023-02-27T15:28:09.090Z] 12d6caf4c0d1: Download complete [2023-02-27T15:28:09.090Z] 213ec9aee27d: Pull complete [2023-02-27T15:28:09.353Z] 4583459ba037: Pull complete [2023-02-27T15:28:09.353Z] 93c1e223e6f2: Pull complete [2023-02-27T15:28:09.353Z] a7acece74701: Verifying Checksum [2023-02-27T15:28:09.353Z] a7acece74701: Download complete [2023-02-27T15:28:09.614Z] 96b7cbca73a9: Verifying Checksum [2023-02-27T15:28:09.614Z] 96b7cbca73a9: Download complete [2023-02-27T15:28:09.872Z] 53926ce57604: Download complete [2023-02-27T15:28:14.065Z] 53926ce57604: Pull complete [2023-02-27T15:28:14.065Z] 21b2b0c7a3f4: Pull complete [2023-02-27T15:28:14.065Z] 22ff95d597cd: Pull complete [2023-02-27T15:28:14.065Z] 12d6caf4c0d1: Pull complete [2023-02-27T15:28:15.969Z] 96b7cbca73a9: Pull complete [2023-02-27T15:28:16.903Z] a7acece74701: Pull complete [2023-02-27T15:28:16.903Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T15:28:16.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T15:28:16.903Z] ---> db6d94c90886 [2023-02-27T15:28:16.903Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:28:18.296Z] ---> Running in 8d920bc3f852 [2023-02-27T15:28:18.554Z] Removing intermediate container 8d920bc3f852 [2023-02-27T15:28:18.554Z] ---> 3571643656b4 [2023-02-27T15:28:18.554Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:28:18.554Z] ---> Running in 8e1962417707 [2023-02-27T15:28:18.554Z] Removing intermediate container 8e1962417707 [2023-02-27T15:28:18.554Z] ---> e11f2ad0335c [2023-02-27T15:28:18.554Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T15:28:18.554Z] ---> Running in 8008f782ff1c [2023-02-27T15:28:18.813Z] Removing intermediate container 8008f782ff1c [2023-02-27T15:28:18.813Z] ---> 3e985cb7584c [2023-02-27T15:28:18.813Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T15:28:18.813Z] ---> Running in d669a2dcaee5 [2023-02-27T15:28:18.813Z] Removing intermediate container d669a2dcaee5 [2023-02-27T15:28:18.813Z] ---> dd8b294fbe1c [2023-02-27T15:28:18.813Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T15:28:19.073Z] ---> Running in dc7a67857b8e [2023-02-27T15:28:19.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T15:28:19.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T15:28:19.592Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T15:28:19.592Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-27T15:28:19.592Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T15:28:19.592Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T15:28:19.592Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T15:28:19.855Z] OK: 216 MiB in 55 packages [2023-02-27T15:28:20.114Z] Removing intermediate container dc7a67857b8e [2023-02-27T15:28:20.114Z] ---> de2ebd2cbbf3 [2023-02-27T15:28:20.114Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-27T15:28:20.114Z] ---> Running in e4d7ff999012 [2023-02-27T15:28:20.372Z] Removing intermediate container e4d7ff999012 [2023-02-27T15:28:20.372Z] ---> 4e102287823e [2023-02-27T15:28:20.372Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-27T15:28:20.372Z] ---> a8ba11274cde [2023-02-27T15:28:20.372Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:28:20.372Z] ---> Running in 44ecb67161e7 [2023-02-27T15:28:21.739Z] Still waiting to schedule task [2023-02-27T15:28:21.740Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-27T15:28:42.312Z] Removing intermediate container 44ecb67161e7 [2023-02-27T15:28:42.312Z] ---> 6472eec05d95 [2023-02-27T15:28:42.312Z] Step 11/12 : COPY . . [2023-02-27T15:28:42.312Z] ---> d42ff48600ba [2023-02-27T15:28:42.312Z] Step 12/12 : RUN $MAKE [2023-02-27T15:28:42.312Z] ---> Running in 62318e8205b4 [2023-02-27T15:28:42.312Z] noop [2023-02-27T15:28:42.312Z] Removing intermediate container 62318e8205b4 [2023-02-27T15:28:42.312Z] ---> 2e8bd4872234 [2023-02-27T15:28:42.312Z] Successfully built 2e8bd4872234 [2023-02-27T15:28:42.312Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:28:42.762Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T15:28:42.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:28:42.923Z] prd-ubuntu20.04-docker-8c-8g-7593 does not seem to be running inside a container [2023-02-27T15:28:42.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-259 -v /w/workspace/gexfoundry_device-rest-go_PR-259:/w/workspace/gexfoundry_device-rest-go_PR-259:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-259@tmp:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T15:28:43.347Z] $ docker top f1919263c8849d48a239a9842b53b082d576d42a60a1410d07580b82d5caeb1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:28:43.745Z] + go version [2023-02-27T15:28:43.745Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T15:28:43.778Z] $ docker stop --time=1 f1919263c8849d48a239a9842b53b082d576d42a60a1410d07580b82d5caeb1e [2023-02-27T15:28:45.114Z] $ docker rm -f --volumes f1919263c8849d48a239a9842b53b082d576d42a60a1410d07580b82d5caeb1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:28:45.834Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T15:28:45.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:28:45.989Z] prd-ubuntu20.04-docker-8c-8g-7593 does not seem to be running inside a container [2023-02-27T15:28:46.022Z] $ 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-259 -v /w/workspace/gexfoundry_device-rest-go_PR-259:/w/workspace/gexfoundry_device-rest-go_PR-259:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-259@tmp:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T15:28:46.376Z] $ docker top 2b71a73144b027cd854e528c7631ce61b6e6c8c27569e419298d4141595ab4ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:28:46.775Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-259 [Pipeline] fileExists [Pipeline] sh [2023-02-27T15:28:47.140Z] + make test [2023-02-27T15:28:47.140Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T15:28:47.399Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-27T15:28:57.373Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-27T15:28:57.633Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 33.9% of statements [2023-02-27T15:29:05.808Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-27T15:29:05.808Z] go vet ./... [2023-02-27T15:29:09.234Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T15:29:09.234Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T15:29:09.234Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T15:29:09.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T15:29:09.299Z] $ docker stop --time=1 2b71a73144b027cd854e528c7631ce61b6e6c8c27569e419298d4141595ab4ec [2023-02-27T15:29:11.006Z] $ docker rm -f --volumes 2b71a73144b027cd854e528c7631ce61b6e6c8c27569e419298d4141595ab4ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T15:29:11.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T15:29:11.600Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T15:29:12.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T15:29:12.510Z] + ls -al . [2023-02-27T15:29:12.510Z] total 188 [2023-02-27T15:29:12.510Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 15:28 . [2023-02-27T15:29:12.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:27 .. [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 27 15:27 .dockerignore [2023-02-27T15:29:12.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:28 .git [2023-02-27T15:29:12.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:27 .github [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 27 15:27 .gitignore [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:27 .golangci.yml [2023-02-27T15:29:12.510Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:28 .semver [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 27 15:27 Attribution.txt [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 27 15:27 CHANGELOG.md [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 27 15:27 Dockerfile [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:27 GOVERNANCE.md [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:27 Jenkinsfile [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:27 LICENSE [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 27 15:27 Makefile [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 15:27 OWNERS.md [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 27 15:27 README.md [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:28 VERSION [2023-02-27T15:29:12.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:27 bin [2023-02-27T15:29:12.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:27 cmd [2023-02-27T15:29:12.510Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 27 15:28 coverage.out [2023-02-27T15:29:12.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:27 driver [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 3401 Feb 27 15:27 go.mod [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 33254 Feb 27 15:27 go.sum [2023-02-27T15:29:12.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:27 snap [2023-02-27T15:29:12.510Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 27 15:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:29:12.922Z] + 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=ca5c6edfc50c199ca01e531a9e95656f0a558baf --label arch=amd64 --label version=0.0.0 . [2023-02-27T15:29:12.922Z] Sending build context to Docker daemon 10.84MB [2023-02-27T15:29:12.922Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:29:12.922Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-27T15:29:12.922Z] ---> 2e8bd4872234 [2023-02-27T15:29:12.922Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:29:12.922Z] ---> Running in 16f4bcbf0296 [2023-02-27T15:29:13.181Z] Removing intermediate container 16f4bcbf0296 [2023-02-27T15:29:13.181Z] ---> 5941c193c858 [2023-02-27T15:29:13.181Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:29:13.181Z] ---> Running in 692fdea4ea51 [2023-02-27T15:29:13.181Z] Removing intermediate container 692fdea4ea51 [2023-02-27T15:29:13.181Z] ---> 45c122e05f1c [2023-02-27T15:29:13.181Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T15:29:13.181Z] ---> Running in 8d8369977149 [2023-02-27T15:29:13.439Z] Removing intermediate container 8d8369977149 [2023-02-27T15:29:13.439Z] ---> a35bff43e4a5 [2023-02-27T15:29:13.439Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T15:29:13.439Z] ---> Running in 33a5fadedf5e [2023-02-27T15:29:13.439Z] Removing intermediate container 33a5fadedf5e [2023-02-27T15:29:13.439Z] ---> 648a2c9caf20 [2023-02-27T15:29:13.439Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T15:29:13.439Z] ---> Running in bc0ad066c9f7 [2023-02-27T15:29:13.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T15:29:13.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T15:29:14.213Z] OK: 216 MiB in 55 packages [2023-02-27T15:29:14.474Z] Removing intermediate container bc0ad066c9f7 [2023-02-27T15:29:14.474Z] ---> 183cb99c68a8 [2023-02-27T15:29:14.474Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-27T15:29:14.474Z] ---> Running in 22105cbd943e [2023-02-27T15:29:14.732Z] Removing intermediate container 22105cbd943e [2023-02-27T15:29:14.732Z] ---> b256e5b5171c [2023-02-27T15:29:14.732Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-27T15:29:14.732Z] ---> bdbaa64695c9 [2023-02-27T15:29:14.732Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:29:14.992Z] ---> Running in a08a922ac3f8 [2023-02-27T15:29:15.925Z] Removing intermediate container a08a922ac3f8 [2023-02-27T15:29:15.925Z] ---> 01e1def59117 [2023-02-27T15:29:15.925Z] Step 11/25 : COPY . . [2023-02-27T15:29:16.184Z] ---> ee33e04c5dae [2023-02-27T15:29:16.184Z] Step 12/25 : RUN $MAKE [2023-02-27T15:29:16.184Z] ---> Running in 361920c50e3d [2023-02-27T15:29:16.442Z] 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-02-27T15:29:38.361Z] Removing intermediate container 361920c50e3d [2023-02-27T15:29:38.361Z] ---> 83d541e15271 [2023-02-27T15:29:38.361Z] Step 13/25 : FROM alpine:3.16 [2023-02-27T15:29:38.361Z] 3.16: Pulling from library/alpine [2023-02-27T15:29:38.361Z] ef5531b6e74e: Pulling fs layer [2023-02-27T15:29:38.361Z] ef5531b6e74e: Verifying Checksum [2023-02-27T15:29:38.361Z] ef5531b6e74e: Download complete [2023-02-27T15:29:38.361Z] ef5531b6e74e: Pull complete [2023-02-27T15:29:38.361Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T15:29:38.361Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T15:29:38.361Z] ---> dfd21b5a31f5 [2023-02-27T15:29:38.361Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-27T15:29:38.361Z] ---> Running in 90f4c2a69ce6 [2023-02-27T15:29:38.361Z] Removing intermediate container 90f4c2a69ce6 [2023-02-27T15:29:38.361Z] ---> d5a0f177c2f9 [2023-02-27T15:29:38.361Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-27T15:29:38.361Z] ---> Running in fec024726596 [2023-02-27T15:29:38.361Z] Removing intermediate container fec024726596 [2023-02-27T15:29:38.361Z] ---> 1c4e94f8cacf [2023-02-27T15:29:38.361Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-27T15:29:38.361Z] ---> Running in 4829a277715c [2023-02-27T15:29:38.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T15:29:38.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T15:29:38.361Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T15:29:38.361Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T15:29:38.361Z] OK: 6 MiB in 15 packages [2023-02-27T15:29:38.361Z] Removing intermediate container 4829a277715c [2023-02-27T15:29:38.361Z] ---> 612958ddedb3 [2023-02-27T15:29:38.361Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-27T15:29:38.361Z] ---> 4e33e2531141 [2023-02-27T15:29:38.361Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-27T15:29:38.361Z] ---> 0ad3e180cf5c [2023-02-27T15:29:38.361Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-27T15:29:38.361Z] ---> 8c365a2ce82d [2023-02-27T15:29:38.361Z] Step 20/25 : EXPOSE 59986 [2023-02-27T15:29:38.361Z] ---> Running in 2c06a2904634 [2023-02-27T15:29:38.361Z] Removing intermediate container 2c06a2904634 [2023-02-27T15:29:38.361Z] ---> c3c295e719f0 [2023-02-27T15:29:38.361Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-27T15:29:38.361Z] ---> Running in 64b152fd3391 [2023-02-27T15:29:38.361Z] Removing intermediate container 64b152fd3391 [2023-02-27T15:29:38.361Z] ---> d82d334db12e [2023-02-27T15:29:38.361Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-27T15:29:38.361Z] ---> Running in b58c4234d836 [2023-02-27T15:29:38.361Z] Removing intermediate container b58c4234d836 [2023-02-27T15:29:38.361Z] ---> 057ba4fae341 [2023-02-27T15:29:38.361Z] Step 23/25 : LABEL arch=amd64 [2023-02-27T15:29:38.361Z] ---> Running in 37e24607b369 [2023-02-27T15:29:38.361Z] Removing intermediate container 37e24607b369 [2023-02-27T15:29:38.361Z] ---> c0873a1e57af [2023-02-27T15:29:38.361Z] Step 24/25 : LABEL git_sha=ca5c6edfc50c199ca01e531a9e95656f0a558baf [2023-02-27T15:29:38.361Z] ---> Running in 3f6807737175 [2023-02-27T15:29:38.361Z] Removing intermediate container 3f6807737175 [2023-02-27T15:29:38.361Z] ---> f87a89bf2f82 [2023-02-27T15:29:38.361Z] Step 25/25 : LABEL version=0.0.0 [2023-02-27T15:29:38.361Z] ---> Running in 89efe6d21732 [2023-02-27T15:29:38.361Z] Removing intermediate container 89efe6d21732 [2023-02-27T15:29:38.361Z] ---> 0e103c7f729a [2023-02-27T15:29:38.361Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T15:29:38.361Z] Successfully built 0e103c7f729a [2023-02-27T15:29:38.361Z] 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-02-27T15:29:39.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:29:39.198Z] [2023-02-27T15:29:39.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:29:39.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:29:39.573Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T15:29:39.573Z] 5eb5b503b376: Pulling fs layer [2023-02-27T15:29:39.573Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T15:29:39.573Z] ec43610c2a17: Pulling fs layer [2023-02-27T15:29:39.573Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T15:29:39.573Z] 33b1e0a273af: Pulling fs layer [2023-02-27T15:29:39.573Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T15:29:39.573Z] 2f39f015ded8: Pulling fs layer [2023-02-27T15:29:39.573Z] 3a2ae6a8a46f: Waiting [2023-02-27T15:29:39.573Z] 33b1e0a273af: Waiting [2023-02-27T15:29:39.573Z] 5d3b04190fa2: Waiting [2023-02-27T15:29:39.573Z] 2f39f015ded8: Waiting [2023-02-27T15:29:39.573Z] 5c69ac0246d0: Verifying Checksum [2023-02-27T15:29:39.832Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-27T15:29:39.832Z] 3a2ae6a8a46f: Download complete [2023-02-27T15:29:39.832Z] 33b1e0a273af: Verifying Checksum [2023-02-27T15:29:39.832Z] 33b1e0a273af: Download complete [2023-02-27T15:29:39.832Z] ec43610c2a17: Verifying Checksum [2023-02-27T15:29:39.832Z] ec43610c2a17: Download complete [2023-02-27T15:29:39.832Z] 5d3b04190fa2: Verifying Checksum [2023-02-27T15:29:39.832Z] 5d3b04190fa2: Download complete [2023-02-27T15:29:39.832Z] 5eb5b503b376: Verifying Checksum [2023-02-27T15:29:39.832Z] 5eb5b503b376: Download complete [2023-02-27T15:29:40.397Z] 2f39f015ded8: Download complete [2023-02-27T15:29:40.963Z] 5eb5b503b376: Pull complete [2023-02-27T15:29:41.220Z] 5c69ac0246d0: Pull complete [2023-02-27T15:29:41.788Z] ec43610c2a17: Pull complete [2023-02-27T15:29:41.788Z] 3a2ae6a8a46f: Pull complete [2023-02-27T15:29:42.046Z] 33b1e0a273af: Pull complete [2023-02-27T15:29:42.046Z] 5d3b04190fa2: Pull complete [2023-02-27T15:29:46.230Z] 2f39f015ded8: Pull complete [2023-02-27T15:29:46.230Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T15:29:46.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:29:46.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:29:46.452Z] prd-ubuntu20.04-docker-8c-8g-7593 does not seem to be running inside a container [2023-02-27T15:29:46.477Z] $ 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-259 -v /w/workspace/gexfoundry_device-rest-go_PR-259:/w/workspace/gexfoundry_device-rest-go_PR-259:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-259@tmp:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T15:29:47.969Z] $ docker top 70bf8945979dcc67f2eee2fd979ff506bf4b3063fa4bee6a3072c9f0a7c417da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:29:48.485Z] ---> job-cost.sh [2023-02-27T15:29:48.485Z] lf-activate-venv: SKIPPING [2023-02-27T15:29:48.485Z] INFO: No Stack... [2023-02-27T15:29:48.798Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T15:29:49.058Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T15:29:49.370Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-259/archives/cost.csv [2023-02-27T15:29:49.370Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T15:29:49.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] [2023-02-27T15:29:49.414Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] did not exist. Created. [2023-02-27T15:29:49.415Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T15:29:49.826Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T15:29:49.874Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T15:29:49.903Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T15:29:49.977Z] $ docker stop --time=1 70bf8945979dcc67f2eee2fd979ff506bf4b3063fa4bee6a3072c9f0a7c417da [2023-02-27T15:29:51.157Z] $ docker rm -f --volumes 70bf8945979dcc67f2eee2fd979ff506bf4b3063fa4bee6a3072c9f0a7c417da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T15:29:56.618Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7595 in /w/workspace/gexfoundry_device-rest-go_PR-259 [Pipeline] { [Pipeline] ws [2023-02-27T15:29:56.675Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-27T15:29:56.750Z] The recommended git tool is: git [2023-02-27T15:30:02.631Z] using credential edgex-jenkins-ssh [2023-02-27T15:30:02.649Z] Cloning the remote Git repository [2023-02-27T15:30:02.697Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-27T15:30:02.780Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-27T15:30:02.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-27T15:30:02.968Z] > git --version # timeout=10 [2023-02-27T15:30:02.989Z] > git --version # 'git version 2.25.1' [2023-02-27T15:30:02.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T15:30:03.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T15:30:05.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-27T15:30:05.259Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T15:30:06.766Z] Merging remotes/origin/main commit 3364b454c95a561448dfe8dfd76d21007d3a77e4 into PR head commit ca5c6edfc50c199ca01e531a9e95656f0a558baf [2023-02-27T15:30:06.985Z] Merge succeeded, producing ca5c6edfc50c199ca01e531a9e95656f0a558baf [2023-02-27T15:30:06.985Z] Checking out Revision ca5c6edfc50c199ca01e531a9e95656f0a558baf (PR-259) [2023-02-27T15:30:06.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-27T15:30:06.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-27T15:30:06.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T15:30:06.190Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T15:30:06.777Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T15:30:06.794Z] > git checkout -f ca5c6edfc50c199ca01e531a9e95656f0a558baf # timeout=10 [2023-02-27T15:30:06.872Z] > git remote # timeout=10 [2023-02-27T15:30:06.891Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T15:30:06.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T15:30:06.929Z] > git merge 3364b454c95a561448dfe8dfd76d21007d3a77e4 # timeout=10 [2023-02-27T15:30:06.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T15:30:06.984Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T15:30:06.998Z] > git checkout -f ca5c6edfc50c199ca01e531a9e95656f0a558baf # timeout=10 [2023-02-27T15:30:07.460Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-27T15:30:07.500Z] > git --version # timeout=10 [2023-02-27T15:30:07.512Z] > git --version # 'git version 2.25.1' [2023-02-27T15:30:07.532Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T15:30:08.707Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T15:30:08.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T15:30:08.707Z] Dload Upload Total Spent Left Speed [2023-02-27T15:30:08.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 55925 0 --:--:-- --:--:-- --:--:-- 55925 [Pipeline] sh [2023-02-27T15:30:09.303Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T15:30:09.652Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-27T15:30:09.652Z] + sudo tee /etc/docker/daemon.new [2023-02-27T15:30:09.652Z] { [2023-02-27T15:30:09.652Z] "registry-mirrors": [ [2023-02-27T15:30:09.652Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T15:30:09.652Z] ], [2023-02-27T15:30:09.652Z] "bip": "10.250.0.254/24", [2023-02-27T15:30:09.652Z] "hosts": [ [2023-02-27T15:30:09.652Z] "tcp://0.0.0.0:5555", [2023-02-27T15:30:09.652Z] "unix:///var/run/docker.sock" [2023-02-27T15:30:09.652Z] ], [2023-02-27T15:30:09.652Z] "mtu": 1458, [2023-02-27T15:30:09.652Z] "selinux-enabled": true, [2023-02-27T15:30:09.652Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T15:30:09.652Z] } [Pipeline] sh [2023-02-27T15:30:09.996Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T15:30:10.345Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T15:30:28.679Z] provisioning config files... [2023-02-27T15:30:28.705Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13255376751755055421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:30:29.099Z] ---> docker-login.sh [2023-02-27T15:30:29.099Z] nexus3.edgexfoundry.org:10001 [2023-02-27T15:30:29.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:30:29.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:30:29.639Z] Configure a credential helper to remove this warning. See [2023-02-27T15:30:29.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:30:29.639Z] [2023-02-27T15:30:29.639Z] Login Succeeded [2023-02-27T15:30:29.639Z] nexus3.edgexfoundry.org:10002 [2023-02-27T15:30:29.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:30:30.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:30:30.182Z] Configure a credential helper to remove this warning. See [2023-02-27T15:30:30.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:30:30.182Z] [2023-02-27T15:30:30.182Z] Login Succeeded [2023-02-27T15:30:30.182Z] nexus3.edgexfoundry.org:10003 [2023-02-27T15:30:30.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:30:30.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:30:30.454Z] Configure a credential helper to remove this warning. See [2023-02-27T15:30:30.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:30:30.454Z] [2023-02-27T15:30:30.454Z] Login Succeeded [2023-02-27T15:30:30.454Z] nexus3.edgexfoundry.org:10004 [2023-02-27T15:30:30.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:30:30.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:30:30.726Z] Configure a credential helper to remove this warning. See [2023-02-27T15:30:30.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:30:30.726Z] [2023-02-27T15:30:30.726Z] Login Succeeded [2023-02-27T15:30:30.726Z] docker.io [2023-02-27T15:30:30.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T15:30:31.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T15:30:31.262Z] Configure a credential helper to remove this warning. See [2023-02-27T15:30:31.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T15:30:31.262Z] [2023-02-27T15:30:31.262Z] Login Succeeded [2023-02-27T15:30:31.262Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T15:30:31.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T15:30:31.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:30:31.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T15:30:31.755Z] ========================================================= [2023-02-27T15:30:31.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T15:30:31.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:30:32.270Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T15:30:32.270Z] Sending build context to Docker daemon 138.8kB [2023-02-27T15:30:32.540Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:30:32.540Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-27T15:30:32.809Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T15:30:32.809Z] 9b18e9b68314: Pulling fs layer [2023-02-27T15:30:32.809Z] 35d82f9e3411: Pulling fs layer [2023-02-27T15:30:32.810Z] e16973657156: Pulling fs layer [2023-02-27T15:30:32.810Z] fc693d55d65f: Pulling fs layer [2023-02-27T15:30:32.810Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T15:30:32.810Z] dda99020689f: Pulling fs layer [2023-02-27T15:30:32.810Z] db1c61fa0a46: Pulling fs layer [2023-02-27T15:30:32.810Z] 891c053d2c06: Pulling fs layer [2023-02-27T15:30:32.810Z] dda99020689f: Waiting [2023-02-27T15:30:32.810Z] db1c61fa0a46: Waiting [2023-02-27T15:30:32.810Z] fc693d55d65f: Waiting [2023-02-27T15:30:32.810Z] 7e9fc2657dce: Waiting [2023-02-27T15:30:32.810Z] 891c053d2c06: Waiting [2023-02-27T15:30:32.810Z] e16973657156: Verifying Checksum [2023-02-27T15:30:32.810Z] e16973657156: Download complete [2023-02-27T15:30:32.810Z] 35d82f9e3411: Verifying Checksum [2023-02-27T15:30:32.810Z] 35d82f9e3411: Download complete [2023-02-27T15:30:32.810Z] 7e9fc2657dce: Verifying Checksum [2023-02-27T15:30:32.810Z] 7e9fc2657dce: Download complete [2023-02-27T15:30:32.810Z] dda99020689f: Download complete [2023-02-27T15:30:32.810Z] 9b18e9b68314: Verifying Checksum [2023-02-27T15:30:32.810Z] 9b18e9b68314: Download complete [2023-02-27T15:30:33.787Z] 9b18e9b68314: Pull complete [2023-02-27T15:30:33.787Z] 891c053d2c06: Verifying Checksum [2023-02-27T15:30:33.787Z] 891c053d2c06: Download complete [2023-02-27T15:30:34.377Z] 35d82f9e3411: Pull complete [2023-02-27T15:30:34.657Z] e16973657156: Pull complete [2023-02-27T15:30:35.246Z] db1c61fa0a46: Verifying Checksum [2023-02-27T15:30:35.246Z] db1c61fa0a46: Download complete [2023-02-27T15:30:35.834Z] fc693d55d65f: Verifying Checksum [2023-02-27T15:30:35.834Z] fc693d55d65f: Download complete [2023-02-27T15:30:48.165Z] fc693d55d65f: Pull complete [2023-02-27T15:30:48.165Z] 7e9fc2657dce: Pull complete [2023-02-27T15:30:48.165Z] dda99020689f: Pull complete [2023-02-27T15:30:53.516Z] db1c61fa0a46: Pull complete [2023-02-27T15:30:54.482Z] 891c053d2c06: Pull complete [2023-02-27T15:30:54.482Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T15:30:54.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T15:30:54.482Z] ---> f96f9c87975a [2023-02-27T15:30:54.482Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:30:56.556Z] ---> Running in 856b69570762 [2023-02-27T15:30:56.935Z] Removing intermediate container 856b69570762 [2023-02-27T15:30:56.935Z] ---> ad3630b92441 [2023-02-27T15:30:56.935Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:30:56.935Z] ---> Running in 220718c3f56f [2023-02-27T15:30:57.202Z] Removing intermediate container 220718c3f56f [2023-02-27T15:30:57.202Z] ---> f997e8cb8973 [2023-02-27T15:30:57.202Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T15:30:57.202Z] ---> Running in 8b4c8d5c2488 [2023-02-27T15:30:57.470Z] Removing intermediate container 8b4c8d5c2488 [2023-02-27T15:30:57.470Z] ---> 719e0775de98 [2023-02-27T15:30:57.470Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T15:30:57.737Z] ---> Running in 4d8ae7125518 [2023-02-27T15:30:58.009Z] Removing intermediate container 4d8ae7125518 [2023-02-27T15:30:58.009Z] ---> ff980dd31bae [2023-02-27T15:30:58.009Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T15:30:58.009Z] ---> Running in 4e561ccfb7c5 [2023-02-27T15:30:59.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T15:30:59.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T15:31:00.670Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T15:31:00.670Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-27T15:31:00.670Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T15:31:00.670Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T15:31:00.670Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T15:31:00.670Z] OK: 226 MiB in 55 packages [2023-02-27T15:31:02.082Z] Removing intermediate container 4e561ccfb7c5 [2023-02-27T15:31:02.082Z] ---> 60482ed6cec5 [2023-02-27T15:31:02.082Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-27T15:31:02.082Z] ---> Running in c8476f48894a [2023-02-27T15:31:02.082Z] Removing intermediate container c8476f48894a [2023-02-27T15:31:02.082Z] ---> 6ce3e251e8d1 [2023-02-27T15:31:02.082Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-27T15:31:02.672Z] ---> 379786717426 [2023-02-27T15:31:02.673Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:31:02.673Z] ---> Running in 9ab9c86bd55b [2023-02-27T15:32:10.612Z] Removing intermediate container 9ab9c86bd55b [2023-02-27T15:32:10.612Z] ---> 87fdf4553579 [2023-02-27T15:32:10.612Z] Step 11/12 : COPY . . [2023-02-27T15:32:10.612Z] ---> 1d237df7719c [2023-02-27T15:32:10.612Z] Step 12/12 : RUN $MAKE [2023-02-27T15:32:10.612Z] ---> Running in e43717b4d583 [2023-02-27T15:32:10.612Z] noop [2023-02-27T15:32:10.612Z] Removing intermediate container e43717b4d583 [2023-02-27T15:32:10.612Z] ---> 1afe558eb6c8 [2023-02-27T15:32:10.612Z] Successfully built 1afe558eb6c8 [2023-02-27T15:32:10.612Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:32:11.097Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T15:32:11.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:32:11.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-7595 does not seem to be running inside a container [2023-02-27T15:32:11.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 ******** ci-base-image-arm64 cat [2023-02-27T15:32:12.679Z] $ docker top 30012c242378f5256eccfefb084a04167edb0b67a025a0abfd180176d83072a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:32:13.556Z] + go version [2023-02-27T15:32:13.556Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T15:32:13.593Z] $ docker stop --time=1 30012c242378f5256eccfefb084a04167edb0b67a025a0abfd180176d83072a0 [2023-02-27T15:32:15.187Z] $ docker rm -f --volumes 30012c242378f5256eccfefb084a04167edb0b67a025a0abfd180176d83072a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:32:16.007Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T15:32:16.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:32:16.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-7595 does not seem to be running inside a container [2023-02-27T15:32:16.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-27T15:32:17.467Z] $ docker top 3f5fc3a0f425fee9b0231acc185488f5ffd0a744cb8d0bd39fe3867e1989fdf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:32:18.033Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-27T15:32:19.018Z] + make test [2023-02-27T15:32:19.018Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T15:32:20.973Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-27T15:33:42.840Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-27T15:33:42.840Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.9% of statements [2023-02-27T15:33:43.109Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T15:33:43.109Z] go vet ./... [2023-02-27T15:34:05.187Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T15:34:05.187Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T15:34:05.187Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T15:34:05.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T15:34:05.266Z] $ docker stop --time=1 3f5fc3a0f425fee9b0231acc185488f5ffd0a744cb8d0bd39fe3867e1989fdf7 [2023-02-27T15:34:07.024Z] $ docker rm -f --volumes 3f5fc3a0f425fee9b0231acc185488f5ffd0a744cb8d0bd39fe3867e1989fdf7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T15:34:07.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T15:34:08.014Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T15:34:08.517Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T15:34:09.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T15:34:09.451Z] + ls -al . [2023-02-27T15:34:09.451Z] total 184 [2023-02-27T15:34:09.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:32 . [2023-02-27T15:34:09.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:30 .. [2023-02-27T15:34:09.451Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 27 15:30 .dockerignore [2023-02-27T15:34:09.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:30 .git [2023-02-27T15:34:09.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:30 .github [2023-02-27T15:34:09.451Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 27 15:30 .gitignore [2023-02-27T15:34:09.451Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:30 .golangci.yml [2023-02-27T15:34:09.451Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 27 15:30 Attribution.txt [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 27 15:30 CHANGELOG.md [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 27 15:30 Dockerfile [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:30 GOVERNANCE.md [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:30 Jenkinsfile [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:30 LICENSE [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 27 15:30 Makefile [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 15:30 OWNERS.md [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 27 15:30 README.md [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:28 VERSION [2023-02-27T15:34:09.452Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:30 bin [2023-02-27T15:34:09.452Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:30 cmd [2023-02-27T15:34:09.452Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 27 15:33 coverage.out [2023-02-27T15:34:09.452Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:30 driver [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 3401 Feb 27 15:30 go.mod [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 33254 Feb 27 15:30 go.sum [2023-02-27T15:34:09.452Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:30 snap [2023-02-27T15:34:09.452Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 27 15:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:34:09.874Z] + 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=ca5c6edfc50c199ca01e531a9e95656f0a558baf --label arch=arm64 --label version=0.0.0 . [2023-02-27T15:34:09.874Z] Sending build context to Docker daemon 153.1kB [2023-02-27T15:34:10.141Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T15:34:10.141Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-27T15:34:10.141Z] ---> 1afe558eb6c8 [2023-02-27T15:34:10.141Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-27T15:34:10.141Z] ---> Running in e84fc6989892 [2023-02-27T15:34:10.410Z] Removing intermediate container e84fc6989892 [2023-02-27T15:34:10.410Z] ---> b65651238869 [2023-02-27T15:34:10.410Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T15:34:10.678Z] ---> Running in cc0cb8c18c47 [2023-02-27T15:34:10.950Z] Removing intermediate container cc0cb8c18c47 [2023-02-27T15:34:10.950Z] ---> ac36c631edcb [2023-02-27T15:34:10.950Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T15:34:10.950Z] ---> Running in 0a4dee1cab7a [2023-02-27T15:34:11.219Z] Removing intermediate container 0a4dee1cab7a [2023-02-27T15:34:11.219Z] ---> 93c57f524838 [2023-02-27T15:34:11.219Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T15:34:11.219Z] ---> Running in 4e1a95669699 [2023-02-27T15:34:11.491Z] Removing intermediate container 4e1a95669699 [2023-02-27T15:34:11.491Z] ---> f85dfbb7e425 [2023-02-27T15:34:11.491Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T15:34:11.758Z] ---> Running in 2d0a213e04be [2023-02-27T15:34:12.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T15:34:16.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T15:34:16.667Z] OK: 226 MiB in 55 packages [2023-02-27T15:34:17.637Z] Removing intermediate container 2d0a213e04be [2023-02-27T15:34:17.637Z] ---> 514608478674 [2023-02-27T15:34:17.637Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-27T15:34:17.637Z] ---> Running in 104548e67ad3 [2023-02-27T15:34:18.225Z] Removing intermediate container 104548e67ad3 [2023-02-27T15:34:18.225Z] ---> 62de1ee6e738 [2023-02-27T15:34:18.225Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-27T15:34:18.495Z] ---> 6b2cce6edb00 [2023-02-27T15:34:18.495Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T15:34:18.775Z] ---> Running in e5cde5919166 [2023-02-27T15:34:22.164Z] Removing intermediate container e5cde5919166 [2023-02-27T15:34:22.164Z] ---> 56de0b55f30b [2023-02-27T15:34:22.164Z] Step 11/25 : COPY . . [2023-02-27T15:34:22.432Z] ---> a20cc85b51f3 [2023-02-27T15:34:22.432Z] Step 12/25 : RUN $MAKE [2023-02-27T15:34:22.432Z] ---> Running in dc6a1fc06e35 [2023-02-27T15:34:23.843Z] 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-02-27T15:36:45.590Z] Removing intermediate container dc6a1fc06e35 [2023-02-27T15:36:45.590Z] ---> 30d250fab016 [2023-02-27T15:36:45.590Z] Step 13/25 : FROM alpine:3.16 [2023-02-27T15:36:45.590Z] 3.16: Pulling from library/alpine [2023-02-27T15:36:45.590Z] 3760b48202b3: Pulling fs layer [2023-02-27T15:36:45.590Z] 3760b48202b3: Verifying Checksum [2023-02-27T15:36:45.590Z] 3760b48202b3: Download complete [2023-02-27T15:36:45.860Z] 3760b48202b3: Pull complete [2023-02-27T15:36:45.860Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T15:36:45.860Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T15:36:46.127Z] ---> 4c81e5bf8899 [2023-02-27T15:36:46.127Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-27T15:36:46.127Z] ---> Running in 309a9d0b9ed1 [2023-02-27T15:36:46.395Z] Removing intermediate container 309a9d0b9ed1 [2023-02-27T15:36:46.395Z] ---> 9fca97f87291 [2023-02-27T15:36:46.395Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-27T15:36:46.395Z] ---> Running in 682e1df32224 [2023-02-27T15:36:46.671Z] Removing intermediate container 682e1df32224 [2023-02-27T15:36:46.671Z] ---> 0dc498a9ba31 [2023-02-27T15:36:46.671Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-27T15:36:46.942Z] ---> Running in c95d65af8097 [2023-02-27T15:36:47.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T15:36:48.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T15:36:49.594Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T15:36:49.594Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T15:36:49.594Z] OK: 5 MiB in 15 packages [2023-02-27T15:36:50.557Z] Removing intermediate container c95d65af8097 [2023-02-27T15:36:50.557Z] ---> 050544df7ddb [2023-02-27T15:36:50.557Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-27T15:36:51.976Z] ---> 32fd25da9fd6 [2023-02-27T15:36:51.976Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-27T15:36:52.245Z] ---> ab7f56d0482c [2023-02-27T15:36:52.245Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-27T15:36:52.830Z] ---> 30c0c3b4e43b [2023-02-27T15:36:52.830Z] Step 20/25 : EXPOSE 59986 [2023-02-27T15:36:52.830Z] ---> Running in 4766e671a055 [2023-02-27T15:36:53.101Z] Removing intermediate container 4766e671a055 [2023-02-27T15:36:53.101Z] ---> 69120d893d0f [2023-02-27T15:36:53.101Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-27T15:36:53.368Z] ---> Running in e5642746590c [2023-02-27T15:36:53.635Z] Removing intermediate container e5642746590c [2023-02-27T15:36:53.635Z] ---> bd77bcabcd89 [2023-02-27T15:36:53.635Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-27T15:36:53.635Z] ---> Running in 74adf5fda734 [2023-02-27T15:36:53.904Z] Removing intermediate container 74adf5fda734 [2023-02-27T15:36:53.904Z] ---> 662e500f6ac9 [2023-02-27T15:36:53.904Z] Step 23/25 : LABEL arch=arm64 [2023-02-27T15:36:53.904Z] ---> Running in 9d160e52c12f [2023-02-27T15:36:54.175Z] Removing intermediate container 9d160e52c12f [2023-02-27T15:36:54.175Z] ---> 4d60db8d81a5 [2023-02-27T15:36:54.175Z] Step 24/25 : LABEL git_sha=ca5c6edfc50c199ca01e531a9e95656f0a558baf [2023-02-27T15:36:54.443Z] ---> Running in e2acabc320d9 [2023-02-27T15:36:54.713Z] Removing intermediate container e2acabc320d9 [2023-02-27T15:36:54.713Z] ---> 7ad85f99790f [2023-02-27T15:36:54.713Z] Step 25/25 : LABEL version=0.0.0 [2023-02-27T15:36:54.713Z] ---> Running in ef4ddac62963 [2023-02-27T15:36:54.982Z] Removing intermediate container ef4ddac62963 [2023-02-27T15:36:54.982Z] ---> 9d5fb2d07483 [2023-02-27T15:36:54.982Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T15:36:54.982Z] Successfully built 9d5fb2d07483 [2023-02-27T15:36:54.982Z] 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-02-27T15:36:55.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T15:36:55.853Z] [2023-02-27T15:36:55.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:36:56.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T15:36:56.264Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T15:36:56.264Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T15:36:56.264Z] 04944245beec: Pulling fs layer [2023-02-27T15:36:56.264Z] 699f458cf7ca: Pulling fs layer [2023-02-27T15:36:56.264Z] 765212b225bb: Pulling fs layer [2023-02-27T15:36:56.264Z] f23df028b6ca: Pulling fs layer [2023-02-27T15:36:56.264Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T15:36:56.264Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T15:36:56.264Z] f23df028b6ca: Waiting [2023-02-27T15:36:56.264Z] 765212b225bb: Waiting [2023-02-27T15:36:56.264Z] d65c8cfc05b1: Waiting [2023-02-27T15:36:56.264Z] 2437ff75d9bd: Waiting [2023-02-27T15:36:56.532Z] 04944245beec: Verifying Checksum [2023-02-27T15:36:56.532Z] 04944245beec: Download complete [2023-02-27T15:36:56.532Z] 765212b225bb: Verifying Checksum [2023-02-27T15:36:56.532Z] 765212b225bb: Download complete [2023-02-27T15:36:56.532Z] f23df028b6ca: Download complete [2023-02-27T15:36:56.532Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T15:36:56.532Z] d65c8cfc05b1: Download complete [2023-02-27T15:36:56.800Z] 699f458cf7ca: Verifying Checksum [2023-02-27T15:36:56.800Z] 699f458cf7ca: Download complete [2023-02-27T15:36:57.069Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T15:36:57.069Z] 8998bd30e6a1: Download complete [2023-02-27T15:36:59.657Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T15:36:59.657Z] 2437ff75d9bd: Download complete [2023-02-27T15:37:01.203Z] 8998bd30e6a1: Pull complete [2023-02-27T15:37:01.481Z] 04944245beec: Pull complete [2023-02-27T15:37:02.925Z] 699f458cf7ca: Pull complete [2023-02-27T15:37:03.196Z] 765212b225bb: Pull complete [2023-02-27T15:37:04.166Z] f23df028b6ca: Pull complete [2023-02-27T15:37:04.166Z] d65c8cfc05b1: Pull complete [2023-02-27T15:37:19.158Z] 2437ff75d9bd: Pull complete [2023-02-27T15:37:19.158Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T15:37:19.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T15:37:19.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:37:19.487Z] prd-ubuntu20.04-docker-arm64-4c-16g-7595 does not seem to be running inside a container [2023-02-27T15:37:19.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-27T15:37:22.040Z] $ docker top c465cc6bfa6e1ff01f81478a2157ca5533bf215206d1c765388691658cacd7c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:22.924Z] ---> job-cost.sh [2023-02-27T15:37:22.924Z] lf-activate-venv: SKIPPING [2023-02-27T15:37:22.924Z] INFO: No Stack... [2023-02-27T15:37:23.503Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T15:37:24.455Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T15:37:24.797Z] + cut -d, -f6 [2023-02-27T15:37:24.798Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-02-27T15:37:24.876Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] [2023-02-27T15:37:24.881Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] did not exist. Created. [2023-02-27T15:37:24.882Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T15:37:25.296Z] /w/workspace/device-rest-go/1@tmp/durable-4c09d937/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T15:37:25.643Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T15:37:25.689Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T15:37:25.734Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T15:37:25.751Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-259-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T15:37:25.858Z] $ docker stop --time=1 c465cc6bfa6e1ff01f81478a2157ca5533bf215206d1c765388691658cacd7c3 [2023-02-27T15:37:27.318Z] $ docker rm -f --volumes c465cc6bfa6e1ff01f81478a2157ca5533bf215206d1c765388691658cacd7c3 [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-02-27T15:37:28.303Z] provisioning config files... [2023-02-27T15:37:28.310Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp/config2981573152004037102tmp [Pipeline] { [Pipeline] sh [2023-02-27T15:37:28.642Z] + set +x [2023-02-27T15:37:28.642Z] + curl -s https://codecov.io/bash [2023-02-27T15:37:28.642Z] + bash -s -- [2023-02-27T15:37:28.642Z] [2023-02-27T15:37:28.642Z] _____ _ [2023-02-27T15:37:28.642Z] / ____| | | [2023-02-27T15:37:28.642Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T15:37:28.642Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T15:37:28.642Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T15:37:28.642Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T15:37:28.642Z] Bash-1.0.6 [2023-02-27T15:37:28.642Z] [2023-02-27T15:37:28.642Z] [2023-02-27T15:37:28.642Z] ==> git version 2.25.1 found [2023-02-27T15:37:28.642Z] ==> 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-02-27T15:37:28.642Z] Release-Date: 2020-01-08 [2023-02-27T15:37:28.642Z] 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-02-27T15:37:28.642Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-27T15:37:28.642Z] ==> Jenkins CI detected. [2023-02-27T15:37:28.642Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-259 [2023-02-27T15:37:28.642Z] project root: . [2023-02-27T15:37:28.642Z] --> token set from env [2023-02-27T15:37:28.642Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T15:37:28.642Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T15:37:28.642Z] ==> Python coveragepy not found [2023-02-27T15:37:28.642Z] ==> Searching for coverage reports in: [2023-02-27T15:37:28.642Z] + . [2023-02-27T15:37:28.642Z] -> Found 1 reports [2023-02-27T15:37:28.642Z] ==> Detecting git/mercurial file structure [2023-02-27T15:37:28.642Z] ==> Reading reports [2023-02-27T15:37:28.642Z] + ./coverage.out bytes=13744 [2023-02-27T15:37:28.901Z] ==> Appending adjustments [2023-02-27T15:37:28.901Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T15:37:28.901Z] + Found adjustments [2023-02-27T15:37:28.901Z] ==> Gzipping contents [2023-02-27T15:37:28.901Z] 4.0K /tmp/codecov.nev1Zh.gz [2023-02-27T15:37:28.901Z] ==> Uploading reports [2023-02-27T15:37:28.901Z] url: https://codecov.io [2023-02-27T15:37:28.901Z] query: branch=PR-259&commit=ca5c6edfc50c199ca01e531a9e95656f0a558baf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-259%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=259&job=&cmd_args= [2023-02-27T15:37:28.901Z] -> Pinging Codecov [2023-02-27T15:37:28.901Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-259&commit=ca5c6edfc50c199ca01e531a9e95656f0a558baf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-259%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=259&job=&cmd_args= [2023-02-27T15:37:28.901Z] -> Uploading to [2023-02-27T15:37:28.901Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/4E5D53B4F1F92C436F7061BF334D961C/ca5c6edfc50c199ca01e531a9e95656f0a558baf/c2430222-f0db-48e7-9f2d-35bdb275e1ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T153728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ed6854b8fec33f079640866219b6b315a8094c7828e6cfc910e0a9864db6303 [2023-02-27T15:37:28.901Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T15:37:28.901Z] Dload Upload Total Spent Left Speed [2023-02-27T15:37:29.160Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9218 --:--:-- --:--:-- --:--:-- 9218 [2023-02-27T15:37:29.419Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ca5c6edfc50c199ca01e531a9e95656f0a558baf [Pipeline] } [2023-02-27T15:37:29.446Z] 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-02-27T15:37:31.216Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-259/archives ] [2023-02-27T15:37:31.216Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-259/archives [2023-02-27T15:37:31.216Z] total 16 [2023-02-27T15:37:31.216Z] drwxr-xr-x 3 root root 4096 Feb 27 15:29 . [2023-02-27T15:37:31.216Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 15:29 .. [2023-02-27T15:37:31.216Z] drwxr-xr-x 2 root root 4096 Feb 27 15:29 cost [2023-02-27T15:37:31.216Z] -rw-r--r-- 1 root root 86 Feb 27 15:29 cost.csv [2023-02-27T15:37:31.216Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-259/archives [2023-02-27T15:37:31.216Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-259/archives [2023-02-27T15:37:31.216Z] total 16 [2023-02-27T15:37:31.216Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:29 . [2023-02-27T15:37:31.216Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 15:29 .. [2023-02-27T15:37:31.216Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 15:29 cost [2023-02-27T15:37:31.216Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 27 15:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:31.548Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:32.441Z] ---> package-listing.sh [2023-02-27T15:37:32.442Z] ++ facter osfamily [2023-02-27T15:37:32.442Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T15:37:32.702Z] + OS_FAMILY=debian [2023-02-27T15:37:32.702Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-259 [2023-02-27T15:37:32.702Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T15:37:32.702Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T15:37:32.702Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T15:37:32.702Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T15:37:32.702Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-259 ']' [2023-02-27T15:37:32.702Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T15:37:32.702Z] + case "${OS_FAMILY}" in [2023-02-27T15:37:32.702Z] + dpkg -l [2023-02-27T15:37:32.702Z] + grep '^ii' [2023-02-27T15:37:32.702Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T15:37:32.702Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T15:37:32.702Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T15:37:32.702Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-259 ']' [2023-02-27T15:37:32.702Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-259/archives/ [2023-02-27T15:37:32.702Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-259/archives/ [Pipeline] echo [2023-02-27T15:37:32.738Z] 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-259/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-27T15:37:33.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T15:37:33.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T15:37:33.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T15:37:33.826Z] prd-ubuntu20.04-docker-8c-8g-7593 does not seem to be running inside a container [2023-02-27T15:37:33.856Z] $ 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-259/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-259 -v /w/workspace/gexfoundry_device-rest-go_PR-259:/w/workspace/gexfoundry_device-rest-go_PR-259:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-259@tmp:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T15:37:34.070Z] $ docker top e8aa51e50e258f6c49078d83f1ce4b2288c8798d37dee887bb7fffef4747e1d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T15:37:34.460Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T15:37:34.767Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T15:37:35.073Z] + ls /var/log/sa-host [2023-02-27T15:37:35.073Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T15:37:35.201Z] provisioning config files... [2023-02-27T15:37:35.209Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-259@tmp/config14203075086836087788tmp [Pipeline] { [Pipeline] echo [2023-02-27T15:37:35.256Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:35.564Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T15:37:35.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:36.000Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T15:37:36.033Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:36.346Z] ---> sudo-logs.sh [2023-02-27T15:37:36.346Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T15:37:36.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:36.747Z] ---> job-cost.sh [2023-02-27T15:37:36.748Z] lf-activate-venv: SKIPPING [2023-02-27T15:37:36.748Z] DEBUG: total: 0.2199999988079071 [2023-02-27T15:37:36.748Z] INFO: Retrieving Stack Cost... [2023-02-27T15:37:37.316Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T15:37:37.576Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T15:37:37.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T15:37:37.919Z] ---> logs-deploy.sh [2023-02-27T15:37:37.919Z] lf-activate-venv: SKIPPING [2023-02-27T15:37:37.919Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-259/1 [2023-02-27T15:37:37.919Z] INFO: archiving workspace using pattern(s): [2023-02-27T15:37:38.858Z] Archives upload complete. [2023-02-27T15:37:38.858Z] INFO: archiving logs to Nexus