Pull request #237 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bae9649f9eb4a52f862241fea7309d495310450c+a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (50ccda0fe496322cc184dccde1f3dc2d1a3e982b) 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-ssh7206984277622300375.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-ssh14031421347506355287.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-237/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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4756830349894821598.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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12183926182132748073.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-ssh14077934182510765063.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-237/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-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11586853811497007614.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-1767 in /w/workspace/gexfoundry_device-rest-go_PR-237 [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-237 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit bae9649f9eb4a52f862241fea7309d495310450c Merge succeeded, producing bae9649f9eb4a52f862241fea7309d495310450c Checking out Revision bae9649f9eb4a52f862241fea7309d495310450c (PR-237) 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T23:42:37.699Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T23:42:37.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T23:42:37.960Z] ========================================================= [2023-01-10T23:42:37.960Z] EdgeX Global Pipelines Version Info [2023-01-10T23:42:37.960Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:42:38.699Z] ------------------- [2023-01-10T23:42:38.699Z] stable info: [2023-01-10T23:42:38.699Z] ------------------- [2023-01-10T23:42:38.699Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T23:42:38.699Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:42:38.699Z] Message: update stable to v1.0.244 [2023-01-10T23:42:39.269Z] ------------------- [2023-01-10T23:42:39.269Z] experimental info: [2023-01-10T23:42:39.269Z] ------------------- [2023-01-10T23:42:39.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T23:42:39.269Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:42:39.269Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T23:42:39.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-10T23:42:39.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-10T23:42:39.642Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T23:42:39.683Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T23:42:39.727Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T23:42:39.767Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T23:42:39.819Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T23:42:39.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T23:42:39.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T23:42:39.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T23:42:39.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T23:42:40.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-10T23:42:40.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T23:42:40.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T23:42:40.161Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T23:42:40.203Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T23:42:40.247Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T23:42:40.289Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T23:42:40.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T23:42:40.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T23:42:40.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T23:42:40.461Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T23:42:40.500Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T23:42:40.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T23:42:40.590Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T23:42:40.634Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T23:42:40.680Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T23:42:40.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo [2023-01-10T23:42:40.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo [2023-01-10T23:42:40.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo [2023-01-10T23:42:40.849Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo [2023-01-10T23:42:40.889Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bae9649 [Pipeline] echo [2023-01-10T23:42:40.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:42:41.049Z] provisioning config files... [2023-01-10T23:42:41.063Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config4621399118504017072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:42:41.411Z] ---> docker-login.sh [2023-01-10T23:42:41.412Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:42:41.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:42:41.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:42:41.672Z] Configure a credential helper to remove this warning. See [2023-01-10T23:42:41.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:42:41.672Z] [2023-01-10T23:42:41.672Z] Login Succeeded [2023-01-10T23:42:41.672Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:42:41.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:42:41.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:42:41.672Z] Configure a credential helper to remove this warning. See [2023-01-10T23:42:41.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:42:41.672Z] [2023-01-10T23:42:41.672Z] Login Succeeded [2023-01-10T23:42:41.672Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:42:41.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:42:41.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:42:41.930Z] Configure a credential helper to remove this warning. See [2023-01-10T23:42:41.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:42:41.930Z] [2023-01-10T23:42:41.930Z] Login Succeeded [2023-01-10T23:42:41.930Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:42:41.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:42:41.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:42:41.930Z] Configure a credential helper to remove this warning. See [2023-01-10T23:42:41.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:42:41.930Z] [2023-01-10T23:42:41.930Z] Login Succeeded [2023-01-10T23:42:41.930Z] docker.io [2023-01-10T23:42:42.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:42:42.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:42:42.191Z] Configure a credential helper to remove this warning. See [2023-01-10T23:42:42.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:42:42.191Z] [2023-01-10T23:42:42.191Z] Login Succeeded [2023-01-10T23:42:42.191Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:42:42.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T23:42:43.021Z] + git rev-list -1 --merges bae9649f9eb4a52f862241fea7309d495310450c~1..bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo [2023-01-10T23:42:43.085Z] -----------> git rev-list -1 --merges bae9649f9eb4a52f862241fea7309d495310450c~1..bae9649f9eb4a52f862241fea7309d495310450c bae9649f9eb4a52f862241fea7309d495310450c [false] [Pipeline] sh [2023-01-10T23:42:43.396Z] + git log --format=format:%s -1 bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo [2023-01-10T23:42:43.430Z] ========================================================= [2023-01-10T23:42:43.430Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T23:42:43.430Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:42:43.856Z] + git log --format=format:%s -1 bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] echo [2023-01-10T23:42:43.887Z] [semverPrep] GIT_COMMIT: bae9649f9eb4a52f862241fea7309d495310450c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-10T23:42:43.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T23:42:44.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T23:42:44.277Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T23:42:44.277Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T23:42:44.277Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T23:42:44.277Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T23:42:44.277Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T23:42:44.277Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:42:44.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:42:44.705Z] [2023-01-10T23:42:44.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:42:45.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:42:45.083Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T23:42:45.083Z] b85a868b505f: Pulling fs layer [2023-01-10T23:42:45.083Z] e2be974225ed: Pulling fs layer [2023-01-10T23:42:45.083Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T23:42:45.083Z] 988bab9f4d93: Pulling fs layer [2023-01-10T23:42:45.083Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T23:42:45.083Z] eaf3925da568: Pulling fs layer [2023-01-10T23:42:45.083Z] bab4dde63d76: Pulling fs layer [2023-01-10T23:42:45.083Z] bde34c3a00c8: Pulling fs layer [2023-01-10T23:42:45.083Z] b352a97aabf1: Pulling fs layer [2023-01-10T23:42:45.083Z] 4872d77fe225: Pulling fs layer [2023-01-10T23:42:45.083Z] 5851b861e8e6: Pulling fs layer [2023-01-10T23:42:45.083Z] bde34c3a00c8: Waiting [2023-01-10T23:42:45.083Z] 988bab9f4d93: Waiting [2023-01-10T23:42:45.083Z] b352a97aabf1: Waiting [2023-01-10T23:42:45.083Z] 1469e6f7b9e6: Waiting [2023-01-10T23:42:45.083Z] 4872d77fe225: Waiting [2023-01-10T23:42:45.083Z] eaf3925da568: Waiting [2023-01-10T23:42:45.083Z] 5851b861e8e6: Waiting [2023-01-10T23:42:45.083Z] bab4dde63d76: Waiting [2023-01-10T23:42:45.083Z] e2be974225ed: Download complete [2023-01-10T23:42:45.355Z] 988bab9f4d93: Verifying Checksum [2023-01-10T23:42:45.355Z] 988bab9f4d93: Download complete [2023-01-10T23:42:45.355Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T23:42:45.355Z] 1469e6f7b9e6: Download complete [2023-01-10T23:42:45.355Z] eaf3925da568: Verifying Checksum [2023-01-10T23:42:45.355Z] eaf3925da568: Download complete [2023-01-10T23:42:45.355Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T23:42:45.355Z] 339a4e72a1f5: Download complete [2023-01-10T23:42:45.355Z] bde34c3a00c8: Verifying Checksum [2023-01-10T23:42:45.355Z] bde34c3a00c8: Download complete [2023-01-10T23:42:45.355Z] b352a97aabf1: Verifying Checksum [2023-01-10T23:42:45.355Z] b352a97aabf1: Download complete [2023-01-10T23:42:45.642Z] 4872d77fe225: Verifying Checksum [2023-01-10T23:42:45.642Z] 4872d77fe225: Download complete [2023-01-10T23:42:45.642Z] 5851b861e8e6: Download complete [2023-01-10T23:42:45.642Z] b85a868b505f: Verifying Checksum [2023-01-10T23:42:45.642Z] b85a868b505f: Download complete [2023-01-10T23:42:45.907Z] bab4dde63d76: Verifying Checksum [2023-01-10T23:42:45.908Z] bab4dde63d76: Download complete [2023-01-10T23:42:46.850Z] b85a868b505f: Pull complete [2023-01-10T23:42:46.850Z] e2be974225ed: Pull complete [2023-01-10T23:42:47.418Z] 339a4e72a1f5: Pull complete [2023-01-10T23:42:47.418Z] 988bab9f4d93: Pull complete [2023-01-10T23:42:47.681Z] 1469e6f7b9e6: Pull complete [2023-01-10T23:42:47.681Z] eaf3925da568: Pull complete [2023-01-10T23:42:49.588Z] bab4dde63d76: Pull complete [2023-01-10T23:42:49.588Z] bde34c3a00c8: Pull complete [2023-01-10T23:42:49.588Z] b352a97aabf1: Pull complete [2023-01-10T23:42:49.588Z] 4872d77fe225: Pull complete [2023-01-10T23:42:49.849Z] 5851b861e8e6: Pull complete [2023-01-10T23:42:49.849Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T23:42:49.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:42:49.849Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:42:50.072Z] prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container [2023-01-10T23:42:50.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@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-01-10T23:42:53.161Z] $ docker top 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 -eo pid,comm [2023-01-10T23:42:53.211Z] 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-01-10T23:42:53.211Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T23:42:53.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T23:42:53.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T23:42:53.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T23:42:53.466Z] $ docker exec 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent [2023-01-10T23:42:53.571Z] SSH_AUTH_SOCK=/tmp/ssh-yReAQicV8Sfg/agent.31 [2023-01-10T23:42:53.571Z] SSH_AGENT_PID=37 [2023-01-10T23:42:53.579Z] Running ssh-add (command line suppressed) [2023-01-10T23:42:53.690Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7372556905867821128.key (/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7372556905867821128.key) [2023-01-10T23:42:53.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T23:42:54.034Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T23:42:54.061Z] $ docker exec --env ******** --env ******** 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent -k [2023-01-10T23:42:54.160Z] unset SSH_AUTH_SOCK; [2023-01-10T23:42:54.160Z] unset SSH_AGENT_PID; [2023-01-10T23:42:54.160Z] echo Agent pid 37 killed; [2023-01-10T23:42:54.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T23:42:54.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T23:42:54.252Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T23:42:54.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T23:42:54.366Z] $ docker exec 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent [2023-01-10T23:42:54.471Z] SSH_AUTH_SOCK=/tmp/ssh-0jAuMdxwFEg2/agent.69 [2023-01-10T23:42:54.471Z] SSH_AGENT_PID=75 [2023-01-10T23:42:54.477Z] Running ssh-add (command line suppressed) [2023-01-10T23:42:54.596Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7232034522238162924.key (/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/private_key_7232034522238162924.key) [2023-01-10T23:42:54.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T23:42:54.932Z] + git semver init [2023-01-10T23:42:55.191Z] 2023-01-10 23:42:55,129 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T23:42:55.191Z] 2023-01-10 23:42:55,130 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-237/.semver [2023-01-10T23:42:55.191Z] 2023-01-10 23:42:55,131 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-237/.semver [2023-01-10T23:42:55.191Z] 2023-01-10 23:42:55,131 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-237/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-237, universal_newlines=False, shell=None, istream=None) [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,150 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-237/.git/info/exclude [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,151 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-237/.semver/PR-237 with force:False [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,151 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-237/.semver/PR-237 [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,156 [execute] INFO git cat-file --batch-check [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-237/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,163 [execute] INFO git cat-file --batch [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-237/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T23:42:56.571Z] 2023-01-10 23:42:56,169 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-237/.semver/PR-237 [2023-01-10T23:42:56.571Z] 0.0.0 [Pipeline] } [2023-01-10T23:42:56.603Z] $ docker exec --env ******** --env ******** 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 ssh-agent -k [2023-01-10T23:42:56.694Z] unset SSH_AUTH_SOCK; [2023-01-10T23:42:56.694Z] unset SSH_AGENT_PID; [2023-01-10T23:42:56.695Z] echo Agent pid 75 killed; [2023-01-10T23:42:56.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T23:42:57.135Z] + git semver [Pipeline] } [2023-01-10T23:42:57.426Z] $ docker stop --time=1 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 [2023-01-10T23:42:58.713Z] $ docker rm -f --volumes 58603d441456a0c38bf39278b940b2a96a8d294995352cb09c40bd0e629facb0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:42:59.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T23:42:59.384Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T23:42:59.402Z] [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-01-10T23:43:00.012Z] provisioning config files... [2023-01-10T23:43:00.024Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config9455767018305753756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:43:00.383Z] ---> docker-login.sh [2023-01-10T23:43:00.383Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:43:00.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:43:00.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:43:00.383Z] Configure a credential helper to remove this warning. See [2023-01-10T23:43:00.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:43:00.383Z] [2023-01-10T23:43:00.383Z] Login Succeeded [2023-01-10T23:43:00.383Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:43:00.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:43:00.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:43:00.383Z] Configure a credential helper to remove this warning. See [2023-01-10T23:43:00.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:43:00.383Z] [2023-01-10T23:43:00.383Z] Login Succeeded [2023-01-10T23:43:00.383Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:43:00.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:43:00.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:43:00.643Z] Configure a credential helper to remove this warning. See [2023-01-10T23:43:00.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:43:00.643Z] [2023-01-10T23:43:00.643Z] Login Succeeded [2023-01-10T23:43:00.643Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:43:00.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:43:00.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:43:00.643Z] Configure a credential helper to remove this warning. See [2023-01-10T23:43:00.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:43:00.643Z] [2023-01-10T23:43:00.643Z] Login Succeeded [2023-01-10T23:43:00.643Z] docker.io [2023-01-10T23:43:00.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:43:00.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:43:00.903Z] Configure a credential helper to remove this warning. See [2023-01-10T23:43:00.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:43:00.903Z] [2023-01-10T23:43:00.903Z] Login Succeeded [2023-01-10T23:43:00.903Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:43:00.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T23:43:01.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:43:01.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:43:01.193Z] ========================================================= [2023-01-10T23:43:01.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T23:43:01.194Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:43:01.668Z] + 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-01-10T23:43:01.668Z] Sending build context to Docker daemon 10.79MB [2023-01-10T23:43:01.668Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:43:01.668Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T23:43:01.669Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T23:43:01.669Z] 213ec9aee27d: Pulling fs layer [2023-01-10T23:43:01.669Z] 4583459ba037: Pulling fs layer [2023-01-10T23:43:01.669Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T23:43:01.669Z] 53926ce57604: Pulling fs layer [2023-01-10T23:43:01.669Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T23:43:01.669Z] 22ff95d597cd: Pulling fs layer [2023-01-10T23:43:01.669Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T23:43:01.669Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T23:43:01.669Z] a7acece74701: Pulling fs layer [2023-01-10T23:43:01.669Z] 53926ce57604: Waiting [2023-01-10T23:43:01.669Z] 96b7cbca73a9: Waiting [2023-01-10T23:43:01.669Z] 21b2b0c7a3f4: Waiting [2023-01-10T23:43:01.669Z] a7acece74701: Waiting [2023-01-10T23:43:01.669Z] 22ff95d597cd: Waiting [2023-01-10T23:43:01.669Z] 12d6caf4c0d1: Waiting [2023-01-10T23:43:01.669Z] 93c1e223e6f2: Download complete [2023-01-10T23:43:01.669Z] 4583459ba037: Verifying Checksum [2023-01-10T23:43:01.669Z] 4583459ba037: Download complete [2023-01-10T23:43:01.669Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T23:43:01.669Z] 21b2b0c7a3f4: Download complete [2023-01-10T23:43:01.938Z] 22ff95d597cd: Verifying Checksum [2023-01-10T23:43:01.938Z] 22ff95d597cd: Download complete [2023-01-10T23:43:01.938Z] 213ec9aee27d: Verifying Checksum [2023-01-10T23:43:01.938Z] 213ec9aee27d: Download complete [2023-01-10T23:43:01.938Z] 12d6caf4c0d1: Download complete [2023-01-10T23:43:01.938Z] 213ec9aee27d: Pull complete [2023-01-10T23:43:02.206Z] 4583459ba037: Pull complete [2023-01-10T23:43:02.206Z] 93c1e223e6f2: Pull complete [2023-01-10T23:43:02.469Z] a7acece74701: Verifying Checksum [2023-01-10T23:43:02.469Z] a7acece74701: Download complete [2023-01-10T23:43:02.733Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T23:43:02.733Z] 96b7cbca73a9: Download complete [2023-01-10T23:43:02.733Z] 53926ce57604: Verifying Checksum [2023-01-10T23:43:02.733Z] 53926ce57604: Download complete [2023-01-10T23:43:06.938Z] 53926ce57604: Pull complete [2023-01-10T23:43:06.938Z] 21b2b0c7a3f4: Pull complete [2023-01-10T23:43:06.938Z] 22ff95d597cd: Pull complete [2023-01-10T23:43:06.938Z] 12d6caf4c0d1: Pull complete [2023-01-10T23:43:09.470Z] 96b7cbca73a9: Pull complete [2023-01-10T23:43:09.728Z] a7acece74701: Pull complete [2023-01-10T23:43:09.728Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T23:43:09.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T23:43:09.728Z] ---> db6d94c90886 [2023-01-10T23:43:09.728Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:43:13.922Z] ---> Running in 11940d54fd04 [2023-01-10T23:43:13.922Z] Removing intermediate container 11940d54fd04 [2023-01-10T23:43:13.922Z] ---> 09d2870816b6 [2023-01-10T23:43:13.922Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:43:13.922Z] ---> Running in 2c5ab38b1645 [2023-01-10T23:43:13.922Z] Removing intermediate container 2c5ab38b1645 [2023-01-10T23:43:13.922Z] ---> a170029adf24 [2023-01-10T23:43:13.922Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:43:13.922Z] ---> Running in 90627897ac68 [2023-01-10T23:43:14.182Z] Removing intermediate container 90627897ac68 [2023-01-10T23:43:14.182Z] ---> 9c39b654d289 [2023-01-10T23:43:14.182Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:43:14.182Z] ---> Running in 62d174d24a2a [2023-01-10T23:43:14.182Z] Removing intermediate container 62d174d24a2a [2023-01-10T23:43:14.182Z] ---> df17f4e36b5a [2023-01-10T23:43:14.182Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:43:14.182Z] ---> Running in 588f64b00787 [2023-01-10T23:43:14.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:43:14.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:43:14.701Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T23:43:14.701Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T23:43:14.701Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T23:43:14.814Z] Still waiting to schedule task [2023-01-10T23:43:14.815Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1761’ is offline [2023-01-10T23:43:14.973Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T23:43:14.973Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:43:14.973Z] OK: 216 MiB in 55 packages [2023-01-10T23:43:15.568Z] Removing intermediate container 588f64b00787 [2023-01-10T23:43:15.568Z] ---> dd4dd86e580d [2023-01-10T23:43:15.568Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T23:43:15.568Z] ---> Running in 9296874fd00b [2023-01-10T23:43:15.568Z] Removing intermediate container 9296874fd00b [2023-01-10T23:43:15.568Z] ---> 63e0a7d5679c [2023-01-10T23:43:15.568Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T23:43:15.568Z] ---> b2f31f433ca3 [2023-01-10T23:43:15.568Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:43:15.568Z] ---> Running in e7597fcb7b76 [2023-01-10T23:43:42.143Z] Removing intermediate container e7597fcb7b76 [2023-01-10T23:43:42.143Z] ---> 0d1c891b1ee6 [2023-01-10T23:43:42.143Z] Step 11/12 : COPY . . [2023-01-10T23:43:42.143Z] ---> 0cd829731b9e [2023-01-10T23:43:42.143Z] Step 12/12 : RUN $MAKE [2023-01-10T23:43:42.143Z] ---> Running in 11d1e39fcb65 [2023-01-10T23:43:42.143Z] noop [2023-01-10T23:43:42.143Z] Removing intermediate container 11d1e39fcb65 [2023-01-10T23:43:42.143Z] ---> b64fdbbb20e3 [2023-01-10T23:43:42.143Z] Successfully built b64fdbbb20e3 [2023-01-10T23:43:42.143Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:43:42.585Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T23:43:42.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:43:42.739Z] prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container [2023-01-10T23:43:42.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@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-01-10T23:43:43.126Z] $ docker top cd1ac74c6bb7511c83b4d12d5d102515916f04703a8e74a98ab4dccf3bdb25d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:43:43.522Z] + go version [2023-01-10T23:43:43.522Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T23:43:43.559Z] $ docker stop --time=1 cd1ac74c6bb7511c83b4d12d5d102515916f04703a8e74a98ab4dccf3bdb25d4 [2023-01-10T23:43:44.826Z] $ docker rm -f --volumes cd1ac74c6bb7511c83b4d12d5d102515916f04703a8e74a98ab4dccf3bdb25d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:43:45.536Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T23:43:45.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:43:45.713Z] prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container [2023-01-10T23:43:45.746Z] $ 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-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@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-01-10T23:43:46.068Z] $ docker top fa8b238648d5296dae1986f5b4a785ecfaaee46b51d5257f0c15d72b70fb446e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:43:46.459Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-237 [Pipeline] fileExists [Pipeline] sh [2023-01-10T23:43:46.812Z] + make test [2023-01-10T23:43:46.812Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T23:43:47.069Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T23:43:57.037Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T23:43:57.037Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2023-01-10T23:44:03.591Z] 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-01-10T23:44:03.591Z] go vet ./... [2023-01-10T23:44:06.121Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T23:44:06.121Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T23:44:06.121Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T23:44:06.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T23:44:06.254Z] $ docker stop --time=1 fa8b238648d5296dae1986f5b4a785ecfaaee46b51d5257f0c15d72b70fb446e [2023-01-10T23:44:08.356Z] $ docker rm -f --volumes fa8b238648d5296dae1986f5b4a785ecfaaee46b51d5257f0c15d72b70fb446e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:44:08.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T23:44:08.985Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T23:44:09.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T23:44:09.959Z] + ls -al . [2023-01-10T23:44:09.959Z] total 188 [2023-01-10T23:44:09.959Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:43 . [2023-01-10T23:44:09.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:42 .. [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:42 .dockerignore [2023-01-10T23:44:09.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:43 .git [2023-01-10T23:44:09.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:42 .github [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:42 .gitignore [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:42 .golangci.yml [2023-01-10T23:44:09.959Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:42 .semver [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:42 Attribution.txt [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:42 CHANGELOG.md [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:42 Dockerfile [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:42 GOVERNANCE.md [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:42 Jenkinsfile [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:42 LICENSE [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:42 Makefile [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:42 OWNERS.md [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:42 README.md [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:42 VERSION [2023-01-10T23:44:09.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:42 bin [2023-01-10T23:44:09.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:42 cmd [2023-01-10T23:44:09.959Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:43 coverage.out [2023-01-10T23:44:09.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:42 driver [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:42 go.mod [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:42 go.sum [2023-01-10T23:44:09.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:42 snap [2023-01-10T23:44:09.959Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:44:10.364Z] + 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=bae9649f9eb4a52f862241fea7309d495310450c --label arch=amd64 --label version=0.0.0 . [2023-01-10T23:44:10.365Z] Sending build context to Docker daemon 10.8MB [2023-01-10T23:44:10.365Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:44:10.365Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T23:44:10.365Z] ---> b64fdbbb20e3 [2023-01-10T23:44:10.365Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:44:10.623Z] ---> Running in 6f95045b08f0 [2023-01-10T23:44:10.623Z] Removing intermediate container 6f95045b08f0 [2023-01-10T23:44:10.623Z] ---> 608faf305850 [2023-01-10T23:44:10.623Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:44:10.623Z] ---> Running in 89a14643a913 [2023-01-10T23:44:10.623Z] Removing intermediate container 89a14643a913 [2023-01-10T23:44:10.623Z] ---> ff2e4170d128 [2023-01-10T23:44:10.623Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:44:10.623Z] ---> Running in e93fe5e9fd23 [2023-01-10T23:44:10.623Z] Removing intermediate container e93fe5e9fd23 [2023-01-10T23:44:10.623Z] ---> 1017673e2a70 [2023-01-10T23:44:10.623Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:44:10.623Z] ---> Running in bccee9d09d10 [2023-01-10T23:44:10.882Z] Removing intermediate container bccee9d09d10 [2023-01-10T23:44:10.882Z] ---> 90bee7c1e84b [2023-01-10T23:44:10.882Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:44:10.882Z] ---> Running in af7930a38860 [2023-01-10T23:44:11.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:44:11.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:44:11.711Z] OK: 216 MiB in 55 packages [2023-01-10T23:44:11.970Z] Removing intermediate container af7930a38860 [2023-01-10T23:44:11.970Z] ---> 8b845da27325 [2023-01-10T23:44:11.970Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-10T23:44:11.970Z] ---> Running in 1a8b5ba363e0 [2023-01-10T23:44:11.970Z] Removing intermediate container 1a8b5ba363e0 [2023-01-10T23:44:11.970Z] ---> 54595c20f6bc [2023-01-10T23:44:11.970Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T23:44:11.970Z] ---> 017122547213 [2023-01-10T23:44:11.970Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:44:11.970Z] ---> Running in 05cecfb2c6e3 [2023-01-10T23:44:12.905Z] Removing intermediate container 05cecfb2c6e3 [2023-01-10T23:44:12.905Z] ---> ae07da967cb4 [2023-01-10T23:44:12.905Z] Step 11/25 : COPY . . [2023-01-10T23:44:12.905Z] ---> 152178be279d [2023-01-10T23:44:12.905Z] Step 12/25 : RUN $MAKE [2023-01-10T23:44:13.165Z] ---> Running in 647d57ab2acb [2023-01-10T23:44:13.423Z] 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-01-10T23:44:31.503Z] Removing intermediate container 647d57ab2acb [2023-01-10T23:44:31.503Z] ---> 6bc634b90155 [2023-01-10T23:44:31.503Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T23:44:31.503Z] 3.16: Pulling from library/alpine [2023-01-10T23:44:31.503Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T23:44:31.761Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T23:44:31.761Z] ca7dd9ec2225: Download complete [2023-01-10T23:44:32.032Z] ca7dd9ec2225: Pull complete [2023-01-10T23:44:32.032Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T23:44:32.032Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T23:44:32.032Z] ---> bfe296a52501 [2023-01-10T23:44:32.032Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T23:44:32.289Z] ---> Running in c6c1f58cbca7 [2023-01-10T23:44:32.289Z] Removing intermediate container c6c1f58cbca7 [2023-01-10T23:44:32.289Z] ---> 6f29bc6abace [2023-01-10T23:44:32.289Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-10T23:44:32.289Z] ---> Running in 04610376aaf9 [2023-01-10T23:44:32.289Z] Removing intermediate container 04610376aaf9 [2023-01-10T23:44:32.289Z] ---> deac068b4519 [2023-01-10T23:44:32.289Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T23:44:32.289Z] ---> Running in 6aa130c796ef [2023-01-10T23:44:32.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:44:32.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:44:33.063Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T23:44:33.063Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:44:33.063Z] OK: 6 MiB in 15 packages [2023-01-10T23:44:33.321Z] Removing intermediate container 6aa130c796ef [2023-01-10T23:44:33.321Z] ---> 1ed925e88da8 [2023-01-10T23:44:33.321Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-10T23:44:34.255Z] ---> ce6871d130ed [2023-01-10T23:44:34.255Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-10T23:44:34.255Z] ---> 5aecef6dc25c [2023-01-10T23:44:34.255Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-10T23:44:34.255Z] ---> 94779858e8e4 [2023-01-10T23:44:34.255Z] Step 20/25 : EXPOSE 59986 [2023-01-10T23:44:34.255Z] ---> Running in 82f4f4dad6a9 [2023-01-10T23:44:34.255Z] Removing intermediate container 82f4f4dad6a9 [2023-01-10T23:44:34.255Z] ---> 31f288012f9e [2023-01-10T23:44:34.255Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-10T23:44:34.515Z] ---> Running in 2f59e48cad15 [2023-01-10T23:44:34.515Z] Removing intermediate container 2f59e48cad15 [2023-01-10T23:44:34.515Z] ---> 99bbe249ddfb [2023-01-10T23:44:34.515Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T23:44:34.515Z] ---> Running in 03356afc08fe [2023-01-10T23:44:34.515Z] Removing intermediate container 03356afc08fe [2023-01-10T23:44:34.515Z] ---> 66e02b6788b3 [2023-01-10T23:44:34.515Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T23:44:34.515Z] ---> Running in 6d4058662b2c [2023-01-10T23:44:34.774Z] Removing intermediate container 6d4058662b2c [2023-01-10T23:44:34.774Z] ---> b34e4aaeced1 [2023-01-10T23:44:34.774Z] Step 24/25 : LABEL git_sha=bae9649f9eb4a52f862241fea7309d495310450c [2023-01-10T23:44:34.774Z] ---> Running in 505c48647136 [2023-01-10T23:44:34.774Z] Removing intermediate container 505c48647136 [2023-01-10T23:44:34.774Z] ---> 307a551a955c [2023-01-10T23:44:34.774Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T23:44:34.774Z] ---> Running in 0813411dcb9a [2023-01-10T23:44:34.774Z] Removing intermediate container 0813411dcb9a [2023-01-10T23:44:34.774Z] ---> 8d885bab30f3 [2023-01-10T23:44:34.774Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T23:44:34.774Z] Successfully built 8d885bab30f3 [2023-01-10T23:44:34.774Z] 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-01-10T23:44:35.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:44:35.586Z] [2023-01-10T23:44:35.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:44:35.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:44:35.959Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T23:44:35.959Z] 5eb5b503b376: Pulling fs layer [2023-01-10T23:44:35.959Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T23:44:35.959Z] ec43610c2a17: Pulling fs layer [2023-01-10T23:44:35.959Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T23:44:35.959Z] 33b1e0a273af: Pulling fs layer [2023-01-10T23:44:35.959Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T23:44:35.959Z] 2f39f015ded8: Pulling fs layer [2023-01-10T23:44:35.959Z] 3a2ae6a8a46f: Waiting [2023-01-10T23:44:35.959Z] 33b1e0a273af: Waiting [2023-01-10T23:44:35.959Z] 5d3b04190fa2: Waiting [2023-01-10T23:44:35.959Z] 2f39f015ded8: Waiting [2023-01-10T23:44:35.959Z] 5c69ac0246d0: Download complete [2023-01-10T23:44:35.959Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T23:44:35.959Z] 3a2ae6a8a46f: Download complete [2023-01-10T23:44:36.219Z] 33b1e0a273af: Verifying Checksum [2023-01-10T23:44:36.219Z] 33b1e0a273af: Download complete [2023-01-10T23:44:36.219Z] 5d3b04190fa2: Download complete [2023-01-10T23:44:36.219Z] ec43610c2a17: Verifying Checksum [2023-01-10T23:44:36.219Z] ec43610c2a17: Download complete [2023-01-10T23:44:36.219Z] 5eb5b503b376: Verifying Checksum [2023-01-10T23:44:36.219Z] 5eb5b503b376: Download complete [2023-01-10T23:44:36.787Z] 2f39f015ded8: Download complete [2023-01-10T23:44:37.352Z] 5eb5b503b376: Pull complete [2023-01-10T23:44:37.610Z] 5c69ac0246d0: Pull complete [2023-01-10T23:44:37.869Z] ec43610c2a17: Pull complete [2023-01-10T23:44:37.869Z] 3a2ae6a8a46f: Pull complete [2023-01-10T23:44:38.129Z] 33b1e0a273af: Pull complete [2023-01-10T23:44:38.129Z] 5d3b04190fa2: Pull complete [2023-01-10T23:44:42.320Z] 2f39f015ded8: Pull complete [2023-01-10T23:44:42.320Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T23:44:42.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:44:42.320Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:44:42.544Z] prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container [2023-01-10T23:44:42.580Z] $ 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-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@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-01-10T23:44:45.409Z] $ docker top fb9ff9ae9c1921527647c33eb20f156969007df30accd8ad057f8c65d684643d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:44:45.843Z] ---> job-cost.sh [2023-01-10T23:44:45.843Z] lf-activate-venv: SKIPPING [2023-01-10T23:44:45.843Z] INFO: No Stack... [2023-01-10T23:44:46.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T23:44:46.670Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T23:44:46.987Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-237/archives/cost.csv [2023-01-10T23:44:46.987Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T23:44:47.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [2023-01-10T23:44:47.035Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] did not exist. Created. [2023-01-10T23:44:47.036Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T23:44:47.421Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T23:44:47.471Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T23:44:47.499Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T23:44:47.577Z] $ docker stop --time=1 fb9ff9ae9c1921527647c33eb20f156969007df30accd8ad057f8c65d684643d [2023-01-10T23:44:48.734Z] $ docker rm -f --volumes fb9ff9ae9c1921527647c33eb20f156969007df30accd8ad057f8c65d684643d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T23:45:34.913Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1770 in /w/workspace/gexfoundry_device-rest-go_PR-237 [Pipeline] { [Pipeline] ws [2023-01-10T23:45:34.967Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T23:45:35.045Z] The recommended git tool is: git [2023-01-10T23:45:40.612Z] using credential edgex-jenkins-ssh [2023-01-10T23:45:40.630Z] Cloning the remote Git repository [2023-01-10T23:45:40.679Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:45:40.760Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-10T23:45:40.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:45:40.926Z] > git --version # timeout=10 [2023-01-10T23:45:40.946Z] > git --version # 'git version 2.25.1' [2023-01-10T23:45:40.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:45:41.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T23:45:42.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T23:45:42.914Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T23:45:44.372Z] Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit bae9649f9eb4a52f862241fea7309d495310450c [2023-01-10T23:45:44.587Z] Merge succeeded, producing bae9649f9eb4a52f862241fea7309d495310450c [2023-01-10T23:45:44.588Z] Checking out Revision bae9649f9eb4a52f862241fea7309d495310450c (PR-237) [2023-01-10T23:45:45.076Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-10T23:45:45.131Z] > git --version # timeout=10 [2023-01-10T23:45:45.141Z] > git --version # 'git version 2.25.1' [2023-01-10T23:45:45.158Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:45:43.806Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T23:45:43.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:45:43.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:45:43.868Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T23:45:44.391Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T23:45:44.407Z] > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 [2023-01-10T23:45:44.488Z] > git remote # timeout=10 [2023-01-10T23:45:44.506Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T23:45:44.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:45:44.544Z] > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 [2023-01-10T23:45:44.569Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T23:45:44.594Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T23:45:44.607Z] > git checkout -f bae9649f9eb4a52f862241fea7309d495310450c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:45:46.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T23:45:46.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T23:45:46.172Z] Dload Upload Total Spent Left Speed [2023-01-10T23:45:46.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-01-10T23:45:46.754Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T23:45:47.107Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T23:45:47.107Z] + sudo tee /etc/docker/daemon.new [2023-01-10T23:45:47.107Z] { [2023-01-10T23:45:47.107Z] "registry-mirrors": [ [2023-01-10T23:45:47.107Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T23:45:47.107Z] ], [2023-01-10T23:45:47.107Z] "bip": "10.250.0.254/24", [2023-01-10T23:45:47.107Z] "hosts": [ [2023-01-10T23:45:47.107Z] "tcp://0.0.0.0:5555", [2023-01-10T23:45:47.107Z] "unix:///var/run/docker.sock" [2023-01-10T23:45:47.107Z] ], [2023-01-10T23:45:47.107Z] "mtu": 1458, [2023-01-10T23:45:47.107Z] "selinux-enabled": true, [2023-01-10T23:45:47.107Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T23:45:47.107Z] } [Pipeline] sh [2023-01-10T23:45:47.460Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T23:45:47.805Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:46:06.130Z] provisioning config files... [2023-01-10T23:46:06.163Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config331847779943226821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:46:06.568Z] ---> docker-login.sh [2023-01-10T23:46:06.568Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:46:06.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:46:07.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:46:07.108Z] Configure a credential helper to remove this warning. See [2023-01-10T23:46:07.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:46:07.108Z] [2023-01-10T23:46:07.108Z] Login Succeeded [2023-01-10T23:46:07.108Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:46:07.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:46:07.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:46:07.648Z] Configure a credential helper to remove this warning. See [2023-01-10T23:46:07.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:46:07.648Z] [2023-01-10T23:46:07.648Z] Login Succeeded [2023-01-10T23:46:07.648Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:46:07.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:46:07.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:46:07.919Z] Configure a credential helper to remove this warning. See [2023-01-10T23:46:07.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:46:07.919Z] [2023-01-10T23:46:07.919Z] Login Succeeded [2023-01-10T23:46:07.919Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:46:08.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:46:08.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:46:08.190Z] Configure a credential helper to remove this warning. See [2023-01-10T23:46:08.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:46:08.190Z] [2023-01-10T23:46:08.190Z] Login Succeeded [2023-01-10T23:46:08.190Z] docker.io [2023-01-10T23:46:08.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:46:08.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:46:08.730Z] Configure a credential helper to remove this warning. See [2023-01-10T23:46:08.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:46:08.730Z] [2023-01-10T23:46:08.730Z] Login Succeeded [2023-01-10T23:46:08.730Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:46:08.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T23:46:09.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:46:09.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:46:09.197Z] ========================================================= [2023-01-10T23:46:09.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T23:46:09.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:46:09.703Z] + 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-01-10T23:46:09.703Z] Sending build context to Docker daemon 128.5kB [2023-01-10T23:46:10.298Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:46:10.298Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T23:46:10.573Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T23:46:10.573Z] 9b18e9b68314: Pulling fs layer [2023-01-10T23:46:10.573Z] 35d82f9e3411: Pulling fs layer [2023-01-10T23:46:10.573Z] e16973657156: Pulling fs layer [2023-01-10T23:46:10.573Z] fc693d55d65f: Pulling fs layer [2023-01-10T23:46:10.573Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T23:46:10.573Z] dda99020689f: Pulling fs layer [2023-01-10T23:46:10.573Z] db1c61fa0a46: Pulling fs layer [2023-01-10T23:46:10.573Z] 891c053d2c06: Pulling fs layer [2023-01-10T23:46:10.573Z] dda99020689f: Waiting [2023-01-10T23:46:10.573Z] fc693d55d65f: Waiting [2023-01-10T23:46:10.573Z] 7e9fc2657dce: Waiting [2023-01-10T23:46:10.573Z] 891c053d2c06: Waiting [2023-01-10T23:46:10.573Z] db1c61fa0a46: Waiting [2023-01-10T23:46:10.573Z] e16973657156: Verifying Checksum [2023-01-10T23:46:10.573Z] e16973657156: Download complete [2023-01-10T23:46:10.573Z] 35d82f9e3411: Verifying Checksum [2023-01-10T23:46:10.573Z] 35d82f9e3411: Download complete [2023-01-10T23:46:10.573Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T23:46:10.573Z] 7e9fc2657dce: Download complete [2023-01-10T23:46:10.850Z] dda99020689f: Verifying Checksum [2023-01-10T23:46:10.850Z] dda99020689f: Download complete [2023-01-10T23:46:10.850Z] 9b18e9b68314: Verifying Checksum [2023-01-10T23:46:10.850Z] 9b18e9b68314: Download complete [2023-01-10T23:46:11.825Z] 9b18e9b68314: Pull complete [2023-01-10T23:46:11.825Z] 891c053d2c06: Download complete [2023-01-10T23:46:12.096Z] 35d82f9e3411: Pull complete [2023-01-10T23:46:12.370Z] e16973657156: Pull complete [2023-01-10T23:46:13.797Z] db1c61fa0a46: Verifying Checksum [2023-01-10T23:46:13.797Z] db1c61fa0a46: Download complete [2023-01-10T23:46:15.218Z] fc693d55d65f: Download complete [2023-01-10T23:46:27.558Z] fc693d55d65f: Pull complete [2023-01-10T23:46:27.829Z] 7e9fc2657dce: Pull complete [2023-01-10T23:46:28.099Z] dda99020689f: Pull complete [2023-01-10T23:46:36.372Z] db1c61fa0a46: Pull complete [2023-01-10T23:46:38.361Z] 891c053d2c06: Pull complete [2023-01-10T23:46:38.361Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T23:46:38.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T23:46:38.361Z] ---> f96f9c87975a [2023-01-10T23:46:38.361Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:46:40.323Z] ---> Running in 2304f20b2e07 [2023-01-10T23:46:40.323Z] Removing intermediate container 2304f20b2e07 [2023-01-10T23:46:40.323Z] ---> 0edf34c0bfca [2023-01-10T23:46:40.323Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:46:40.595Z] ---> Running in 5624d91e4a5f [2023-01-10T23:46:40.863Z] Removing intermediate container 5624d91e4a5f [2023-01-10T23:46:40.863Z] ---> d07cdf5006fa [2023-01-10T23:46:40.863Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:46:40.863Z] ---> Running in 41f8bedb9629 [2023-01-10T23:46:41.132Z] Removing intermediate container 41f8bedb9629 [2023-01-10T23:46:41.132Z] ---> ff94853e76d3 [2023-01-10T23:46:41.132Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:46:41.400Z] ---> Running in 4eda5cda5ca6 [2023-01-10T23:46:41.671Z] Removing intermediate container 4eda5cda5ca6 [2023-01-10T23:46:41.671Z] ---> ffe591eea5e1 [2023-01-10T23:46:41.671Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:46:41.671Z] ---> Running in 2bd447af2454 [2023-01-10T23:46:43.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:46:43.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:46:44.053Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T23:46:44.053Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T23:46:44.053Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T23:46:44.053Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T23:46:44.053Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:46:44.321Z] OK: 226 MiB in 55 packages [2023-01-10T23:46:45.290Z] Removing intermediate container 2bd447af2454 [2023-01-10T23:46:45.290Z] ---> 7718b9946c10 [2023-01-10T23:46:45.290Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T23:46:45.290Z] ---> Running in 6a535d8ec9ff [2023-01-10T23:46:45.878Z] Removing intermediate container 6a535d8ec9ff [2023-01-10T23:46:45.878Z] ---> 40c247f030c2 [2023-01-10T23:46:45.878Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T23:46:46.147Z] ---> 4c59c456a2b7 [2023-01-10T23:46:46.147Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:46:46.417Z] ---> Running in 1f81bd69a7c3 [2023-01-10T23:47:54.327Z] Removing intermediate container 1f81bd69a7c3 [2023-01-10T23:47:54.327Z] ---> e8b120e91fbf [2023-01-10T23:47:54.327Z] Step 11/12 : COPY . . [2023-01-10T23:47:54.327Z] ---> 0b75c8cdccac [2023-01-10T23:47:54.327Z] Step 12/12 : RUN $MAKE [2023-01-10T23:47:54.327Z] ---> Running in b977f28f2ccf [2023-01-10T23:47:54.327Z] noop [2023-01-10T23:47:54.327Z] Removing intermediate container b977f28f2ccf [2023-01-10T23:47:54.327Z] ---> b02a8896b114 [2023-01-10T23:47:54.327Z] Successfully built b02a8896b114 [2023-01-10T23:47:54.327Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:47:54.821Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T23:47:54.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:47:55.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container [2023-01-10T23:47:55.170Z] $ 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-01-10T23:47:56.477Z] $ docker top 21afaf1b5d20eb8fe697fa0dfd8d926e3a93829c53f37b46dd75c2d1957a3269 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:47:57.387Z] + go version [2023-01-10T23:47:57.387Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T23:47:57.425Z] $ docker stop --time=1 21afaf1b5d20eb8fe697fa0dfd8d926e3a93829c53f37b46dd75c2d1957a3269 [2023-01-10T23:47:59.086Z] $ docker rm -f --volumes 21afaf1b5d20eb8fe697fa0dfd8d926e3a93829c53f37b46dd75c2d1957a3269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:47:59.951Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T23:47:59.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:48:00.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container [2023-01-10T23:48:00.291Z] $ 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-01-10T23:48:01.527Z] $ docker top f238a44e4f48aca52eaaca1dc5b78a6b6ec31297d11d138608a29cd233e332a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:48:02.423Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T23:48:03.136Z] + make test [2023-01-10T23:48:03.136Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T23:48:04.560Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T23:49:26.219Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T23:49:28.809Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 55.2% of statements [2023-01-10T23:49:28.809Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T23:49:28.809Z] go vet ./... [2023-01-10T23:49:50.896Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T23:49:50.896Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T23:49:50.896Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T23:49:51.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T23:49:51.235Z] $ docker stop --time=1 f238a44e4f48aca52eaaca1dc5b78a6b6ec31297d11d138608a29cd233e332a4 [2023-01-10T23:49:53.287Z] $ docker rm -f --volumes f238a44e4f48aca52eaaca1dc5b78a6b6ec31297d11d138608a29cd233e332a4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:49:54.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T23:49:54.293Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T23:49:56.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:49:56.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T23:49:57.160Z] + ls -al . [2023-01-10T23:49:57.160Z] total 184 [2023-01-10T23:49:57.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:48 . [2023-01-10T23:49:57.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:45 .. [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:45 .dockerignore [2023-01-10T23:49:57.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:45 .git [2023-01-10T23:49:57.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:45 .github [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:45 .gitignore [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:45 .golangci.yml [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:45 Attribution.txt [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:45 CHANGELOG.md [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:45 Dockerfile [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:45 GOVERNANCE.md [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:45 Jenkinsfile [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:45 LICENSE [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:45 Makefile [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:45 OWNERS.md [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:45 README.md [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:42 VERSION [2023-01-10T23:49:57.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:45 bin [2023-01-10T23:49:57.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:45 cmd [2023-01-10T23:49:57.160Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:49 coverage.out [2023-01-10T23:49:57.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:45 driver [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:45 go.mod [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:45 go.sum [2023-01-10T23:49:57.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:45 snap [2023-01-10T23:49:57.160Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:49:57.579Z] + 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=bae9649f9eb4a52f862241fea7309d495310450c --label arch=arm64 --label version=0.0.0 . [2023-01-10T23:49:57.579Z] Sending build context to Docker daemon 138.8kB [2023-01-10T23:49:57.846Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:49:57.846Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T23:49:57.846Z] ---> b02a8896b114 [2023-01-10T23:49:57.846Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:49:57.846Z] ---> Running in f9a81ff4bd43 [2023-01-10T23:49:58.116Z] Removing intermediate container f9a81ff4bd43 [2023-01-10T23:49:58.116Z] ---> 1a197afa7b28 [2023-01-10T23:49:58.116Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:49:58.389Z] ---> Running in 78cbf670bb88 [2023-01-10T23:49:58.657Z] Removing intermediate container 78cbf670bb88 [2023-01-10T23:49:58.657Z] ---> 441707ee42bd [2023-01-10T23:49:58.657Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T23:49:58.657Z] ---> Running in a60a54dd2169 [2023-01-10T23:49:59.242Z] Removing intermediate container a60a54dd2169 [2023-01-10T23:49:59.242Z] ---> 0c64b9621780 [2023-01-10T23:49:59.242Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:49:59.242Z] ---> Running in 1889f63210b0 [2023-01-10T23:49:59.512Z] Removing intermediate container 1889f63210b0 [2023-01-10T23:49:59.512Z] ---> 84ab0393c09a [2023-01-10T23:49:59.512Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:49:59.512Z] ---> Running in 1112896c3a14 [2023-01-10T23:50:00.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:50:01.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:50:02.170Z] OK: 226 MiB in 55 packages [2023-01-10T23:50:03.140Z] Removing intermediate container 1112896c3a14 [2023-01-10T23:50:03.140Z] ---> a26ac0347637 [2023-01-10T23:50:03.140Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-10T23:50:03.409Z] ---> Running in c365784c19c8 [2023-01-10T23:50:03.678Z] Removing intermediate container c365784c19c8 [2023-01-10T23:50:03.678Z] ---> c72e7375d1e0 [2023-01-10T23:50:03.678Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T23:50:04.265Z] ---> fc1b08c08fd7 [2023-01-10T23:50:04.265Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:50:04.265Z] ---> Running in d58d27258773 [2023-01-10T23:50:06.859Z] Removing intermediate container d58d27258773 [2023-01-10T23:50:06.859Z] ---> a916dbbfd96c [2023-01-10T23:50:06.859Z] Step 11/25 : COPY . . [2023-01-10T23:50:09.442Z] ---> 28042448a1ed [2023-01-10T23:50:09.442Z] Step 12/25 : RUN $MAKE [2023-01-10T23:50:09.442Z] ---> Running in 54dd4fbf0bd5 [2023-01-10T23:50:10.406Z] 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-01-10T23:52:17.105Z] Removing intermediate container 54dd4fbf0bd5 [2023-01-10T23:52:17.105Z] ---> e7cd0b5f6051 [2023-01-10T23:52:17.105Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T23:52:17.105Z] 3.16: Pulling from library/alpine [2023-01-10T23:52:17.105Z] 6875df1f5354: Pulling fs layer [2023-01-10T23:52:17.105Z] 6875df1f5354: Verifying Checksum [2023-01-10T23:52:17.105Z] 6875df1f5354: Download complete [2023-01-10T23:52:17.105Z] 6875df1f5354: Pull complete [2023-01-10T23:52:17.105Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T23:52:17.105Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T23:52:17.106Z] ---> 2b4661558fb8 [2023-01-10T23:52:17.106Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T23:52:17.106Z] ---> Running in 58835c39b040 [2023-01-10T23:52:17.106Z] Removing intermediate container 58835c39b040 [2023-01-10T23:52:17.106Z] ---> fc44b9eeedea [2023-01-10T23:52:17.106Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-10T23:52:17.106Z] ---> Running in d054bee01077 [2023-01-10T23:52:17.106Z] Removing intermediate container d054bee01077 [2023-01-10T23:52:17.106Z] ---> 0c5e9c62f01e [2023-01-10T23:52:17.106Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T23:52:17.106Z] ---> Running in f507619c0cd8 [2023-01-10T23:52:17.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:52:17.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:52:17.106Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T23:52:17.106Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:52:17.106Z] OK: 5 MiB in 15 packages [2023-01-10T23:52:17.106Z] Removing intermediate container f507619c0cd8 [2023-01-10T23:52:17.106Z] ---> fb26bdf3c55b [2023-01-10T23:52:17.106Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-10T23:52:18.523Z] ---> 45b5ddb34cb8 [2023-01-10T23:52:18.523Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-10T23:52:18.789Z] ---> d8fc5e5a0ab1 [2023-01-10T23:52:18.789Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-10T23:52:19.372Z] ---> d34c171cf625 [2023-01-10T23:52:19.372Z] Step 20/25 : EXPOSE 59986 [2023-01-10T23:52:19.372Z] ---> Running in 8bbf29f961f3 [2023-01-10T23:52:19.639Z] Removing intermediate container 8bbf29f961f3 [2023-01-10T23:52:19.639Z] ---> 8861b2795f14 [2023-01-10T23:52:19.639Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-10T23:52:19.639Z] ---> Running in 5293edc5acd5 [2023-01-10T23:52:19.907Z] Removing intermediate container 5293edc5acd5 [2023-01-10T23:52:19.907Z] ---> 3c9c32966427 [2023-01-10T23:52:19.907Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T23:52:20.174Z] ---> Running in 310dadd6f1b0 [2023-01-10T23:52:20.440Z] Removing intermediate container 310dadd6f1b0 [2023-01-10T23:52:20.440Z] ---> e9ed2d277e7a [2023-01-10T23:52:20.440Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T23:52:20.440Z] ---> Running in 70405f6e09c4 [2023-01-10T23:52:20.709Z] Removing intermediate container 70405f6e09c4 [2023-01-10T23:52:20.709Z] ---> f0a583b63d0f [2023-01-10T23:52:20.709Z] Step 24/25 : LABEL git_sha=bae9649f9eb4a52f862241fea7309d495310450c [2023-01-10T23:52:20.709Z] ---> Running in bb76d26e240d [2023-01-10T23:52:21.295Z] Removing intermediate container bb76d26e240d [2023-01-10T23:52:21.295Z] ---> 12b05fbb71a5 [2023-01-10T23:52:21.295Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T23:52:21.295Z] ---> Running in 1cac35c044e3 [2023-01-10T23:52:21.561Z] Removing intermediate container 1cac35c044e3 [2023-01-10T23:52:21.561Z] ---> 53955131d253 [2023-01-10T23:52:21.561Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T23:52:21.561Z] Successfully built 53955131d253 [2023-01-10T23:52:21.561Z] 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-01-10T23:52:22.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:52:22.350Z] [2023-01-10T23:52:22.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:52:22.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:52:22.756Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T23:52:22.756Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T23:52:22.756Z] 04944245beec: Pulling fs layer [2023-01-10T23:52:22.756Z] 699f458cf7ca: Pulling fs layer [2023-01-10T23:52:22.756Z] 765212b225bb: Pulling fs layer [2023-01-10T23:52:22.756Z] f23df028b6ca: Pulling fs layer [2023-01-10T23:52:22.756Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T23:52:22.756Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T23:52:22.756Z] 765212b225bb: Waiting [2023-01-10T23:52:22.756Z] f23df028b6ca: Waiting [2023-01-10T23:52:22.756Z] d65c8cfc05b1: Waiting [2023-01-10T23:52:22.756Z] 2437ff75d9bd: Waiting [2023-01-10T23:52:23.026Z] 04944245beec: Verifying Checksum [2023-01-10T23:52:23.026Z] 04944245beec: Download complete [2023-01-10T23:52:23.026Z] 765212b225bb: Verifying Checksum [2023-01-10T23:52:23.026Z] 765212b225bb: Download complete [2023-01-10T23:52:23.026Z] f23df028b6ca: Download complete [2023-01-10T23:52:23.026Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T23:52:23.026Z] d65c8cfc05b1: Download complete [2023-01-10T23:52:23.026Z] 699f458cf7ca: Verifying Checksum [2023-01-10T23:52:23.026Z] 699f458cf7ca: Download complete [2023-01-10T23:52:23.609Z] 8998bd30e6a1: Download complete [2023-01-10T23:52:25.544Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T23:52:25.544Z] 2437ff75d9bd: Download complete [2023-01-10T23:52:26.946Z] 8998bd30e6a1: Pull complete [2023-01-10T23:52:27.898Z] 04944245beec: Pull complete [2023-01-10T23:52:29.376Z] 699f458cf7ca: Pull complete [2023-01-10T23:52:29.376Z] 765212b225bb: Pull complete [2023-01-10T23:52:30.373Z] f23df028b6ca: Pull complete [2023-01-10T23:52:30.373Z] d65c8cfc05b1: Pull complete [2023-01-10T23:52:45.417Z] 2437ff75d9bd: Pull complete [2023-01-10T23:52:45.417Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T23:52:45.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:52:45.417Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:52:45.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container [2023-01-10T23:52:45.780Z] $ 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-01-10T23:52:48.188Z] $ docker top 6ad0f4b8e2677e410627942ab736468c10db63697a41f26c18fb03d289330fd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:52:48.759Z] ---> job-cost.sh [2023-01-10T23:52:49.025Z] lf-activate-venv: SKIPPING [2023-01-10T23:52:49.025Z] INFO: No Stack... [2023-01-10T23:52:49.291Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T23:52:50.244Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T23:52:50.588Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-10T23:52:50.588Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T23:52:50.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [2023-01-10T23:52:50.682Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] did not exist. Created. [2023-01-10T23:52:50.682Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T23:52:51.082Z] /w/workspace/device-rest-go/1@tmp/durable-9fd536ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T23:52:51.439Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T23:52:51.473Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T23:52:51.514Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T23:52:51.528Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T23:52:51.604Z] $ docker stop --time=1 6ad0f4b8e2677e410627942ab736468c10db63697a41f26c18fb03d289330fd4 [2023-01-10T23:52:53.058Z] $ docker rm -f --volumes 6ad0f4b8e2677e410627942ab736468c10db63697a41f26c18fb03d289330fd4 [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-01-10T23:52:54.020Z] provisioning config files... [2023-01-10T23:52:54.027Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config5899814164789990797tmp [Pipeline] { [Pipeline] sh [2023-01-10T23:52:54.357Z] + set +x [2023-01-10T23:52:54.357Z] + curl -s https://codecov.io/bash [2023-01-10T23:52:54.357Z] + bash -s -- [2023-01-10T23:52:54.357Z] [2023-01-10T23:52:54.357Z] _____ _ [2023-01-10T23:52:54.357Z] / ____| | | [2023-01-10T23:52:54.357Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T23:52:54.357Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T23:52:54.357Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T23:52:54.357Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T23:52:54.357Z] Bash-1.0.6 [2023-01-10T23:52:54.357Z] [2023-01-10T23:52:54.357Z] [2023-01-10T23:52:54.357Z] ==> git version 2.25.1 found [2023-01-10T23:52:54.357Z] ==> 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-01-10T23:52:54.357Z] Release-Date: 2020-01-08 [2023-01-10T23:52:54.357Z] 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-01-10T23:52:54.357Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T23:52:54.357Z] ==> Jenkins CI detected. [2023-01-10T23:52:54.357Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-237 [2023-01-10T23:52:54.357Z] project root: . [2023-01-10T23:52:54.357Z] --> token set from env [2023-01-10T23:52:54.357Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T23:52:54.357Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T23:52:54.357Z] ==> Python coveragepy not found [2023-01-10T23:52:54.357Z] ==> Searching for coverage reports in: [2023-01-10T23:52:54.357Z] + . [2023-01-10T23:52:54.357Z] -> Found 1 reports [2023-01-10T23:52:54.357Z] ==> Detecting git/mercurial file structure [2023-01-10T23:52:54.357Z] ==> Reading reports [2023-01-10T23:52:54.357Z] + ./coverage.out bytes=9355 [2023-01-10T23:52:54.357Z] ==> Appending adjustments [2023-01-10T23:52:54.357Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T23:52:54.617Z] + Found adjustments [2023-01-10T23:52:54.617Z] ==> Gzipping contents [2023-01-10T23:52:54.617Z] 4.0K /tmp/codecov.Y2AfCn.gz [2023-01-10T23:52:54.617Z] ==> Uploading reports [2023-01-10T23:52:54.617Z] url: https://codecov.io [2023-01-10T23:52:54.617Z] query: branch=PR-237&commit=bae9649f9eb4a52f862241fea7309d495310450c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=237&job=&cmd_args= [2023-01-10T23:52:54.617Z] -> Pinging Codecov [2023-01-10T23:52:54.617Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-237&commit=bae9649f9eb4a52f862241fea7309d495310450c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=237&job=&cmd_args= [2023-01-10T23:52:54.877Z] -> Uploading to [2023-01-10T23:52:54.877Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/4E5D53B4F1F92C436F7061BF334D961C/bae9649f9eb4a52f862241fea7309d495310450c/a37a3473-6cc9-4508-80b0-edb887194270.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T235254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15a8e47f2bc7fdaf48c4778d596b1a3664ac0869e1ddebe3ecb6846a91964892 [2023-01-10T23:52:54.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T23:52:54.877Z] Dload Upload Total Spent Left Speed [2023-01-10T23:52:55.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 6908 --:--:-- --:--:-- --:--:-- 6908 [2023-01-10T23:52:55.137Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bae9649f9eb4a52f862241fea7309d495310450c [Pipeline] } [2023-01-10T23:52:55.166Z] 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-01-10T23:52:56.911Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-237/archives ] [2023-01-10T23:52:56.911Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-237/archives [2023-01-10T23:52:56.911Z] total 16 [2023-01-10T23:52:56.911Z] drwxr-xr-x 3 root root 4096 Jan 10 23:44 . [2023-01-10T23:52:56.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:44 .. [2023-01-10T23:52:56.911Z] drwxr-xr-x 2 root root 4096 Jan 10 23:44 cost [2023-01-10T23:52:56.911Z] -rw-r--r-- 1 root root 86 Jan 10 23:44 cost.csv [2023-01-10T23:52:56.911Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-237/archives [2023-01-10T23:52:56.911Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-237/archives [2023-01-10T23:52:56.911Z] total 16 [2023-01-10T23:52:56.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:44 . [2023-01-10T23:52:56.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:44 .. [2023-01-10T23:52:56.911Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:44 cost [2023-01-10T23:52:56.911Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 23:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:52:57.236Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:52:58.127Z] ---> package-listing.sh [2023-01-10T23:52:58.127Z] ++ facter osfamily [2023-01-10T23:52:58.127Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T23:52:58.386Z] + OS_FAMILY=debian [2023-01-10T23:52:58.386Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-237 [2023-01-10T23:52:58.386Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T23:52:58.386Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T23:52:58.386Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T23:52:58.386Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T23:52:58.386Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-237 ']' [2023-01-10T23:52:58.386Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T23:52:58.386Z] + case "${OS_FAMILY}" in [2023-01-10T23:52:58.386Z] + dpkg -l [2023-01-10T23:52:58.386Z] + grep '^ii' [2023-01-10T23:52:58.386Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T23:52:58.386Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T23:52:58.386Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T23:52:58.386Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-237 ']' [2023-01-10T23:52:58.386Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-237/archives/ [2023-01-10T23:52:58.386Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-237/archives/ [Pipeline] echo [2023-01-10T23:52:58.421Z] 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T23:52:58.713Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:52:59.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:52:59.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:52:59.489Z] prd-ubuntu20.04-docker-8c-8g-1767 does not seem to be running inside a container [2023-01-10T23:52:59.518Z] $ 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-237/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-237 -v /w/workspace/gexfoundry_device-rest-go_PR-237:/w/workspace/gexfoundry_device-rest-go_PR-237:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-237@tmp:/w/workspace/gexfoundry_device-rest-go_PR-237@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-01-10T23:52:59.711Z] $ docker top 1600d003652a4d5d08bddb886a7df325e3602d1ff6093c00ad097feb8f6daefc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:53:00.110Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T23:53:00.419Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T23:53:00.729Z] + ls /var/log/sa-host [2023-01-10T23:53:00.729Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:53:00.959Z] provisioning config files... [2023-01-10T23:53:00.969Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-237@tmp/config5468097158811529598tmp [Pipeline] { [Pipeline] echo [2023-01-10T23:53:01.020Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:53:01.330Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T23:53:01.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:53:01.757Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T23:53:01.789Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:53:02.100Z] ---> sudo-logs.sh [2023-01-10T23:53:02.100Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T23:53:02.182Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:53:02.485Z] ---> job-cost.sh [2023-01-10T23:53:02.485Z] lf-activate-venv: SKIPPING [2023-01-10T23:53:02.485Z] DEBUG: total: 0.2199999988079071 [2023-01-10T23:53:02.485Z] INFO: Retrieving Stack Cost... [2023-01-10T23:53:02.745Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T23:53:03.315Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T23:53:03.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:53:03.661Z] ---> logs-deploy.sh [2023-01-10T23:53:03.661Z] lf-activate-venv: SKIPPING [2023-01-10T23:53:03.661Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-237/1 [2023-01-10T23:53:03.661Z] INFO: archiving workspace using pattern(s): [2023-01-10T23:53:04.599Z] Archives upload complete. [2023-01-10T23:53:04.599Z] INFO: archiving logs to Nexus