Pull request #362 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 480d201ecada78224200395c5e7a3e4b956850b6+549007a9ae6a647223285151eabca3507ba312e0 (d224499bab2ed1a6a433c1905cf2713698ebf386) 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-ssh17284480739978339196.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12164573007745876734.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-362/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-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2642291123191207615.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-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5185723646715371669.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh7879761888336618436.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-362/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-362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2856584294076137618.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16885 in /w/workspace/gexfoundry_device-rest-go_PR-362 [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-362 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 480d201ecada78224200395c5e7a3e4b956850b6 Merge succeeded, producing 480d201ecada78224200395c5e7a3e4b956850b6 Checking out Revision 480d201ecada78224200395c5e7a3e4b956850b6 (PR-362) 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 > 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/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 480d201ecada78224200395c5e7a3e4b956850b6 # 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 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 480d201ecada78224200395c5e7a3e4b956850b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-07T20:21:42.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-07T20:21:42.707Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T20:21:42.814Z] ========================================================= [2023-11-07T20:21:42.814Z] EdgeX Global Pipelines Version Info [2023-11-07T20:21:42.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:21:43.551Z] ------------------- [2023-11-07T20:21:43.552Z] stable info: [2023-11-07T20:21:43.552Z] ------------------- [2023-11-07T20:21:43.552Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-07T20:21:43.552Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T20:21:43.552Z] Message: update stable to v1.0.257 [2023-11-07T20:21:44.123Z] ------------------- [2023-11-07T20:21:44.123Z] experimental info: [2023-11-07T20:21:44.123Z] ------------------- [2023-11-07T20:21:44.123Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-07T20:21:44.123Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T20:21:44.123Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-07T20:21:44.417Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-07T20:21:44.457Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-07T20:21:44.498Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-07T20:21:44.548Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-07T20:21:44.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-07T20:21:44.637Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-07T20:21:44.678Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-07T20:21:44.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-07T20:21:44.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-07T20:21:44.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-07T20:21:44.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-07T20:21:44.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-07T20:21:44.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-07T20:21:44.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-07T20:21:45.042Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-07T20:21:45.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-07T20:21:45.134Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T20:21:45.177Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T20:21:45.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-07T20:21:45.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-07T20:21:45.307Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-07T20:21:45.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-07T20:21:45.378Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-07T20:21:45.415Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-07T20:21:45.453Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-07T20:21:45.490Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-07T20:21:45.527Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-07T20:21:45.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-362 [Pipeline] echo [2023-11-07T20:21:45.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-362 [Pipeline] echo [2023-11-07T20:21:45.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-362 [Pipeline] echo [2023-11-07T20:21:45.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 480d201ecada78224200395c5e7a3e4b956850b6 [Pipeline] echo [2023-11-07T20:21:45.741Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 480d201 [Pipeline] echo [2023-11-07T20:21:45.784Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T20:21:45.892Z] provisioning config files... [2023-11-07T20:21:45.942Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-362@tmp/config13210132330909126356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:21:46.281Z] ---> docker-login.sh [2023-11-07T20:21:46.281Z] nexus3.edgexfoundry.org:10001 [2023-11-07T20:21:47.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:21:47.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:21:47.673Z] Configure a credential helper to remove this warning. See [2023-11-07T20:21:47.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:21:47.673Z] [2023-11-07T20:21:47.673Z] Login Succeeded [2023-11-07T20:21:47.673Z] nexus3.edgexfoundry.org:10002 [2023-11-07T20:21:47.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:21:47.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:21:47.673Z] Configure a credential helper to remove this warning. See [2023-11-07T20:21:47.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:21:47.673Z] [2023-11-07T20:21:47.673Z] Login Succeeded [2023-11-07T20:21:47.673Z] nexus3.edgexfoundry.org:10003 [2023-11-07T20:21:47.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:21:47.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:21:47.673Z] Configure a credential helper to remove this warning. See [2023-11-07T20:21:47.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:21:47.673Z] [2023-11-07T20:21:47.673Z] Login Succeeded [2023-11-07T20:21:47.673Z] nexus3.edgexfoundry.org:10004 [2023-11-07T20:21:47.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:21:47.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:21:47.935Z] Configure a credential helper to remove this warning. See [2023-11-07T20:21:47.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:21:47.935Z] [2023-11-07T20:21:47.935Z] Login Succeeded [2023-11-07T20:21:47.935Z] docker.io [2023-11-07T20:21:47.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:21:48.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:21:48.198Z] Configure a credential helper to remove this warning. See [2023-11-07T20:21:48.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:21:48.198Z] [2023-11-07T20:21:48.198Z] Login Succeeded [2023-11-07T20:21:48.198Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T20:21:48.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-07T20:21:48.853Z] + git rev-list -1 --merges 480d201ecada78224200395c5e7a3e4b956850b6~1..480d201ecada78224200395c5e7a3e4b956850b6 [Pipeline] echo [2023-11-07T20:21:48.923Z] -----------> git rev-list -1 --merges 480d201ecada78224200395c5e7a3e4b956850b6~1..480d201ecada78224200395c5e7a3e4b956850b6 480d201ecada78224200395c5e7a3e4b956850b6 [false] [Pipeline] sh [2023-11-07T20:21:49.248Z] + git log --format=format:%s -1 480d201ecada78224200395c5e7a3e4b956850b6 [Pipeline] echo [2023-11-07T20:21:49.290Z] ========================================================= [2023-11-07T20:21:49.290Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-07T20:21:49.290Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T20:21:49.727Z] + git log --format=format:%s -1 480d201ecada78224200395c5e7a3e4b956850b6 [Pipeline] echo [2023-11-07T20:21:49.761Z] [semverPrep] GIT_COMMIT: 480d201ecada78224200395c5e7a3e4b956850b6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-11-07T20:21:49.791Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-07T20:21:50.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T20:21:50.173Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-07T20:21:50.173Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-07T20:21:50.173Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-07T20:21:50.173Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-07T20:21:50.173Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-07T20:21:50.173Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:21:50.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T20:21:50.598Z] [2023-11-07T20:21:50.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:21:50.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T20:21:51.245Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-07T20:21:51.245Z] b85a868b505f: Pulling fs layer [2023-11-07T20:21:51.245Z] e2be974225ed: Pulling fs layer [2023-11-07T20:21:51.245Z] 339a4e72a1f5: Pulling fs layer [2023-11-07T20:21:51.245Z] 988bab9f4d93: Pulling fs layer [2023-11-07T20:21:51.245Z] 1469e6f7b9e6: Pulling fs layer [2023-11-07T20:21:51.245Z] eaf3925da568: Pulling fs layer [2023-11-07T20:21:51.245Z] bab4dde63d76: Pulling fs layer [2023-11-07T20:21:51.245Z] bde34c3a00c8: Pulling fs layer [2023-11-07T20:21:51.245Z] b352a97aabf1: Pulling fs layer [2023-11-07T20:21:51.245Z] 4872d77fe225: Pulling fs layer [2023-11-07T20:21:51.245Z] 5851b861e8e6: Pulling fs layer [2023-11-07T20:21:51.245Z] bde34c3a00c8: Waiting [2023-11-07T20:21:51.245Z] b352a97aabf1: Waiting [2023-11-07T20:21:51.245Z] 1469e6f7b9e6: Waiting [2023-11-07T20:21:51.245Z] bab4dde63d76: Waiting [2023-11-07T20:21:51.245Z] eaf3925da568: Waiting [2023-11-07T20:21:51.245Z] 4872d77fe225: Waiting [2023-11-07T20:21:51.245Z] 988bab9f4d93: Waiting [2023-11-07T20:21:51.245Z] 5851b861e8e6: Waiting [2023-11-07T20:21:51.245Z] e2be974225ed: Download complete [2023-11-07T20:21:51.245Z] 988bab9f4d93: Download complete [2023-11-07T20:21:51.245Z] 1469e6f7b9e6: Verifying Checksum [2023-11-07T20:21:51.245Z] 1469e6f7b9e6: Download complete [2023-11-07T20:21:51.245Z] eaf3925da568: Verifying Checksum [2023-11-07T20:21:51.245Z] eaf3925da568: Download complete [2023-11-07T20:21:51.245Z] 339a4e72a1f5: Verifying Checksum [2023-11-07T20:21:51.245Z] 339a4e72a1f5: Download complete [2023-11-07T20:21:51.245Z] bde34c3a00c8: Verifying Checksum [2023-11-07T20:21:51.245Z] bde34c3a00c8: Download complete [2023-11-07T20:21:51.506Z] b352a97aabf1: Verifying Checksum [2023-11-07T20:21:51.506Z] b352a97aabf1: Download complete [2023-11-07T20:21:51.506Z] 4872d77fe225: Verifying Checksum [2023-11-07T20:21:51.506Z] 4872d77fe225: Download complete [2023-11-07T20:21:51.506Z] 5851b861e8e6: Download complete [2023-11-07T20:21:51.506Z] b85a868b505f: Verifying Checksum [2023-11-07T20:21:51.506Z] b85a868b505f: Download complete [2023-11-07T20:21:51.770Z] bab4dde63d76: Verifying Checksum [2023-11-07T20:21:51.770Z] bab4dde63d76: Download complete [2023-11-07T20:21:53.150Z] b85a868b505f: Pull complete [2023-11-07T20:21:53.413Z] e2be974225ed: Pull complete [2023-11-07T20:21:54.356Z] 339a4e72a1f5: Pull complete [2023-11-07T20:21:54.618Z] 988bab9f4d93: Pull complete [2023-11-07T20:21:55.190Z] 1469e6f7b9e6: Pull complete [2023-11-07T20:21:55.190Z] eaf3925da568: Pull complete [2023-11-07T20:21:57.727Z] bab4dde63d76: Pull complete [2023-11-07T20:21:57.728Z] bde34c3a00c8: Pull complete [2023-11-07T20:21:57.728Z] b352a97aabf1: Pull complete [2023-11-07T20:21:57.728Z] 4872d77fe225: Pull complete [2023-11-07T20:21:57.728Z] 5851b861e8e6: Pull complete [2023-11-07T20:21:57.728Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-07T20:21:57.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T20:21:57.728Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:21:57.960Z] prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container [2023-11-07T20:21:57.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-362 -v /w/workspace/gexfoundry_device-rest-go_PR-362:/w/workspace/gexfoundry_device-rest-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-362@tmp:/w/workspace/gexfoundry_device-rest-go_PR-362@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-11-07T20:22:01.735Z] $ docker top e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c -eo pid,comm [2023-11-07T20:22:01.791Z] 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-11-07T20:22:01.791Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T20:22:01.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T20:22:01.923Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T20:22:02.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T20:22:02.031Z] $ docker exec e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c ssh-agent [2023-11-07T20:22:02.136Z] SSH_AUTH_SOCK=/tmp/ssh-9DTnpzViCiBJ/agent.32 [2023-11-07T20:22:02.136Z] SSH_AGENT_PID=38 [2023-11-07T20:22:02.143Z] Running ssh-add (command line suppressed) [2023-11-07T20:22:02.239Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-362@tmp/private_key_2855767492120681730.key (/w/workspace/gexfoundry_device-rest-go_PR-362@tmp/private_key_2855767492120681730.key) [2023-11-07T20:22:02.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T20:22:02.590Z] + git tag --points-at HEAD [Pipeline] } [2023-11-07T20:22:02.646Z] $ docker exec --env ******** --env ******** e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c ssh-agent -k [2023-11-07T20:22:02.734Z] unset SSH_AUTH_SOCK; [2023-11-07T20:22:02.734Z] unset SSH_AGENT_PID; [2023-11-07T20:22:02.735Z] echo Agent pid 38 killed; [2023-11-07T20:22:02.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-07T20:22:02.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T20:22:02.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T20:22:02.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T20:22:02.948Z] $ docker exec e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c ssh-agent [2023-11-07T20:22:03.055Z] SSH_AUTH_SOCK=/tmp/ssh-QW74wu4PYcoq/agent.70 [2023-11-07T20:22:03.055Z] SSH_AGENT_PID=76 [2023-11-07T20:22:03.060Z] Running ssh-add (command line suppressed) [2023-11-07T20:22:03.151Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-362@tmp/private_key_9267079665787000891.key (/w/workspace/gexfoundry_device-rest-go_PR-362@tmp/private_key_9267079665787000891.key) [2023-11-07T20:22:03.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T20:22:03.496Z] + git semver init [2023-11-07T20:22:03.757Z] 2023-11-07 20:22:03,639 [run_init] DEBUG init version:0.0.0 force:False [2023-11-07T20:22:03.757Z] 2023-11-07 20:22:03,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-362/.semver [2023-11-07T20:22:03.757Z] 2023-11-07 20:22:03,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-362/.semver [2023-11-07T20:22:03.757Z] 2023-11-07 20:22:03,641 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-362/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-362, universal_newlines=False, shell=None, istream=None) [2023-11-07T20:22:05.137Z] 2023-11-07 20:22:04,808 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-362/.git/info/exclude [2023-11-07T20:22:05.137Z] 2023-11-07 20:22:04,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-362/.semver/PR-362 with force:False [2023-11-07T20:22:05.137Z] 2023-11-07 20:22:04,809 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-362/.semver/PR-362 [2023-11-07T20:22:05.137Z] 2023-11-07 20:22:04,811 [execute] INFO git cat-file --batch-check [2023-11-07T20:22:05.137Z] 2023-11-07 20:22:04,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-362/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T20:22:05.137Z] 2023-11-07 20:22:04,817 [execute] INFO git cat-file --batch [2023-11-07T20:22:05.138Z] 2023-11-07 20:22:04,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-362/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T20:22:05.138Z] 2023-11-07 20:22:04,822 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-362/.semver/PR-362 [2023-11-07T20:22:05.138Z] 0.0.0 [Pipeline] } [2023-11-07T20:22:05.167Z] $ docker exec --env ******** --env ******** e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c ssh-agent -k [2023-11-07T20:22:05.265Z] unset SSH_AUTH_SOCK; [2023-11-07T20:22:05.266Z] unset SSH_AGENT_PID; [2023-11-07T20:22:05.266Z] echo Agent pid 76 killed; [2023-11-07T20:22:05.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T20:22:05.707Z] + git semver [Pipeline] } [2023-11-07T20:22:05.991Z] $ docker stop --time=1 e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c [2023-11-07T20:22:07.420Z] $ docker rm -f --volumes e17994d814300354f90ca739e118bc862284c6b14c4af862de216edc9327fa0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T20:22:07.829Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-07T20:22:08.182Z] Stashed 1 file(s) [Pipeline] echo [2023-11-07T20:22:08.201Z] [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-11-07T20:22:08.836Z] provisioning config files... [2023-11-07T20:22:08.846Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-362@tmp/config15082449286725003696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:22:09.201Z] ---> docker-login.sh [2023-11-07T20:22:09.201Z] nexus3.edgexfoundry.org:10001 [2023-11-07T20:22:09.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:22:09.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:22:09.201Z] Configure a credential helper to remove this warning. See [2023-11-07T20:22:09.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:22:09.201Z] [2023-11-07T20:22:09.201Z] Login Succeeded [2023-11-07T20:22:09.201Z] nexus3.edgexfoundry.org:10002 [2023-11-07T20:22:09.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:22:09.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:22:09.201Z] Configure a credential helper to remove this warning. See [2023-11-07T20:22:09.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:22:09.201Z] [2023-11-07T20:22:09.201Z] Login Succeeded [2023-11-07T20:22:09.201Z] nexus3.edgexfoundry.org:10003 [2023-11-07T20:22:09.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:22:09.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:22:09.460Z] Configure a credential helper to remove this warning. See [2023-11-07T20:22:09.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:22:09.460Z] [2023-11-07T20:22:09.460Z] Login Succeeded [2023-11-07T20:22:09.460Z] nexus3.edgexfoundry.org:10004 [2023-11-07T20:22:09.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:22:09.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:22:09.460Z] Configure a credential helper to remove this warning. See [2023-11-07T20:22:09.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:22:09.460Z] [2023-11-07T20:22:09.460Z] Login Succeeded [2023-11-07T20:22:09.460Z] docker.io [2023-11-07T20:22:09.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:22:09.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:22:09.978Z] Configure a credential helper to remove this warning. See [2023-11-07T20:22:09.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:22:09.978Z] [2023-11-07T20:22:09.978Z] Login Succeeded [2023-11-07T20:22:09.978Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T20:22:10.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T20:22:10.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T20:22:10.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T20:22:10.271Z] ========================================================= [2023-11-07T20:22:10.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-07T20:22:10.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:22:10.753Z] + 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-11-07T20:22:10.753Z] Sending build context to Docker daemon 10.95MB [2023-11-07T20:22:10.753Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T20:22:10.753Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-07T20:22:11.013Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-07T20:22:11.013Z] 7264a8db6415: Pulling fs layer [2023-11-07T20:22:11.013Z] c4d48a809fc2: Pulling fs layer [2023-11-07T20:22:11.013Z] 4f1c88b9dad5: Pulling fs layer [2023-11-07T20:22:11.013Z] ad3a456e5733: Pulling fs layer [2023-11-07T20:22:11.013Z] 33e27b845d1e: Pulling fs layer [2023-11-07T20:22:11.013Z] c68163c4e522: Pulling fs layer [2023-11-07T20:22:11.013Z] 50da416c3ac9: Pulling fs layer [2023-11-07T20:22:11.013Z] 23d2d4c4bb30: Pulling fs layer [2023-11-07T20:22:11.013Z] 33e27b845d1e: Waiting [2023-11-07T20:22:11.013Z] 50da416c3ac9: Waiting [2023-11-07T20:22:11.013Z] c68163c4e522: Waiting [2023-11-07T20:22:11.013Z] ad3a456e5733: Waiting [2023-11-07T20:22:11.013Z] 23d2d4c4bb30: Waiting [2023-11-07T20:22:11.013Z] c4d48a809fc2: Verifying Checksum [2023-11-07T20:22:11.013Z] c4d48a809fc2: Download complete [2023-11-07T20:22:11.013Z] ad3a456e5733: Verifying Checksum [2023-11-07T20:22:11.013Z] ad3a456e5733: Download complete [2023-11-07T20:22:11.013Z] 33e27b845d1e: Verifying Checksum [2023-11-07T20:22:11.014Z] 33e27b845d1e: Download complete [2023-11-07T20:22:11.014Z] 7264a8db6415: Verifying Checksum [2023-11-07T20:22:11.014Z] 7264a8db6415: Download complete [2023-11-07T20:22:11.014Z] c68163c4e522: Verifying Checksum [2023-11-07T20:22:11.014Z] c68163c4e522: Download complete [2023-11-07T20:22:11.275Z] 7264a8db6415: Pull complete [2023-11-07T20:22:11.275Z] 23d2d4c4bb30: Verifying Checksum [2023-11-07T20:22:11.275Z] 23d2d4c4bb30: Download complete [2023-11-07T20:22:11.535Z] c4d48a809fc2: Pull complete [2023-11-07T20:22:11.535Z] 4f1c88b9dad5: Verifying Checksum [2023-11-07T20:22:11.535Z] 4f1c88b9dad5: Download complete [2023-11-07T20:22:12.121Z] 50da416c3ac9: Verifying Checksum [2023-11-07T20:22:12.121Z] 50da416c3ac9: Download complete [2023-11-07T20:22:15.432Z] 4f1c88b9dad5: Pull complete [2023-11-07T20:22:15.432Z] ad3a456e5733: Pull complete [2023-11-07T20:22:15.432Z] 33e27b845d1e: Pull complete [2023-11-07T20:22:15.710Z] c68163c4e522: Pull complete [2023-11-07T20:22:18.242Z] 50da416c3ac9: Pull complete [2023-11-07T20:22:18.813Z] 23d2d4c4bb30: Pull complete [2023-11-07T20:22:18.813Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-07T20:22:18.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-07T20:22:18.813Z] ---> 0786185ac409 [2023-11-07T20:22:18.813Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-07T20:22:23.651Z] Still waiting to schedule task [2023-11-07T20:22:23.651Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-07T20:22:25.398Z] ---> Running in 57058882d485 [2023-11-07T20:22:25.398Z] Removing intermediate container 57058882d485 [2023-11-07T20:22:25.398Z] ---> 41842268de31 [2023-11-07T20:22:25.398Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T20:22:25.398Z] ---> Running in d6028592db85 [2023-11-07T20:22:25.398Z] Removing intermediate container d6028592db85 [2023-11-07T20:22:25.398Z] ---> bf5b3965acaf [2023-11-07T20:22:25.398Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T20:22:25.398Z] ---> Running in ceb18683b3a4 [2023-11-07T20:22:25.398Z] Removing intermediate container ceb18683b3a4 [2023-11-07T20:22:25.398Z] ---> 342d488fd16d [2023-11-07T20:22:25.398Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T20:22:25.398Z] ---> Running in 20e53052b501 [2023-11-07T20:22:25.398Z] Removing intermediate container 20e53052b501 [2023-11-07T20:22:25.398Z] ---> dfae16fb2585 [2023-11-07T20:22:25.398Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T20:22:25.398Z] ---> Running in 526b57edcf38 [2023-11-07T20:22:25.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T20:22:25.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T20:22:25.398Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-07T20:22:25.398Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-07T20:22:25.398Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-07T20:22:25.398Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-07T20:22:25.398Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T20:22:25.398Z] OK: 268 MiB in 56 packages [2023-11-07T20:22:26.337Z] Removing intermediate container 526b57edcf38 [2023-11-07T20:22:26.337Z] ---> 6cee4b2bd41b [2023-11-07T20:22:26.337Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-07T20:22:26.597Z] ---> Running in 516ba0403bbf [2023-11-07T20:22:27.164Z] Removing intermediate container 516ba0403bbf [2023-11-07T20:22:27.164Z] ---> b2ca6ec2b8ee [2023-11-07T20:22:27.164Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-07T20:22:27.738Z] ---> 90e476c84e56 [2023-11-07T20:22:27.738Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T20:22:27.738Z] ---> Running in 388fc261dce6 [2023-11-07T20:23:14.768Z] Removing intermediate container 388fc261dce6 [2023-11-07T20:23:14.768Z] ---> b28f449bd4f5 [2023-11-07T20:23:14.768Z] Step 11/12 : COPY . . [2023-11-07T20:23:14.768Z] ---> f08667b275e6 [2023-11-07T20:23:14.768Z] Step 12/12 : RUN $MAKE [2023-11-07T20:23:14.768Z] ---> Running in 934697e57602 [2023-11-07T20:23:14.768Z] noop [2023-11-07T20:23:14.768Z] Removing intermediate container 934697e57602 [2023-11-07T20:23:14.768Z] ---> 1f60c1f35167 [2023-11-07T20:23:14.768Z] Successfully built 1f60c1f35167 [2023-11-07T20:23:14.768Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:23:17.402Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T20:23:17.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:23:17.564Z] prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container [2023-11-07T20:23:17.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-362 -v /w/workspace/gexfoundry_device-rest-go_PR-362:/w/workspace/gexfoundry_device-rest-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-362@tmp:/w/workspace/gexfoundry_device-rest-go_PR-362@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-11-07T20:23:18.321Z] $ docker top c3d758d83b3e287ebd03379a5f1f9c7677c173e6e985a7005de6aeec7c3e14cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T20:23:18.453Z] + go version [2023-11-07T20:23:18.453Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-07T20:23:18.771Z] $ docker stop --time=1 c3d758d83b3e287ebd03379a5f1f9c7677c173e6e985a7005de6aeec7c3e14cc [2023-11-07T20:23:20.030Z] $ docker rm -f --volumes c3d758d83b3e287ebd03379a5f1f9c7677c173e6e985a7005de6aeec7c3e14cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:23:20.515Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T20:23:20.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:23:20.683Z] prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container [2023-11-07T20:23:21.013Z] $ 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-362 -v /w/workspace/gexfoundry_device-rest-go_PR-362:/w/workspace/gexfoundry_device-rest-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-362@tmp:/w/workspace/gexfoundry_device-rest-go_PR-362@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-11-07T20:23:21.379Z] $ docker top 5d08f2141496fa5c997255717b8c9a1e45ea18fc0f13e15271145c98a0bfb2c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T20:23:21.497Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-362 [Pipeline] fileExists [Pipeline] sh [2023-11-07T20:23:21.864Z] + make test [2023-11-07T20:23:21.864Z] go test ./... -coverprofile=coverage.out ./... [2023-11-07T20:23:23.246Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-07T20:23:33.719Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-07T20:23:33.719Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-11-07T20:23:40.514Z] go vet ./... [2023-11-07T20:23:43.044Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T20:23:43.044Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T20:23:43.044Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T20:23:43.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T20:23:43.203Z] $ docker stop --time=1 5d08f2141496fa5c997255717b8c9a1e45ea18fc0f13e15271145c98a0bfb2c4 [2023-11-07T20:23:46.808Z] $ docker rm -f --volumes 5d08f2141496fa5c997255717b8c9a1e45ea18fc0f13e15271145c98a0bfb2c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T20:23:47.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T20:23:47.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-07T20:23:48.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T20:23:48.342Z] + ls -al . [2023-11-07T20:23:48.342Z] total 176 [2023-11-07T20:23:48.342Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 20:23 . [2023-11-07T20:23:48.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:21 .. [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:21 .dockerignore [2023-11-07T20:23:48.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:23 .git [2023-11-07T20:23:48.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:21 .github [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 20:21 .gitignore [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:21 .golangci.yml [2023-11-07T20:23:48.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:22 .semver [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 7 20:21 Attribution.txt [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 7 20:21 CHANGELOG.md [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 7 20:21 Dockerfile [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:21 GOVERNANCE.md [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:21 Jenkinsfile [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:21 LICENSE [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 7 20:21 Makefile [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:21 OWNERS.md [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 20:21 README.md [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:22 VERSION [2023-11-07T20:23:48.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:21 bin [2023-11-07T20:23:48.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:21 cmd [2023-11-07T20:23:48.342Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 7 20:23 coverage.out [2023-11-07T20:23:48.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:21 driver [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 3851 Nov 7 20:21 go.mod [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 35014 Nov 7 20:21 go.sum [2023-11-07T20:23:48.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:21 openapi [2023-11-07T20:23:48.342Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:23:48.746Z] + 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=480d201ecada78224200395c5e7a3e4b956850b6 --label arch=amd64 --label version=0.0.0 . [2023-11-07T20:23:48.746Z] Sending build context to Docker daemon 10.96MB [2023-11-07T20:23:48.746Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T20:23:48.746Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-07T20:23:48.746Z] ---> 1f60c1f35167 [2023-11-07T20:23:48.746Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-07T20:23:49.007Z] ---> Running in d008f9b63b7b [2023-11-07T20:23:49.266Z] Removing intermediate container d008f9b63b7b [2023-11-07T20:23:49.266Z] ---> 17b034a32639 [2023-11-07T20:23:49.266Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T20:23:49.266Z] ---> Running in a94aaa670875 [2023-11-07T20:23:49.266Z] Removing intermediate container a94aaa670875 [2023-11-07T20:23:49.266Z] ---> b1b61d8693d3 [2023-11-07T20:23:49.266Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T20:23:49.266Z] ---> Running in fab998beffe2 [2023-11-07T20:23:49.266Z] Removing intermediate container fab998beffe2 [2023-11-07T20:23:49.266Z] ---> ceb757e080ad [2023-11-07T20:23:49.266Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T20:23:49.266Z] ---> Running in d701789ec2a9 [2023-11-07T20:23:49.526Z] Removing intermediate container d701789ec2a9 [2023-11-07T20:23:49.526Z] ---> e0b12a29ef9e [2023-11-07T20:23:49.526Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T20:23:49.526Z] ---> Running in ea93eb1f7583 [2023-11-07T20:23:49.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T20:23:49.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T20:23:50.045Z] OK: 268 MiB in 56 packages [2023-11-07T20:23:50.614Z] Removing intermediate container ea93eb1f7583 [2023-11-07T20:23:50.614Z] ---> ade7fb3c5d6d [2023-11-07T20:23:50.614Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-07T20:23:50.614Z] ---> Running in 9ec27675bed0 [2023-11-07T20:23:50.614Z] Removing intermediate container 9ec27675bed0 [2023-11-07T20:23:50.614Z] ---> a9c8d290465f [2023-11-07T20:23:50.614Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-07T20:23:50.614Z] ---> f315d0e80ee0 [2023-11-07T20:23:50.614Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T20:23:50.614Z] ---> Running in b21e34bb1c5f [2023-11-07T20:23:51.657Z] Removing intermediate container b21e34bb1c5f [2023-11-07T20:23:51.657Z] ---> 6ddad731497e [2023-11-07T20:23:51.657Z] Step 11/25 : COPY . . [2023-11-07T20:23:51.916Z] ---> ab09915821c4 [2023-11-07T20:23:51.916Z] Step 12/25 : RUN $MAKE [2023-11-07T20:23:51.916Z] ---> Running in dd3f28f9fc5d [2023-11-07T20:23:52.174Z] 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.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-07T20:24:14.192Z] Removing intermediate container dd3f28f9fc5d [2023-11-07T20:24:14.192Z] ---> 414ecb988e3d [2023-11-07T20:24:14.192Z] Step 13/25 : FROM alpine:3.18 [2023-11-07T20:24:14.452Z] 3.18: Pulling from library/alpine [2023-11-07T20:24:14.452Z] 96526aa774ef: Pulling fs layer [2023-11-07T20:24:14.711Z] 96526aa774ef: Verifying Checksum [2023-11-07T20:24:14.711Z] 96526aa774ef: Download complete [2023-11-07T20:24:14.711Z] 96526aa774ef: Pull complete [2023-11-07T20:24:14.970Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T20:24:14.970Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T20:24:14.970Z] ---> 8ca4688f4f35 [2023-11-07T20:24:14.970Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T20:24:14.970Z] ---> Running in 3b1494b7b1be [2023-11-07T20:24:15.229Z] Removing intermediate container 3b1494b7b1be [2023-11-07T20:24:15.229Z] ---> 2820022a0def [2023-11-07T20:24:15.229Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-07T20:24:15.229Z] ---> Running in 2caf1d082db9 [2023-11-07T20:24:15.229Z] Removing intermediate container 2caf1d082db9 [2023-11-07T20:24:15.229Z] ---> db2a77bb7d75 [2023-11-07T20:24:15.229Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-07T20:24:15.229Z] ---> Running in 0c98dc407ee1 [2023-11-07T20:24:15.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T20:24:15.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T20:24:16.007Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-07T20:24:16.008Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T20:24:16.008Z] OK: 7 MiB in 16 packages [2023-11-07T20:24:16.266Z] Removing intermediate container 0c98dc407ee1 [2023-11-07T20:24:16.266Z] ---> 8adbe205ae55 [2023-11-07T20:24:16.266Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-07T20:24:17.224Z] ---> 784fe3c0f271 [2023-11-07T20:24:17.224Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-07T20:24:17.225Z] ---> 21596a627031 [2023-11-07T20:24:17.225Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-07T20:24:17.225Z] ---> 87eaee952b15 [2023-11-07T20:24:17.225Z] Step 20/25 : EXPOSE 59986 [2023-11-07T20:24:17.225Z] ---> Running in bf7c47def011 [2023-11-07T20:24:17.225Z] Removing intermediate container bf7c47def011 [2023-11-07T20:24:17.225Z] ---> afc25ef1b3a4 [2023-11-07T20:24:17.225Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-07T20:24:17.483Z] ---> Running in 9c2c82c2552a [2023-11-07T20:24:17.483Z] Removing intermediate container 9c2c82c2552a [2023-11-07T20:24:17.483Z] ---> fab49bf32bfe [2023-11-07T20:24:17.483Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-07T20:24:17.483Z] ---> Running in 3013145381fa [2023-11-07T20:24:17.483Z] Removing intermediate container 3013145381fa [2023-11-07T20:24:17.483Z] ---> 4d0dcf801cbc [2023-11-07T20:24:17.483Z] Step 23/25 : LABEL arch=amd64 [2023-11-07T20:24:17.483Z] ---> Running in 46b857f1d0cc [2023-11-07T20:24:17.483Z] Removing intermediate container 46b857f1d0cc [2023-11-07T20:24:17.483Z] ---> bf2ac6a8c7cf [2023-11-07T20:24:17.483Z] Step 24/25 : LABEL git_sha=480d201ecada78224200395c5e7a3e4b956850b6 [2023-11-07T20:24:17.483Z] ---> Running in ab823434398d [2023-11-07T20:24:17.743Z] Removing intermediate container ab823434398d [2023-11-07T20:24:17.743Z] ---> 34ba64abe672 [2023-11-07T20:24:17.743Z] Step 25/25 : LABEL version=0.0.0 [2023-11-07T20:24:17.743Z] ---> Running in 645307fe9596 [2023-11-07T20:24:17.743Z] Removing intermediate container 645307fe9596 [2023-11-07T20:24:17.743Z] ---> bb7494478b87 [2023-11-07T20:24:17.743Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T20:24:17.743Z] Successfully built bb7494478b87 [2023-11-07T20:24:17.743Z] 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-11-07T20:24:18.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T20:24:18.636Z] [2023-11-07T20:24:18.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:24:19.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T20:24:19.028Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-07T20:24:19.028Z] 5eb5b503b376: Pulling fs layer [2023-11-07T20:24:19.028Z] 5c69ac0246d0: Pulling fs layer [2023-11-07T20:24:19.028Z] ec43610c2a17: Pulling fs layer [2023-11-07T20:24:19.028Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-07T20:24:19.028Z] 33b1e0a273af: Pulling fs layer [2023-11-07T20:24:19.028Z] 5d3b04190fa2: Pulling fs layer [2023-11-07T20:24:19.028Z] 2f39f015ded8: Pulling fs layer [2023-11-07T20:24:19.028Z] 5d3b04190fa2: Waiting [2023-11-07T20:24:19.028Z] 2f39f015ded8: Waiting [2023-11-07T20:24:19.028Z] 33b1e0a273af: Waiting [2023-11-07T20:24:19.028Z] 3a2ae6a8a46f: Waiting [2023-11-07T20:24:19.028Z] 5c69ac0246d0: Download complete [2023-11-07T20:24:19.028Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-07T20:24:19.028Z] 3a2ae6a8a46f: Download complete [2023-11-07T20:24:19.028Z] 33b1e0a273af: Verifying Checksum [2023-11-07T20:24:19.028Z] 33b1e0a273af: Download complete [2023-11-07T20:24:19.028Z] ec43610c2a17: Verifying Checksum [2023-11-07T20:24:19.028Z] ec43610c2a17: Download complete [2023-11-07T20:24:19.028Z] 5d3b04190fa2: Download complete [2023-11-07T20:24:19.287Z] 5eb5b503b376: Download complete [2023-11-07T20:24:19.857Z] 2f39f015ded8: Download complete [2023-11-07T20:24:20.424Z] 5eb5b503b376: Pull complete [2023-11-07T20:24:20.424Z] 5c69ac0246d0: Pull complete [2023-11-07T20:24:20.993Z] ec43610c2a17: Pull complete [2023-11-07T20:24:21.252Z] 3a2ae6a8a46f: Pull complete [2023-11-07T20:24:21.252Z] 33b1e0a273af: Pull complete [2023-11-07T20:24:21.510Z] 5d3b04190fa2: Pull complete [2023-11-07T20:24:25.702Z] 2f39f015ded8: Pull complete [2023-11-07T20:24:25.702Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-07T20:24:25.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T20:24:25.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:24:25.920Z] prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container [2023-11-07T20:24:25.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-362 -v /w/workspace/gexfoundry_device-rest-go_PR-362:/w/workspace/gexfoundry_device-rest-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-362@tmp:/w/workspace/gexfoundry_device-rest-go_PR-362@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-11-07T20:24:33.312Z] $ docker top a586cf4a8d24080a503bbdc3dbb3931ab7593ba354be494b632ff3aefe376b8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:24:33.773Z] ---> job-cost.sh [2023-11-07T20:24:33.773Z] lf-activate-venv: SKIPPING [2023-11-07T20:24:33.773Z] INFO: No Stack... [2023-11-07T20:24:34.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T20:24:34.293Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T20:24:34.611Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-362/archives/cost.csv [2023-11-07T20:24:34.611Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T20:24:34.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] [2023-11-07T20:24:34.659Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] did not exist. Created. [2023-11-07T20:24:34.659Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T20:24:35.049Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-07T20:24:35.097Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T20:24:35.131Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T20:24:35.205Z] $ docker stop --time=1 a586cf4a8d24080a503bbdc3dbb3931ab7593ba354be494b632ff3aefe376b8a [2023-11-07T20:24:36.542Z] $ docker rm -f --volumes a586cf4a8d24080a503bbdc3dbb3931ab7593ba354be494b632ff3aefe376b8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-07T20:26:04.032Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16887 in /w/workspace/gexfoundry_device-rest-go_PR-362 [Pipeline] { [Pipeline] ws [2023-11-07T20:26:04.091Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-07T20:26:04.177Z] The recommended git tool is: git [2023-11-07T20:26:10.378Z] using credential edgex-jenkins-ssh [2023-11-07T20:26:10.396Z] Cloning the remote Git repository [2023-11-07T20:26:10.458Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-07T20:26:10.568Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-07T20:26:10.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-07T20:26:10.740Z] > git --version # timeout=10 [2023-11-07T20:26:10.763Z] > git --version # 'git version 2.25.1' [2023-11-07T20:26:10.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T20:26:10.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T20:26:12.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-07T20:26:12.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T20:26:14.508Z] Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 480d201ecada78224200395c5e7a3e4b956850b6 [2023-11-07T20:26:13.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-07T20:26:13.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-07T20:26:13.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T20:26:13.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-07T20:26:14.533Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T20:26:14.822Z] Merge succeeded, producing 480d201ecada78224200395c5e7a3e4b956850b6 [2023-11-07T20:26:14.822Z] Checking out Revision 480d201ecada78224200395c5e7a3e4b956850b6 (PR-362) [2023-11-07T20:26:15.359Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-11-07T20:26:15.417Z] > git --version # timeout=10 [2023-11-07T20:26:15.429Z] > git --version # 'git version 2.25.1' [2023-11-07T20:26:15.449Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-11-07T20:26:14.622Z] > git checkout -f 480d201ecada78224200395c5e7a3e4b956850b6 # timeout=10 [2023-11-07T20:26:14.716Z] > git remote # timeout=10 [2023-11-07T20:26:14.739Z] > git config --get remote.origin.url # timeout=10 [2023-11-07T20:26:14.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T20:26:14.773Z] > git merge 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 [2023-11-07T20:26:14.805Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-07T20:26:14.835Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T20:26:14.859Z] > git checkout -f 480d201ecada78224200395c5e7a3e4b956850b6 # timeout=10 [Pipeline] sh [2023-11-07T20:26:16.521Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-07T20:26:16.521Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T20:26:16.521Z] Dload Upload Total Spent Left Speed [2023-11-07T20:26:16.521Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 221k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh [2023-11-07T20:26:17.201Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-07T20:26:17.570Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-07T20:26:17.570Z] + sudo tee /etc/docker/daemon.new [2023-11-07T20:26:17.570Z] { [2023-11-07T20:26:17.570Z] "registry-mirrors": [ [2023-11-07T20:26:17.570Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-07T20:26:17.570Z] ], [2023-11-07T20:26:17.570Z] "bip": "10.250.0.254/24", [2023-11-07T20:26:17.570Z] "hosts": [ [2023-11-07T20:26:17.570Z] "tcp://0.0.0.0:5555", [2023-11-07T20:26:17.570Z] "unix:///var/run/docker.sock" [2023-11-07T20:26:17.570Z] ], [2023-11-07T20:26:17.570Z] "mtu": 1458, [2023-11-07T20:26:17.570Z] "selinux-enabled": true, [2023-11-07T20:26:17.570Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-07T20:26:17.570Z] } [Pipeline] sh [2023-11-07T20:26:17.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-07T20:26:18.278Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T20:26:36.629Z] provisioning config files... [2023-11-07T20:26:36.661Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config611266456677641898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:26:37.069Z] ---> docker-login.sh [2023-11-07T20:26:37.069Z] nexus3.edgexfoundry.org:10001 [2023-11-07T20:26:37.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:26:37.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:26:37.661Z] Configure a credential helper to remove this warning. See [2023-11-07T20:26:37.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:26:37.661Z] [2023-11-07T20:26:37.661Z] Login Succeeded [2023-11-07T20:26:37.661Z] nexus3.edgexfoundry.org:10002 [2023-11-07T20:26:37.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:26:38.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:26:38.210Z] Configure a credential helper to remove this warning. See [2023-11-07T20:26:38.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:26:38.210Z] [2023-11-07T20:26:38.210Z] Login Succeeded [2023-11-07T20:26:38.210Z] nexus3.edgexfoundry.org:10003 [2023-11-07T20:26:38.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:26:38.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:26:38.480Z] Configure a credential helper to remove this warning. See [2023-11-07T20:26:38.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:26:38.480Z] [2023-11-07T20:26:38.480Z] Login Succeeded [2023-11-07T20:26:38.480Z] nexus3.edgexfoundry.org:10004 [2023-11-07T20:26:38.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:26:39.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:26:39.028Z] Configure a credential helper to remove this warning. See [2023-11-07T20:26:39.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:26:39.028Z] [2023-11-07T20:26:39.028Z] Login Succeeded [2023-11-07T20:26:39.028Z] docker.io [2023-11-07T20:26:39.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T20:26:39.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T20:26:39.568Z] Configure a credential helper to remove this warning. See [2023-11-07T20:26:39.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T20:26:39.568Z] [2023-11-07T20:26:39.568Z] Login Succeeded [2023-11-07T20:26:39.568Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T20:26:39.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T20:26:40.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T20:26:40.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T20:26:40.106Z] ========================================================= [2023-11-07T20:26:40.107Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-07T20:26:40.107Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:26:40.665Z] + 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-11-07T20:26:40.665Z] Sending build context to Docker daemon 125.4kB [2023-11-07T20:26:40.936Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T20:26:40.936Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-07T20:26:41.209Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-07T20:26:41.209Z] 9fda8d8052c6: Pulling fs layer [2023-11-07T20:26:41.209Z] 5d54e960e981: Pulling fs layer [2023-11-07T20:26:41.209Z] c4a7e357bf2a: Pulling fs layer [2023-11-07T20:26:41.209Z] f0e02332f6b5: Pulling fs layer [2023-11-07T20:26:41.209Z] cefa15bbcfad: Pulling fs layer [2023-11-07T20:26:41.209Z] 17808c966233: Pulling fs layer [2023-11-07T20:26:41.209Z] f4c1fc716caa: Pulling fs layer [2023-11-07T20:26:41.209Z] cefa15bbcfad: Waiting [2023-11-07T20:26:41.209Z] 17808c966233: Waiting [2023-11-07T20:26:41.209Z] f4c1fc716caa: Waiting [2023-11-07T20:26:41.209Z] f0e02332f6b5: Waiting [2023-11-07T20:26:41.209Z] 5d54e960e981: Verifying Checksum [2023-11-07T20:26:41.209Z] 5d54e960e981: Download complete [2023-11-07T20:26:41.209Z] f0e02332f6b5: Verifying Checksum [2023-11-07T20:26:41.209Z] f0e02332f6b5: Download complete [2023-11-07T20:26:41.209Z] cefa15bbcfad: Verifying Checksum [2023-11-07T20:26:41.209Z] cefa15bbcfad: Download complete [2023-11-07T20:26:41.209Z] 9fda8d8052c6: Verifying Checksum [2023-11-07T20:26:41.209Z] 9fda8d8052c6: Download complete [2023-11-07T20:26:41.804Z] f4c1fc716caa: Verifying Checksum [2023-11-07T20:26:41.804Z] f4c1fc716caa: Download complete [2023-11-07T20:26:42.396Z] 9fda8d8052c6: Pull complete [2023-11-07T20:26:42.987Z] 5d54e960e981: Pull complete [2023-11-07T20:26:43.260Z] c4a7e357bf2a: Verifying Checksum [2023-11-07T20:26:43.260Z] c4a7e357bf2a: Download complete [2023-11-07T20:26:44.229Z] 17808c966233: Verifying Checksum [2023-11-07T20:26:44.229Z] 17808c966233: Download complete [2023-11-07T20:26:56.562Z] c4a7e357bf2a: Pull complete [2023-11-07T20:26:56.562Z] f0e02332f6b5: Pull complete [2023-11-07T20:26:56.562Z] cefa15bbcfad: Pull complete [2023-11-07T20:27:04.948Z] 17808c966233: Pull complete [2023-11-07T20:27:05.219Z] f4c1fc716caa: Pull complete [2023-11-07T20:27:05.219Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-07T20:27:05.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-07T20:27:05.219Z] ---> ea914061e18c [2023-11-07T20:27:05.219Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-07T20:27:07.172Z] ---> Running in 34ee295d6667 [2023-11-07T20:27:07.442Z] Removing intermediate container 34ee295d6667 [2023-11-07T20:27:07.442Z] ---> 7ecb9ebf5bff [2023-11-07T20:27:07.442Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T20:27:07.711Z] ---> Running in 2b123070576a [2023-11-07T20:27:07.984Z] Removing intermediate container 2b123070576a [2023-11-07T20:27:07.984Z] ---> 648deddd68de [2023-11-07T20:27:07.984Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T20:27:07.984Z] ---> Running in 504b1f1cd9fd [2023-11-07T20:27:08.265Z] Removing intermediate container 504b1f1cd9fd [2023-11-07T20:27:08.265Z] ---> ea529eab9ada [2023-11-07T20:27:08.265Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T20:27:08.545Z] ---> Running in 68dcc755bddf [2023-11-07T20:27:08.815Z] Removing intermediate container 68dcc755bddf [2023-11-07T20:27:08.815Z] ---> 47ab066ed5ef [2023-11-07T20:27:08.815Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T20:27:08.815Z] ---> Running in 1233f176f42c [2023-11-07T20:27:10.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T20:27:10.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T20:27:11.926Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-07T20:27:11.926Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-07T20:27:11.926Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-07T20:27:11.926Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-07T20:27:11.926Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T20:27:11.926Z] OK: 270 MiB in 56 packages [2023-11-07T20:27:12.901Z] Removing intermediate container 1233f176f42c [2023-11-07T20:27:12.901Z] ---> 1dc028e2d81d [2023-11-07T20:27:12.901Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-07T20:27:13.168Z] ---> Running in e51c491e3322 [2023-11-07T20:27:13.435Z] Removing intermediate container e51c491e3322 [2023-11-07T20:27:13.435Z] ---> 45be8662057d [2023-11-07T20:27:13.435Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-07T20:27:17.705Z] ---> e3e12ac76eb8 [2023-11-07T20:27:17.705Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T20:27:17.705Z] ---> Running in 6deba9baa488 [2023-11-07T20:28:39.345Z] Removing intermediate container 6deba9baa488 [2023-11-07T20:28:39.345Z] ---> 066d8cb48551 [2023-11-07T20:28:39.345Z] Step 11/12 : COPY . . [2023-11-07T20:28:39.345Z] ---> d0b2bb17ba7a [2023-11-07T20:28:39.345Z] Step 12/12 : RUN $MAKE [2023-11-07T20:28:39.345Z] ---> Running in a1edf3560079 [2023-11-07T20:28:39.345Z] noop [2023-11-07T20:28:39.345Z] Removing intermediate container a1edf3560079 [2023-11-07T20:28:39.345Z] ---> e78494a66ab5 [2023-11-07T20:28:39.345Z] Successfully built e78494a66ab5 [2023-11-07T20:28:39.345Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:28:39.834Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T20:28:39.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:28:40.133Z] prd-ubuntu20.04-docker-arm64-4c-16g-16887 does not seem to be running inside a container [2023-11-07T20:28:40.199Z] $ 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-11-07T20:28:43.709Z] $ docker top 215412c68f147280d80d12482c0f3acd20dae2c4df1683910eb133eb07c90147 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T20:28:44.598Z] + go version [2023-11-07T20:28:44.598Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-07T20:28:44.632Z] $ docker stop --time=1 215412c68f147280d80d12482c0f3acd20dae2c4df1683910eb133eb07c90147 [2023-11-07T20:28:46.267Z] $ docker rm -f --volumes 215412c68f147280d80d12482c0f3acd20dae2c4df1683910eb133eb07c90147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:28:47.177Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T20:28:47.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:28:47.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-16887 does not seem to be running inside a container [2023-11-07T20:28:47.510Z] $ 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-11-07T20:28:48.735Z] $ docker top 4baa71c193bf58c4ede33093890a6233b2112e4c5db41d60d20d21e3ea237fb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T20:28:49.620Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-07T20:28:50.333Z] + make test [2023-11-07T20:28:50.333Z] go test ./... -coverprofile=coverage.out ./... [2023-11-07T20:28:54.593Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-07T20:30:46.245Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-07T20:30:46.245Z] ok github.com/edgexfoundry/device-rest-go/driver 0.116s coverage: 33.2% of statements [2023-11-07T20:30:46.245Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-07T20:30:46.245Z] go vet ./... [2023-11-07T20:31:08.319Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T20:31:08.319Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T20:31:08.319Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T20:31:08.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T20:31:08.392Z] $ docker stop --time=1 4baa71c193bf58c4ede33093890a6233b2112e4c5db41d60d20d21e3ea237fb3 [2023-11-07T20:31:10.403Z] $ docker rm -f --volumes 4baa71c193bf58c4ede33093890a6233b2112e4c5db41d60d20d21e3ea237fb3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T20:31:11.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T20:31:11.745Z] Warning: overwriting stash ‘coverage-report’ [2023-11-07T20:31:12.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T20:31:12.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T20:31:13.323Z] + ls -al . [2023-11-07T20:31:13.324Z] total 172 [2023-11-07T20:31:13.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:28 . [2023-11-07T20:31:13.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:26 .. [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:26 .dockerignore [2023-11-07T20:31:13.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:26 .git [2023-11-07T20:31:13.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:26 .github [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 20:26 .gitignore [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:26 .golangci.yml [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 7 20:26 Attribution.txt [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 7 20:26 CHANGELOG.md [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 7 20:26 Dockerfile [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:26 GOVERNANCE.md [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:26 Jenkinsfile [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:26 LICENSE [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 7 20:26 Makefile [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:26 OWNERS.md [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 20:26 README.md [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:22 VERSION [2023-11-07T20:31:13.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:26 bin [2023-11-07T20:31:13.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:26 cmd [2023-11-07T20:31:13.324Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 7 20:30 coverage.out [2023-11-07T20:31:13.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:26 driver [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 3851 Nov 7 20:26 go.mod [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 35014 Nov 7 20:26 go.sum [2023-11-07T20:31:13.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:26 openapi [2023-11-07T20:31:13.324Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:31:13.755Z] + 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=480d201ecada78224200395c5e7a3e4b956850b6 --label arch=arm64 --label version=0.0.0 . [2023-11-07T20:31:13.755Z] Sending build context to Docker daemon 140.8kB [2023-11-07T20:31:14.022Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T20:31:14.022Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-07T20:31:14.022Z] ---> e78494a66ab5 [2023-11-07T20:31:14.022Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-07T20:31:14.616Z] ---> Running in 8d87b69df6d6 [2023-11-07T20:31:16.030Z] Removing intermediate container 8d87b69df6d6 [2023-11-07T20:31:16.030Z] ---> f6cbec83c418 [2023-11-07T20:31:16.030Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T20:31:16.030Z] ---> Running in 433ce2e01b0a [2023-11-07T20:31:16.298Z] Removing intermediate container 433ce2e01b0a [2023-11-07T20:31:16.298Z] ---> 64cd803ed121 [2023-11-07T20:31:16.298Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T20:31:16.298Z] ---> Running in aa45d7fb839a [2023-11-07T20:31:16.880Z] Removing intermediate container aa45d7fb839a [2023-11-07T20:31:16.880Z] ---> e98177bbbe23 [2023-11-07T20:31:16.880Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T20:31:17.148Z] ---> Running in d45ef9c2e874 [2023-11-07T20:31:17.417Z] Removing intermediate container d45ef9c2e874 [2023-11-07T20:31:17.417Z] ---> 76b98c5b13fa [2023-11-07T20:31:17.417Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T20:31:17.683Z] ---> Running in 4aedb4b4c501 [2023-11-07T20:31:19.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T20:31:19.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T20:31:21.047Z] OK: 270 MiB in 56 packages [2023-11-07T20:31:22.459Z] Removing intermediate container 4aedb4b4c501 [2023-11-07T20:31:22.460Z] ---> 8c8c895cc5d8 [2023-11-07T20:31:22.460Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-07T20:31:22.460Z] ---> Running in 4766f6604c28 [2023-11-07T20:31:23.045Z] Removing intermediate container 4766f6604c28 [2023-11-07T20:31:23.045Z] ---> e4b8b939b491 [2023-11-07T20:31:23.045Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-07T20:31:24.997Z] ---> 256c142e5361 [2023-11-07T20:31:24.997Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T20:31:24.997Z] ---> Running in 43c3bf021e9b [2023-11-07T20:31:26.949Z] Removing intermediate container 43c3bf021e9b [2023-11-07T20:31:26.949Z] ---> 7d8491d2b5ea [2023-11-07T20:31:26.949Z] Step 11/25 : COPY . . [2023-11-07T20:31:28.373Z] ---> f19c51d04aaf [2023-11-07T20:31:28.373Z] Step 12/25 : RUN $MAKE [2023-11-07T20:31:28.650Z] ---> Running in 5d227fdae5b8 [2023-11-07T20:31:29.614Z] 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.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-07T20:33:21.279Z] Removing intermediate container 5d227fdae5b8 [2023-11-07T20:33:21.279Z] ---> 88fc4f746063 [2023-11-07T20:33:21.279Z] Step 13/25 : FROM alpine:3.18 [2023-11-07T20:33:21.279Z] 3.18: Pulling from library/alpine [2023-11-07T20:33:21.279Z] 579b34f0a95b: Pulling fs layer [2023-11-07T20:33:21.279Z] 579b34f0a95b: Verifying Checksum [2023-11-07T20:33:21.279Z] 579b34f0a95b: Download complete [2023-11-07T20:33:21.279Z] 579b34f0a95b: Pull complete [2023-11-07T20:33:21.279Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T20:33:21.279Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T20:33:21.279Z] ---> 3cc203321400 [2023-11-07T20:33:21.279Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T20:33:21.279Z] ---> Running in 90acba280333 [2023-11-07T20:33:21.279Z] Removing intermediate container 90acba280333 [2023-11-07T20:33:21.279Z] ---> 41657c58d32d [2023-11-07T20:33:21.279Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-07T20:33:21.279Z] ---> Running in 586fe5f3f0b4 [2023-11-07T20:33:21.279Z] Removing intermediate container 586fe5f3f0b4 [2023-11-07T20:33:21.279Z] ---> b0695f3b1cc9 [2023-11-07T20:33:21.279Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-07T20:33:21.279Z] ---> Running in 9d8e4a50688e [2023-11-07T20:33:21.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T20:33:21.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T20:33:21.279Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-07T20:33:21.279Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T20:33:21.279Z] OK: 8 MiB in 16 packages [2023-11-07T20:33:22.238Z] Removing intermediate container 9d8e4a50688e [2023-11-07T20:33:22.238Z] ---> a0494b143ec6 [2023-11-07T20:33:22.238Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-07T20:33:23.646Z] ---> a9f7d78c9116 [2023-11-07T20:33:23.646Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-07T20:33:23.912Z] ---> 3a0a3b0cd096 [2023-11-07T20:33:23.913Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-07T20:33:24.497Z] ---> 029c3ca85bf9 [2023-11-07T20:33:24.497Z] Step 20/25 : EXPOSE 59986 [2023-11-07T20:33:24.497Z] ---> Running in 0ced131497d4 [2023-11-07T20:33:24.772Z] Removing intermediate container 0ced131497d4 [2023-11-07T20:33:24.772Z] ---> 336697bd14bc [2023-11-07T20:33:24.772Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-07T20:33:24.772Z] ---> Running in bf0874e51a05 [2023-11-07T20:33:25.038Z] Removing intermediate container bf0874e51a05 [2023-11-07T20:33:25.038Z] ---> d8294d623e56 [2023-11-07T20:33:25.038Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-07T20:33:25.308Z] ---> Running in a890344511b8 [2023-11-07T20:33:25.574Z] Removing intermediate container a890344511b8 [2023-11-07T20:33:25.574Z] ---> d4509fb6cf0f [2023-11-07T20:33:25.574Z] Step 23/25 : LABEL arch=arm64 [2023-11-07T20:33:25.574Z] ---> Running in 8e814c38f3ef [2023-11-07T20:33:25.842Z] Removing intermediate container 8e814c38f3ef [2023-11-07T20:33:25.842Z] ---> 9a8802c29eaf [2023-11-07T20:33:25.842Z] Step 24/25 : LABEL git_sha=480d201ecada78224200395c5e7a3e4b956850b6 [2023-11-07T20:33:25.842Z] ---> Running in da4a7e17a9cf [2023-11-07T20:33:26.114Z] Removing intermediate container da4a7e17a9cf [2023-11-07T20:33:26.114Z] ---> 47cbd9c090c1 [2023-11-07T20:33:26.114Z] Step 25/25 : LABEL version=0.0.0 [2023-11-07T20:33:26.383Z] ---> Running in 1319d6564ef1 [2023-11-07T20:33:26.649Z] Removing intermediate container 1319d6564ef1 [2023-11-07T20:33:26.649Z] ---> 4ce8180c8892 [2023-11-07T20:33:26.649Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T20:33:26.649Z] Successfully built 4ce8180c8892 [2023-11-07T20:33:26.649Z] 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-11-07T20:33:27.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T20:33:27.522Z] [2023-11-07T20:33:27.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:33:27.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T20:33:27.928Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-07T20:33:27.928Z] 8998bd30e6a1: Pulling fs layer [2023-11-07T20:33:27.928Z] 04944245beec: Pulling fs layer [2023-11-07T20:33:27.928Z] 699f458cf7ca: Pulling fs layer [2023-11-07T20:33:27.928Z] 765212b225bb: Pulling fs layer [2023-11-07T20:33:27.928Z] f23df028b6ca: Pulling fs layer [2023-11-07T20:33:27.928Z] d65c8cfc05b1: Pulling fs layer [2023-11-07T20:33:27.928Z] 2437ff75d9bd: Pulling fs layer [2023-11-07T20:33:27.928Z] 765212b225bb: Waiting [2023-11-07T20:33:27.928Z] f23df028b6ca: Waiting [2023-11-07T20:33:27.928Z] d65c8cfc05b1: Waiting [2023-11-07T20:33:28.196Z] 04944245beec: Verifying Checksum [2023-11-07T20:33:28.196Z] 04944245beec: Download complete [2023-11-07T20:33:28.196Z] 765212b225bb: Verifying Checksum [2023-11-07T20:33:28.196Z] 765212b225bb: Download complete [2023-11-07T20:33:28.196Z] f23df028b6ca: Verifying Checksum [2023-11-07T20:33:28.196Z] f23df028b6ca: Download complete [2023-11-07T20:33:28.196Z] d65c8cfc05b1: Verifying Checksum [2023-11-07T20:33:28.196Z] d65c8cfc05b1: Download complete [2023-11-07T20:33:28.196Z] 699f458cf7ca: Download complete [2023-11-07T20:33:28.782Z] 8998bd30e6a1: Verifying Checksum [2023-11-07T20:33:28.782Z] 8998bd30e6a1: Download complete [2023-11-07T20:33:31.372Z] 2437ff75d9bd: Verifying Checksum [2023-11-07T20:33:31.372Z] 2437ff75d9bd: Download complete [2023-11-07T20:33:34.814Z] 8998bd30e6a1: Pull complete [2023-11-07T20:33:35.410Z] 04944245beec: Pull complete [2023-11-07T20:33:36.826Z] 699f458cf7ca: Pull complete [2023-11-07T20:33:37.094Z] 765212b225bb: Pull complete [2023-11-07T20:33:38.065Z] f23df028b6ca: Pull complete [2023-11-07T20:33:38.333Z] d65c8cfc05b1: Pull complete [2023-11-07T20:33:56.534Z] 2437ff75d9bd: Pull complete [2023-11-07T20:33:56.534Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-07T20:33:56.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T20:33:56.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:33:56.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-16887 does not seem to be running inside a container [2023-11-07T20:33:56.902Z] $ 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-11-07T20:33:59.431Z] $ docker top 0722aaee94e869a4ebb3c7d73c7a1ae59a5698c926a135dbabee9c36feb9bac4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:00.347Z] ---> job-cost.sh [2023-11-07T20:34:00.347Z] lf-activate-venv: SKIPPING [2023-11-07T20:34:00.347Z] INFO: No Stack... [2023-11-07T20:34:00.613Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-07T20:34:01.576Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T20:34:02.237Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-11-07T20:34:02.237Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T20:34:02.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] [2023-11-07T20:34:02.329Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] did not exist. Created. [2023-11-07T20:34:02.329Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T20:34:02.746Z] /w/workspace/device-rest-go/1@tmp/durable-6746c7c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-07T20:34:03.095Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-07T20:34:03.393Z] Warning: overwriting stash ‘stack-cost’ [2023-11-07T20:34:03.434Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T20:34:03.451Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T20:34:03.527Z] $ docker stop --time=1 0722aaee94e869a4ebb3c7d73c7a1ae59a5698c926a135dbabee9c36feb9bac4 [2023-11-07T20:34:05.061Z] $ docker rm -f --volumes 0722aaee94e869a4ebb3c7d73c7a1ae59a5698c926a135dbabee9c36feb9bac4 [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-11-07T20:34:06.135Z] provisioning config files... [2023-11-07T20:34:06.142Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-362@tmp/config2503652647812530163tmp [Pipeline] { [Pipeline] sh [2023-11-07T20:34:06.478Z] + set +x [2023-11-07T20:34:06.478Z] + curl -s https://codecov.io/bash [2023-11-07T20:34:06.478Z] + bash -s -- [2023-11-07T20:34:06.478Z] [2023-11-07T20:34:06.478Z] _____ _ [2023-11-07T20:34:06.478Z] / ____| | | [2023-11-07T20:34:06.478Z] | | ___ __| | ___ ___ _____ __ [2023-11-07T20:34:06.478Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-07T20:34:06.478Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-07T20:34:06.478Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-07T20:34:06.478Z] Bash-1.0.6 [2023-11-07T20:34:06.478Z] [2023-11-07T20:34:06.478Z] [2023-11-07T20:34:06.478Z] ==> git version 2.25.1 found [2023-11-07T20:34:06.478Z] ==> 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-11-07T20:34:06.478Z] Release-Date: 2020-01-08 [2023-11-07T20:34:06.478Z] 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-11-07T20:34:06.478Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-07T20:34:06.478Z] ==> Jenkins CI detected. [2023-11-07T20:34:06.478Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-362 [2023-11-07T20:34:06.478Z] project root: . [2023-11-07T20:34:06.478Z] --> token set from env [2023-11-07T20:34:06.478Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-07T20:34:06.478Z] ==> Running gcov in . (disable via -X gcov) [2023-11-07T20:34:06.478Z] ==> Python coveragepy not found [2023-11-07T20:34:06.478Z] ==> Searching for coverage reports in: [2023-11-07T20:34:06.478Z] + . [2023-11-07T20:34:06.478Z] -> Found 1 reports [2023-11-07T20:34:06.478Z] ==> Detecting git/mercurial file structure [2023-11-07T20:34:06.478Z] ==> Reading reports [2023-11-07T20:34:06.478Z] + ./coverage.out bytes=14499 [2023-11-07T20:34:06.478Z] ==> Appending adjustments [2023-11-07T20:34:06.478Z] https://docs.codecov.io/docs/fixing-reports [2023-11-07T20:34:06.738Z] + Found adjustments [2023-11-07T20:34:06.738Z] ==> Gzipping contents [2023-11-07T20:34:06.738Z] 4.0K /tmp/codecov.GVITpj.gz [2023-11-07T20:34:06.738Z] ==> Uploading reports [2023-11-07T20:34:06.738Z] url: https://codecov.io [2023-11-07T20:34:06.738Z] query: branch=PR-362&commit=480d201ecada78224200395c5e7a3e4b956850b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=362&job=&cmd_args= [2023-11-07T20:34:06.738Z] -> Pinging Codecov [2023-11-07T20:34:06.738Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-362&commit=480d201ecada78224200395c5e7a3e4b956850b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=362&job=&cmd_args= [2023-11-07T20:34:06.738Z] -> Uploading to [2023-11-07T20:34:06.738Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-07/4E5D53B4F1F92C436F7061BF334D961C/480d201ecada78224200395c5e7a3e4b956850b6/954cc589-7894-42c2-9250-effba3ec7de9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T203406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=476641ff47ca375996421bc73c7349bfcc39e410a93c65676c70071317c485ea [2023-11-07T20:34:06.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T20:34:06.738Z] Dload Upload Total Spent Left Speed [2023-11-07T20:34:06.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8692 --:--:-- --:--:-- --:--:-- 8692 [2023-11-07T20:34:06.997Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/480d201ecada78224200395c5e7a3e4b956850b6 [Pipeline] } [2023-11-07T20:34:07.028Z] 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-11-07T20:34:08.806Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-362/archives ] [2023-11-07T20:34:08.806Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-362/archives [2023-11-07T20:34:08.806Z] total 16 [2023-11-07T20:34:08.806Z] drwxr-xr-x 3 root root 4096 Nov 7 20:24 . [2023-11-07T20:34:08.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:24 .. [2023-11-07T20:34:08.806Z] drwxr-xr-x 2 root root 4096 Nov 7 20:24 cost [2023-11-07T20:34:08.806Z] -rw-r--r-- 1 root root 86 Nov 7 20:24 cost.csv [2023-11-07T20:34:08.806Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-362/archives [2023-11-07T20:34:08.806Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-362/archives [2023-11-07T20:34:08.806Z] total 16 [2023-11-07T20:34:08.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:24 . [2023-11-07T20:34:08.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:24 .. [2023-11-07T20:34:08.806Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 20:24 cost [2023-11-07T20:34:08.806Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 20:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:09.133Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:10.123Z] ---> package-listing.sh [2023-11-07T20:34:10.123Z] ++ facter osfamily [2023-11-07T20:34:10.123Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-07T20:34:10.383Z] + OS_FAMILY=debian [2023-11-07T20:34:10.383Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-362 [2023-11-07T20:34:10.383Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-07T20:34:10.383Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-07T20:34:10.383Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-07T20:34:10.383Z] + PACKAGES=/tmp/packages_start.txt [2023-11-07T20:34:10.383Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-362 ']' [2023-11-07T20:34:10.383Z] + PACKAGES=/tmp/packages_end.txt [2023-11-07T20:34:10.383Z] + case "${OS_FAMILY}" in [2023-11-07T20:34:10.383Z] + dpkg -l [2023-11-07T20:34:10.383Z] + grep '^ii' [2023-11-07T20:34:10.383Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-07T20:34:10.383Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-07T20:34:10.383Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-07T20:34:10.383Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-362 ']' [2023-11-07T20:34:10.383Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-362/archives/ [2023-11-07T20:34:10.383Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-362/archives/ [Pipeline] echo [2023-11-07T20:34:10.421Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-07T20:34:10.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T20:34:11.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T20:34:11.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T20:34:11.506Z] prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container [2023-11-07T20:34:11.522Z] $ 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-362/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-362 -v /w/workspace/gexfoundry_device-rest-go_PR-362:/w/workspace/gexfoundry_device-rest-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-362@tmp:/w/workspace/gexfoundry_device-rest-go_PR-362@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-11-07T20:34:11.746Z] $ docker top a2060a99f56236ba0b70553021a5c7c05e222f4f379a4fad7022a799c0261cf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T20:34:12.166Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-07T20:34:12.481Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-07T20:34:12.795Z] + ls /var/log/sa-host [2023-11-07T20:34:12.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T20:34:12.973Z] provisioning config files... [2023-11-07T20:34:12.984Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-362@tmp/config1357478592461725655tmp [Pipeline] { [Pipeline] echo [2023-11-07T20:34:13.045Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:13.360Z] ---> create-netrc.sh [Pipeline] } [2023-11-07T20:34:13.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:13.801Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-07T20:34:13.836Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:14.148Z] ---> sudo-logs.sh [2023-11-07T20:34:14.148Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-07T20:34:14.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:14.553Z] ---> job-cost.sh [2023-11-07T20:34:14.553Z] lf-activate-venv: SKIPPING [2023-11-07T20:34:14.553Z] DEBUG: total: 0.2199999988079071 [2023-11-07T20:34:14.553Z] INFO: Retrieving Stack Cost... [2023-11-07T20:34:15.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T20:34:15.386Z] INFO: Archiving Costs [Pipeline] echo [2023-11-07T20:34:15.432Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T20:34:15.756Z] ---> logs-deploy.sh [2023-11-07T20:34:15.756Z] lf-activate-venv: SKIPPING [2023-11-07T20:34:15.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-362/1 [2023-11-07T20:34:15.756Z] INFO: archiving workspace using pattern(s): [2023-11-07T20:34:16.695Z] Archives upload complete. [2023-11-07T20:34:16.695Z] INFO: archiving logs to Nexus