Pull request #256 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d86d417b1b1776140d69a231b2ecf52b2e28b3e9+70384783b5a72194fc813c647394660ae113f8ec (3aba78108ba60354f4405258ca85f1ed4441cfd5) 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-ssh17169082066915584228.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-ssh9163526162488274926.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-256/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-256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2170536732088159692.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-256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10646775683634381494.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-ssh14321821204379520886.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-256/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-256/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3369770771793177086.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 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6499’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6501 in /w/workspace/gexfoundry_device-rest-go_PR-256 [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-256 # 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/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 70384783b5a72194fc813c647394660ae113f8ec into PR head commit d86d417b1b1776140d69a231b2ecf52b2e28b3e9 Merge succeeded, producing d86d417b1b1776140d69a231b2ecf52b2e28b3e9 Checking out Revision d86d417b1b1776140d69a231b2ecf52b2e28b3e9 (PR-256) Commit message: "build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0" 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 > git config core.sparsecheckout # timeout=10 > git checkout -f d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # 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 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # timeout=10 [Pipeline] { [Pipeline] timeout [2023-02-17T21:33:26.152Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T21:33:26.335Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T21:33:26.430Z] ========================================================= [2023-02-17T21:33:26.430Z] EdgeX Global Pipelines Version Info [2023-02-17T21:33:26.430Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:33:27.174Z] ------------------- [2023-02-17T21:33:27.174Z] stable info: [2023-02-17T21:33:27.174Z] ------------------- [2023-02-17T21:33:27.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T21:33:27.174Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:33:27.174Z] Message: update stable to v1.0.244 [2023-02-17T21:33:27.744Z] ------------------- [2023-02-17T21:33:27.744Z] experimental info: [2023-02-17T21:33:27.744Z] ------------------- [2023-02-17T21:33:27.744Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T21:33:27.744Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:33:27.744Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T21:33:27.983Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-17T21:33:28.021Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-17T21:33:28.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T21:33:28.091Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T21:33:28.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T21:33:28.163Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T21:33:28.199Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T21:33:28.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T21:33:28.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T21:33:28.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T21:33:28.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T21:33:28.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-17T21:33:28.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T21:33:28.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T21:33:28.504Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T21:33:28.541Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T21:33:28.582Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T21:33:28.616Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T21:33:28.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T21:33:28.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T21:33:28.727Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T21:33:28.768Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T21:33:28.809Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T21:33:28.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T21:33:28.894Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T21:33:28.933Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T21:33:28.974Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T21:33:29.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-256 [Pipeline] echo [2023-02-17T21:33:29.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-256 [Pipeline] echo [2023-02-17T21:33:29.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-256 [Pipeline] echo [2023-02-17T21:33:29.122Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [Pipeline] echo [2023-02-17T21:33:29.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d86d417 [Pipeline] echo [2023-02-17T21:33:29.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:33:29.333Z] provisioning config files... [2023-02-17T21:33:29.356Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config12562697924217104907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:33:29.704Z] ---> docker-login.sh [2023-02-17T21:33:29.704Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:33:29.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:29.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:29.964Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:29.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:29.964Z] [2023-02-17T21:33:29.964Z] Login Succeeded [2023-02-17T21:33:29.964Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:33:29.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:30.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:30.226Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:30.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:30.226Z] [2023-02-17T21:33:30.226Z] Login Succeeded [2023-02-17T21:33:30.226Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:33:30.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:30.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:30.226Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:30.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:30.226Z] [2023-02-17T21:33:30.226Z] Login Succeeded [2023-02-17T21:33:30.226Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:33:30.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:30.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:30.488Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:30.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:30.488Z] [2023-02-17T21:33:30.488Z] Login Succeeded [2023-02-17T21:33:30.488Z] docker.io [2023-02-17T21:33:30.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:30.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:30.748Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:30.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:30.748Z] [2023-02-17T21:33:30.748Z] Login Succeeded [2023-02-17T21:33:30.748Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:33:30.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T21:33:31.418Z] + git rev-list -1 --merges d86d417b1b1776140d69a231b2ecf52b2e28b3e9~1..d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [Pipeline] echo [2023-02-17T21:33:31.482Z] -----------> git rev-list -1 --merges d86d417b1b1776140d69a231b2ecf52b2e28b3e9~1..d86d417b1b1776140d69a231b2ecf52b2e28b3e9 d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [false] [Pipeline] sh [2023-02-17T21:33:31.790Z] + git log --format=format:%s -1 d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [Pipeline] echo [2023-02-17T21:33:31.828Z] ========================================================= [2023-02-17T21:33:31.828Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T21:33:31.828Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:33:32.275Z] + git log --format=format:%s -1 d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [Pipeline] echo [2023-02-17T21:33:32.307Z] [semverPrep] GIT_COMMIT: d86d417b1b1776140d69a231b2ecf52b2e28b3e9, Commit Message: build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0 [Pipeline] echo [2023-02-17T21:33:32.333Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T21:33:32.712Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T21:33:32.712Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T21:33:32.712Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T21:33:32.712Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T21:33:32.712Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-02-17T21:33:32.712Z] -a /etc/ssh/ssh_known_hosts [2023-02-17T21:33:32.712Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:33.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:33:33.124Z] [2023-02-17T21:33:33.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:33.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:33:33.503Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T21:33:33.503Z] b85a868b505f: Pulling fs layer [2023-02-17T21:33:33.503Z] e2be974225ed: Pulling fs layer [2023-02-17T21:33:33.503Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T21:33:33.503Z] 988bab9f4d93: Pulling fs layer [2023-02-17T21:33:33.503Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T21:33:33.503Z] eaf3925da568: Pulling fs layer [2023-02-17T21:33:33.503Z] bab4dde63d76: Pulling fs layer [2023-02-17T21:33:33.503Z] bde34c3a00c8: Pulling fs layer [2023-02-17T21:33:33.503Z] b352a97aabf1: Pulling fs layer [2023-02-17T21:33:33.503Z] 4872d77fe225: Pulling fs layer [2023-02-17T21:33:33.503Z] 5851b861e8e6: Pulling fs layer [2023-02-17T21:33:33.503Z] bab4dde63d76: Waiting [2023-02-17T21:33:33.503Z] bde34c3a00c8: Waiting [2023-02-17T21:33:33.503Z] b352a97aabf1: Waiting [2023-02-17T21:33:33.503Z] 1469e6f7b9e6: Waiting [2023-02-17T21:33:33.503Z] 988bab9f4d93: Waiting [2023-02-17T21:33:33.503Z] 5851b861e8e6: Waiting [2023-02-17T21:33:33.503Z] eaf3925da568: Waiting [2023-02-17T21:33:33.503Z] e2be974225ed: Verifying Checksum [2023-02-17T21:33:33.503Z] e2be974225ed: Download complete [2023-02-17T21:33:33.503Z] 988bab9f4d93: Download complete [2023-02-17T21:33:33.770Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T21:33:33.770Z] 339a4e72a1f5: Download complete [2023-02-17T21:33:33.770Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T21:33:33.770Z] 1469e6f7b9e6: Download complete [2023-02-17T21:33:33.770Z] eaf3925da568: Verifying Checksum [2023-02-17T21:33:33.770Z] eaf3925da568: Download complete [2023-02-17T21:33:33.770Z] bde34c3a00c8: Download complete [2023-02-17T21:33:34.033Z] b352a97aabf1: Download complete [2023-02-17T21:33:34.033Z] 4872d77fe225: Download complete [2023-02-17T21:33:34.033Z] 5851b861e8e6: Verifying Checksum [2023-02-17T21:33:34.033Z] 5851b861e8e6: Download complete [2023-02-17T21:33:34.033Z] b85a868b505f: Verifying Checksum [2023-02-17T21:33:34.033Z] b85a868b505f: Download complete [2023-02-17T21:33:34.293Z] bab4dde63d76: Verifying Checksum [2023-02-17T21:33:34.293Z] bab4dde63d76: Download complete [2023-02-17T21:33:35.671Z] b85a868b505f: Pull complete [2023-02-17T21:33:35.671Z] e2be974225ed: Pull complete [2023-02-17T21:33:35.931Z] 339a4e72a1f5: Pull complete [2023-02-17T21:33:36.189Z] 988bab9f4d93: Pull complete [2023-02-17T21:33:36.446Z] 1469e6f7b9e6: Pull complete [2023-02-17T21:33:36.446Z] eaf3925da568: Pull complete [2023-02-17T21:33:38.973Z] bab4dde63d76: Pull complete [2023-02-17T21:33:38.973Z] bde34c3a00c8: Pull complete [2023-02-17T21:33:38.973Z] b352a97aabf1: Pull complete [2023-02-17T21:33:39.233Z] 4872d77fe225: Pull complete [2023-02-17T21:33:39.233Z] 5851b861e8e6: Pull complete [2023-02-17T21:33:39.233Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T21:33:39.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:33:39.233Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:33:39.458Z] prd-ubuntu20.04-docker-8c-8g-6501 does not seem to be running inside a container [2023-02-17T21:33:39.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T21:33:40.719Z] $ docker top 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba -eo pid,comm [2023-02-17T21:33:40.780Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-17T21:33:40.780Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T21:33:40.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:33:40.902Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:33:41.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:33:41.017Z] $ docker exec 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba ssh-agent [2023-02-17T21:33:41.133Z] SSH_AUTH_SOCK=/tmp/ssh-g0qyNvRE0XSH/agent.32 [2023-02-17T21:33:41.133Z] SSH_AGENT_PID=38 [2023-02-17T21:33:41.140Z] Running ssh-add (command line suppressed) [2023-02-17T21:33:41.255Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_9115082715690157594.key (/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_9115082715690157594.key) [2023-02-17T21:33:41.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:33:41.614Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T21:33:41.640Z] $ docker exec --env ******** --env ******** 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba ssh-agent -k [2023-02-17T21:33:41.753Z] unset SSH_AUTH_SOCK; [2023-02-17T21:33:41.754Z] unset SSH_AGENT_PID; [2023-02-17T21:33:41.754Z] echo Agent pid 38 killed; [2023-02-17T21:33:41.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T21:33:41.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:33:41.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:33:41.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:33:41.997Z] $ docker exec 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba ssh-agent [2023-02-17T21:33:42.111Z] SSH_AUTH_SOCK=/tmp/ssh-6F8AfDOBHquF/agent.70 [2023-02-17T21:33:42.111Z] SSH_AGENT_PID=76 [2023-02-17T21:33:42.116Z] Running ssh-add (command line suppressed) [2023-02-17T21:33:42.216Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_9531302583913427885.key (/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_9531302583913427885.key) [2023-02-17T21:33:42.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:33:42.563Z] + git semver init [2023-02-17T21:33:42.821Z] 2023-02-17 21:33:42,743 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T21:33:42.821Z] 2023-02-17 21:33:42,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-256/.semver [2023-02-17T21:33:42.821Z] 2023-02-17 21:33:42,744 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-256/.semver [2023-02-17T21:33:42.821Z] 2023-02-17 21:33:42,744 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-256/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-256, universal_newlines=False, shell=None, istream=None) [2023-02-17T21:33:44.200Z] 2023-02-17 21:33:43,882 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-256/.git/info/exclude [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,883 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-256/.semver/PR-256 with force:False [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,883 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-256/.semver/PR-256 [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,887 [execute] INFO git cat-file --batch-check [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-256/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,895 [execute] INFO git cat-file --batch [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-256/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T21:33:44.201Z] 2023-02-17 21:33:43,901 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-256/.semver/PR-256 [2023-02-17T21:33:44.201Z] 0.0.0 [Pipeline] } [2023-02-17T21:33:44.225Z] $ docker exec --env ******** --env ******** 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba ssh-agent -k [2023-02-17T21:33:44.335Z] unset SSH_AUTH_SOCK; [2023-02-17T21:33:44.335Z] unset SSH_AGENT_PID; [2023-02-17T21:33:44.335Z] echo Agent pid 76 killed; [2023-02-17T21:33:44.349Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T21:33:44.784Z] + git semver [Pipeline] } [2023-02-17T21:33:45.070Z] $ docker stop --time=1 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba [2023-02-17T21:33:46.418Z] $ docker rm -f --volumes 0cb71d6e516403ba1adf721fe9c1420f3d5c887e143054332761b0990b0d70ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:33:46.843Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T21:33:47.105Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T21:33:47.124Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:33:47.731Z] provisioning config files... [2023-02-17T21:33:47.741Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config10528587994548951066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:33:48.155Z] ---> docker-login.sh [2023-02-17T21:33:48.155Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:33:48.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:48.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:48.155Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:48.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:48.155Z] [2023-02-17T21:33:48.155Z] Login Succeeded [2023-02-17T21:33:48.155Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:33:48.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:48.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:48.155Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:48.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:48.155Z] [2023-02-17T21:33:48.155Z] Login Succeeded [2023-02-17T21:33:48.155Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:33:48.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:48.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:48.422Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:48.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:48.422Z] [2023-02-17T21:33:48.422Z] Login Succeeded [2023-02-17T21:33:48.422Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:33:48.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:48.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:48.422Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:48.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:48.422Z] [2023-02-17T21:33:48.422Z] Login Succeeded [2023-02-17T21:33:48.689Z] docker.io [2023-02-17T21:33:48.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:48.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:48.951Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:48.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:48.951Z] [2023-02-17T21:33:48.951Z] Login Succeeded [2023-02-17T21:33:48.951Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:33:48.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T21:33:49.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:33:49.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:33:49.241Z] ========================================================= [2023-02-17T21:33:49.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T21:33:49.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:49.786Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T21:33:49.786Z] Sending build context to Docker daemon 10.82MB [2023-02-17T21:33:49.786Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:33:49.786Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T21:33:50.047Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T21:33:50.047Z] 213ec9aee27d: Pulling fs layer [2023-02-17T21:33:50.047Z] 4583459ba037: Pulling fs layer [2023-02-17T21:33:50.047Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T21:33:50.047Z] 53926ce57604: Pulling fs layer [2023-02-17T21:33:50.047Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T21:33:50.047Z] 22ff95d597cd: Pulling fs layer [2023-02-17T21:33:50.047Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T21:33:50.047Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T21:33:50.047Z] a7acece74701: Pulling fs layer [2023-02-17T21:33:50.047Z] 22ff95d597cd: Waiting [2023-02-17T21:33:50.047Z] 21b2b0c7a3f4: Waiting [2023-02-17T21:33:50.047Z] 12d6caf4c0d1: Waiting [2023-02-17T21:33:50.047Z] 96b7cbca73a9: Waiting [2023-02-17T21:33:50.047Z] a7acece74701: Waiting [2023-02-17T21:33:50.047Z] 53926ce57604: Waiting [2023-02-17T21:33:50.047Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T21:33:50.047Z] 93c1e223e6f2: Download complete [2023-02-17T21:33:50.047Z] 4583459ba037: Verifying Checksum [2023-02-17T21:33:50.047Z] 4583459ba037: Download complete [2023-02-17T21:33:50.047Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T21:33:50.047Z] 21b2b0c7a3f4: Download complete [2023-02-17T21:33:50.047Z] 22ff95d597cd: Verifying Checksum [2023-02-17T21:33:50.047Z] 22ff95d597cd: Download complete [2023-02-17T21:33:50.313Z] 213ec9aee27d: Verifying Checksum [2023-02-17T21:33:50.313Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T21:33:50.313Z] 12d6caf4c0d1: Download complete [2023-02-17T21:33:50.313Z] 213ec9aee27d: Pull complete [2023-02-17T21:33:50.584Z] 4583459ba037: Pull complete [2023-02-17T21:33:50.584Z] 93c1e223e6f2: Pull complete [2023-02-17T21:33:51.638Z] a7acece74701: Verifying Checksum [2023-02-17T21:33:51.638Z] a7acece74701: Download complete [2023-02-17T21:33:51.905Z] 53926ce57604: Verifying Checksum [2023-02-17T21:33:51.905Z] 53926ce57604: Download complete [2023-02-17T21:33:52.165Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T21:33:52.165Z] 96b7cbca73a9: Download complete [2023-02-17T21:33:56.371Z] 53926ce57604: Pull complete [2023-02-17T21:33:56.371Z] 21b2b0c7a3f4: Pull complete [2023-02-17T21:33:56.371Z] 22ff95d597cd: Pull complete [2023-02-17T21:33:56.371Z] 12d6caf4c0d1: Pull complete [2023-02-17T21:33:58.281Z] 96b7cbca73a9: Pull complete [2023-02-17T21:33:59.217Z] a7acece74701: Pull complete [2023-02-17T21:33:59.217Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T21:33:59.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T21:33:59.217Z] ---> db6d94c90886 [2023-02-17T21:33:59.217Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:34:00.951Z] ---> Running in 06a9369f7dad [2023-02-17T21:34:00.951Z] Removing intermediate container 06a9369f7dad [2023-02-17T21:34:00.951Z] ---> f3836b6c353f [2023-02-17T21:34:00.951Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:34:00.951Z] ---> Running in 17feb97af9f8 [2023-02-17T21:34:01.218Z] Removing intermediate container 17feb97af9f8 [2023-02-17T21:34:01.218Z] ---> 18aefbdb7b87 [2023-02-17T21:34:01.218Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:34:01.218Z] ---> Running in f2c20ff47189 [2023-02-17T21:34:01.218Z] Removing intermediate container f2c20ff47189 [2023-02-17T21:34:01.218Z] ---> 1e25e69c4feb [2023-02-17T21:34:01.218Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:34:01.218Z] ---> Running in 86aea2c20c49 [2023-02-17T21:34:01.477Z] Removing intermediate container 86aea2c20c49 [2023-02-17T21:34:01.477Z] ---> ca213593cbd5 [2023-02-17T21:34:01.477Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:34:01.477Z] ---> Running in a1c2c432e74d [2023-02-17T21:34:01.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:34:02.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:34:02.260Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T21:34:02.260Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T21:34:02.260Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T21:34:02.260Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T21:34:02.260Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:34:02.260Z] OK: 216 MiB in 55 packages [2023-02-17T21:34:02.522Z] Removing intermediate container a1c2c432e74d [2023-02-17T21:34:02.522Z] ---> fe31665dcf8a [2023-02-17T21:34:02.522Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-17T21:34:02.554Z] Still waiting to schedule task [2023-02-17T21:34:02.554Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6500’ [2023-02-17T21:34:02.782Z] ---> Running in 08ace4d2442d [2023-02-17T21:34:02.782Z] Removing intermediate container 08ace4d2442d [2023-02-17T21:34:02.782Z] ---> 615f03530c6d [2023-02-17T21:34:02.782Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T21:34:02.782Z] ---> 5448b88d55a3 [2023-02-17T21:34:02.782Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:34:03.042Z] ---> Running in 32b765fb3077 [2023-02-17T21:34:35.144Z] Removing intermediate container 32b765fb3077 [2023-02-17T21:34:35.144Z] ---> 560ab96ccdb2 [2023-02-17T21:34:35.144Z] Step 11/12 : COPY . . [2023-02-17T21:34:35.144Z] ---> 1b9ab5162d16 [2023-02-17T21:34:35.144Z] Step 12/12 : RUN $MAKE [2023-02-17T21:34:35.144Z] ---> Running in 8df36e2fe8fe [2023-02-17T21:34:35.144Z] noop [2023-02-17T21:34:35.144Z] Removing intermediate container 8df36e2fe8fe [2023-02-17T21:34:35.144Z] ---> b99a78986b94 [2023-02-17T21:34:35.144Z] Successfully built b99a78986b94 [2023-02-17T21:34:35.144Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:34:35.585Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T21:34:35.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:34:35.740Z] prd-ubuntu20.04-docker-8c-8g-6501 does not seem to be running inside a container [2023-02-17T21:34:35.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T21:34:36.122Z] $ docker top 636e3ff56d50759d9ca57fd75fd7006b24e8f3a4542fd5b29db0814a3c65c424 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:34:36.517Z] + go version [2023-02-17T21:34:36.518Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T21:34:36.551Z] $ docker stop --time=1 636e3ff56d50759d9ca57fd75fd7006b24e8f3a4542fd5b29db0814a3c65c424 [2023-02-17T21:34:37.842Z] $ docker rm -f --volumes 636e3ff56d50759d9ca57fd75fd7006b24e8f3a4542fd5b29db0814a3c65c424 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:34:38.540Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T21:34:38.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:34:38.686Z] prd-ubuntu20.04-docker-8c-8g-6501 does not seem to be running inside a container [2023-02-17T21:34:38.718Z] $ 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-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T21:34:39.070Z] $ docker top 6601acf2853fe4a7431bdab3275f99c735b21ac8a3646cc0717add304cb65704 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:34:39.464Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-256 [Pipeline] fileExists [Pipeline] sh [2023-02-17T21:34:39.823Z] + make test [2023-02-17T21:34:39.824Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T21:34:40.081Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-17T21:34:50.053Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-17T21:34:50.053Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-17T21:34:58.160Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T21:34:58.160Z] go vet ./... [2023-02-17T21:35:00.775Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T21:35:00.775Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T21:35:00.775Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T21:35:00.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T21:35:00.846Z] $ docker stop --time=1 6601acf2853fe4a7431bdab3275f99c735b21ac8a3646cc0717add304cb65704 [2023-02-17T21:35:02.560Z] $ docker rm -f --volumes 6601acf2853fe4a7431bdab3275f99c735b21ac8a3646cc0717add304cb65704 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:35:03.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T21:35:03.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T21:35:03.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T21:35:04.036Z] + ls -al . [2023-02-17T21:35:04.037Z] total 188 [2023-02-17T21:35:04.037Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 21:34 . [2023-02-17T21:35:04.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:33 .. [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 21:33 .dockerignore [2023-02-17T21:35:04.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:34 .git [2023-02-17T21:35:04.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:33 .github [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 21:33 .gitignore [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:33 .golangci.yml [2023-02-17T21:35:04.037Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:33 .semver [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 21:33 Attribution.txt [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 21:33 CHANGELOG.md [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 21:33 Dockerfile [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:33 GOVERNANCE.md [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:33 Jenkinsfile [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:33 LICENSE [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 21:33 Makefile [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 21:33 OWNERS.md [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 21:33 README.md [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 21:33 VERSION [2023-02-17T21:35:04.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:33 bin [2023-02-17T21:35:04.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:33 cmd [2023-02-17T21:35:04.037Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 21:34 coverage.out [2023-02-17T21:35:04.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:33 driver [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 21:33 go.mod [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 21:33 go.sum [2023-02-17T21:35:04.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:33 snap [2023-02-17T21:35:04.037Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:35:04.423Z] + 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=d86d417b1b1776140d69a231b2ecf52b2e28b3e9 --label arch=amd64 --label version=0.0.0 . [2023-02-17T21:35:04.424Z] Sending build context to Docker daemon 10.83MB [2023-02-17T21:35:04.424Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:35:04.424Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T21:35:04.424Z] ---> b99a78986b94 [2023-02-17T21:35:04.424Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:35:04.424Z] ---> Running in e87587600ed6 [2023-02-17T21:35:04.683Z] Removing intermediate container e87587600ed6 [2023-02-17T21:35:04.683Z] ---> 7df3a900e566 [2023-02-17T21:35:04.683Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:35:04.683Z] ---> Running in e58cd9da0b12 [2023-02-17T21:35:04.683Z] Removing intermediate container e58cd9da0b12 [2023-02-17T21:35:04.683Z] ---> 73d17d366bee [2023-02-17T21:35:04.683Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:35:04.683Z] ---> Running in 917f95b5cdb2 [2023-02-17T21:35:04.943Z] Removing intermediate container 917f95b5cdb2 [2023-02-17T21:35:04.943Z] ---> d04a66839c22 [2023-02-17T21:35:04.943Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:35:04.943Z] ---> Running in 694ae07fa4f3 [2023-02-17T21:35:04.943Z] Removing intermediate container 694ae07fa4f3 [2023-02-17T21:35:04.943Z] ---> c8accb575d56 [2023-02-17T21:35:04.943Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:35:04.943Z] ---> Running in 2045cbd274a0 [2023-02-17T21:35:05.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:35:05.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:35:05.720Z] OK: 216 MiB in 55 packages [2023-02-17T21:35:05.981Z] Removing intermediate container 2045cbd274a0 [2023-02-17T21:35:05.981Z] ---> 8072e81b3eaf [2023-02-17T21:35:05.981Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-17T21:35:05.981Z] ---> Running in 37e7f75d9e47 [2023-02-17T21:35:06.240Z] Removing intermediate container 37e7f75d9e47 [2023-02-17T21:35:06.240Z] ---> c19003cf09cf [2023-02-17T21:35:06.240Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-17T21:35:06.240Z] ---> 94366a4cf08f [2023-02-17T21:35:06.240Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:35:06.240Z] ---> Running in 8bdcf9066d08 [2023-02-17T21:35:07.179Z] Removing intermediate container 8bdcf9066d08 [2023-02-17T21:35:07.179Z] ---> 7acc4032417c [2023-02-17T21:35:07.179Z] Step 11/25 : COPY . . [2023-02-17T21:35:07.439Z] ---> bd95e6a7f0e1 [2023-02-17T21:35:07.439Z] Step 12/25 : RUN $MAKE [2023-02-17T21:35:07.439Z] ---> Running in e535a32749ff [2023-02-17T21:35:07.697Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-17T21:35:29.641Z] Removing intermediate container e535a32749ff [2023-02-17T21:35:29.641Z] ---> 8a4df07a3b1a [2023-02-17T21:35:29.641Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T21:35:29.641Z] 3.16: Pulling from library/alpine [2023-02-17T21:35:29.641Z] ef5531b6e74e: Pulling fs layer [2023-02-17T21:35:29.641Z] ef5531b6e74e: Verifying Checksum [2023-02-17T21:35:29.641Z] ef5531b6e74e: Download complete [2023-02-17T21:35:29.641Z] ef5531b6e74e: Pull complete [2023-02-17T21:35:29.641Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T21:35:29.641Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T21:35:29.641Z] ---> dfd21b5a31f5 [2023-02-17T21:35:29.641Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T21:35:29.641Z] ---> Running in 4512fb6bd828 [2023-02-17T21:35:29.641Z] Removing intermediate container 4512fb6bd828 [2023-02-17T21:35:29.641Z] ---> 135483e5ed18 [2023-02-17T21:35:29.641Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-17T21:35:29.641Z] ---> Running in bc8bc4706abf [2023-02-17T21:35:29.641Z] Removing intermediate container bc8bc4706abf [2023-02-17T21:35:29.641Z] ---> 063b31decfbe [2023-02-17T21:35:29.641Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T21:35:29.641Z] ---> Running in 28819c5fdbfd [2023-02-17T21:35:29.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:35:29.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:35:29.641Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T21:35:29.641Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:35:29.641Z] OK: 6 MiB in 15 packages [2023-02-17T21:35:29.641Z] Removing intermediate container 28819c5fdbfd [2023-02-17T21:35:29.641Z] ---> 05e42d4c25bf [2023-02-17T21:35:29.641Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-17T21:35:29.641Z] ---> bca408ae6c10 [2023-02-17T21:35:29.641Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-17T21:35:29.641Z] ---> b99ae1481a1c [2023-02-17T21:35:29.641Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-17T21:35:29.641Z] ---> 08465d52de09 [2023-02-17T21:35:29.641Z] Step 20/25 : EXPOSE 59986 [2023-02-17T21:35:29.641Z] ---> Running in 6c5ba5c06fee [2023-02-17T21:35:29.641Z] Removing intermediate container 6c5ba5c06fee [2023-02-17T21:35:29.641Z] ---> 018dec8b9644 [2023-02-17T21:35:29.641Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-17T21:35:29.641Z] ---> Running in db8dd3920bcb [2023-02-17T21:35:29.641Z] Removing intermediate container db8dd3920bcb [2023-02-17T21:35:29.641Z] ---> 38b3f8466f35 [2023-02-17T21:35:29.641Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T21:35:29.641Z] ---> Running in e0e39a9cf11c [2023-02-17T21:35:29.641Z] Removing intermediate container e0e39a9cf11c [2023-02-17T21:35:29.641Z] ---> e89a565f6e74 [2023-02-17T21:35:29.641Z] Step 23/25 : LABEL arch=amd64 [2023-02-17T21:35:29.641Z] ---> Running in 885da110b953 [2023-02-17T21:35:29.641Z] Removing intermediate container 885da110b953 [2023-02-17T21:35:29.641Z] ---> d22cb26a00a6 [2023-02-17T21:35:29.641Z] Step 24/25 : LABEL git_sha=d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [2023-02-17T21:35:29.641Z] ---> Running in 01e5338a103f [2023-02-17T21:35:29.641Z] Removing intermediate container 01e5338a103f [2023-02-17T21:35:29.641Z] ---> 60268b7c4ffe [2023-02-17T21:35:29.641Z] Step 25/25 : LABEL version=0.0.0 [2023-02-17T21:35:29.641Z] ---> Running in 50be18cac1ff [2023-02-17T21:35:29.900Z] Removing intermediate container 50be18cac1ff [2023-02-17T21:35:29.900Z] ---> f799806b61fc [2023-02-17T21:35:29.900Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T21:35:29.900Z] Successfully built f799806b61fc [2023-02-17T21:35:29.900Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:35:30.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:35:30.718Z] [2023-02-17T21:35:30.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:35:31.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:35:31.098Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T21:35:31.098Z] 5eb5b503b376: Pulling fs layer [2023-02-17T21:35:31.098Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T21:35:31.098Z] ec43610c2a17: Pulling fs layer [2023-02-17T21:35:31.098Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T21:35:31.098Z] 33b1e0a273af: Pulling fs layer [2023-02-17T21:35:31.098Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T21:35:31.098Z] 2f39f015ded8: Pulling fs layer [2023-02-17T21:35:31.098Z] 3a2ae6a8a46f: Waiting [2023-02-17T21:35:31.098Z] 33b1e0a273af: Waiting [2023-02-17T21:35:31.098Z] 5c69ac0246d0: Download complete [2023-02-17T21:35:31.098Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T21:35:31.098Z] 3a2ae6a8a46f: Download complete [2023-02-17T21:35:31.358Z] 33b1e0a273af: Verifying Checksum [2023-02-17T21:35:31.358Z] 33b1e0a273af: Download complete [2023-02-17T21:35:31.358Z] 5d3b04190fa2: Download complete [2023-02-17T21:35:31.358Z] ec43610c2a17: Verifying Checksum [2023-02-17T21:35:31.617Z] 5eb5b503b376: Download complete [2023-02-17T21:35:32.183Z] 2f39f015ded8: Verifying Checksum [2023-02-17T21:35:32.183Z] 2f39f015ded8: Download complete [2023-02-17T21:35:32.752Z] 5eb5b503b376: Pull complete [2023-02-17T21:35:32.752Z] 5c69ac0246d0: Pull complete [2023-02-17T21:35:33.317Z] ec43610c2a17: Pull complete [2023-02-17T21:35:33.317Z] 3a2ae6a8a46f: Pull complete [2023-02-17T21:35:33.575Z] 33b1e0a273af: Pull complete [2023-02-17T21:35:33.575Z] 5d3b04190fa2: Pull complete [2023-02-17T21:35:37.761Z] 2f39f015ded8: Pull complete [2023-02-17T21:35:37.761Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T21:35:37.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:35:37.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:35:37.994Z] prd-ubuntu20.04-docker-8c-8g-6501 does not seem to be running inside a container [2023-02-17T21:35:38.026Z] $ 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-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T21:35:39.467Z] $ docker top 1b34daba9977ada989dd57f25c13a2364caf8d31bd28c6ea62bce6068cadfd91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:35:39.902Z] ---> job-cost.sh [2023-02-17T21:35:39.902Z] lf-activate-venv: SKIPPING [2023-02-17T21:35:39.902Z] INFO: No Stack... [2023-02-17T21:35:40.161Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T21:35:40.423Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T21:35:40.752Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-256/archives/cost.csv [2023-02-17T21:35:40.753Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T21:35:40.797Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] [2023-02-17T21:35:40.803Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] did not exist. Created. [2023-02-17T21:35:40.803Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T21:35:41.197Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T21:35:41.247Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T21:35:41.275Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T21:35:41.351Z] $ docker stop --time=1 1b34daba9977ada989dd57f25c13a2364caf8d31bd28c6ea62bce6068cadfd91 [2023-02-17T21:35:42.524Z] $ docker rm -f --volumes 1b34daba9977ada989dd57f25c13a2364caf8d31bd28c6ea62bce6068cadfd91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T21:36:16.659Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6503 in /w/workspace/gexfoundry_device-rest-go_PR-256 [Pipeline] { [Pipeline] ws [2023-02-17T21:36:16.721Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T21:36:16.810Z] The recommended git tool is: git [2023-02-17T21:36:22.020Z] using credential edgex-jenkins-ssh [2023-02-17T21:36:22.038Z] Cloning the remote Git repository [2023-02-17T21:36:22.084Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T21:36:22.156Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-17T21:36:22.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T21:36:22.310Z] > git --version # timeout=10 [2023-02-17T21:36:22.332Z] > git --version # 'git version 2.25.1' [2023-02-17T21:36:22.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:36:22.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T21:36:24.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-17T21:36:24.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T21:36:25.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-17T21:36:25.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T21:36:25.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:36:25.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T21:36:25.996Z] Merging remotes/origin/main commit 70384783b5a72194fc813c647394660ae113f8ec into PR head commit d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [2023-02-17T21:36:26.255Z] Merge succeeded, producing d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [2023-02-17T21:36:26.256Z] Checking out Revision d86d417b1b1776140d69a231b2ecf52b2e28b3e9 (PR-256) [2023-02-17T21:36:26.790Z] Commit message: "build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0" [2023-02-17T21:36:26.846Z] > git --version # timeout=10 [2023-02-17T21:36:26.859Z] > git --version # 'git version 2.25.1' [2023-02-17T21:36:26.876Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:36:26.020Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T21:36:26.047Z] > git checkout -f d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # timeout=10 [2023-02-17T21:36:26.142Z] > git remote # timeout=10 [2023-02-17T21:36:26.162Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T21:36:26.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:36:26.202Z] > git merge 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 [2023-02-17T21:36:26.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T21:36:26.264Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T21:36:26.281Z] > git checkout -f d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:36:27.935Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T21:36:27.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T21:36:27.935Z] Dload Upload Total Spent Left Speed [2023-02-17T21:36:27.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-02-17T21:36:28.617Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T21:36:28.973Z] + sudo tee /etc/docker/daemon.new [2023-02-17T21:36:28.974Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T21:36:28.974Z] { [2023-02-17T21:36:28.974Z] "registry-mirrors": [ [2023-02-17T21:36:28.974Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T21:36:28.974Z] ], [2023-02-17T21:36:28.974Z] "bip": "10.250.0.254/24", [2023-02-17T21:36:28.974Z] "hosts": [ [2023-02-17T21:36:28.974Z] "tcp://0.0.0.0:5555", [2023-02-17T21:36:28.974Z] "unix:///var/run/docker.sock" [2023-02-17T21:36:28.974Z] ], [2023-02-17T21:36:28.974Z] "mtu": 1458, [2023-02-17T21:36:28.974Z] "selinux-enabled": true, [2023-02-17T21:36:28.974Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T21:36:28.974Z] } [Pipeline] sh [2023-02-17T21:36:29.321Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T21:36:29.677Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:36:48.025Z] provisioning config files... [2023-02-17T21:36:48.066Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4969595522608171580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:36:48.493Z] ---> docker-login.sh [2023-02-17T21:36:48.493Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:36:49.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:49.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:49.353Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:49.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:49.353Z] [2023-02-17T21:36:49.353Z] Login Succeeded [2023-02-17T21:36:49.353Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:36:49.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:49.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:49.622Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:49.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:49.622Z] [2023-02-17T21:36:49.622Z] Login Succeeded [2023-02-17T21:36:49.622Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:36:49.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:50.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:50.161Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:50.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:50.161Z] [2023-02-17T21:36:50.161Z] Login Succeeded [2023-02-17T21:36:50.161Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:36:50.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:50.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:50.428Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:50.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:50.428Z] [2023-02-17T21:36:50.428Z] Login Succeeded [2023-02-17T21:36:50.428Z] docker.io [2023-02-17T21:36:50.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:50.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:50.963Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:50.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:50.963Z] [2023-02-17T21:36:50.963Z] Login Succeeded [2023-02-17T21:36:50.963Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:36:50.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T21:36:51.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:36:51.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:36:51.462Z] ========================================================= [2023-02-17T21:36:51.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T21:36:51.462Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:36:51.954Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T21:36:51.954Z] Sending build context to Docker daemon 139.8kB [2023-02-17T21:36:52.223Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:36:52.223Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T21:36:52.494Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T21:36:52.494Z] 9b18e9b68314: Pulling fs layer [2023-02-17T21:36:52.494Z] 35d82f9e3411: Pulling fs layer [2023-02-17T21:36:52.494Z] e16973657156: Pulling fs layer [2023-02-17T21:36:52.494Z] fc693d55d65f: Pulling fs layer [2023-02-17T21:36:52.494Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T21:36:52.494Z] dda99020689f: Pulling fs layer [2023-02-17T21:36:52.494Z] db1c61fa0a46: Pulling fs layer [2023-02-17T21:36:52.494Z] 891c053d2c06: Pulling fs layer [2023-02-17T21:36:52.494Z] 7e9fc2657dce: Waiting [2023-02-17T21:36:52.494Z] db1c61fa0a46: Waiting [2023-02-17T21:36:52.494Z] 891c053d2c06: Waiting [2023-02-17T21:36:52.494Z] fc693d55d65f: Waiting [2023-02-17T21:36:52.494Z] dda99020689f: Waiting [2023-02-17T21:36:52.494Z] e16973657156: Verifying Checksum [2023-02-17T21:36:52.494Z] e16973657156: Download complete [2023-02-17T21:36:52.494Z] 35d82f9e3411: Verifying Checksum [2023-02-17T21:36:52.494Z] 35d82f9e3411: Download complete [2023-02-17T21:36:52.494Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T21:36:52.494Z] 7e9fc2657dce: Download complete [2023-02-17T21:36:52.494Z] dda99020689f: Verifying Checksum [2023-02-17T21:36:52.494Z] dda99020689f: Download complete [2023-02-17T21:36:52.494Z] 9b18e9b68314: Verifying Checksum [2023-02-17T21:36:52.494Z] 9b18e9b68314: Download complete [2023-02-17T21:36:53.483Z] 9b18e9b68314: Pull complete [2023-02-17T21:36:53.769Z] 891c053d2c06: Verifying Checksum [2023-02-17T21:36:53.769Z] 891c053d2c06: Download complete [2023-02-17T21:36:54.059Z] 35d82f9e3411: Pull complete [2023-02-17T21:36:54.331Z] e16973657156: Pull complete [2023-02-17T21:36:54.924Z] db1c61fa0a46: Verifying Checksum [2023-02-17T21:36:54.924Z] db1c61fa0a46: Download complete [2023-02-17T21:36:55.507Z] fc693d55d65f: Verifying Checksum [2023-02-17T21:36:55.507Z] fc693d55d65f: Download complete [2023-02-17T21:37:07.903Z] fc693d55d65f: Pull complete [2023-02-17T21:37:07.903Z] 7e9fc2657dce: Pull complete [2023-02-17T21:37:07.903Z] dda99020689f: Pull complete [2023-02-17T21:37:12.246Z] db1c61fa0a46: Pull complete [2023-02-17T21:37:14.207Z] 891c053d2c06: Pull complete [2023-02-17T21:37:14.207Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T21:37:14.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T21:37:14.207Z] ---> f96f9c87975a [2023-02-17T21:37:14.207Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:37:16.156Z] ---> Running in b2c62e16c7d3 [2023-02-17T21:37:16.427Z] Removing intermediate container b2c62e16c7d3 [2023-02-17T21:37:16.427Z] ---> 412846cf5372 [2023-02-17T21:37:16.427Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:37:16.427Z] ---> Running in fd2605c74beb [2023-02-17T21:37:16.708Z] Removing intermediate container fd2605c74beb [2023-02-17T21:37:16.708Z] ---> 9f6914dcdd37 [2023-02-17T21:37:16.708Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:37:16.984Z] ---> Running in 7b899b99f9e8 [2023-02-17T21:37:17.254Z] Removing intermediate container 7b899b99f9e8 [2023-02-17T21:37:17.254Z] ---> 75f51eab4ea0 [2023-02-17T21:37:17.254Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:37:17.254Z] ---> Running in cc6e99ff98dd [2023-02-17T21:37:17.528Z] Removing intermediate container cc6e99ff98dd [2023-02-17T21:37:17.528Z] ---> e00021c3dec3 [2023-02-17T21:37:17.528Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:37:17.796Z] ---> Running in eb913f9b30a1 [2023-02-17T21:37:18.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:37:19.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:37:20.327Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T21:37:20.327Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T21:37:20.327Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T21:37:20.327Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T21:37:20.327Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:37:20.327Z] OK: 226 MiB in 55 packages [2023-02-17T21:37:21.759Z] Removing intermediate container eb913f9b30a1 [2023-02-17T21:37:21.759Z] ---> 516ae5ccaa10 [2023-02-17T21:37:21.759Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-17T21:37:21.759Z] ---> Running in c8e6acc44d71 [2023-02-17T21:37:22.026Z] Removing intermediate container c8e6acc44d71 [2023-02-17T21:37:22.026Z] ---> 6bd97d457be5 [2023-02-17T21:37:22.026Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T21:37:22.613Z] ---> 5942da33d162 [2023-02-17T21:37:22.613Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:37:22.613Z] ---> Running in 27be23b073b8 [2023-02-17T21:38:44.270Z] Removing intermediate container 27be23b073b8 [2023-02-17T21:38:44.270Z] ---> 1d15e44fa293 [2023-02-17T21:38:44.270Z] Step 11/12 : COPY . . [2023-02-17T21:38:44.270Z] ---> c2042a16940a [2023-02-17T21:38:44.270Z] Step 12/12 : RUN $MAKE [2023-02-17T21:38:44.270Z] ---> Running in e6d71bf15ec6 [2023-02-17T21:38:44.270Z] noop [2023-02-17T21:38:44.270Z] Removing intermediate container e6d71bf15ec6 [2023-02-17T21:38:44.270Z] ---> 0a6237c15d40 [2023-02-17T21:38:44.270Z] Successfully built 0a6237c15d40 [2023-02-17T21:38:44.270Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:38:44.766Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T21:38:44.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:38:45.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-6503 does not seem to be running inside a container [2023-02-17T21:38:45.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T21:38:46.451Z] $ docker top 77ee6d79992363c80c0c70ef3ad5cb19865c1bd9b7471a68b1b3ff1f7cf688d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:38:47.383Z] + go version [2023-02-17T21:38:47.383Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T21:38:47.421Z] $ docker stop --time=1 77ee6d79992363c80c0c70ef3ad5cb19865c1bd9b7471a68b1b3ff1f7cf688d0 [2023-02-17T21:38:49.130Z] $ docker rm -f --volumes 77ee6d79992363c80c0c70ef3ad5cb19865c1bd9b7471a68b1b3ff1f7cf688d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:38:49.989Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T21:38:49.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:38:50.242Z] prd-ubuntu20.04-docker-arm64-4c-16g-6503 does not seem to be running inside a container [2023-02-17T21:38:50.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T21:38:51.571Z] $ docker top 562e3f7c0e603afef3140d50350868a8e61bfab434bc2a7f4b59ce10c9940444 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:38:52.483Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T21:38:53.181Z] + make test [2023-02-17T21:38:53.181Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T21:38:54.607Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-17T21:40:31.306Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-17T21:40:31.306Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.9% of statements [2023-02-17T21:40:31.306Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T21:40:31.306Z] go vet ./... [2023-02-17T21:40:53.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T21:40:53.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T21:40:53.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T21:40:53.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T21:40:53.461Z] $ docker stop --time=1 562e3f7c0e603afef3140d50350868a8e61bfab434bc2a7f4b59ce10c9940444 [2023-02-17T21:40:55.880Z] $ docker rm -f --volumes 562e3f7c0e603afef3140d50350868a8e61bfab434bc2a7f4b59ce10c9940444 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:40:56.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T21:40:56.984Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T21:40:57.544Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:40:58.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T21:40:58.510Z] + ls -al . [2023-02-17T21:40:58.510Z] total 184 [2023-02-17T21:40:58.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:38 . [2023-02-17T21:40:58.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:36 .. [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 21:36 .dockerignore [2023-02-17T21:40:58.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:36 .git [2023-02-17T21:40:58.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:36 .github [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 21:36 .gitignore [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:36 .golangci.yml [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 21:36 Attribution.txt [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 21:36 CHANGELOG.md [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 21:36 Dockerfile [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:36 GOVERNANCE.md [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:36 Jenkinsfile [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:36 LICENSE [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 21:36 Makefile [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 21:36 OWNERS.md [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 21:36 README.md [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 21:33 VERSION [2023-02-17T21:40:58.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:36 bin [2023-02-17T21:40:58.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:36 cmd [2023-02-17T21:40:58.510Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 21:40 coverage.out [2023-02-17T21:40:58.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:36 driver [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 21:36 go.mod [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 21:36 go.sum [2023-02-17T21:40:58.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:36 snap [2023-02-17T21:40:58.510Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:40:58.923Z] + 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=d86d417b1b1776140d69a231b2ecf52b2e28b3e9 --label arch=arm64 --label version=0.0.0 . [2023-02-17T21:40:58.923Z] Sending build context to Docker daemon 154.1kB [2023-02-17T21:40:59.194Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:40:59.194Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T21:40:59.194Z] ---> 0a6237c15d40 [2023-02-17T21:40:59.194Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:40:59.464Z] ---> Running in 15b61816b3f8 [2023-02-17T21:40:59.737Z] Removing intermediate container 15b61816b3f8 [2023-02-17T21:40:59.737Z] ---> 10f3dc84e9c4 [2023-02-17T21:40:59.738Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:40:59.738Z] ---> Running in 9d226d388e67 [2023-02-17T21:41:00.330Z] Removing intermediate container 9d226d388e67 [2023-02-17T21:41:00.330Z] ---> 0a431601bb4f [2023-02-17T21:41:00.330Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:41:00.330Z] ---> Running in 6a7fbbde8eb4 [2023-02-17T21:41:00.612Z] Removing intermediate container 6a7fbbde8eb4 [2023-02-17T21:41:00.612Z] ---> 7e1686be20c1 [2023-02-17T21:41:00.612Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:41:00.885Z] ---> Running in 12fc3d030c5b [2023-02-17T21:41:01.156Z] Removing intermediate container 12fc3d030c5b [2023-02-17T21:41:01.156Z] ---> ec6ac411f1d1 [2023-02-17T21:41:01.156Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:41:01.156Z] ---> Running in e6805533538c [2023-02-17T21:41:02.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:41:02.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:41:04.017Z] OK: 226 MiB in 55 packages [2023-02-17T21:41:05.000Z] Removing intermediate container e6805533538c [2023-02-17T21:41:05.000Z] ---> ed04ef27dc6c [2023-02-17T21:41:05.000Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-17T21:41:05.270Z] ---> Running in 565b39656d55 [2023-02-17T21:41:05.540Z] Removing intermediate container 565b39656d55 [2023-02-17T21:41:05.540Z] ---> 1b4da9b9caff [2023-02-17T21:41:05.540Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-17T21:41:06.127Z] ---> 0300089f7c71 [2023-02-17T21:41:06.127Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:41:06.127Z] ---> Running in f89dbad62abd [2023-02-17T21:41:11.485Z] Removing intermediate container f89dbad62abd [2023-02-17T21:41:11.485Z] ---> 91990a8fce0f [2023-02-17T21:41:11.485Z] Step 11/25 : COPY . . [2023-02-17T21:41:12.073Z] ---> 83dbdc340435 [2023-02-17T21:41:12.073Z] Step 12/25 : RUN $MAKE [2023-02-17T21:41:12.344Z] ---> Running in 1693c6b669c4 [2023-02-17T21:41:14.297Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-17T21:43:36.027Z] Removing intermediate container 1693c6b669c4 [2023-02-17T21:43:36.027Z] ---> 1f57694abddc [2023-02-17T21:43:36.027Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T21:43:36.027Z] 3.16: Pulling from library/alpine [2023-02-17T21:43:36.027Z] 3760b48202b3: Pulling fs layer [2023-02-17T21:43:36.027Z] 3760b48202b3: Verifying Checksum [2023-02-17T21:43:36.027Z] 3760b48202b3: Download complete [2023-02-17T21:43:36.027Z] 3760b48202b3: Pull complete [2023-02-17T21:43:36.027Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T21:43:36.027Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T21:43:36.027Z] ---> 4c81e5bf8899 [2023-02-17T21:43:36.027Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T21:43:36.027Z] ---> Running in 1980a6c8c50c [2023-02-17T21:43:36.027Z] Removing intermediate container 1980a6c8c50c [2023-02-17T21:43:36.027Z] ---> b4cdff9f4eda [2023-02-17T21:43:36.027Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-17T21:43:36.027Z] ---> Running in ff9cd0a40d4d [2023-02-17T21:43:36.027Z] Removing intermediate container ff9cd0a40d4d [2023-02-17T21:43:36.027Z] ---> e05d0f61e02d [2023-02-17T21:43:36.027Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T21:43:36.027Z] ---> Running in 0c6e6610ea10 [2023-02-17T21:43:36.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:43:36.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:43:36.027Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T21:43:36.027Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:43:36.027Z] OK: 5 MiB in 15 packages [2023-02-17T21:43:36.027Z] Removing intermediate container 0c6e6610ea10 [2023-02-17T21:43:36.027Z] ---> 7ce2e561f328 [2023-02-17T21:43:36.027Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-17T21:43:36.027Z] ---> cf3ed11161ac [2023-02-17T21:43:36.027Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-17T21:43:36.027Z] ---> 4b2b4deff01b [2023-02-17T21:43:36.027Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-17T21:43:36.027Z] ---> b515b74c1463 [2023-02-17T21:43:36.027Z] Step 20/25 : EXPOSE 59986 [2023-02-17T21:43:36.027Z] ---> Running in 7a3ac7b229f5 [2023-02-17T21:43:36.027Z] Removing intermediate container 7a3ac7b229f5 [2023-02-17T21:43:36.027Z] ---> 79ff8af3b00d [2023-02-17T21:43:36.027Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-17T21:43:36.027Z] ---> Running in e63dc480935e [2023-02-17T21:43:36.027Z] Removing intermediate container e63dc480935e [2023-02-17T21:43:36.027Z] ---> cf118900e35e [2023-02-17T21:43:36.027Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T21:43:36.027Z] ---> Running in 05ce390d6053 [2023-02-17T21:43:36.027Z] Removing intermediate container 05ce390d6053 [2023-02-17T21:43:36.027Z] ---> 997891d1c411 [2023-02-17T21:43:36.027Z] Step 23/25 : LABEL arch=arm64 [2023-02-17T21:43:36.027Z] ---> Running in 54d4dfa427a5 [2023-02-17T21:43:36.303Z] Removing intermediate container 54d4dfa427a5 [2023-02-17T21:43:36.303Z] ---> a4a85942aeb0 [2023-02-17T21:43:36.303Z] Step 24/25 : LABEL git_sha=d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [2023-02-17T21:43:36.576Z] ---> Running in 738b0287573e [2023-02-17T21:43:36.857Z] Removing intermediate container 738b0287573e [2023-02-17T21:43:36.857Z] ---> b2a31fd7b183 [2023-02-17T21:43:36.857Z] Step 25/25 : LABEL version=0.0.0 [2023-02-17T21:43:36.857Z] ---> Running in 53fa20d3f2c0 [2023-02-17T21:43:37.125Z] Removing intermediate container 53fa20d3f2c0 [2023-02-17T21:43:37.125Z] ---> 6497ea7a8f32 [2023-02-17T21:43:37.125Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T21:43:37.125Z] Successfully built 6497ea7a8f32 [2023-02-17T21:43:37.125Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:43:37.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:43:37.954Z] [2023-02-17T21:43:37.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:43:38.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:43:38.364Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T21:43:38.364Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T21:43:38.364Z] 04944245beec: Pulling fs layer [2023-02-17T21:43:38.634Z] 699f458cf7ca: Pulling fs layer [2023-02-17T21:43:38.634Z] 765212b225bb: Pulling fs layer [2023-02-17T21:43:38.634Z] f23df028b6ca: Pulling fs layer [2023-02-17T21:43:38.634Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T21:43:38.634Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T21:43:38.634Z] f23df028b6ca: Waiting [2023-02-17T21:43:38.634Z] 765212b225bb: Waiting [2023-02-17T21:43:38.634Z] 2437ff75d9bd: Waiting [2023-02-17T21:43:38.634Z] 04944245beec: Verifying Checksum [2023-02-17T21:43:38.634Z] 04944245beec: Download complete [2023-02-17T21:43:38.634Z] 765212b225bb: Verifying Checksum [2023-02-17T21:43:38.634Z] 765212b225bb: Download complete [2023-02-17T21:43:38.634Z] f23df028b6ca: Verifying Checksum [2023-02-17T21:43:38.634Z] f23df028b6ca: Download complete [2023-02-17T21:43:38.907Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T21:43:38.907Z] d65c8cfc05b1: Download complete [2023-02-17T21:43:38.907Z] 699f458cf7ca: Verifying Checksum [2023-02-17T21:43:38.907Z] 699f458cf7ca: Download complete [2023-02-17T21:43:39.498Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T21:43:39.498Z] 8998bd30e6a1: Download complete [2023-02-17T21:43:42.098Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T21:43:42.098Z] 2437ff75d9bd: Download complete [2023-02-17T21:43:43.513Z] 8998bd30e6a1: Pull complete [2023-02-17T21:43:44.097Z] 04944245beec: Pull complete [2023-02-17T21:43:45.506Z] 699f458cf7ca: Pull complete [2023-02-17T21:43:45.506Z] 765212b225bb: Pull complete [2023-02-17T21:43:46.467Z] f23df028b6ca: Pull complete [2023-02-17T21:43:46.467Z] d65c8cfc05b1: Pull complete [2023-02-17T21:44:01.470Z] 2437ff75d9bd: Pull complete [2023-02-17T21:44:01.470Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T21:44:01.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:44:01.470Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:44:01.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-6503 does not seem to be running inside a container [2023-02-17T21:44:01.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T21:44:04.946Z] $ docker top 9893d6de7ddf6ddcff340292aca3ae85a18876d8a51694ae44c934883714db0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:05.899Z] ---> job-cost.sh [2023-02-17T21:44:05.899Z] lf-activate-venv: SKIPPING [2023-02-17T21:44:05.899Z] INFO: No Stack... [2023-02-17T21:44:06.174Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T21:44:07.154Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T21:44:07.829Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-02-17T21:44:07.829Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T21:44:07.938Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] [2023-02-17T21:44:07.943Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] did not exist. Created. [2023-02-17T21:44:07.943Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T21:44:08.671Z] /w/workspace/device-rest-go/1@tmp/durable-5f89a524/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T21:44:09.352Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T21:44:09.388Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T21:44:09.439Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T21:44:09.457Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-256-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T21:44:09.532Z] $ docker stop --time=1 9893d6de7ddf6ddcff340292aca3ae85a18876d8a51694ae44c934883714db0c [2023-02-17T21:44:11.110Z] $ docker rm -f --volumes 9893d6de7ddf6ddcff340292aca3ae85a18876d8a51694ae44c934883714db0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-17T21:44:12.117Z] provisioning config files... [2023-02-17T21:44:12.129Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config8977219114574737331tmp [Pipeline] { [Pipeline] sh [2023-02-17T21:44:12.461Z] + set +x [2023-02-17T21:44:12.461Z] + curl -s https://codecov.io/bash [2023-02-17T21:44:12.461Z] + bash -s -- [2023-02-17T21:44:12.461Z] [2023-02-17T21:44:12.461Z] _____ _ [2023-02-17T21:44:12.461Z] / ____| | | [2023-02-17T21:44:12.461Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T21:44:12.461Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T21:44:12.461Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T21:44:12.461Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T21:44:12.461Z] Bash-1.0.6 [2023-02-17T21:44:12.461Z] [2023-02-17T21:44:12.461Z] [2023-02-17T21:44:12.461Z] ==> git version 2.25.1 found [2023-02-17T21:44:12.461Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-17T21:44:12.461Z] Release-Date: 2020-01-08 [2023-02-17T21:44:12.461Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T21:44:12.461Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T21:44:12.461Z] ==> Jenkins CI detected. [2023-02-17T21:44:12.461Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-256 [2023-02-17T21:44:12.461Z] project root: . [2023-02-17T21:44:12.461Z] --> token set from env [2023-02-17T21:44:12.461Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T21:44:12.461Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T21:44:12.461Z] ==> Python coveragepy not found [2023-02-17T21:44:12.461Z] ==> Searching for coverage reports in: [2023-02-17T21:44:12.461Z] + . [2023-02-17T21:44:12.461Z] -> Found 1 reports [2023-02-17T21:44:12.461Z] ==> Detecting git/mercurial file structure [2023-02-17T21:44:12.461Z] ==> Reading reports [2023-02-17T21:44:12.461Z] + ./coverage.out bytes=13744 [2023-02-17T21:44:12.461Z] ==> Appending adjustments [2023-02-17T21:44:12.461Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T21:44:12.722Z] + Found adjustments [2023-02-17T21:44:12.722Z] ==> Gzipping contents [2023-02-17T21:44:12.722Z] 4.0K /tmp/codecov.RlNFnv.gz [2023-02-17T21:44:12.723Z] ==> Uploading reports [2023-02-17T21:44:12.723Z] url: https://codecov.io [2023-02-17T21:44:12.723Z] query: branch=PR-256&commit=d86d417b1b1776140d69a231b2ecf52b2e28b3e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=256&job=&cmd_args= [2023-02-17T21:44:12.723Z] -> Pinging Codecov [2023-02-17T21:44:12.723Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-256&commit=d86d417b1b1776140d69a231b2ecf52b2e28b3e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=256&job=&cmd_args= [2023-02-17T21:44:12.723Z] -> Uploading to [2023-02-17T21:44:12.723Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/4E5D53B4F1F92C436F7061BF334D961C/d86d417b1b1776140d69a231b2ecf52b2e28b3e9/fbbf9bdf-250d-4a43-92bb-ccd0a82874c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T214412Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c597c4eb92924f1635da06746b45fbbb1279d9b1bcfbe895fec786de25688940 [2023-02-17T21:44:12.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T21:44:12.723Z] Dload Upload Total Spent Left Speed [2023-02-17T21:44:12.982Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2438 0 0 100 2438 0 9791 --:--:-- --:--:-- --:--:-- 9791 [2023-02-17T21:44:12.982Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [Pipeline] } [2023-02-17T21:44:13.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-17T21:44:14.688Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-256/archives ] [2023-02-17T21:44:14.688Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-256/archives [2023-02-17T21:44:14.688Z] total 16 [2023-02-17T21:44:14.688Z] drwxr-xr-x 3 root root 4096 Feb 17 21:35 . [2023-02-17T21:44:14.688Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:35 .. [2023-02-17T21:44:14.688Z] drwxr-xr-x 2 root root 4096 Feb 17 21:35 cost [2023-02-17T21:44:14.688Z] -rw-r--r-- 1 root root 86 Feb 17 21:35 cost.csv [2023-02-17T21:44:14.688Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-256/archives [2023-02-17T21:44:14.688Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-256/archives [2023-02-17T21:44:14.688Z] total 16 [2023-02-17T21:44:14.688Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:35 . [2023-02-17T21:44:14.688Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:35 .. [2023-02-17T21:44:14.688Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 21:35 cost [2023-02-17T21:44:14.689Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 21:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:15.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:15.898Z] ---> package-listing.sh [2023-02-17T21:44:15.898Z] ++ facter osfamily [2023-02-17T21:44:15.898Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T21:44:16.157Z] + OS_FAMILY=debian [2023-02-17T21:44:16.157Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-256 [2023-02-17T21:44:16.157Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T21:44:16.157Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T21:44:16.157Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T21:44:16.157Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T21:44:16.157Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-256 ']' [2023-02-17T21:44:16.157Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T21:44:16.157Z] + case "${OS_FAMILY}" in [2023-02-17T21:44:16.157Z] + dpkg -l [2023-02-17T21:44:16.157Z] + grep '^ii' [2023-02-17T21:44:16.157Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T21:44:16.157Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T21:44:16.157Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T21:44:16.157Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-256 ']' [2023-02-17T21:44:16.157Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-256/archives/ [2023-02-17T21:44:16.157Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-256/archives/ [Pipeline] echo [2023-02-17T21:44:16.191Z] 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-256/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T21:44:16.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:44:17.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:44:17.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:44:17.327Z] prd-ubuntu20.04-docker-8c-8g-6501 does not seem to be running inside a container [2023-02-17T21:44:17.357Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-256/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-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T21:44:17.565Z] $ docker top 848620b5fd9c581bbf3b51f96250d684eb5e73daf8e465910bac21fba4513e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:44:17.944Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T21:44:18.248Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T21:44:18.661Z] + ls /var/log/sa-host [2023-02-17T21:44:18.661Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:44:18.800Z] provisioning config files... [2023-02-17T21:44:18.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config17497513765917983785tmp [Pipeline] { [Pipeline] echo [2023-02-17T21:44:18.858Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:19.165Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T21:44:19.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:19.589Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T21:44:19.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:19.939Z] ---> sudo-logs.sh [2023-02-17T21:44:19.939Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T21:44:20.018Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:20.324Z] ---> job-cost.sh [2023-02-17T21:44:20.324Z] lf-activate-venv: SKIPPING [2023-02-17T21:44:20.324Z] DEBUG: total: 0.2199999988079071 [2023-02-17T21:44:20.324Z] INFO: Retrieving Stack Cost... [2023-02-17T21:44:20.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T21:44:21.151Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T21:44:21.185Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:44:21.492Z] ---> logs-deploy.sh [2023-02-17T21:44:21.492Z] lf-activate-venv: SKIPPING [2023-02-17T21:44:21.492Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-256/1 [2023-02-17T21:44:21.492Z] INFO: archiving workspace using pattern(s): [2023-02-17T21:44:22.428Z] Archives upload complete. [2023-02-17T21:44:22.428Z] INFO: archiving logs to Nexus