Pull request #348 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069+d5c17b765e654ed444623cbfa16304672a2cc7d9 (31a8f654e6eb1b81ebef8b09868583210e3d95d3) 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-ssh18360645731126582068.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh9176639241218387040.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-348/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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16015055754866528652.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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16065584694937207786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14744199500888215816.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-348/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-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15926934920779639858.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8501’ Running on prd-ubuntu20.04-docker-8c-8g-8503 in /w/workspace/gexfoundry_device-rest-go_PR-348 [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-348 # 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/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d5c17b765e654ed444623cbfa16304672a2cc7d9 into PR head commit e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 Merge succeeded, producing e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 Checking out Revision e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 (PR-348) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 # 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 d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T20:19:55.902Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T20:19:56.088Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T20:19:56.183Z] ========================================================= [2023-10-04T20:19:56.183Z] EdgeX Global Pipelines Version Info [2023-10-04T20:19:56.183Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:19:56.939Z] ------------------- [2023-10-04T20:19:56.939Z] stable info: [2023-10-04T20:19:56.939Z] ------------------- [2023-10-04T20:19:56.939Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T20:19:56.939Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T20:19:56.939Z] Message: update stable to v1.0.254 [2023-10-04T20:19:57.535Z] ------------------- [2023-10-04T20:19:57.535Z] experimental info: [2023-10-04T20:19:57.535Z] ------------------- [2023-10-04T20:19:57.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T20:19:57.535Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T20:19:57.535Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T20:19:57.815Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-04T20:19:57.857Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-04T20:19:57.899Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T20:19:57.939Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T20:19:57.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T20:19:58.018Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T20:19:58.060Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T20:19:58.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-04T20:19:58.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T20:19:58.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T20:19:58.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T20:19:58.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-04T20:19:58.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T20:19:58.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T20:19:58.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T20:19:58.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T20:19:58.465Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T20:19:58.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T20:19:58.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T20:19:58.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T20:19:58.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-04T20:19:58.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-04T20:19:58.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T20:19:58.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T20:19:58.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T20:19:58.829Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T20:19:58.871Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T20:19:58.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo [2023-10-04T20:19:58.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo [2023-10-04T20:19:58.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo [2023-10-04T20:19:59.030Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [Pipeline] echo [2023-10-04T20:19:59.067Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6bf4fc [Pipeline] echo [2023-10-04T20:19:59.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T20:19:59.215Z] provisioning config files... [2023-10-04T20:19:59.233Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-348@tmp/config14350142397879580632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:19:59.579Z] ---> docker-login.sh [2023-10-04T20:19:59.579Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:19:59.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:19:59.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:19:59.838Z] Configure a credential helper to remove this warning. See [2023-10-04T20:19:59.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:19:59.838Z] [2023-10-04T20:19:59.838Z] Login Succeeded [2023-10-04T20:19:59.838Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:19:59.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:00.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:00.098Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:00.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:00.098Z] [2023-10-04T20:20:00.098Z] Login Succeeded [2023-10-04T20:20:00.098Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:20:00.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:00.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:00.098Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:00.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:00.098Z] [2023-10-04T20:20:00.098Z] Login Succeeded [2023-10-04T20:20:00.098Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:20:00.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:00.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:00.357Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:00.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:00.357Z] [2023-10-04T20:20:00.357Z] Login Succeeded [2023-10-04T20:20:00.357Z] docker.io [2023-10-04T20:20:00.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:00.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:00.616Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:00.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:00.616Z] [2023-10-04T20:20:00.616Z] Login Succeeded [2023-10-04T20:20:00.616Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:20:00.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T20:20:01.265Z] + git rev-list -1 --merges e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069~1..e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [Pipeline] echo [2023-10-04T20:20:01.327Z] -----------> git rev-list -1 --merges e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069~1..e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [false] [Pipeline] sh [2023-10-04T20:20:01.638Z] + git log --format=format:%s -1 e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [Pipeline] echo [2023-10-04T20:20:01.666Z] ========================================================= [2023-10-04T20:20:01.666Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T20:20:01.666Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T20:20:02.081Z] + git log --format=format:%s -1 e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [Pipeline] echo [2023-10-04T20:20:02.117Z] [semverPrep] GIT_COMMIT: e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-04T20:20:02.147Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T20:20:02.516Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T20:20:02.516Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T20:20:02.516Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T20:20:02.516Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T20:20:02.516Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T20:20:02.516Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T20:20:02.516Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:20:02.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:20:02.931Z] [2023-10-04T20:20:02.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:20:03.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:20:03.300Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T20:20:03.300Z] b85a868b505f: Pulling fs layer [2023-10-04T20:20:03.300Z] e2be974225ed: Pulling fs layer [2023-10-04T20:20:03.300Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T20:20:03.300Z] 988bab9f4d93: Pulling fs layer [2023-10-04T20:20:03.300Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T20:20:03.300Z] eaf3925da568: Pulling fs layer [2023-10-04T20:20:03.300Z] bab4dde63d76: Pulling fs layer [2023-10-04T20:20:03.300Z] bde34c3a00c8: Pulling fs layer [2023-10-04T20:20:03.300Z] b352a97aabf1: Pulling fs layer [2023-10-04T20:20:03.300Z] 4872d77fe225: Pulling fs layer [2023-10-04T20:20:03.300Z] 5851b861e8e6: Pulling fs layer [2023-10-04T20:20:03.300Z] bab4dde63d76: Waiting [2023-10-04T20:20:03.300Z] 4872d77fe225: Waiting [2023-10-04T20:20:03.300Z] 1469e6f7b9e6: Waiting [2023-10-04T20:20:03.300Z] b352a97aabf1: Waiting [2023-10-04T20:20:03.300Z] eaf3925da568: Waiting [2023-10-04T20:20:03.300Z] 5851b861e8e6: Waiting [2023-10-04T20:20:03.300Z] 988bab9f4d93: Waiting [2023-10-04T20:20:03.300Z] bde34c3a00c8: Waiting [2023-10-04T20:20:03.300Z] e2be974225ed: Verifying Checksum [2023-10-04T20:20:03.300Z] e2be974225ed: Download complete [2023-10-04T20:20:03.300Z] 988bab9f4d93: Verifying Checksum [2023-10-04T20:20:03.300Z] 988bab9f4d93: Download complete [2023-10-04T20:20:03.559Z] 1469e6f7b9e6: Verifying Checksum [2023-10-04T20:20:03.559Z] 1469e6f7b9e6: Download complete [2023-10-04T20:20:03.559Z] eaf3925da568: Download complete [2023-10-04T20:20:03.559Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T20:20:03.559Z] 339a4e72a1f5: Download complete [2023-10-04T20:20:03.559Z] bde34c3a00c8: Verifying Checksum [2023-10-04T20:20:03.559Z] bde34c3a00c8: Download complete [2023-10-04T20:20:03.559Z] b352a97aabf1: Verifying Checksum [2023-10-04T20:20:03.559Z] b352a97aabf1: Download complete [2023-10-04T20:20:03.559Z] 4872d77fe225: Download complete [2023-10-04T20:20:03.559Z] 5851b861e8e6: Download complete [2023-10-04T20:20:03.559Z] b85a868b505f: Download complete [2023-10-04T20:20:03.817Z] bab4dde63d76: Verifying Checksum [2023-10-04T20:20:03.817Z] bab4dde63d76: Download complete [2023-10-04T20:20:04.752Z] b85a868b505f: Pull complete [2023-10-04T20:20:04.752Z] e2be974225ed: Pull complete [2023-10-04T20:20:05.319Z] 339a4e72a1f5: Pull complete [2023-10-04T20:20:05.319Z] 988bab9f4d93: Pull complete [2023-10-04T20:20:05.579Z] 1469e6f7b9e6: Pull complete [2023-10-04T20:20:05.579Z] eaf3925da568: Pull complete [2023-10-04T20:20:07.482Z] bab4dde63d76: Pull complete [2023-10-04T20:20:07.482Z] bde34c3a00c8: Pull complete [2023-10-04T20:20:07.482Z] b352a97aabf1: Pull complete [2023-10-04T20:20:07.482Z] 4872d77fe225: Pull complete [2023-10-04T20:20:07.482Z] 5851b861e8e6: Pull complete [2023-10-04T20:20:07.482Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T20:20:07.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T20:20:07.482Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:20:07.977Z] prd-ubuntu20.04-docker-8c-8g-8503 does not seem to be running inside a container [2023-10-04T20:20:07.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-348 -v /w/workspace/gexfoundry_device-rest-go_PR-348:/w/workspace/gexfoundry_device-rest-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-348@tmp:/w/workspace/gexfoundry_device-rest-go_PR-348@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-10-04T20:20:12.425Z] $ docker top a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 -eo pid,comm [2023-10-04T20:20:12.495Z] 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-10-04T20:20:12.495Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T20:20:12.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:20:12.622Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:20:12.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:20:12.714Z] $ docker exec a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 ssh-agent [2023-10-04T20:20:12.828Z] SSH_AUTH_SOCK=/tmp/ssh-Fk4awRUVB3yx/agent.32 [2023-10-04T20:20:12.828Z] SSH_AGENT_PID=38 [2023-10-04T20:20:12.834Z] Running ssh-add (command line suppressed) [2023-10-04T20:20:12.914Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-348@tmp/private_key_18239865557603900013.key (/w/workspace/gexfoundry_device-rest-go_PR-348@tmp/private_key_18239865557603900013.key) [2023-10-04T20:20:12.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:20:13.265Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T20:20:13.274Z] $ docker exec --env ******** --env ******** a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 ssh-agent -k [2023-10-04T20:20:13.376Z] unset SSH_AUTH_SOCK; [2023-10-04T20:20:13.377Z] unset SSH_AGENT_PID; [2023-10-04T20:20:13.377Z] echo Agent pid 38 killed; [2023-10-04T20:20:13.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T20:20:13.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T20:20:13.499Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T20:20:13.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T20:20:13.587Z] $ docker exec a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 ssh-agent [2023-10-04T20:20:13.707Z] SSH_AUTH_SOCK=/tmp/ssh-s2vyZ1gJBjS3/agent.70 [2023-10-04T20:20:13.707Z] SSH_AGENT_PID=76 [2023-10-04T20:20:13.711Z] Running ssh-add (command line suppressed) [2023-10-04T20:20:13.793Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-348@tmp/private_key_4821371278046606898.key (/w/workspace/gexfoundry_device-rest-go_PR-348@tmp/private_key_4821371278046606898.key) [2023-10-04T20:20:13.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T20:20:14.156Z] + git semver init [2023-10-04T20:20:14.416Z] 2023-10-04 20:20:14,308 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T20:20:14.416Z] 2023-10-04 20:20:14,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-348/.semver [2023-10-04T20:20:14.416Z] 2023-10-04 20:20:14,309 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-348/.semver [2023-10-04T20:20:14.416Z] 2023-10-04 20:20:14,309 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-348/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-348, universal_newlines=False, shell=None, istream=None) [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,413 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-348/.git/info/exclude [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,413 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-348/.semver/PR-348 with force:False [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,413 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-348/.semver/PR-348 [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,417 [execute] INFO git cat-file --batch-check [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,424 [execute] INFO git cat-file --batch [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T20:20:15.792Z] 2023-10-04 20:20:15,428 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-348/.semver/PR-348 [2023-10-04T20:20:15.792Z] 0.0.0 [Pipeline] } [2023-10-04T20:20:15.799Z] $ docker exec --env ******** --env ******** a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 ssh-agent -k [2023-10-04T20:20:15.895Z] unset SSH_AUTH_SOCK; [2023-10-04T20:20:15.895Z] unset SSH_AGENT_PID; [2023-10-04T20:20:15.896Z] echo Agent pid 76 killed; [2023-10-04T20:20:15.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T20:20:16.328Z] + git semver [Pipeline] } [2023-10-04T20:20:16.598Z] $ docker stop --time=1 a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 [2023-10-04T20:20:17.883Z] $ docker rm -f --volumes a551421a35159fbabbc456884152a8939997ddfe492bedf9e26223b76e083a32 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:20:18.306Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T20:20:18.573Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T20:20:18.591Z] [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-10-04T20:20:19.194Z] provisioning config files... [2023-10-04T20:20:19.203Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-348@tmp/config11836383699769737393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:20:19.549Z] ---> docker-login.sh [2023-10-04T20:20:19.549Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:20:19.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:19.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:19.549Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:19.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:19.549Z] [2023-10-04T20:20:19.549Z] Login Succeeded [2023-10-04T20:20:19.549Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:20:19.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:19.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:19.549Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:19.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:19.549Z] [2023-10-04T20:20:19.549Z] Login Succeeded [2023-10-04T20:20:19.549Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:20:19.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:19.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:19.808Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:19.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:19.809Z] [2023-10-04T20:20:19.809Z] Login Succeeded [2023-10-04T20:20:19.809Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:20:19.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:19.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:19.809Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:19.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:19.809Z] [2023-10-04T20:20:19.809Z] Login Succeeded [2023-10-04T20:20:19.809Z] docker.io [2023-10-04T20:20:19.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:20:20.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:20:20.746Z] Configure a credential helper to remove this warning. See [2023-10-04T20:20:20.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:20:20.746Z] [2023-10-04T20:20:20.746Z] Login Succeeded [2023-10-04T20:20:20.746Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:20:20.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T20:20:20.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:20:21.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:20:21.052Z] ========================================================= [2023-10-04T20:20:21.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T20:20:21.052Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:20:21.521Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T20:20:21.522Z] Sending build context to Docker daemon 10.94MB [2023-10-04T20:20:21.522Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:20:21.522Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-04T20:20:21.522Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T20:20:21.522Z] 7264a8db6415: Pulling fs layer [2023-10-04T20:20:21.522Z] c4d48a809fc2: Pulling fs layer [2023-10-04T20:20:21.522Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T20:20:21.522Z] ad3a456e5733: Pulling fs layer [2023-10-04T20:20:21.522Z] 33e27b845d1e: Pulling fs layer [2023-10-04T20:20:21.522Z] c68163c4e522: Pulling fs layer [2023-10-04T20:20:21.522Z] 50da416c3ac9: Pulling fs layer [2023-10-04T20:20:21.522Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T20:20:21.522Z] ad3a456e5733: Waiting [2023-10-04T20:20:21.522Z] c68163c4e522: Waiting [2023-10-04T20:20:21.522Z] 23d2d4c4bb30: Waiting [2023-10-04T20:20:21.522Z] c4d48a809fc2: Verifying Checksum [2023-10-04T20:20:21.522Z] c4d48a809fc2: Download complete [2023-10-04T20:20:21.522Z] ad3a456e5733: Verifying Checksum [2023-10-04T20:20:21.522Z] ad3a456e5733: Download complete [2023-10-04T20:20:21.522Z] 33e27b845d1e: Verifying Checksum [2023-10-04T20:20:21.522Z] 33e27b845d1e: Download complete [2023-10-04T20:20:21.522Z] 7264a8db6415: Verifying Checksum [2023-10-04T20:20:21.522Z] 7264a8db6415: Download complete [2023-10-04T20:20:21.796Z] c68163c4e522: Verifying Checksum [2023-10-04T20:20:21.796Z] c68163c4e522: Download complete [2023-10-04T20:20:21.796Z] 7264a8db6415: Pull complete [2023-10-04T20:20:22.055Z] c4d48a809fc2: Pull complete [2023-10-04T20:20:22.055Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T20:20:22.055Z] 23d2d4c4bb30: Download complete [2023-10-04T20:20:22.313Z] 4f1c88b9dad5: Verifying Checksum [2023-10-04T20:20:22.313Z] 4f1c88b9dad5: Download complete [2023-10-04T20:20:22.572Z] 50da416c3ac9: Verifying Checksum [2023-10-04T20:20:22.572Z] 50da416c3ac9: Download complete [2023-10-04T20:20:25.102Z] 4f1c88b9dad5: Pull complete [2023-10-04T20:20:25.102Z] ad3a456e5733: Pull complete [2023-10-04T20:20:25.362Z] 33e27b845d1e: Pull complete [2023-10-04T20:20:25.362Z] c68163c4e522: Pull complete [2023-10-04T20:20:27.887Z] 50da416c3ac9: Pull complete [2023-10-04T20:20:27.887Z] 23d2d4c4bb30: Pull complete [2023-10-04T20:20:27.887Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T20:20:27.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T20:20:27.887Z] ---> 0786185ac409 [2023-10-04T20:20:27.887Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:20:34.023Z] Still waiting to schedule task [2023-10-04T20:20:34.024Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8502’ [2023-10-04T20:20:34.465Z] ---> Running in e9095ef2a71c [2023-10-04T20:20:34.465Z] Removing intermediate container e9095ef2a71c [2023-10-04T20:20:34.465Z] ---> b335f2957519 [2023-10-04T20:20:34.465Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:20:34.465Z] ---> Running in 73bd81a99d88 [2023-10-04T20:20:34.465Z] Removing intermediate container 73bd81a99d88 [2023-10-04T20:20:34.465Z] ---> d61c95644a61 [2023-10-04T20:20:34.465Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:20:34.465Z] ---> Running in 4a7f2b2efb7a [2023-10-04T20:20:34.465Z] Removing intermediate container 4a7f2b2efb7a [2023-10-04T20:20:34.465Z] ---> 5f8e59ffa3a3 [2023-10-04T20:20:34.465Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:20:34.465Z] ---> Running in 22a70de65cbb [2023-10-04T20:20:34.465Z] Removing intermediate container 22a70de65cbb [2023-10-04T20:20:34.465Z] ---> 291522597e43 [2023-10-04T20:20:34.465Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:20:34.465Z] ---> Running in 15191f19b04b [2023-10-04T20:20:34.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T20:20:34.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T20:20:34.988Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T20:20:34.988Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-04T20:20:34.988Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T20:20:34.988Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T20:20:34.988Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:20:34.988Z] OK: 268 MiB in 56 packages [2023-10-04T20:20:35.556Z] Removing intermediate container 15191f19b04b [2023-10-04T20:20:35.556Z] ---> e01f50806f9b [2023-10-04T20:20:35.556Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-04T20:20:35.556Z] ---> Running in 9c80865237dd [2023-10-04T20:20:35.556Z] Removing intermediate container 9c80865237dd [2023-10-04T20:20:35.556Z] ---> 662e8c79d568 [2023-10-04T20:20:35.556Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-04T20:20:35.815Z] ---> 4221ebf14c13 [2023-10-04T20:20:35.815Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:20:35.815Z] ---> Running in c4cbebdec43d [2023-10-04T20:21:22.489Z] Removing intermediate container c4cbebdec43d [2023-10-04T20:21:22.489Z] ---> 8f3630a88543 [2023-10-04T20:21:22.489Z] Step 11/12 : COPY . . [2023-10-04T20:21:22.489Z] ---> f0a74568a706 [2023-10-04T20:21:22.489Z] Step 12/12 : RUN $MAKE [2023-10-04T20:21:22.489Z] ---> Running in 52686e35a5a4 [2023-10-04T20:21:22.489Z] noop [2023-10-04T20:21:22.489Z] Removing intermediate container 52686e35a5a4 [2023-10-04T20:21:22.489Z] ---> 9979b6c5b12f [2023-10-04T20:21:22.489Z] Successfully built 9979b6c5b12f [2023-10-04T20:21:22.489Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:21:22.930Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T20:21:22.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:21:23.078Z] prd-ubuntu20.04-docker-8c-8g-8503 does not seem to be running inside a container [2023-10-04T20:21:23.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-348 -v /w/workspace/gexfoundry_device-rest-go_PR-348:/w/workspace/gexfoundry_device-rest-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-348@tmp:/w/workspace/gexfoundry_device-rest-go_PR-348@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-10-04T20:21:23.494Z] $ docker top f41d8489fe829a47f89127e711798b7f12e95bb44bca91e22d7e653854888c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:21:23.870Z] + go version [2023-10-04T20:21:23.870Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T20:21:23.917Z] $ docker stop --time=1 f41d8489fe829a47f89127e711798b7f12e95bb44bca91e22d7e653854888c0a [2023-10-04T20:21:25.195Z] $ docker rm -f --volumes f41d8489fe829a47f89127e711798b7f12e95bb44bca91e22d7e653854888c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:21:25.889Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T20:21:25.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:21:26.043Z] prd-ubuntu20.04-docker-8c-8g-8503 does not seem to be running inside a container [2023-10-04T20:21:26.091Z] $ 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-348 -v /w/workspace/gexfoundry_device-rest-go_PR-348:/w/workspace/gexfoundry_device-rest-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-348@tmp:/w/workspace/gexfoundry_device-rest-go_PR-348@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-10-04T20:21:26.421Z] $ docker top 5f8765389dc102b832c4b02bfc18b69a81043d35de48ee58d2ec26fd8b591b0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:21:26.788Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-348 [Pipeline] fileExists [Pipeline] sh [2023-10-04T20:21:27.145Z] + make test [2023-10-04T20:21:27.145Z] go test ./... -coverprofile=coverage.out ./... [2023-10-04T20:21:28.522Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-04T20:21:38.487Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-04T20:21:38.487Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-10-04T20:21:45.046Z] go vet ./... [2023-10-04T20:21:47.581Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T20:21:47.581Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T20:21:47.581Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T20:21:47.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T20:21:47.675Z] $ docker stop --time=1 5f8765389dc102b832c4b02bfc18b69a81043d35de48ee58d2ec26fd8b591b0a [2023-10-04T20:21:52.294Z] $ docker rm -f --volumes 5f8765389dc102b832c4b02bfc18b69a81043d35de48ee58d2ec26fd8b591b0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:21:52.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T20:21:52.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-04T20:21:53.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T20:21:53.798Z] + ls -al . [2023-10-04T20:21:53.798Z] total 188 [2023-10-04T20:21:53.798Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 20:21 . [2023-10-04T20:21:53.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:19 .. [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:19 .dockerignore [2023-10-04T20:21:53.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:21 .git [2023-10-04T20:21:53.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:19 .github [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 4 20:19 .gitignore [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:19 .golangci.yml [2023-10-04T20:21:53.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:20 .semver [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 4 20:19 Attribution.txt [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 4 20:19 CHANGELOG.md [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 20:19 Dockerfile [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:19 GOVERNANCE.md [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:19 Jenkinsfile [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:19 LICENSE [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 4 20:19 Makefile [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:19 OWNERS.md [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 4 20:19 README.md [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 20:20 VERSION [2023-10-04T20:21:53.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:19 bin [2023-10-04T20:21:53.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:19 cmd [2023-10-04T20:21:53.798Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 4 20:21 coverage.out [2023-10-04T20:21:53.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:19 driver [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 4 20:19 go.mod [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 4 20:19 go.sum [2023-10-04T20:21:53.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:19 snap [2023-10-04T20:21:53.798Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:21:54.245Z] + 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=e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 --label arch=amd64 --label version=0.0.0 . [2023-10-04T20:21:54.245Z] Sending build context to Docker daemon 10.96MB [2023-10-04T20:21:54.245Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:21:54.245Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-04T20:21:54.245Z] ---> 9979b6c5b12f [2023-10-04T20:21:54.245Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:21:54.504Z] ---> Running in d5bd75afca3c [2023-10-04T20:21:54.504Z] Removing intermediate container d5bd75afca3c [2023-10-04T20:21:54.504Z] ---> a4ae29b25498 [2023-10-04T20:21:54.504Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:21:54.504Z] ---> Running in b17565c0f7fb [2023-10-04T20:21:54.763Z] Removing intermediate container b17565c0f7fb [2023-10-04T20:21:54.763Z] ---> dd3c562590b4 [2023-10-04T20:21:54.763Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:21:54.763Z] ---> Running in b270aa1216b9 [2023-10-04T20:21:54.763Z] Removing intermediate container b270aa1216b9 [2023-10-04T20:21:54.763Z] ---> a3b4d2cbd90a [2023-10-04T20:21:54.763Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:21:54.763Z] ---> Running in 56c4ec8eb345 [2023-10-04T20:21:54.763Z] Removing intermediate container 56c4ec8eb345 [2023-10-04T20:21:54.763Z] ---> 8aecad6325eb [2023-10-04T20:21:54.763Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:21:54.763Z] ---> Running in cf316314663e [2023-10-04T20:21:55.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T20:21:55.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T20:21:55.551Z] OK: 268 MiB in 56 packages [2023-10-04T20:21:55.810Z] Removing intermediate container cf316314663e [2023-10-04T20:21:55.810Z] ---> 4bddeb97fece [2023-10-04T20:21:55.810Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-04T20:21:56.069Z] ---> Running in 9e6cb6d97c84 [2023-10-04T20:21:56.069Z] Removing intermediate container 9e6cb6d97c84 [2023-10-04T20:21:56.069Z] ---> 74ae02c5705b [2023-10-04T20:21:56.069Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-04T20:21:56.069Z] ---> ae61798c1e26 [2023-10-04T20:21:56.069Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:21:56.328Z] ---> Running in e25e86ab13dc [2023-10-04T20:21:56.895Z] Removing intermediate container e25e86ab13dc [2023-10-04T20:21:56.895Z] ---> d1f6575fa235 [2023-10-04T20:21:56.895Z] Step 11/25 : COPY . . [2023-10-04T20:21:57.464Z] ---> 63ee34cf15a8 [2023-10-04T20:21:57.464Z] Step 12/25 : RUN $MAKE [2023-10-04T20:21:57.464Z] ---> Running in 4832a4b08afe [2023-10-04T20:21:57.723Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-04T20:22:19.801Z] Removing intermediate container 4832a4b08afe [2023-10-04T20:22:19.801Z] ---> cc7d00eb56cc [2023-10-04T20:22:19.801Z] Step 13/25 : FROM alpine:3.18 [2023-10-04T20:22:19.801Z] 3.18: Pulling from library/alpine [2023-10-04T20:22:19.801Z] 96526aa774ef: Pulling fs layer [2023-10-04T20:22:19.801Z] 96526aa774ef: Download complete [2023-10-04T20:22:19.801Z] 96526aa774ef: Pull complete [2023-10-04T20:22:20.059Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T20:22:20.060Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T20:22:20.060Z] ---> 8ca4688f4f35 [2023-10-04T20:22:20.060Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T20:22:20.060Z] ---> Running in 99a6eb66fb15 [2023-10-04T20:22:20.060Z] Removing intermediate container 99a6eb66fb15 [2023-10-04T20:22:20.060Z] ---> 6b3d40c390fc [2023-10-04T20:22:20.060Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-04T20:22:20.060Z] ---> Running in 354ee0d483ae [2023-10-04T20:22:20.318Z] Removing intermediate container 354ee0d483ae [2023-10-04T20:22:20.318Z] ---> 5906f8ddb560 [2023-10-04T20:22:20.318Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-04T20:22:20.318Z] ---> Running in d99a93bdc68f [2023-10-04T20:22:20.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T20:22:20.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T20:22:21.095Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T20:22:21.095Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:22:21.095Z] OK: 7 MiB in 16 packages [2023-10-04T20:22:21.355Z] Removing intermediate container d99a93bdc68f [2023-10-04T20:22:21.355Z] ---> 5cd0ed581141 [2023-10-04T20:22:21.355Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-04T20:22:22.302Z] ---> b1f4f14851d3 [2023-10-04T20:22:22.302Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-04T20:22:22.302Z] ---> 20e8c50753b3 [2023-10-04T20:22:22.302Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-04T20:22:22.561Z] ---> 87809a35b06a [2023-10-04T20:22:22.561Z] Step 20/25 : EXPOSE 59986 [2023-10-04T20:22:22.561Z] ---> Running in 829b580b3eef [2023-10-04T20:22:22.561Z] Removing intermediate container 829b580b3eef [2023-10-04T20:22:22.561Z] ---> 79f21d867e42 [2023-10-04T20:22:22.561Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-04T20:22:22.561Z] ---> Running in 4ca9e9fd7710 [2023-10-04T20:22:22.820Z] Removing intermediate container 4ca9e9fd7710 [2023-10-04T20:22:22.820Z] ---> 94263310ed50 [2023-10-04T20:22:22.820Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T20:22:22.820Z] ---> Running in 178a65e7fac1 [2023-10-04T20:22:22.820Z] Removing intermediate container 178a65e7fac1 [2023-10-04T20:22:22.820Z] ---> 64cf0d055dba [2023-10-04T20:22:22.820Z] Step 23/25 : LABEL arch=amd64 [2023-10-04T20:22:22.820Z] ---> Running in f7d561435b43 [2023-10-04T20:22:22.820Z] Removing intermediate container f7d561435b43 [2023-10-04T20:22:22.820Z] ---> a2836d628637 [2023-10-04T20:22:22.820Z] Step 24/25 : LABEL git_sha=e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [2023-10-04T20:22:22.820Z] ---> Running in 4610c0f307a9 [2023-10-04T20:22:23.078Z] Removing intermediate container 4610c0f307a9 [2023-10-04T20:22:23.078Z] ---> dc34cfbbdd52 [2023-10-04T20:22:23.078Z] Step 25/25 : LABEL version=0.0.0 [2023-10-04T20:22:23.078Z] ---> Running in a2314ea1ab32 [2023-10-04T20:22:23.078Z] Removing intermediate container a2314ea1ab32 [2023-10-04T20:22:23.078Z] ---> fe3b27ba1609 [2023-10-04T20:22:23.078Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T20:22:23.078Z] Successfully built fe3b27ba1609 [2023-10-04T20:22:23.078Z] 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-10-04T20:22:23.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:22:23.931Z] [2023-10-04T20:22:23.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:22:24.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:22:24.311Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T20:22:24.311Z] 5eb5b503b376: Pulling fs layer [2023-10-04T20:22:24.311Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T20:22:24.311Z] ec43610c2a17: Pulling fs layer [2023-10-04T20:22:24.311Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T20:22:24.311Z] 33b1e0a273af: Pulling fs layer [2023-10-04T20:22:24.311Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T20:22:24.311Z] 2f39f015ded8: Pulling fs layer [2023-10-04T20:22:24.311Z] 33b1e0a273af: Waiting [2023-10-04T20:22:24.311Z] 5d3b04190fa2: Waiting [2023-10-04T20:22:24.311Z] 3a2ae6a8a46f: Waiting [2023-10-04T20:22:24.311Z] 2f39f015ded8: Waiting [2023-10-04T20:22:24.311Z] 5c69ac0246d0: Download complete [2023-10-04T20:22:24.311Z] 3a2ae6a8a46f: Download complete [2023-10-04T20:22:24.574Z] 33b1e0a273af: Verifying Checksum [2023-10-04T20:22:24.574Z] 33b1e0a273af: Download complete [2023-10-04T20:22:24.574Z] ec43610c2a17: Verifying Checksum [2023-10-04T20:22:24.574Z] ec43610c2a17: Download complete [2023-10-04T20:22:24.574Z] 5d3b04190fa2: Verifying Checksum [2023-10-04T20:22:24.574Z] 5d3b04190fa2: Download complete [2023-10-04T20:22:24.575Z] 5eb5b503b376: Download complete [2023-10-04T20:22:25.142Z] 2f39f015ded8: Download complete [2023-10-04T20:22:25.709Z] 5eb5b503b376: Pull complete [2023-10-04T20:22:25.968Z] 5c69ac0246d0: Pull complete [2023-10-04T20:22:26.535Z] ec43610c2a17: Pull complete [2023-10-04T20:22:26.535Z] 3a2ae6a8a46f: Pull complete [2023-10-04T20:22:26.535Z] 33b1e0a273af: Pull complete [2023-10-04T20:22:26.793Z] 5d3b04190fa2: Pull complete [2023-10-04T20:22:30.976Z] 2f39f015ded8: Pull complete [2023-10-04T20:22:30.976Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T20:22:30.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:22:30.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:22:31.206Z] prd-ubuntu20.04-docker-8c-8g-8503 does not seem to be running inside a container [2023-10-04T20:22:31.252Z] $ 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-348 -v /w/workspace/gexfoundry_device-rest-go_PR-348:/w/workspace/gexfoundry_device-rest-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-348@tmp:/w/workspace/gexfoundry_device-rest-go_PR-348@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-10-04T20:22:36.952Z] $ docker top 70b55900ceeef5a79e879127c3acc0dfa58d34b884b7412014e56ef63f62ad01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:22:37.409Z] ---> job-cost.sh [2023-10-04T20:22:37.409Z] lf-activate-venv: SKIPPING [2023-10-04T20:22:37.409Z] INFO: No Stack... [2023-10-04T20:22:37.669Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T20:22:38.237Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T20:22:38.554Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-348/archives/cost.csv [2023-10-04T20:22:38.555Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T20:22:38.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] [2023-10-04T20:22:38.603Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] did not exist. Created. [2023-10-04T20:22:38.603Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T20:22:38.994Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T20:22:39.044Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T20:22:39.077Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T20:22:39.170Z] $ docker stop --time=1 70b55900ceeef5a79e879127c3acc0dfa58d34b884b7412014e56ef63f62ad01 [2023-10-04T20:22:40.333Z] $ docker rm -f --volumes 70b55900ceeef5a79e879127c3acc0dfa58d34b884b7412014e56ef63f62ad01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-04T20:24:11.425Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8504 in /w/workspace/gexfoundry_device-rest-go_PR-348 [Pipeline] { [Pipeline] ws [2023-10-04T20:24:11.483Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-04T20:24:11.560Z] The recommended git tool is: git [2023-10-04T20:24:16.954Z] using credential edgex-jenkins-ssh [2023-10-04T20:24:16.969Z] Cloning the remote Git repository [2023-10-04T20:24:17.005Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-04T20:24:17.109Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-04T20:24:17.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-04T20:24:17.262Z] > git --version # timeout=10 [2023-10-04T20:24:17.286Z] > git --version # 'git version 2.25.1' [2023-10-04T20:24:17.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T20:24:17.440Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T20:24:19.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-04T20:24:19.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T20:24:20.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-04T20:24:20.949Z] Merging remotes/origin/main commit d5c17b765e654ed444623cbfa16304672a2cc7d9 into PR head commit e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [2023-10-04T20:24:21.249Z] Merge succeeded, producing e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [2023-10-04T20:24:21.250Z] Checking out Revision e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 (PR-348) [2023-10-04T20:24:21.740Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-04T20:24:20.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-04T20:24:20.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T20:24:20.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-04T20:24:20.973Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T20:24:21.039Z] > git checkout -f e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 # timeout=10 [2023-10-04T20:24:21.131Z] > git remote # timeout=10 [2023-10-04T20:24:21.152Z] > git config --get remote.origin.url # timeout=10 [2023-10-04T20:24:21.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T20:24:21.191Z] > git merge d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 [2023-10-04T20:24:21.220Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-04T20:24:21.250Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T20:24:21.265Z] > git checkout -f e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 # timeout=10 [2023-10-04T20:24:21.789Z] > git --version # timeout=10 [2023-10-04T20:24:21.804Z] > git --version # 'git version 2.25.1' [2023-10-04T20:24:21.829Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T20:24:23.144Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T20:24:23.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T20:24:23.144Z] Dload Upload Total Spent Left Speed [2023-10-04T20:24:23.144Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-10-04T20:24:23.733Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T20:24:24.084Z] + sudo tee /etc/docker/daemon.new [2023-10-04T20:24:24.084Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T20:24:24.084Z] { [2023-10-04T20:24:24.084Z] "registry-mirrors": [ [2023-10-04T20:24:24.084Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T20:24:24.084Z] ], [2023-10-04T20:24:24.084Z] "bip": "10.250.0.254/24", [2023-10-04T20:24:24.084Z] "hosts": [ [2023-10-04T20:24:24.084Z] "tcp://0.0.0.0:5555", [2023-10-04T20:24:24.084Z] "unix:///var/run/docker.sock" [2023-10-04T20:24:24.084Z] ], [2023-10-04T20:24:24.084Z] "mtu": 1458, [2023-10-04T20:24:24.084Z] "selinux-enabled": true, [2023-10-04T20:24:24.084Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T20:24:24.084Z] } [Pipeline] sh [2023-10-04T20:24:24.435Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-04T20:24:24.797Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T20:24:43.111Z] provisioning config files... [2023-10-04T20:24:43.134Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5229023681086303289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:24:43.524Z] ---> docker-login.sh [2023-10-04T20:24:43.524Z] nexus3.edgexfoundry.org:10001 [2023-10-04T20:24:43.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:24:44.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:24:44.066Z] Configure a credential helper to remove this warning. See [2023-10-04T20:24:44.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:24:44.066Z] [2023-10-04T20:24:44.066Z] Login Succeeded [2023-10-04T20:24:44.066Z] nexus3.edgexfoundry.org:10002 [2023-10-04T20:24:44.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:24:44.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:24:44.335Z] Configure a credential helper to remove this warning. See [2023-10-04T20:24:44.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:24:44.335Z] [2023-10-04T20:24:44.335Z] Login Succeeded [2023-10-04T20:24:44.335Z] nexus3.edgexfoundry.org:10003 [2023-10-04T20:24:44.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:24:44.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:24:44.874Z] Configure a credential helper to remove this warning. See [2023-10-04T20:24:44.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:24:44.874Z] [2023-10-04T20:24:44.874Z] Login Succeeded [2023-10-04T20:24:44.874Z] nexus3.edgexfoundry.org:10004 [2023-10-04T20:24:45.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:24:45.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:24:45.143Z] Configure a credential helper to remove this warning. See [2023-10-04T20:24:45.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:24:45.143Z] [2023-10-04T20:24:45.143Z] Login Succeeded [2023-10-04T20:24:45.143Z] docker.io [2023-10-04T20:24:45.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T20:24:45.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T20:24:45.679Z] Configure a credential helper to remove this warning. See [2023-10-04T20:24:45.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T20:24:45.679Z] [2023-10-04T20:24:45.679Z] Login Succeeded [2023-10-04T20:24:45.679Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T20:24:45.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T20:24:46.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:24:46.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T20:24:46.250Z] ========================================================= [2023-10-04T20:24:46.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T20:24:46.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:24:46.739Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T20:24:46.739Z] Sending build context to Docker daemon 144.4kB [2023-10-04T20:24:47.009Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:24:47.009Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-04T20:24:47.009Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T20:24:47.009Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T20:24:47.009Z] 5d54e960e981: Pulling fs layer [2023-10-04T20:24:47.009Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T20:24:47.009Z] f0e02332f6b5: Pulling fs layer [2023-10-04T20:24:47.009Z] cefa15bbcfad: Pulling fs layer [2023-10-04T20:24:47.009Z] 17808c966233: Pulling fs layer [2023-10-04T20:24:47.009Z] f4c1fc716caa: Pulling fs layer [2023-10-04T20:24:47.009Z] f0e02332f6b5: Waiting [2023-10-04T20:24:47.009Z] cefa15bbcfad: Waiting [2023-10-04T20:24:47.009Z] 17808c966233: Waiting [2023-10-04T20:24:47.009Z] f4c1fc716caa: Waiting [2023-10-04T20:24:47.280Z] 5d54e960e981: Verifying Checksum [2023-10-04T20:24:47.280Z] 5d54e960e981: Download complete [2023-10-04T20:24:47.280Z] f0e02332f6b5: Verifying Checksum [2023-10-04T20:24:47.280Z] f0e02332f6b5: Download complete [2023-10-04T20:24:47.280Z] cefa15bbcfad: Verifying Checksum [2023-10-04T20:24:47.280Z] cefa15bbcfad: Download complete [2023-10-04T20:24:47.280Z] 9fda8d8052c6: Verifying Checksum [2023-10-04T20:24:47.280Z] 9fda8d8052c6: Download complete [2023-10-04T20:24:47.551Z] f4c1fc716caa: Verifying Checksum [2023-10-04T20:24:47.551Z] f4c1fc716caa: Download complete [2023-10-04T20:24:48.147Z] 9fda8d8052c6: Pull complete [2023-10-04T20:24:48.745Z] 5d54e960e981: Pull complete [2023-10-04T20:24:48.745Z] c4a7e357bf2a: Verifying Checksum [2023-10-04T20:24:48.745Z] c4a7e357bf2a: Download complete [2023-10-04T20:24:49.711Z] 17808c966233: Verifying Checksum [2023-10-04T20:24:49.711Z] 17808c966233: Download complete [2023-10-04T20:24:59.793Z] c4a7e357bf2a: Pull complete [2023-10-04T20:24:59.793Z] f0e02332f6b5: Pull complete [2023-10-04T20:24:59.793Z] cefa15bbcfad: Pull complete [2023-10-04T20:25:06.453Z] 17808c966233: Pull complete [2023-10-04T20:25:07.415Z] f4c1fc716caa: Pull complete [2023-10-04T20:25:07.415Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T20:25:07.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T20:25:07.415Z] ---> ea914061e18c [2023-10-04T20:25:07.415Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:25:09.363Z] ---> Running in 0b2a1dbe1cf9 [2023-10-04T20:25:09.363Z] Removing intermediate container 0b2a1dbe1cf9 [2023-10-04T20:25:09.363Z] ---> 0779845a8e45 [2023-10-04T20:25:09.363Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:25:09.363Z] ---> Running in 1eae5a659ea6 [2023-10-04T20:25:09.636Z] Removing intermediate container 1eae5a659ea6 [2023-10-04T20:25:09.636Z] ---> df6ed4ab4f7f [2023-10-04T20:25:09.636Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:25:09.906Z] ---> Running in 2b9aca993a65 [2023-10-04T20:25:10.176Z] Removing intermediate container 2b9aca993a65 [2023-10-04T20:25:10.176Z] ---> 8163976cf604 [2023-10-04T20:25:10.176Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:25:10.176Z] ---> Running in 2a75e3bb3475 [2023-10-04T20:25:10.445Z] Removing intermediate container 2a75e3bb3475 [2023-10-04T20:25:10.445Z] ---> 5a68d2102d1e [2023-10-04T20:25:10.445Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:25:10.714Z] ---> Running in 9f78e57479c3 [2023-10-04T20:25:11.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T20:25:11.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T20:25:12.909Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T20:25:12.909Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-04T20:25:12.909Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T20:25:13.176Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T20:25:13.176Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:25:13.176Z] OK: 270 MiB in 56 packages [2023-10-04T20:25:14.139Z] Removing intermediate container 9f78e57479c3 [2023-10-04T20:25:14.139Z] ---> 9b9fdd747654 [2023-10-04T20:25:14.139Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-04T20:25:14.407Z] ---> Running in 86637b49463c [2023-10-04T20:25:14.675Z] Removing intermediate container 86637b49463c [2023-10-04T20:25:14.675Z] ---> 7e9c93c0b3a9 [2023-10-04T20:25:14.675Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-04T20:25:15.261Z] ---> 90e9763aab51 [2023-10-04T20:25:15.261Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:25:15.261Z] ---> Running in 7635201fd99b [2023-10-04T20:26:36.905Z] Removing intermediate container 7635201fd99b [2023-10-04T20:26:36.905Z] ---> c456601076c1 [2023-10-04T20:26:36.905Z] Step 11/12 : COPY . . [2023-10-04T20:26:36.905Z] ---> 7ae5b8354f47 [2023-10-04T20:26:36.905Z] Step 12/12 : RUN $MAKE [2023-10-04T20:26:36.905Z] ---> Running in a7bc45018ceb [2023-10-04T20:26:36.905Z] noop [2023-10-04T20:26:36.905Z] Removing intermediate container a7bc45018ceb [2023-10-04T20:26:36.905Z] ---> f78ff5ce125b [2023-10-04T20:26:36.905Z] Successfully built f78ff5ce125b [2023-10-04T20:26:36.905Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:26:37.376Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T20:26:37.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:26:37.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-8504 does not seem to be running inside a container [2023-10-04T20:26:37.714Z] $ 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-10-04T20:26:39.311Z] $ docker top a8e5cdde9edfdda9b47ac64e51b4aeda8f52022595b6aa39dc05415e06c8047e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:26:40.158Z] + go version [2023-10-04T20:26:40.158Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T20:26:40.194Z] $ docker stop --time=1 a8e5cdde9edfdda9b47ac64e51b4aeda8f52022595b6aa39dc05415e06c8047e [2023-10-04T20:26:41.786Z] $ docker rm -f --volumes a8e5cdde9edfdda9b47ac64e51b4aeda8f52022595b6aa39dc05415e06c8047e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:26:42.624Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T20:26:42.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:26:42.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-8504 does not seem to be running inside a container [2023-10-04T20:26:42.936Z] $ 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-10-04T20:26:44.032Z] $ docker top 11048d757ec77c2261776ce25e457cd06087cfe9ad5e69a533194c8545884aaa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:26:44.564Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-04T20:26:44.950Z] + make test [2023-10-04T20:26:44.950Z] go test ./... -coverprofile=coverage.out ./... [2023-10-04T20:26:49.551Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-04T20:28:26.216Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-04T20:28:26.216Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2023-10-04T20:28:26.216Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T20:28:26.216Z] go vet ./... [2023-10-04T20:28:41.245Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T20:28:41.245Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T20:28:41.245Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T20:28:41.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T20:28:41.899Z] $ docker stop --time=1 11048d757ec77c2261776ce25e457cd06087cfe9ad5e69a533194c8545884aaa [2023-10-04T20:28:43.788Z] $ docker rm -f --volumes 11048d757ec77c2261776ce25e457cd06087cfe9ad5e69a533194c8545884aaa [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T20:28:45.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T20:28:45.068Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T20:28:45.553Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T20:28:46.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T20:28:46.521Z] + ls -al . [2023-10-04T20:28:46.521Z] total 184 [2023-10-04T20:28:46.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:26 . [2023-10-04T20:28:46.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:24 .. [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:24 .dockerignore [2023-10-04T20:28:46.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:24 .git [2023-10-04T20:28:46.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:24 .github [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 4 20:24 .gitignore [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:24 .golangci.yml [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 4 20:24 Attribution.txt [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 4 20:24 CHANGELOG.md [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 20:24 Dockerfile [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:24 GOVERNANCE.md [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:24 Jenkinsfile [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:24 LICENSE [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 4 20:24 Makefile [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:24 OWNERS.md [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 4 20:24 README.md [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 20:20 VERSION [2023-10-04T20:28:46.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:24 bin [2023-10-04T20:28:46.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:24 cmd [2023-10-04T20:28:46.521Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 4 20:28 coverage.out [2023-10-04T20:28:46.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:24 driver [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 4 20:24 go.mod [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 4 20:24 go.sum [2023-10-04T20:28:46.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:24 snap [2023-10-04T20:28:46.521Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:28:46.948Z] + 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=e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 --label arch=arm64 --label version=0.0.0 . [2023-10-04T20:28:46.948Z] Sending build context to Docker daemon 159.7kB [2023-10-04T20:28:47.217Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T20:28:47.217Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-04T20:28:47.217Z] ---> f78ff5ce125b [2023-10-04T20:28:47.217Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-04T20:28:47.217Z] ---> Running in f5835c7af909 [2023-10-04T20:28:47.492Z] Removing intermediate container f5835c7af909 [2023-10-04T20:28:47.492Z] ---> 7ea3535d0b3b [2023-10-04T20:28:47.492Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T20:28:47.762Z] ---> Running in d3e076c25904 [2023-10-04T20:28:48.031Z] Removing intermediate container d3e076c25904 [2023-10-04T20:28:48.031Z] ---> 7b54892cd484 [2023-10-04T20:28:48.031Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T20:28:48.031Z] ---> Running in 243806a78255 [2023-10-04T20:28:48.300Z] Removing intermediate container 243806a78255 [2023-10-04T20:28:48.300Z] ---> 664b04942f5d [2023-10-04T20:28:48.300Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T20:28:48.569Z] ---> Running in 762da0100d4b [2023-10-04T20:28:48.836Z] Removing intermediate container 762da0100d4b [2023-10-04T20:28:48.836Z] ---> c6733a51a4ac [2023-10-04T20:28:48.836Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T20:28:48.836Z] ---> Running in d898f10630e1 [2023-10-04T20:28:49.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T20:28:50.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T20:28:51.368Z] OK: 270 MiB in 56 packages [2023-10-04T20:28:52.346Z] Removing intermediate container d898f10630e1 [2023-10-04T20:28:52.346Z] ---> 47df6a26f8b9 [2023-10-04T20:28:52.346Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-04T20:28:52.616Z] ---> Running in 6e9ef8f716f4 [2023-10-04T20:28:54.030Z] Removing intermediate container 6e9ef8f716f4 [2023-10-04T20:28:54.030Z] ---> 1f3377944836 [2023-10-04T20:28:54.030Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-04T20:28:54.299Z] ---> 4626e9413449 [2023-10-04T20:28:54.299Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T20:28:54.299Z] ---> Running in 51ea058f2358 [2023-10-04T20:28:56.891Z] Removing intermediate container 51ea058f2358 [2023-10-04T20:28:56.891Z] ---> acaa1875d15b [2023-10-04T20:28:56.891Z] Step 11/25 : COPY . . [2023-10-04T20:28:57.168Z] ---> bbeff8587b28 [2023-10-04T20:28:57.168Z] Step 12/25 : RUN $MAKE [2023-10-04T20:28:57.435Z] ---> Running in af0cfbd118d6 [2023-10-04T20:28:58.398Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-04T20:31:20.117Z] Removing intermediate container af0cfbd118d6 [2023-10-04T20:31:20.117Z] ---> 8f67d3b154a4 [2023-10-04T20:31:20.117Z] Step 13/25 : FROM alpine:3.18 [2023-10-04T20:31:20.117Z] 3.18: Pulling from library/alpine [2023-10-04T20:31:20.117Z] 579b34f0a95b: Pulling fs layer [2023-10-04T20:31:20.117Z] 579b34f0a95b: Verifying Checksum [2023-10-04T20:31:20.117Z] 579b34f0a95b: Download complete [2023-10-04T20:31:20.117Z] 579b34f0a95b: Pull complete [2023-10-04T20:31:20.117Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T20:31:20.117Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T20:31:20.117Z] ---> 3cc203321400 [2023-10-04T20:31:20.117Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T20:31:20.117Z] ---> Running in 2f9e8288e373 [2023-10-04T20:31:20.117Z] Removing intermediate container 2f9e8288e373 [2023-10-04T20:31:20.117Z] ---> 0120d6359491 [2023-10-04T20:31:20.117Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-04T20:31:20.117Z] ---> Running in f2470d371162 [2023-10-04T20:31:20.117Z] Removing intermediate container f2470d371162 [2023-10-04T20:31:20.117Z] ---> 26b3833a248b [2023-10-04T20:31:20.117Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-04T20:31:20.117Z] ---> Running in c31fcad3af0d [2023-10-04T20:31:20.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T20:31:20.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T20:31:20.117Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T20:31:20.117Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T20:31:20.117Z] OK: 8 MiB in 16 packages [2023-10-04T20:31:20.117Z] Removing intermediate container c31fcad3af0d [2023-10-04T20:31:20.117Z] ---> c1da17b8192a [2023-10-04T20:31:20.117Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-04T20:31:20.117Z] ---> c33e56e74c2c [2023-10-04T20:31:20.117Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-04T20:31:20.117Z] ---> 90252d2bd2d4 [2023-10-04T20:31:20.117Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-04T20:31:20.117Z] ---> e5e37b8d4e30 [2023-10-04T20:31:20.117Z] Step 20/25 : EXPOSE 59986 [2023-10-04T20:31:20.117Z] ---> Running in 6c6553b8936e [2023-10-04T20:31:20.117Z] Removing intermediate container 6c6553b8936e [2023-10-04T20:31:20.117Z] ---> f625747162f7 [2023-10-04T20:31:20.117Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-04T20:31:20.117Z] ---> Running in 8ef0230c38dd [2023-10-04T20:31:20.117Z] Removing intermediate container 8ef0230c38dd [2023-10-04T20:31:20.117Z] ---> ab98c26067b7 [2023-10-04T20:31:20.117Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T20:31:20.117Z] ---> Running in 7e9758697032 [2023-10-04T20:31:20.117Z] Removing intermediate container 7e9758697032 [2023-10-04T20:31:20.117Z] ---> 4be51e13a0e6 [2023-10-04T20:31:20.117Z] Step 23/25 : LABEL arch=arm64 [2023-10-04T20:31:20.117Z] ---> Running in e7b0820537b2 [2023-10-04T20:31:20.117Z] Removing intermediate container e7b0820537b2 [2023-10-04T20:31:20.117Z] ---> 76b490e00a07 [2023-10-04T20:31:20.117Z] Step 24/25 : LABEL git_sha=e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [2023-10-04T20:31:20.117Z] ---> Running in 87766d58f70e [2023-10-04T20:31:20.117Z] Removing intermediate container 87766d58f70e [2023-10-04T20:31:20.117Z] ---> 648a5a318cfb [2023-10-04T20:31:20.117Z] Step 25/25 : LABEL version=0.0.0 [2023-10-04T20:31:20.117Z] ---> Running in 38d0ffef300b [2023-10-04T20:31:20.117Z] Removing intermediate container 38d0ffef300b [2023-10-04T20:31:20.117Z] ---> 569dcb29d9df [2023-10-04T20:31:20.117Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T20:31:20.117Z] Successfully built 569dcb29d9df [2023-10-04T20:31:20.117Z] 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-10-04T20:31:20.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T20:31:20.949Z] [2023-10-04T20:31:20.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:31:21.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T20:31:21.351Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T20:31:21.351Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T20:31:21.351Z] 04944245beec: Pulling fs layer [2023-10-04T20:31:21.351Z] 699f458cf7ca: Pulling fs layer [2023-10-04T20:31:21.351Z] 765212b225bb: Pulling fs layer [2023-10-04T20:31:21.351Z] f23df028b6ca: Pulling fs layer [2023-10-04T20:31:21.351Z] 765212b225bb: Waiting [2023-10-04T20:31:21.351Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T20:31:21.351Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T20:31:21.351Z] d65c8cfc05b1: Waiting [2023-10-04T20:31:21.351Z] 2437ff75d9bd: Waiting [2023-10-04T20:31:21.619Z] 04944245beec: Verifying Checksum [2023-10-04T20:31:21.619Z] 04944245beec: Download complete [2023-10-04T20:31:21.619Z] 765212b225bb: Download complete [2023-10-04T20:31:21.619Z] f23df028b6ca: Verifying Checksum [2023-10-04T20:31:21.619Z] f23df028b6ca: Download complete [2023-10-04T20:31:21.619Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T20:31:21.619Z] d65c8cfc05b1: Download complete [2023-10-04T20:31:21.619Z] 699f458cf7ca: Verifying Checksum [2023-10-04T20:31:21.619Z] 699f458cf7ca: Download complete [2023-10-04T20:31:22.206Z] 8998bd30e6a1: Download complete [2023-10-04T20:31:24.796Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T20:31:24.796Z] 2437ff75d9bd: Download complete [2023-10-04T20:31:26.742Z] 8998bd30e6a1: Pull complete [2023-10-04T20:31:27.012Z] 04944245beec: Pull complete [2023-10-04T20:31:28.420Z] 699f458cf7ca: Pull complete [2023-10-04T20:31:31.761Z] 765212b225bb: Pull complete [2023-10-04T20:31:32.344Z] f23df028b6ca: Pull complete [2023-10-04T20:31:32.344Z] d65c8cfc05b1: Pull complete [2023-10-04T20:31:47.339Z] 2437ff75d9bd: Pull complete [2023-10-04T20:31:47.339Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T20:31:47.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T20:31:47.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:31:47.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-8504 does not seem to be running inside a container [2023-10-04T20:31:47.799Z] $ 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-10-04T20:31:50.332Z] $ docker top 73a9fd87a24bdede3097163ab9e667af43ac7d31e1c46f189b4df8008297375c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:31:50.955Z] ---> job-cost.sh [2023-10-04T20:31:51.239Z] lf-activate-venv: SKIPPING [2023-10-04T20:31:51.239Z] INFO: No Stack... [2023-10-04T20:31:51.520Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T20:31:52.490Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T20:31:52.850Z] + cut -d, -f6 [2023-10-04T20:31:52.850Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-10-04T20:31:53.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] [2023-10-04T20:31:53.200Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] did not exist. Created. [2023-10-04T20:31:53.200Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T20:31:53.611Z] /w/workspace/device-rest-go/1@tmp/durable-c8bda37f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T20:31:53.965Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T20:31:53.998Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T20:31:54.050Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T20:31:54.066Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T20:31:54.148Z] $ docker stop --time=1 73a9fd87a24bdede3097163ab9e667af43ac7d31e1c46f189b4df8008297375c [2023-10-04T20:31:55.647Z] $ docker rm -f --volumes 73a9fd87a24bdede3097163ab9e667af43ac7d31e1c46f189b4df8008297375c [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-10-04T20:31:56.759Z] provisioning config files... [2023-10-04T20:31:56.770Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-348@tmp/config16259956165160053002tmp [Pipeline] { [Pipeline] sh [2023-10-04T20:31:57.105Z] + set +x [2023-10-04T20:31:57.105Z] + bash -s -- [2023-10-04T20:31:57.105Z] + curl -s https://codecov.io/bash [2023-10-04T20:31:57.105Z] [2023-10-04T20:31:57.105Z] _____ _ [2023-10-04T20:31:57.105Z] / ____| | | [2023-10-04T20:31:57.105Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T20:31:57.105Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T20:31:57.105Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T20:31:57.105Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T20:31:57.105Z] Bash-1.0.6 [2023-10-04T20:31:57.105Z] [2023-10-04T20:31:57.105Z] [2023-10-04T20:31:57.105Z] ==> git version 2.25.1 found [2023-10-04T20:31:57.105Z] ==> 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-10-04T20:31:57.105Z] Release-Date: 2020-01-08 [2023-10-04T20:31:57.105Z] 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-10-04T20:31:57.105Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T20:31:57.105Z] ==> Jenkins CI detected. [2023-10-04T20:31:57.105Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-348 [2023-10-04T20:31:57.105Z] project root: . [2023-10-04T20:31:57.105Z] --> token set from env [2023-10-04T20:31:57.105Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T20:31:57.105Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T20:31:57.105Z] ==> Python coveragepy not found [2023-10-04T20:31:57.105Z] ==> Searching for coverage reports in: [2023-10-04T20:31:57.105Z] + . [2023-10-04T20:31:57.105Z] -> Found 1 reports [2023-10-04T20:31:57.105Z] ==> Detecting git/mercurial file structure [2023-10-04T20:31:57.105Z] ==> Reading reports [2023-10-04T20:31:57.105Z] + ./coverage.out bytes=14499 [2023-10-04T20:31:57.105Z] ==> Appending adjustments [2023-10-04T20:31:57.105Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T20:31:57.366Z] + Found adjustments [2023-10-04T20:31:57.366Z] ==> Gzipping contents [2023-10-04T20:31:57.366Z] 4.0K /tmp/codecov.QsQjUS.gz [2023-10-04T20:31:57.366Z] ==> Uploading reports [2023-10-04T20:31:57.366Z] url: https://codecov.io [2023-10-04T20:31:57.366Z] query: branch=PR-348&commit=e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=348&job=&cmd_args= [2023-10-04T20:31:57.366Z] -> Pinging Codecov [2023-10-04T20:31:57.366Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-348&commit=e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=348&job=&cmd_args= [2023-10-04T20:31:57.366Z] -> Uploading to [2023-10-04T20:31:57.366Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/4E5D53B4F1F92C436F7061BF334D961C/e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069/48a310fc-55b5-4879-9c20-8d60a5730bb6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T203157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba8078a234c9141ad78c6e50efacd1f33ef409429e2c976c01f9a56365f1852e [2023-10-04T20:31:57.366Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T20:31:57.366Z] Dload Upload Total Spent Left Speed [2023-10-04T20:31:57.890Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12043 --:--:-- --:--:-- --:--:-- 11985 100 2493 0 0 100 2493 0 9098 --:--:-- --:--:-- --:--:-- 9065 [2023-10-04T20:31:57.890Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e6bf4fcf204e5bfd4b0ed02e21301bfcd31ec069 [Pipeline] } [2023-10-04T20:31:57.918Z] 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-10-04T20:31:59.816Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-348/archives ] [2023-10-04T20:31:59.816Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-348/archives [2023-10-04T20:31:59.816Z] total 16 [2023-10-04T20:31:59.816Z] drwxr-xr-x 3 root root 4096 Oct 4 20:22 . [2023-10-04T20:31:59.816Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:22 .. [2023-10-04T20:31:59.816Z] drwxr-xr-x 2 root root 4096 Oct 4 20:22 cost [2023-10-04T20:31:59.816Z] -rw-r--r-- 1 root root 86 Oct 4 20:22 cost.csv [2023-10-04T20:31:59.816Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-348/archives [2023-10-04T20:31:59.816Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-348/archives [2023-10-04T20:31:59.816Z] total 16 [2023-10-04T20:31:59.816Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:22 . [2023-10-04T20:31:59.816Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:22 .. [2023-10-04T20:31:59.816Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 20:22 cost [2023-10-04T20:31:59.816Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 20:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:00.143Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:01.034Z] ---> package-listing.sh [2023-10-04T20:32:01.034Z] ++ facter osfamily [2023-10-04T20:32:01.034Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T20:32:01.292Z] + OS_FAMILY=debian [2023-10-04T20:32:01.292Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-348 [2023-10-04T20:32:01.292Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T20:32:01.292Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T20:32:01.292Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T20:32:01.292Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T20:32:01.292Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-348 ']' [2023-10-04T20:32:01.292Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T20:32:01.292Z] + case "${OS_FAMILY}" in [2023-10-04T20:32:01.292Z] + dpkg -l [2023-10-04T20:32:01.292Z] + grep '^ii' [2023-10-04T20:32:01.292Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T20:32:01.292Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T20:32:01.292Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T20:32:01.292Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-348 ']' [2023-10-04T20:32:01.292Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-348/archives/ [2023-10-04T20:32:01.292Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-348/archives/ [Pipeline] echo [2023-10-04T20:32:01.330Z] 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-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-04T20:32:01.619Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T20:32:02.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T20:32:02.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T20:32:02.385Z] prd-ubuntu20.04-docker-8c-8g-8503 does not seem to be running inside a container [2023-10-04T20:32:02.408Z] $ 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-348/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-348 -v /w/workspace/gexfoundry_device-rest-go_PR-348:/w/workspace/gexfoundry_device-rest-go_PR-348:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-348@tmp:/w/workspace/gexfoundry_device-rest-go_PR-348@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-10-04T20:32:03.288Z] $ docker top b08e3a938dbaacd629f7e046e5ae158fef588b6cb33ab65f0819bee9fddf0167 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T20:32:03.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T20:32:04.004Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T20:32:04.313Z] + ls /var/log/sa-host [2023-10-04T20:32:04.313Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T20:32:04.516Z] provisioning config files... [2023-10-04T20:32:04.523Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-348@tmp/config5778937329213339544tmp [Pipeline] { [Pipeline] echo [2023-10-04T20:32:04.576Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:04.887Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T20:32:04.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:05.332Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T20:32:05.365Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:05.677Z] ---> sudo-logs.sh [2023-10-04T20:32:05.677Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T20:32:05.764Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:06.077Z] ---> job-cost.sh [2023-10-04T20:32:06.077Z] lf-activate-venv: SKIPPING [2023-10-04T20:32:06.077Z] DEBUG: total: 0.2199999988079071 [2023-10-04T20:32:06.077Z] INFO: Retrieving Stack Cost... [2023-10-04T20:32:06.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T20:32:06.905Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T20:32:06.946Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T20:32:07.257Z] ---> logs-deploy.sh [2023-10-04T20:32:07.257Z] lf-activate-venv: SKIPPING [2023-10-04T20:32:07.257Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-348/1 [2023-10-04T20:32:07.257Z] INFO: archiving workspace using pattern(s): [2023-10-04T20:32:08.192Z] Archives upload complete. [2023-10-04T20:32:08.192Z] INFO: archiving logs to Nexus