Pull request #369 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3bce0aca3c4560f98de1f371ba00fbc417993eaf+990d379436bad360529865c6b1e601239e616fa1 (f0ef18a21b84b99b45749b87a772566e0b84a340) 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-ssh11955602615427879052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh5502951090397869393.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-369/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-369/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5168983936838175959.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-369/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5703304334367287734.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh13953236278453303255.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-369/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-369/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9211912573147436844.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-2325 in /w/workspace/gexfoundry_device-rest-go_PR-369 [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-369 # 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 Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 3bce0aca3c4560f98de1f371ba00fbc417993eaf Merge succeeded, producing 3bce0aca3c4560f98de1f371ba00fbc417993eaf Checking out Revision 3bce0aca3c4560f98de1f371ba00fbc417993eaf (PR-369) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # 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 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T19:07:40.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T19:07:40.619Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T19:07:40.722Z] ========================================================= [2023-11-28T19:07:40.722Z] EdgeX Global Pipelines Version Info [2023-11-28T19:07:40.722Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:07:41.470Z] ------------------- [2023-11-28T19:07:41.470Z] stable info: [2023-11-28T19:07:41.470Z] ------------------- [2023-11-28T19:07:41.470Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T19:07:41.470Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T19:07:41.470Z] Message: update stable to v1.0.258 [2023-11-28T19:07:42.042Z] ------------------- [2023-11-28T19:07:42.042Z] experimental info: [2023-11-28T19:07:42.042Z] ------------------- [2023-11-28T19:07:42.042Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T19:07:42.042Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T19:07:42.042Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T19:07:42.257Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-28T19:07:42.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-28T19:07:42.375Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T19:07:42.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T19:07:42.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T19:07:42.546Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T19:07:42.595Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T19:07:42.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T19:07:42.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T19:07:42.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T19:07:42.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T19:07:42.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-28T19:07:42.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T19:07:43.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T19:07:43.100Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T19:07:43.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T19:07:43.243Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T19:07:43.301Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T19:07:43.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T19:07:43.427Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T19:07:43.494Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T19:07:43.563Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T19:07:43.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T19:07:43.713Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T19:07:43.780Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T19:07:43.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T19:07:43.952Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T19:07:44.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-369 [Pipeline] echo [2023-11-28T19:07:44.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-369 [Pipeline] echo [2023-11-28T19:07:44.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-369 [Pipeline] echo [2023-11-28T19:07:44.240Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo [2023-11-28T19:07:44.317Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bce0ac [Pipeline] echo [2023-11-28T19:07:44.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:07:44.568Z] provisioning config files... [2023-11-28T19:07:44.582Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config11388504758287682440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:07:44.973Z] ---> ****-login.sh [2023-11-28T19:07:44.973Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:07:45.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:45.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:45.232Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:45.232Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:45.232Z] [2023-11-28T19:07:45.232Z] Login Succeeded [2023-11-28T19:07:45.232Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:07:45.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:45.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:45.232Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:45.232Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:45.232Z] [2023-11-28T19:07:45.232Z] Login Succeeded [2023-11-28T19:07:45.232Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:07:45.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:45.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:45.492Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:45.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:45.492Z] [2023-11-28T19:07:45.492Z] Login Succeeded [2023-11-28T19:07:45.492Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:07:45.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:45.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:45.492Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:45.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:45.492Z] [2023-11-28T19:07:45.492Z] Login Succeeded [2023-11-28T19:07:45.492Z] ****.io [2023-11-28T19:07:45.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:45.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:45.752Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:45.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:45.752Z] [2023-11-28T19:07:45.752Z] Login Succeeded [2023-11-28T19:07:45.752Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:07:45.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T19:07:46.572Z] + git rev-list -1 --merges 3bce0aca3c4560f98de1f371ba00fbc417993eaf~1..3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo [2023-11-28T19:07:46.616Z] -----------> git rev-list -1 --merges 3bce0aca3c4560f98de1f371ba00fbc417993eaf~1..3bce0aca3c4560f98de1f371ba00fbc417993eaf 3bce0aca3c4560f98de1f371ba00fbc417993eaf [false] [Pipeline] sh [2023-11-28T19:07:46.947Z] + git log --format=format:%s -1 3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo [2023-11-28T19:07:46.984Z] ========================================================= [2023-11-28T19:07:46.984Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T19:07:46.984Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:07:47.492Z] + git log --format=format:%s -1 3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo [2023-11-28T19:07:47.527Z] [semverPrep] GIT_COMMIT: 3bce0aca3c4560f98de1f371ba00fbc417993eaf, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T19:07:47.579Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T19:07:48.009Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T19:07:48.009Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T19:07:48.009Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T19:07:48.009Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T19:07:48.009Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T19:07:48.009Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T19:07:48.009Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:07:48.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:07:48.527Z] [2023-11-28T19:07:48.527Z] 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-28T19:07:48.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:07:48.925Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T19:07:48.925Z] b85a868b505f: Pulling fs layer [2023-11-28T19:07:48.925Z] e2be974225ed: Pulling fs layer [2023-11-28T19:07:48.925Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T19:07:48.925Z] 988bab9f4d93: Pulling fs layer [2023-11-28T19:07:48.925Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T19:07:48.925Z] eaf3925da568: Pulling fs layer [2023-11-28T19:07:48.925Z] bab4dde63d76: Pulling fs layer [2023-11-28T19:07:48.925Z] bde34c3a00c8: Pulling fs layer [2023-11-28T19:07:48.925Z] b352a97aabf1: Pulling fs layer [2023-11-28T19:07:48.925Z] 4872d77fe225: Pulling fs layer [2023-11-28T19:07:48.925Z] 5851b861e8e6: Pulling fs layer [2023-11-28T19:07:48.925Z] 988bab9f4d93: Waiting [2023-11-28T19:07:48.925Z] 1469e6f7b9e6: Waiting [2023-11-28T19:07:48.925Z] eaf3925da568: Waiting [2023-11-28T19:07:48.925Z] bab4dde63d76: Waiting [2023-11-28T19:07:48.925Z] 4872d77fe225: Waiting [2023-11-28T19:07:48.925Z] bde34c3a00c8: Waiting [2023-11-28T19:07:48.925Z] b352a97aabf1: Waiting [2023-11-28T19:07:48.925Z] 5851b861e8e6: Waiting [2023-11-28T19:07:48.925Z] e2be974225ed: Verifying Checksum [2023-11-28T19:07:48.925Z] e2be974225ed: Download complete [2023-11-28T19:07:48.925Z] 988bab9f4d93: Verifying Checksum [2023-11-28T19:07:48.925Z] 988bab9f4d93: Download complete [2023-11-28T19:07:48.925Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T19:07:48.925Z] 1469e6f7b9e6: Download complete [2023-11-28T19:07:49.186Z] eaf3925da568: Verifying Checksum [2023-11-28T19:07:49.186Z] eaf3925da568: Download complete [2023-11-28T19:07:49.186Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T19:07:49.186Z] 339a4e72a1f5: Download complete [2023-11-28T19:07:49.186Z] bde34c3a00c8: Download complete [2023-11-28T19:07:49.186Z] b352a97aabf1: Verifying Checksum [2023-11-28T19:07:49.186Z] b352a97aabf1: Download complete [2023-11-28T19:07:49.187Z] 4872d77fe225: Download complete [2023-11-28T19:07:49.187Z] 5851b861e8e6: Verifying Checksum [2023-11-28T19:07:49.187Z] 5851b861e8e6: Download complete [2023-11-28T19:07:49.187Z] b85a868b505f: Verifying Checksum [2023-11-28T19:07:49.187Z] b85a868b505f: Download complete [2023-11-28T19:07:49.445Z] bab4dde63d76: Verifying Checksum [2023-11-28T19:07:49.445Z] bab4dde63d76: Download complete [2023-11-28T19:07:50.382Z] b85a868b505f: Pull complete [2023-11-28T19:07:50.642Z] e2be974225ed: Pull complete [2023-11-28T19:07:50.904Z] 339a4e72a1f5: Pull complete [2023-11-28T19:07:51.162Z] 988bab9f4d93: Pull complete [2023-11-28T19:07:51.421Z] 1469e6f7b9e6: Pull complete [2023-11-28T19:07:51.421Z] eaf3925da568: Pull complete [2023-11-28T19:07:53.492Z] bab4dde63d76: Pull complete [2023-11-28T19:07:53.492Z] bde34c3a00c8: Pull complete [2023-11-28T19:07:53.492Z] b352a97aabf1: Pull complete [2023-11-28T19:07:53.492Z] 4872d77fe225: Pull complete [2023-11-28T19:07:53.492Z] 5851b861e8e6: Pull complete [2023-11-28T19:07:53.492Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T19:07:53.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:07:53.492Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:07:54.065Z] prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container [2023-11-28T19:07:52.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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-devops/py-git-semver:0.1.4 cat [2023-11-28T19:07:56.403Z] $ docker top d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d -eo pid,comm [2023-11-28T19:07:57.598Z] 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-28T19:07:57.598Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T19:07:57.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T19:07:57.815Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T19:07:57.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T19:07:56.804Z] $ docker exec d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent [2023-11-28T19:07:58.038Z] SSH_AUTH_SOCK=/tmp/ssh-AanQZ2Vxs3RV/agent.32 [2023-11-28T19:07:58.038Z] SSH_AGENT_PID=38 [2023-11-28T19:07:58.046Z] Running ssh-add (command line suppressed) [2023-11-28T19:07:57.013Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9316571953423571182.key (/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9316571953423571182.key) [2023-11-28T19:07:58.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T19:07:58.517Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T19:07:57.407Z] $ docker exec --env ******** --env ******** d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent -k [2023-11-28T19:07:57.510Z] unset SSH_AUTH_SOCK; [2023-11-28T19:07:57.511Z] unset SSH_AGENT_PID; [2023-11-28T19:07:57.511Z] echo Agent pid 38 killed; [2023-11-28T19:07:58.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T19:07:58.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T19:07:58.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T19:07:59.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T19:07:57.908Z] $ docker exec d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent [2023-11-28T19:07:59.146Z] SSH_AUTH_SOCK=/tmp/ssh-dH3c6wLZVPKQ/agent.71 [2023-11-28T19:07:59.146Z] SSH_AGENT_PID=77 [2023-11-28T19:07:59.150Z] Running ssh-add (command line suppressed) [2023-11-28T19:07:58.110Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9808708386180036453.key (/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9808708386180036453.key) [2023-11-28T19:07:59.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T19:07:59.610Z] + git semver init [2023-11-28T19:07:59.869Z] 2023-11-28 19:07:58,666 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T19:07:59.869Z] 2023-11-28 19:07:58,667 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-369/.semver [2023-11-28T19:07:59.869Z] 2023-11-28 19:07:58,668 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-369/.semver [2023-11-28T19:07:59.869Z] 2023-11-28 19:07:58,668 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-369/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-369, universal_newlines=False, shell=None, istream=None) [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,817 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-369/.git/info/exclude [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,818 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-369/.semver/PR-369 with force:False [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,818 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-369/.semver/PR-369 [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,822 [execute] INFO git cat-file --batch-check [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-369/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,829 [execute] INFO git cat-file --batch [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-369/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T19:08:02.432Z] 2023-11-28 19:08:00,834 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-369/.semver/PR-369 [2023-11-28T19:08:02.432Z] 0.0.0 [Pipeline] } [2023-11-28T19:08:01.323Z] $ docker exec --env ******** --env ******** d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent -k [2023-11-28T19:08:01.415Z] unset SSH_AUTH_SOCK; [2023-11-28T19:08:01.416Z] unset SSH_AGENT_PID; [2023-11-28T19:08:01.416Z] echo Agent pid 77 killed; [2023-11-28T19:08:02.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T19:08:03.104Z] + git semver [Pipeline] } [2023-11-28T19:08:03.390Z] $ docker stop --time=1 d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d [2023-11-28T19:08:04.668Z] $ docker rm -f --volumes d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:08:05.113Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T19:08:05.431Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T19:08:05.449Z] [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-28T19:08:06.386Z] provisioning config files... [2023-11-28T19:08:06.397Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config360838384604237127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:08:06.799Z] ---> ****-login.sh [2023-11-28T19:08:06.800Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:08:06.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:08:06.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:08:06.800Z] Configure a credential helper to remove this warning. See [2023-11-28T19:08:06.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:08:06.800Z] [2023-11-28T19:08:06.800Z] Login Succeeded [2023-11-28T19:08:06.800Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:08:06.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:08:06.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:08:06.800Z] Configure a credential helper to remove this warning. See [2023-11-28T19:08:06.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:08:06.800Z] [2023-11-28T19:08:06.800Z] Login Succeeded [2023-11-28T19:08:06.800Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:08:07.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:08:07.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:08:07.061Z] Configure a credential helper to remove this warning. See [2023-11-28T19:08:07.062Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:08:07.062Z] [2023-11-28T19:08:07.062Z] Login Succeeded [2023-11-28T19:08:07.062Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:08:07.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:08:07.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:08:07.062Z] Configure a credential helper to remove this warning. See [2023-11-28T19:08:07.062Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:08:07.062Z] [2023-11-28T19:08:07.062Z] Login Succeeded [2023-11-28T19:08:07.062Z] ****.io [2023-11-28T19:08:07.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:08:07.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:08:07.321Z] Configure a credential helper to remove this warning. See [2023-11-28T19:08:07.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:08:07.321Z] [2023-11-28T19:08:07.321Z] Login Succeeded [2023-11-28T19:08:07.321Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:08:07.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:08:07.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:08:07.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:08:07.799Z] ========================================================= [2023-11-28T19:08:07.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T19:08:07.799Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:08:08.402Z] + 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-28T19:08:08.402Z] Sending build context to Docker daemon 16.35MB [2023-11-28T19:08:08.402Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:08:08.402Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:08:08.402Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T19:08:08.402Z] 7264a8db6415: Pulling fs layer [2023-11-28T19:08:08.402Z] c4d48a809fc2: Pulling fs layer [2023-11-28T19:08:08.402Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T19:08:08.402Z] ad3a456e5733: Pulling fs layer [2023-11-28T19:08:08.402Z] 69c7f0334f64: Pulling fs layer [2023-11-28T19:08:08.402Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T19:08:08.402Z] ce7588e14bc9: Pulling fs layer [2023-11-28T19:08:08.402Z] b5e4710f87ac: Pulling fs layer [2023-11-28T19:08:08.402Z] ad3a456e5733: Waiting [2023-11-28T19:08:08.402Z] 69c7f0334f64: Waiting [2023-11-28T19:08:08.402Z] 1f1c1a5573a3: Waiting [2023-11-28T19:08:08.402Z] ce7588e14bc9: Waiting [2023-11-28T19:08:08.402Z] b5e4710f87ac: Waiting [2023-11-28T19:08:08.402Z] c4d48a809fc2: Download complete [2023-11-28T19:08:08.402Z] ad3a456e5733: Verifying Checksum [2023-11-28T19:08:08.402Z] ad3a456e5733: Download complete [2023-11-28T19:08:08.680Z] 69c7f0334f64: Verifying Checksum [2023-11-28T19:08:08.680Z] 69c7f0334f64: Download complete [2023-11-28T19:08:08.680Z] 7264a8db6415: Verifying Checksum [2023-11-28T19:08:08.680Z] 7264a8db6415: Download complete [2023-11-28T19:08:08.680Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T19:08:08.680Z] 1f1c1a5573a3: Download complete [2023-11-28T19:08:08.680Z] 7264a8db6415: Pull complete [2023-11-28T19:08:08.939Z] c4d48a809fc2: Pull complete [2023-11-28T19:08:08.939Z] b5e4710f87ac: Verifying Checksum [2023-11-28T19:08:08.939Z] b5e4710f87ac: Download complete [2023-11-28T19:08:08.939Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T19:08:08.939Z] 4f1c88b9dad5: Download complete [2023-11-28T19:08:09.509Z] ce7588e14bc9: Verifying Checksum [2023-11-28T19:08:09.509Z] ce7588e14bc9: Download complete [2023-11-28T19:08:12.805Z] 4f1c88b9dad5: Pull complete [2023-11-28T19:08:12.805Z] ad3a456e5733: Pull complete [2023-11-28T19:08:12.805Z] 69c7f0334f64: Pull complete [2023-11-28T19:08:12.805Z] 1f1c1a5573a3: Pull complete [2023-11-28T19:08:14.711Z] ce7588e14bc9: Pull complete [2023-11-28T19:08:15.296Z] b5e4710f87ac: Pull complete [2023-11-28T19:08:15.296Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T19:08:15.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T19:08:15.296Z] ---> 88b5674ff536 [2023-11-28T19:08:15.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:08:21.140Z] Still waiting to schedule task [2023-11-28T19:08:21.141Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T19:08:21.937Z] ---> Running in cdb64b04ed96 [2023-11-28T19:08:21.937Z] Removing intermediate container cdb64b04ed96 [2023-11-28T19:08:21.937Z] ---> 0b02b325a3e9 [2023-11-28T19:08:21.937Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:08:21.937Z] ---> Running in 42610943011e [2023-11-28T19:08:21.937Z] Removing intermediate container 42610943011e [2023-11-28T19:08:21.937Z] ---> efa31b4d5b6a [2023-11-28T19:08:21.937Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:08:21.937Z] ---> Running in b6f14f05b2ad [2023-11-28T19:08:21.937Z] Removing intermediate container b6f14f05b2ad [2023-11-28T19:08:21.937Z] ---> 99990e60fbc9 [2023-11-28T19:08:21.937Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:08:21.937Z] ---> Running in 0b8e05bf599d [2023-11-28T19:08:21.937Z] Removing intermediate container 0b8e05bf599d [2023-11-28T19:08:21.937Z] ---> f844a8860150 [2023-11-28T19:08:21.937Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:08:21.937Z] ---> Running in 803ca39f3af5 [2023-11-28T19:08:21.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:08:21.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:08:22.196Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:08:22.196Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T19:08:22.196Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:08:22.196Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:08:22.196Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:08:22.196Z] OK: 268 MiB in 56 packages [2023-11-28T19:08:22.764Z] Removing intermediate container 803ca39f3af5 [2023-11-28T19:08:22.764Z] ---> 10d6ef9b4dc8 [2023-11-28T19:08:22.764Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-28T19:08:22.764Z] ---> Running in 9a028c2c1acc [2023-11-28T19:08:22.764Z] Removing intermediate container 9a028c2c1acc [2023-11-28T19:08:22.764Z] ---> f9647abed6a9 [2023-11-28T19:08:22.764Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T19:08:22.764Z] ---> 053ae5a27f92 [2023-11-28T19:08:22.764Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:08:22.764Z] ---> Running in b35348c6a576 [2023-11-28T19:09:01.567Z] Removing intermediate container b35348c6a576 [2023-11-28T19:09:01.567Z] ---> 49f4b692d050 [2023-11-28T19:09:01.567Z] Step 11/12 : COPY . . [2023-11-28T19:09:01.567Z] ---> 6e66e1dead35 [2023-11-28T19:09:01.567Z] Step 12/12 : RUN $MAKE [2023-11-28T19:09:01.567Z] ---> Running in 2842c1ce313e [2023-11-28T19:09:01.567Z] noop [2023-11-28T19:09:01.824Z] Removing intermediate container 2842c1ce313e [2023-11-28T19:09:01.824Z] ---> 8a77d3acf3ea [2023-11-28T19:09:01.824Z] Successfully built 8a77d3acf3ea [2023-11-28T19:09:01.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:09:02.371Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T19:09:02.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:09:02.587Z] prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container [2023-11-28T19:09:02.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T19:09:02.979Z] $ docker top 5e8089129775b1db415ef1e0a64a128f5e000f8df2f14099b7408dc15ff5b8f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:09:03.455Z] + go version [2023-11-28T19:09:03.455Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T19:09:03.494Z] $ docker stop --time=1 5e8089129775b1db415ef1e0a64a128f5e000f8df2f14099b7408dc15ff5b8f8 [2023-11-28T19:09:05.048Z] $ docker rm -f --volumes 5e8089129775b1db415ef1e0a64a128f5e000f8df2f14099b7408dc15ff5b8f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:09:06.098Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T19:09:06.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:09:06.316Z] prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container [2023-11-28T19:09:06.344Z] $ 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-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T19:09:06.680Z] $ docker top a8570edd03fb0dc8a7f6049e5fae8fe04431e1f68874645d30d6f5b28d81b77c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:09:07.179Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-369 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:09:07.664Z] + make test [2023-11-28T19:09:07.665Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T19:09:09.089Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-28T19:09:19.932Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-28T19:09:19.932Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-11-28T19:09:26.362Z] go vet ./... [2023-11-28T19:09:29.645Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:09:29.645Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:09:29.645Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:09:29.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:09:29.754Z] $ docker stop --time=1 a8570edd03fb0dc8a7f6049e5fae8fe04431e1f68874645d30d6f5b28d81b77c [2023-11-28T19:09:32.450Z] $ docker rm -f --volumes a8570edd03fb0dc8a7f6049e5fae8fe04431e1f68874645d30d6f5b28d81b77c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:09:33.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:09:33.156Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T19:09:34.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:09:34.329Z] + ls -al . [2023-11-28T19:09:34.329Z] total 180 [2023-11-28T19:09:34.329Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:09 . [2023-11-28T19:09:34.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:07 .. [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 19:07 .dockerignore [2023-11-28T19:09:34.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:09 .git [2023-11-28T19:09:34.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 .github [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 19:07 .gitignore [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:07 .golangci.yml [2023-11-28T19:09:34.329Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:08 .semver [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 19:07 Attribution.txt [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 19:07 CHANGELOG.md [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 19:07 Dockerfile [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:07 GOVERNANCE.md [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 19:07 Jenkinsfile [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:07 LICENSE [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 19:07 Makefile [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 19:07 OWNERS.md [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 19:07 README.md [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:08 VERSION [2023-11-28T19:09:34.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:07 bin [2023-11-28T19:09:34.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 cmd [2023-11-28T19:09:34.329Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 19:09 coverage.out [2023-11-28T19:09:34.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:07 driver [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 19:07 go.mod [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 19:07 go.sum [2023-11-28T19:09:34.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 openapi [2023-11-28T19:09:34.329Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:09:34.789Z] + 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=3bce0aca3c4560f98de1f371ba00fbc417993eaf --label arch=amd64 --label version=0.0.0 . [2023-11-28T19:09:34.789Z] Sending build context to Docker daemon 16.36MB [2023-11-28T19:09:34.789Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:09:34.789Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T19:09:34.789Z] ---> 8a77d3acf3ea [2023-11-28T19:09:34.789Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:09:35.050Z] ---> Running in 228641e1a5e6 [2023-11-28T19:09:35.050Z] Removing intermediate container 228641e1a5e6 [2023-11-28T19:09:35.050Z] ---> 2d2ac2a8b327 [2023-11-28T19:09:35.050Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:09:35.050Z] ---> Running in 23ee6bd168df [2023-11-28T19:09:35.310Z] Removing intermediate container 23ee6bd168df [2023-11-28T19:09:35.310Z] ---> 5d908847d272 [2023-11-28T19:09:35.310Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:09:35.310Z] ---> Running in a4a7eb89d0f9 [2023-11-28T19:09:35.310Z] Removing intermediate container a4a7eb89d0f9 [2023-11-28T19:09:35.310Z] ---> 3a1329530e6e [2023-11-28T19:09:35.310Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:09:35.310Z] ---> Running in fe85a49e955f [2023-11-28T19:09:35.310Z] Removing intermediate container fe85a49e955f [2023-11-28T19:09:35.310Z] ---> c891e13ba09a [2023-11-28T19:09:35.310Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:09:35.310Z] ---> Running in 40a1868f6282 [2023-11-28T19:09:36.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:09:38.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:09:38.513Z] OK: 268 MiB in 56 packages [2023-11-28T19:09:38.773Z] Removing intermediate container 40a1868f6282 [2023-11-28T19:09:38.773Z] ---> 2c13d5338216 [2023-11-28T19:09:38.773Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-28T19:09:38.773Z] ---> Running in c7d9c8f76d92 [2023-11-28T19:09:38.773Z] Removing intermediate container c7d9c8f76d92 [2023-11-28T19:09:38.773Z] ---> f6bf0767c2db [2023-11-28T19:09:38.773Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T19:09:39.032Z] ---> 1bc10b69d1eb [2023-11-28T19:09:39.032Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:09:39.032Z] ---> Running in 44cde1a18282 [2023-11-28T19:09:39.599Z] Removing intermediate container 44cde1a18282 [2023-11-28T19:09:39.599Z] ---> 347e6c4245d0 [2023-11-28T19:09:39.599Z] Step 11/26 : COPY . . [2023-11-28T19:09:40.170Z] ---> bd2750f87ddc [2023-11-28T19:09:40.170Z] Step 12/26 : RUN $MAKE [2023-11-28T19:09:40.170Z] ---> Running in e60f90220df8 [2023-11-28T19:09:40.429Z] 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.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-28T19:10:02.590Z] Removing intermediate container e60f90220df8 [2023-11-28T19:10:02.590Z] ---> cb8f0022c5b0 [2023-11-28T19:10:02.590Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T19:10:02.590Z] 3.18: Pulling from library/alpine [2023-11-28T19:10:02.590Z] 96526aa774ef: Pulling fs layer [2023-11-28T19:10:02.590Z] 96526aa774ef: Download complete [2023-11-28T19:10:02.590Z] 96526aa774ef: Pull complete [2023-11-28T19:10:02.590Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:10:02.590Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:10:02.590Z] ---> 8ca4688f4f35 [2023-11-28T19:10:02.590Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T19:10:02.590Z] ---> Running in 8f514d546366 [2023-11-28T19:10:02.590Z] Removing intermediate container 8f514d546366 [2023-11-28T19:10:02.590Z] ---> 7446e68ed78c [2023-11-28T19:10:02.590Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-28T19:10:02.590Z] ---> Running in 7bfe06a15037 [2023-11-28T19:10:02.590Z] Removing intermediate container 7bfe06a15037 [2023-11-28T19:10:02.590Z] ---> 0faa3e337485 [2023-11-28T19:10:02.590Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:10:02.590Z] ---> Running in aab7cec2c360 [2023-11-28T19:10:02.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:10:02.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:10:02.590Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:10:02.590Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:10:02.590Z] OK: 7 MiB in 16 packages [2023-11-28T19:10:02.590Z] Removing intermediate container aab7cec2c360 [2023-11-28T19:10:02.590Z] ---> 20d171d42600 [2023-11-28T19:10:02.590Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-28T19:10:02.590Z] ---> Running in f5a6c762bfc7 [2023-11-28T19:10:02.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:10:02.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:10:02.590Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:10:02.590Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:10:02.590Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:10:02.590Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:10:02.590Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:10:02.590Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:10:02.590Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:10:02.590Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:10:02.590Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:10:02.590Z] OK: 7 MiB in 16 packages [2023-11-28T19:10:02.848Z] Removing intermediate container f5a6c762bfc7 [2023-11-28T19:10:02.848Z] ---> a5e9f2b00c4f [2023-11-28T19:10:02.848Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-28T19:10:03.793Z] ---> 50e36598ecf5 [2023-11-28T19:10:03.793Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-28T19:10:03.793Z] ---> ad8a3fd6885c [2023-11-28T19:10:03.793Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-28T19:10:04.054Z] ---> 0f9837736c7c [2023-11-28T19:10:04.054Z] Step 21/26 : EXPOSE 59986 [2023-11-28T19:10:04.054Z] ---> Running in 039f007ec7ea [2023-11-28T19:10:04.054Z] Removing intermediate container 039f007ec7ea [2023-11-28T19:10:04.054Z] ---> ad73e887eb7f [2023-11-28T19:10:04.054Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-28T19:10:04.054Z] ---> Running in 18a853cdb7bb [2023-11-28T19:10:04.054Z] Removing intermediate container 18a853cdb7bb [2023-11-28T19:10:04.054Z] ---> e3f786b37203 [2023-11-28T19:10:04.054Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T19:10:04.054Z] ---> Running in 39347aad14a5 [2023-11-28T19:10:04.313Z] Removing intermediate container 39347aad14a5 [2023-11-28T19:10:04.313Z] ---> 1e9ccc2f3dba [2023-11-28T19:10:04.313Z] Step 24/26 : LABEL arch=amd64 [2023-11-28T19:10:04.313Z] ---> Running in 6df245ca03be [2023-11-28T19:10:04.313Z] Removing intermediate container 6df245ca03be [2023-11-28T19:10:04.313Z] ---> 49233c8aa076 [2023-11-28T19:10:04.313Z] Step 25/26 : LABEL git_sha=3bce0aca3c4560f98de1f371ba00fbc417993eaf [2023-11-28T19:10:04.313Z] ---> Running in d729cef70cd4 [2023-11-28T19:10:04.313Z] Removing intermediate container d729cef70cd4 [2023-11-28T19:10:04.313Z] ---> e991cf36c4a5 [2023-11-28T19:10:04.313Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T19:10:04.572Z] ---> Running in 91cba68e8ff2 [2023-11-28T19:10:04.572Z] Removing intermediate container 91cba68e8ff2 [2023-11-28T19:10:04.572Z] ---> 4615d1f7e7d6 [2023-11-28T19:10:04.572Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:10:04.572Z] Successfully built 4615d1f7e7d6 [2023-11-28T19:10:04.572Z] 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-28T19:10:06.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:10:06.070Z] [2023-11-28T19:10:06.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:10:06.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:10:06.493Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T19:10:06.493Z] 5eb5b503b376: Pulling fs layer [2023-11-28T19:10:06.493Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T19:10:06.493Z] ec43610c2a17: Pulling fs layer [2023-11-28T19:10:06.493Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T19:10:06.493Z] 33b1e0a273af: Pulling fs layer [2023-11-28T19:10:06.493Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T19:10:06.493Z] 2f39f015ded8: Pulling fs layer [2023-11-28T19:10:06.493Z] 3a2ae6a8a46f: Waiting [2023-11-28T19:10:06.493Z] 33b1e0a273af: Waiting [2023-11-28T19:10:06.493Z] 5d3b04190fa2: Waiting [2023-11-28T19:10:06.493Z] 2f39f015ded8: Waiting [2023-11-28T19:10:06.493Z] 5c69ac0246d0: Download complete [2023-11-28T19:10:06.493Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T19:10:06.493Z] 3a2ae6a8a46f: Download complete [2023-11-28T19:10:06.493Z] 33b1e0a273af: Verifying Checksum [2023-11-28T19:10:06.493Z] 33b1e0a273af: Download complete [2023-11-28T19:10:06.493Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T19:10:06.493Z] 5d3b04190fa2: Download complete [2023-11-28T19:10:06.493Z] ec43610c2a17: Verifying Checksum [2023-11-28T19:10:06.493Z] ec43610c2a17: Download complete [2023-11-28T19:10:06.754Z] 5eb5b503b376: Verifying Checksum [2023-11-28T19:10:06.754Z] 5eb5b503b376: Download complete [2023-11-28T19:10:08.126Z] 5eb5b503b376: Pull complete [2023-11-28T19:10:08.126Z] 5c69ac0246d0: Pull complete [2023-11-28T19:10:08.391Z] ec43610c2a17: Pull complete [2023-11-28T19:10:08.391Z] 3a2ae6a8a46f: Pull complete [2023-11-28T19:10:08.652Z] 33b1e0a273af: Pull complete [2023-11-28T19:10:08.912Z] 5d3b04190fa2: Pull complete [2023-11-28T19:10:13.207Z] 2f39f015ded8: Pull complete [2023-11-28T19:10:13.207Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T19:10:13.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:10:13.207Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:10:13.582Z] prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container [2023-11-28T19:10:13.614Z] $ 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-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T19:10:17.280Z] $ docker top 9387e1ab6ef5f127765d220e6e024eb281b3ebd953cd9ca70921f0669dd8293b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:10:17.796Z] ---> job-cost.sh [2023-11-28T19:10:17.797Z] lf-activate-venv: SKIPPING [2023-11-28T19:10:17.797Z] INFO: No Stack... [2023-11-28T19:10:18.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:10:18.624Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:10:19.369Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-369/archives/cost.csv [2023-11-28T19:10:19.369Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:10:19.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [2023-11-28T19:10:19.415Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] did not exist. Created. [2023-11-28T19:10:19.415Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:10:19.880Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T19:10:19.931Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:10:19.997Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:10:20.148Z] $ docker stop --time=1 9387e1ab6ef5f127765d220e6e024eb281b3ebd953cd9ca70921f0669dd8293b [2023-11-28T19:10:21.296Z] $ docker rm -f --volumes 9387e1ab6ef5f127765d220e6e024eb281b3ebd953cd9ca70921f0669dd8293b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T19:57:14.306Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4701 in /w/workspace/gexfoundry_device-rest-go_PR-369 [Pipeline] { [Pipeline] ws [2023-11-28T19:57:14.401Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-28T19:57:17.534Z] The recommended git tool is: git [2023-11-28T19:57:24.072Z] using credential edgex-jenkins-ssh [2023-11-28T19:57:24.097Z] Cloning the remote Git repository [2023-11-28T19:57:24.156Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T19:57:24.347Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-28T19:57:24.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T19:57:24.552Z] > git --version # timeout=10 [2023-11-28T19:57:24.597Z] > git --version # 'git version 2.25.1' [2023-11-28T19:57:24.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:57:24.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:57:27.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-28T19:57:27.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:57:28.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-28T19:57:28.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T19:57:28.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:57:28.935Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T19:57:29.634Z] Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 3bce0aca3c4560f98de1f371ba00fbc417993eaf [2023-11-28T19:57:29.961Z] Merge succeeded, producing 3bce0aca3c4560f98de1f371ba00fbc417993eaf [2023-11-28T19:57:29.962Z] Checking out Revision 3bce0aca3c4560f98de1f371ba00fbc417993eaf (PR-369) [2023-11-28T19:57:29.658Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:57:29.740Z] > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # timeout=10 [2023-11-28T19:57:29.828Z] > git remote # timeout=10 [2023-11-28T19:57:29.855Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T19:57:29.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:57:29.898Z] > git merge 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 [2023-11-28T19:57:29.934Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T19:57:29.971Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:57:29.987Z] > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # timeout=10 [2023-11-28T19:57:33.618Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T19:57:33.680Z] > git --version # timeout=10 [2023-11-28T19:57:33.690Z] > git --version # 'git version 2.25.1' [2023-11-28T19:57:33.708Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:57:35.062Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T19:57:35.062Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:57:35.062Z] Dload Upload Total Spent Left Speed [2023-11-28T19:57:35.062Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 174k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh [2023-11-28T19:57:35.441Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T19:57:35.794Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T19:57:35.794Z] + sudo tee /etc/docker/daemon.new [2023-11-28T19:57:35.794Z] { [2023-11-28T19:57:35.794Z] "registry-mirrors": [ [2023-11-28T19:57:35.794Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T19:57:35.794Z] ], [2023-11-28T19:57:35.794Z] "bip": "10.250.0.254/24", [2023-11-28T19:57:35.794Z] "hosts": [ [2023-11-28T19:57:35.794Z] "tcp://0.0.0.0:5555", [2023-11-28T19:57:35.794Z] "unix:///var/run/docker.sock" [2023-11-28T19:57:35.794Z] ], [2023-11-28T19:57:35.794Z] "mtu": 1458, [2023-11-28T19:57:35.794Z] "selinux-enabled": true, [2023-11-28T19:57:35.794Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T19:57:35.794Z] } [Pipeline] sh [2023-11-28T19:57:36.149Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T19:57:36.514Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:57:54.857Z] provisioning config files... [2023-11-28T19:57:54.891Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8014046349883994924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:57:55.451Z] ---> ****-login.sh [2023-11-28T19:57:55.451Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:57:56.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:57:56.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:57:56.047Z] Configure a credential helper to remove this warning. See [2023-11-28T19:57:56.047Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:57:56.047Z] [2023-11-28T19:57:56.047Z] Login Succeeded [2023-11-28T19:57:56.047Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:57:56.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:57:56.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:57:56.589Z] Configure a credential helper to remove this warning. See [2023-11-28T19:57:56.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:57:56.589Z] [2023-11-28T19:57:56.589Z] Login Succeeded [2023-11-28T19:57:56.589Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:57:56.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:57:56.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:57:56.862Z] Configure a credential helper to remove this warning. See [2023-11-28T19:57:56.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:57:56.862Z] [2023-11-28T19:57:56.862Z] Login Succeeded [2023-11-28T19:57:56.862Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:57:57.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:57:57.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:57:57.420Z] Configure a credential helper to remove this warning. See [2023-11-28T19:57:57.420Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:57:57.420Z] [2023-11-28T19:57:57.420Z] Login Succeeded [2023-11-28T19:57:57.420Z] ****.io [2023-11-28T19:57:57.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:57:57.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:57:57.968Z] Configure a credential helper to remove this warning. See [2023-11-28T19:57:57.968Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:57:57.968Z] [2023-11-28T19:57:57.968Z] Login Succeeded [2023-11-28T19:57:57.968Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:57:57.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:57:58.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:57:58.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:57:58.923Z] ========================================================= [2023-11-28T19:57:58.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T19:57:58.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:57:59.556Z] + 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-28T19:57:59.556Z] Sending build context to Docker daemon 127.5kB [2023-11-28T19:57:59.828Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:57:59.828Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:58:00.102Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T19:58:00.102Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T19:58:00.102Z] 5d54e960e981: Pulling fs layer [2023-11-28T19:58:00.102Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T19:58:00.102Z] f0e02332f6b5: Pulling fs layer [2023-11-28T19:58:00.102Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T19:58:00.102Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T19:58:00.102Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T19:58:00.102Z] 872ee5b61b7b: Waiting [2023-11-28T19:58:00.102Z] 94ae7d8d031c: Waiting [2023-11-28T19:58:00.102Z] 0c6a40ed1a82: Waiting [2023-11-28T19:58:00.102Z] f0e02332f6b5: Waiting [2023-11-28T19:58:00.102Z] 5d54e960e981: Verifying Checksum [2023-11-28T19:58:00.102Z] 5d54e960e981: Download complete [2023-11-28T19:58:00.102Z] f0e02332f6b5: Verifying Checksum [2023-11-28T19:58:00.102Z] f0e02332f6b5: Download complete [2023-11-28T19:58:00.102Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T19:58:00.102Z] 872ee5b61b7b: Download complete [2023-11-28T19:58:00.102Z] 9fda8d8052c6: Download complete [2023-11-28T19:58:01.097Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T19:58:01.097Z] 94ae7d8d031c: Download complete [2023-11-28T19:58:01.770Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T19:58:01.770Z] c4a7e357bf2a: Download complete [2023-11-28T19:58:02.811Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T19:58:02.811Z] 0c6a40ed1a82: Download complete [2023-11-28T19:58:06.178Z] 9fda8d8052c6: Pull complete [2023-11-28T19:58:06.178Z] 5d54e960e981: Pull complete [2023-11-28T19:58:24.439Z] c4a7e357bf2a: Pull complete [2023-11-28T19:58:24.439Z] f0e02332f6b5: Pull complete [2023-11-28T19:58:24.439Z] 872ee5b61b7b: Pull complete [2023-11-28T19:58:29.832Z] 0c6a40ed1a82: Pull complete [2023-11-28T19:58:31.788Z] 94ae7d8d031c: Pull complete [2023-11-28T19:58:31.788Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T19:58:31.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T19:58:31.788Z] ---> 86de565de09d [2023-11-28T19:58:31.788Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:58:33.218Z] ---> Running in 1ac7f2837ba0 [2023-11-28T19:58:33.488Z] Removing intermediate container 1ac7f2837ba0 [2023-11-28T19:58:33.488Z] ---> 40e5350630c0 [2023-11-28T19:58:33.488Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:58:33.757Z] ---> Running in ad78da04e89b [2023-11-28T19:58:34.030Z] Removing intermediate container ad78da04e89b [2023-11-28T19:58:34.030Z] ---> 3c49130ed52a [2023-11-28T19:58:34.030Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:58:34.030Z] ---> Running in 1b2640c43999 [2023-11-28T19:58:34.619Z] Removing intermediate container 1b2640c43999 [2023-11-28T19:58:34.619Z] ---> a90087c522aa [2023-11-28T19:58:34.619Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:58:34.619Z] ---> Running in 0b2416feef65 [2023-11-28T19:58:34.889Z] Removing intermediate container 0b2416feef65 [2023-11-28T19:58:34.889Z] ---> 3b3947a3278e [2023-11-28T19:58:34.889Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:58:34.889Z] ---> Running in 9990417c7d05 [2023-11-28T19:58:36.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:58:36.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:58:37.540Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:58:37.540Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T19:58:37.540Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:58:37.540Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:58:37.540Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:58:37.540Z] OK: 271 MiB in 56 packages [2023-11-28T19:58:38.959Z] Removing intermediate container 9990417c7d05 [2023-11-28T19:58:38.959Z] ---> 426388332e03 [2023-11-28T19:58:38.959Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-28T19:58:38.959Z] ---> Running in 4471233c8293 [2023-11-28T19:58:39.231Z] Removing intermediate container 4471233c8293 [2023-11-28T19:58:39.231Z] ---> 5b4c69520e33 [2023-11-28T19:58:39.231Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T19:58:39.819Z] ---> 7bf46dca5a5b [2023-11-28T19:58:39.819Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:58:39.819Z] ---> Running in ed959f899bbb [2023-11-28T20:00:01.481Z] Removing intermediate container ed959f899bbb [2023-11-28T20:00:01.481Z] ---> e814ab6de489 [2023-11-28T20:00:01.481Z] Step 11/12 : COPY . . [2023-11-28T20:00:01.481Z] ---> 09699ad8a489 [2023-11-28T20:00:01.481Z] Step 12/12 : RUN $MAKE [2023-11-28T20:00:01.481Z] ---> Running in 8005f156c8f9 [2023-11-28T20:00:01.481Z] noop [2023-11-28T20:00:01.481Z] Removing intermediate container 8005f156c8f9 [2023-11-28T20:00:01.481Z] ---> 63b396f86503 [2023-11-28T20:00:01.481Z] Successfully built 63b396f86503 [2023-11-28T20:00:01.481Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:00:02.117Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T20:00:02.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:00:02.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-4701 does not seem to be running inside a container [2023-11-28T20:00:02.548Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T20:00:05.222Z] $ docker top 721d1a0523ff93143c43e7beef04f09fd3ce35d6c98586375504094353571841 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:00:06.201Z] + go version [2023-11-28T20:00:06.201Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T20:00:06.244Z] $ docker stop --time=1 721d1a0523ff93143c43e7beef04f09fd3ce35d6c98586375504094353571841 [2023-11-28T20:00:07.890Z] $ docker rm -f --volumes 721d1a0523ff93143c43e7beef04f09fd3ce35d6c98586375504094353571841 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:00:09.149Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T20:00:09.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:00:09.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-4701 does not seem to be running inside a container [2023-11-28T20:00:09.571Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T20:00:10.817Z] $ docker top 50464df0081cec0599afc50421bdc858bd22e81fe40d28df15c30781850043b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:00:11.796Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T20:00:12.561Z] + make test [2023-11-28T20:00:12.561Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T20:00:20.783Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-28T20:02:14.267Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-28T20:02:16.857Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 33.2% of statements [2023-11-28T20:02:17.445Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T20:02:17.445Z] go vet ./... [2023-11-28T20:02:56.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T20:02:56.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T20:02:56.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T20:02:56.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T20:02:56.480Z] $ docker stop --time=1 50464df0081cec0599afc50421bdc858bd22e81fe40d28df15c30781850043b3 [2023-11-28T20:03:01.403Z] $ docker rm -f --volumes 50464df0081cec0599afc50421bdc858bd22e81fe40d28df15c30781850043b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:03:02.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T20:03:02.870Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T20:03:03.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:03:04.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T20:03:04.680Z] + ls -al . [2023-11-28T20:03:04.680Z] total 176 [2023-11-28T20:03:04.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:00 . [2023-11-28T20:03:04.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:57 .. [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 19:57 .dockerignore [2023-11-28T20:03:04.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:57 .git [2023-11-28T20:03:04.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:57 .github [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 19:57 .gitignore [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:57 .golangci.yml [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 19:57 Attribution.txt [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 19:57 CHANGELOG.md [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 19:57 Dockerfile [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:57 GOVERNANCE.md [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 19:57 Jenkinsfile [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:57 LICENSE [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 19:57 Makefile [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 19:57 OWNERS.md [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 19:57 README.md [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:08 VERSION [2023-11-28T20:03:04.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:57 bin [2023-11-28T20:03:04.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:57 cmd [2023-11-28T20:03:04.680Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:02 coverage.out [2023-11-28T20:03:04.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:57 driver [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 19:57 go.mod [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 19:57 go.sum [2023-11-28T20:03:04.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:57 openapi [2023-11-28T20:03:04.680Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 19:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:03:05.195Z] + 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=3bce0aca3c4560f98de1f371ba00fbc417993eaf --label arch=arm64 --label version=0.0.0 . [2023-11-28T20:03:05.195Z] Sending build context to Docker daemon 142.8kB [2023-11-28T20:03:05.469Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:03:05.469Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T20:03:05.469Z] ---> 63b396f86503 [2023-11-28T20:03:05.469Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:03:05.469Z] ---> Running in 60e3d4b84662 [2023-11-28T20:03:06.054Z] Removing intermediate container 60e3d4b84662 [2023-11-28T20:03:06.054Z] ---> 0d5a8609110d [2023-11-28T20:03:06.054Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:03:06.054Z] ---> Running in 72047c583397 [2023-11-28T20:03:06.322Z] Removing intermediate container 72047c583397 [2023-11-28T20:03:06.322Z] ---> 4ecc444360f9 [2023-11-28T20:03:06.322Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:03:06.322Z] ---> Running in 889e23ae41b2 [2023-11-28T20:03:06.595Z] Removing intermediate container 889e23ae41b2 [2023-11-28T20:03:06.595Z] ---> 1cc58ebd7808 [2023-11-28T20:03:06.595Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:03:06.862Z] ---> Running in 9fe003b94029 [2023-11-28T20:03:07.131Z] Removing intermediate container 9fe003b94029 [2023-11-28T20:03:07.131Z] ---> ff355c01bf93 [2023-11-28T20:03:07.131Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:03:07.131Z] ---> Running in bd74598e0b5b [2023-11-28T20:03:08.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:03:08.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:03:09.958Z] OK: 271 MiB in 56 packages [2023-11-28T20:03:10.919Z] Removing intermediate container bd74598e0b5b [2023-11-28T20:03:10.919Z] ---> 2992eb6bca19 [2023-11-28T20:03:10.919Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-28T20:03:10.919Z] ---> Running in 9ae9fa438b23 [2023-11-28T20:03:11.185Z] Removing intermediate container 9ae9fa438b23 [2023-11-28T20:03:11.185Z] ---> e9fd80b21172 [2023-11-28T20:03:11.185Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T20:03:16.539Z] ---> 28ecb3023c8e [2023-11-28T20:03:16.539Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:03:16.539Z] ---> Running in dcd5c7f6da7e [2023-11-28T20:03:18.491Z] Removing intermediate container dcd5c7f6da7e [2023-11-28T20:03:18.491Z] ---> 112e0cb04dc5 [2023-11-28T20:03:18.491Z] Step 11/26 : COPY . . [2023-11-28T20:03:18.762Z] ---> 58f07c396e53 [2023-11-28T20:03:18.762Z] Step 12/26 : RUN $MAKE [2023-11-28T20:03:18.762Z] ---> Running in bfb03e713194 [2023-11-28T20:03:19.720Z] 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.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-28T20:05:26.430Z] Removing intermediate container bfb03e713194 [2023-11-28T20:05:26.430Z] ---> 2f034319abf4 [2023-11-28T20:05:26.430Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T20:05:26.430Z] 3.18: Pulling from library/alpine [2023-11-28T20:05:26.430Z] 579b34f0a95b: Pulling fs layer [2023-11-28T20:05:26.430Z] 579b34f0a95b: Download complete [2023-11-28T20:05:26.430Z] 579b34f0a95b: Pull complete [2023-11-28T20:05:26.430Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T20:05:26.430Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T20:05:26.430Z] ---> 3cc203321400 [2023-11-28T20:05:26.430Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T20:05:26.430Z] ---> Running in e9fef5a23b70 [2023-11-28T20:05:26.430Z] Removing intermediate container e9fef5a23b70 [2023-11-28T20:05:26.430Z] ---> 684428554eef [2023-11-28T20:05:26.430Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-28T20:05:26.430Z] ---> Running in 3374a8acb08e [2023-11-28T20:05:26.430Z] Removing intermediate container 3374a8acb08e [2023-11-28T20:05:26.430Z] ---> 9f2ec85078c6 [2023-11-28T20:05:26.430Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T20:05:26.430Z] ---> Running in 15a6f873646d [2023-11-28T20:05:26.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:05:26.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:05:26.430Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T20:05:26.430Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T20:05:26.430Z] OK: 8 MiB in 16 packages [2023-11-28T20:05:26.430Z] Removing intermediate container 15a6f873646d [2023-11-28T20:05:26.430Z] ---> acba543eb806 [2023-11-28T20:05:26.430Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-28T20:05:26.430Z] ---> Running in d98fc51c354c [2023-11-28T20:05:26.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:05:26.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:05:26.430Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:05:26.430Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:05:26.430Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T20:05:26.430Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:05:26.430Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:05:26.430Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:05:26.430Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:05:26.430Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:05:26.430Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:05:26.430Z] OK: 8 MiB in 16 packages [2023-11-28T20:05:26.715Z] Removing intermediate container d98fc51c354c [2023-11-28T20:05:26.715Z] ---> 9a914e3e1bf3 [2023-11-28T20:05:26.715Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-28T20:05:28.709Z] ---> 15df496878d9 [2023-11-28T20:05:28.709Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-28T20:05:28.977Z] ---> 51fb46731006 [2023-11-28T20:05:28.977Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-28T20:05:29.560Z] ---> fa69d752ae5e [2023-11-28T20:05:29.560Z] Step 21/26 : EXPOSE 59986 [2023-11-28T20:05:29.560Z] ---> Running in deeb83dd2fd3 [2023-11-28T20:05:29.828Z] Removing intermediate container deeb83dd2fd3 [2023-11-28T20:05:29.828Z] ---> 44ce41d7d1d9 [2023-11-28T20:05:29.828Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-28T20:05:29.828Z] ---> Running in c990f5444986 [2023-11-28T20:05:30.103Z] Removing intermediate container c990f5444986 [2023-11-28T20:05:30.103Z] ---> 59e8090ab46e [2023-11-28T20:05:30.103Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T20:05:30.373Z] ---> Running in b755c28930ac [2023-11-28T20:05:30.642Z] Removing intermediate container b755c28930ac [2023-11-28T20:05:30.642Z] ---> 34a5ecfec21d [2023-11-28T20:05:30.642Z] Step 24/26 : LABEL arch=arm64 [2023-11-28T20:05:30.642Z] ---> Running in 50b5d1f12f3e [2023-11-28T20:05:30.919Z] Removing intermediate container 50b5d1f12f3e [2023-11-28T20:05:30.919Z] ---> 2e4f433c129c [2023-11-28T20:05:30.919Z] Step 25/26 : LABEL git_sha=3bce0aca3c4560f98de1f371ba00fbc417993eaf [2023-11-28T20:05:31.187Z] ---> Running in a4a89c005549 [2023-11-28T20:05:31.454Z] Removing intermediate container a4a89c005549 [2023-11-28T20:05:31.454Z] ---> 541b72116a91 [2023-11-28T20:05:31.454Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T20:05:31.454Z] ---> Running in 41eaf6dc813a [2023-11-28T20:05:31.722Z] Removing intermediate container 41eaf6dc813a [2023-11-28T20:05:31.722Z] ---> 68a0e0c3c712 [2023-11-28T20:05:31.722Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T20:05:31.989Z] Successfully built 68a0e0c3c712 [2023-11-28T20:05:31.989Z] 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-28T20:05:33.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:05:33.304Z] [2023-11-28T20:05:33.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:05:33.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:05:33.753Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T20:05:33.753Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T20:05:33.753Z] 04944245beec: Pulling fs layer [2023-11-28T20:05:33.753Z] 699f458cf7ca: Pulling fs layer [2023-11-28T20:05:33.753Z] 765212b225bb: Pulling fs layer [2023-11-28T20:05:33.753Z] f23df028b6ca: Pulling fs layer [2023-11-28T20:05:33.753Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T20:05:33.753Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T20:05:33.753Z] f23df028b6ca: Waiting [2023-11-28T20:05:33.753Z] 765212b225bb: Waiting [2023-11-28T20:05:33.753Z] d65c8cfc05b1: Waiting [2023-11-28T20:05:33.753Z] 2437ff75d9bd: Waiting [2023-11-28T20:05:34.020Z] 04944245beec: Verifying Checksum [2023-11-28T20:05:34.020Z] 04944245beec: Download complete [2023-11-28T20:05:34.020Z] 765212b225bb: Verifying Checksum [2023-11-28T20:05:34.020Z] 765212b225bb: Download complete [2023-11-28T20:05:34.020Z] f23df028b6ca: Download complete [2023-11-28T20:05:34.020Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T20:05:34.020Z] d65c8cfc05b1: Download complete [2023-11-28T20:05:34.287Z] 699f458cf7ca: Verifying Checksum [2023-11-28T20:05:34.561Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T20:05:34.561Z] 8998bd30e6a1: Download complete [2023-11-28T20:05:37.149Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T20:05:37.149Z] 2437ff75d9bd: Download complete [2023-11-28T20:05:39.098Z] 8998bd30e6a1: Pull complete [2023-11-28T20:05:39.683Z] 04944245beec: Pull complete [2023-11-28T20:05:41.109Z] 699f458cf7ca: Pull complete [2023-11-28T20:05:41.377Z] 765212b225bb: Pull complete [2023-11-28T20:05:42.342Z] f23df028b6ca: Pull complete [2023-11-28T20:05:42.610Z] d65c8cfc05b1: Pull complete [2023-11-28T20:06:00.828Z] 2437ff75d9bd: Pull complete [2023-11-28T20:06:00.828Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T20:06:00.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:06:00.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:06:01.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-4701 does not seem to be running inside a container [2023-11-28T20:06:01.443Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T20:06:04.345Z] $ docker top 241e34d5c5812cdde366c0fee353ec39db6053897e48037e9332a3edf2f21e30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:05.373Z] ---> job-cost.sh [2023-11-28T20:06:05.374Z] lf-activate-venv: SKIPPING [2023-11-28T20:06:05.374Z] INFO: No Stack... [2023-11-28T20:06:05.957Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T20:06:06.542Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T20:06:07.215Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-11-28T20:06:07.215Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T20:06:07.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [2023-11-28T20:06:07.309Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] did not exist. Created. [2023-11-28T20:06:07.309Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T20:06:08.148Z] /w/workspace/device-rest-go/1@tmp/durable-bae90d3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T20:06:08.828Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T20:06:08.866Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T20:06:08.918Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T20:06:08.963Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T20:06:09.161Z] $ docker stop --time=1 241e34d5c5812cdde366c0fee353ec39db6053897e48037e9332a3edf2f21e30 [2023-11-28T20:06:10.701Z] $ docker rm -f --volumes 241e34d5c5812cdde366c0fee353ec39db6053897e48037e9332a3edf2f21e30 [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-28T20:06:12.763Z] provisioning config files... [2023-11-28T20:06:12.770Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config17015255433832902376tmp [Pipeline] { [Pipeline] sh [2023-11-28T20:06:13.204Z] + set +x [2023-11-28T20:06:13.204Z] + bash -s -- [2023-11-28T20:06:13.204Z] + curl -s https://codecov.io/bash [2023-11-28T20:06:13.204Z] [2023-11-28T20:06:13.204Z] _____ _ [2023-11-28T20:06:13.204Z] / ____| | | [2023-11-28T20:06:13.204Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T20:06:13.204Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T20:06:13.204Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T20:06:13.204Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T20:06:13.204Z] Bash-1.0.6 [2023-11-28T20:06:13.204Z] [2023-11-28T20:06:13.204Z] [2023-11-28T20:06:13.204Z] ==> git version 2.25.1 found [2023-11-28T20:06:13.204Z] ==> 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-28T20:06:13.204Z] Release-Date: 2020-01-08 [2023-11-28T20:06:13.204Z] 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-28T20:06:13.204Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T20:06:13.204Z] ==> Jenkins CI detected. [2023-11-28T20:06:13.204Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-369 [2023-11-28T20:06:13.204Z] project root: . [2023-11-28T20:06:13.204Z] --> token set from env [2023-11-28T20:06:13.204Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T20:06:13.204Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T20:06:13.204Z] ==> Python coveragepy not found [2023-11-28T20:06:13.204Z] ==> Searching for coverage reports in: [2023-11-28T20:06:13.204Z] + . [2023-11-28T20:06:13.204Z] -> Found 1 reports [2023-11-28T20:06:13.204Z] ==> Detecting git/mercurial file structure [2023-11-28T20:06:13.204Z] ==> Reading reports [2023-11-28T20:06:13.204Z] + ./coverage.out bytes=14499 [2023-11-28T20:06:13.204Z] ==> Appending adjustments [2023-11-28T20:06:13.204Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T20:06:13.464Z] + Found adjustments [2023-11-28T20:06:13.464Z] ==> Gzipping contents [2023-11-28T20:06:13.464Z] 4.0K /tmp/codecov.gRuXox.gz [2023-11-28T20:06:13.464Z] ==> Uploading reports [2023-11-28T20:06:13.464Z] url: https://codecov.io [2023-11-28T20:06:13.464Z] query: branch=PR-369&commit=3bce0aca3c4560f98de1f371ba00fbc417993eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-369%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=369&job=&cmd_args= [2023-11-28T20:06:13.464Z] -> Pinging Codecov [2023-11-28T20:06:13.464Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-369&commit=3bce0aca3c4560f98de1f371ba00fbc417993eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-369%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=369&job=&cmd_args= [2023-11-28T20:06:13.464Z] -> Uploading to [2023-11-28T20:06:13.464Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/4E5D53B4F1F92C436F7061BF334D961C/3bce0aca3c4560f98de1f371ba00fbc417993eaf/d0a355db-6763-4441-80ba-213da02eb787.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T200613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a586e367c490fad661ce3c2e38b6f968dde5bd6a6c81159cfef9155e326c23c [2023-11-28T20:06:13.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T20:06:13.464Z] Dload Upload Total Spent Left Speed [2023-11-28T20:06:13.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 8660 --:--:-- --:--:-- --:--:-- 8628 [2023-11-28T20:06:13.724Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] } [2023-11-28T20:06:13.751Z] 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-28T20:06:17.071Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-369/archives ] [2023-11-28T20:06:17.072Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-369/archives [2023-11-28T20:06:17.072Z] total 16 [2023-11-28T20:06:17.072Z] drwxr-xr-x 3 root root 4096 Nov 28 19:10 . [2023-11-28T20:06:17.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 19:10 .. [2023-11-28T20:06:17.072Z] drwxr-xr-x 2 root root 4096 Nov 28 19:10 cost [2023-11-28T20:06:17.072Z] -rw-r--r-- 1 root root 86 Nov 28 19:10 cost.csv [2023-11-28T20:06:17.072Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-369/archives [2023-11-28T20:06:17.072Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-369/archives [2023-11-28T20:06:17.072Z] total 16 [2023-11-28T20:06:17.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:10 . [2023-11-28T20:06:17.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 19:10 .. [2023-11-28T20:06:17.072Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 19:10 cost [2023-11-28T20:06:17.072Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 28 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:17.395Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:18.279Z] ---> package-listing.sh [2023-11-28T20:06:18.279Z] ++ facter osfamily [2023-11-28T20:06:18.279Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T20:06:18.538Z] + OS_FAMILY=debian [2023-11-28T20:06:18.538Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-369 [2023-11-28T20:06:18.538Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T20:06:18.538Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T20:06:18.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T20:06:18.538Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T20:06:18.538Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-369 ']' [2023-11-28T20:06:18.538Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T20:06:18.538Z] + case "${OS_FAMILY}" in [2023-11-28T20:06:18.538Z] + dpkg -l [2023-11-28T20:06:18.538Z] + grep '^ii' [2023-11-28T20:06:18.538Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T20:06:18.538Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T20:06:18.538Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T20:06:18.538Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-369 ']' [2023-11-28T20:06:18.538Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-369/archives/ [2023-11-28T20:06:18.538Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-369/archives/ [Pipeline] echo [2023-11-28T20:06:18.570Z] 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-369/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T20:06:18.862Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:06:19.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:06:19.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:06:19.848Z] prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container [2023-11-28T20:06:19.872Z] $ 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-369/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-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T20:06:20.109Z] $ docker top bb4df3cdbfcbb0e55b0713a3d0dae1b43f1d3f1e85cc8f805c0bd444195e8d35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:06:20.613Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T20:06:20.925Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T20:06:21.238Z] + ls /var/log/sa-host [2023-11-28T20:06:21.239Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:06:21.525Z] provisioning config files... [2023-11-28T20:06:21.536Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config16204333676247355008tmp [Pipeline] { [Pipeline] echo [2023-11-28T20:06:21.693Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:22.008Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T20:06:22.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:22.609Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T20:06:22.639Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:22.949Z] ---> sudo-logs.sh [2023-11-28T20:06:22.949Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T20:06:23.096Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:23.415Z] ---> job-cost.sh [2023-11-28T20:06:23.415Z] lf-activate-venv: SKIPPING [2023-11-28T20:06:23.415Z] DEBUG: total: 0.2199999988079071 [2023-11-28T20:06:23.415Z] INFO: Retrieving Stack Cost... [2023-11-28T20:06:23.988Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T20:06:24.246Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T20:06:24.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:06:24.595Z] ---> logs-deploy.sh [2023-11-28T20:06:24.595Z] lf-activate-venv: SKIPPING [2023-11-28T20:06:24.595Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-369/1 [2023-11-28T20:06:24.595Z] INFO: archiving workspace using pattern(s): [2023-11-28T20:06:25.530Z] Archives upload complete. [2023-11-28T20:06:25.530Z] INFO: archiving logs to Nexus