Pull request #422 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 weichou1229 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e+dc396c4a7312713bf5afd7bf9e2532e3e112802c (761d0f66dab23c0695974d434e7ddd1e036ef9ca) 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-ssh4152447253773234495.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh9265488462407429083.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-422/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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11326187522900136159.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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10413638024620503723.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh1293599755115929711.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-422/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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13260182928459368460.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24087’ Running on prd-ubuntu20.04-docker-8c-8g-24092 in /w/workspace/gexfoundry_device-rest-go_PR-422 [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-422 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dc396c4a7312713bf5afd7bf9e2532e3e112802c into PR head commit 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e Merge succeeded, producing 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e Checking out Revision 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e (PR-422) > git config core.sparsecheckout # timeout=10 > git checkout -f 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e # 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 dc396c4a7312713bf5afd7bf9e2532e3e112802c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e # timeout=10 Commit message: "refactor!: update module to v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-30T06:24:04.850Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T06:24:05.082Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T06:24:05.206Z] ========================================================= [2024-10-30T06:24:05.206Z] EdgeX Global Pipelines Version Info [2024-10-30T06:24:05.206Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:24:05.972Z] ------------------- [2024-10-30T06:24:05.972Z] stable info: [2024-10-30T06:24:05.972Z] ------------------- [2024-10-30T06:24:05.972Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T06:24:05.972Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T06:24:05.972Z] Message: update stable to v1.0.265 [2024-10-30T06:24:06.584Z] ------------------- [2024-10-30T06:24:06.584Z] experimental info: [2024-10-30T06:24:06.584Z] ------------------- [2024-10-30T06:24:06.584Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T06:24:06.584Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T06:24:06.584Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T06:24:07.103Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-30T06:24:07.167Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-30T06:24:07.229Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T06:24:07.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T06:24:07.359Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T06:24:07.421Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T06:24:07.476Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T06:24:07.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T06:24:07.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T06:24:07.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T06:24:07.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T06:24:07.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-30T06:24:07.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T06:24:07.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T06:24:07.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:24:08.036Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:24:08.101Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:24:08.168Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:24:08.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T06:24:08.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T06:24:08.353Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T06:24:08.433Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T06:24:08.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T06:24:08.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T06:24:08.616Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T06:24:08.683Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T06:24:08.739Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T06:24:08.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo [2024-10-30T06:24:08.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo [2024-10-30T06:24:08.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo [2024-10-30T06:24:08.980Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [Pipeline] echo [2024-10-30T06:24:09.038Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bfdd3f [Pipeline] echo [2024-10-30T06:24:09.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:24:09.258Z] provisioning config files... [2024-10-30T06:24:09.270Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-422@tmp/config15747710567741982318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:24:09.659Z] ---> ****-login.sh [2024-10-30T06:24:09.659Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:24:09.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:09.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:09.918Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:09.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:09.918Z] [2024-10-30T06:24:09.918Z] Login Succeeded [2024-10-30T06:24:09.918Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:24:09.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:10.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:10.179Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:10.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:10.179Z] [2024-10-30T06:24:10.179Z] Login Succeeded [2024-10-30T06:24:10.179Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:24:10.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:10.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:10.179Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:10.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:10.179Z] [2024-10-30T06:24:10.179Z] Login Succeeded [2024-10-30T06:24:10.179Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:24:10.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:10.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:10.179Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:10.180Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:10.180Z] [2024-10-30T06:24:10.180Z] Login Succeeded [2024-10-30T06:24:10.180Z] ****.io [2024-10-30T06:24:10.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:10.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:10.440Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:10.440Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:10.440Z] [2024-10-30T06:24:10.440Z] Login Succeeded [2024-10-30T06:24:10.440Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:24:10.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T06:24:11.183Z] + git rev-list -1 --merges 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e~1..6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [Pipeline] echo [2024-10-30T06:24:11.238Z] -----------> git rev-list -1 --merges 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e~1..6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [false] [Pipeline] sh [2024-10-30T06:24:11.561Z] + git log --format=format:%s -1 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [Pipeline] echo [2024-10-30T06:24:11.606Z] ========================================================= [2024-10-30T06:24:11.606Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T06:24:11.606Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:24:12.096Z] + git log --format=format:%s -1 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [Pipeline] echo [2024-10-30T06:24:12.135Z] [semverPrep] GIT_COMMIT: 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e, Commit Message: refactor!: update module to v4 [Pipeline] echo [2024-10-30T06:24:12.176Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T06:24:12.584Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T06:24:12.584Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T06:24:12.584Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T06:24:12.584Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T06:24:12.584Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-10-30T06:24:12.584Z] -a /etc/ssh/ssh_known_hosts [2024-10-30T06:24:12.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:24:13.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:24:13.062Z] [2024-10-30T06:24:13.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:24:13.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:24:13.471Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T06:24:13.471Z] b85a868b505f: Pulling fs layer [2024-10-30T06:24:13.471Z] e2be974225ed: Pulling fs layer [2024-10-30T06:24:13.471Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T06:24:13.471Z] 988bab9f4d93: Pulling fs layer [2024-10-30T06:24:13.471Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T06:24:13.471Z] eaf3925da568: Pulling fs layer [2024-10-30T06:24:13.471Z] bab4dde63d76: Pulling fs layer [2024-10-30T06:24:13.471Z] 988bab9f4d93: Waiting [2024-10-30T06:24:13.471Z] 1469e6f7b9e6: Waiting [2024-10-30T06:24:13.471Z] eaf3925da568: Waiting [2024-10-30T06:24:13.471Z] bab4dde63d76: Waiting [2024-10-30T06:24:13.471Z] bde34c3a00c8: Pulling fs layer [2024-10-30T06:24:13.471Z] b352a97aabf1: Pulling fs layer [2024-10-30T06:24:13.471Z] 4872d77fe225: Pulling fs layer [2024-10-30T06:24:13.471Z] 5851b861e8e6: Pulling fs layer [2024-10-30T06:24:13.471Z] 4872d77fe225: Waiting [2024-10-30T06:24:13.471Z] bde34c3a00c8: Waiting [2024-10-30T06:24:13.471Z] b352a97aabf1: Waiting [2024-10-30T06:24:13.471Z] 5851b861e8e6: Waiting [2024-10-30T06:24:13.471Z] e2be974225ed: Download complete [2024-10-30T06:24:13.471Z] 988bab9f4d93: Verifying Checksum [2024-10-30T06:24:13.471Z] 988bab9f4d93: Download complete [2024-10-30T06:24:13.471Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T06:24:13.471Z] 1469e6f7b9e6: Download complete [2024-10-30T06:24:13.471Z] eaf3925da568: Download complete [2024-10-30T06:24:13.730Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T06:24:13.730Z] 339a4e72a1f5: Download complete [2024-10-30T06:24:13.730Z] bde34c3a00c8: Download complete [2024-10-30T06:24:13.730Z] b352a97aabf1: Verifying Checksum [2024-10-30T06:24:13.730Z] b352a97aabf1: Download complete [2024-10-30T06:24:13.730Z] 4872d77fe225: Verifying Checksum [2024-10-30T06:24:13.730Z] 4872d77fe225: Download complete [2024-10-30T06:24:13.730Z] 5851b861e8e6: Verifying Checksum [2024-10-30T06:24:13.730Z] 5851b861e8e6: Download complete [2024-10-30T06:24:13.730Z] b85a868b505f: Verifying Checksum [2024-10-30T06:24:13.730Z] b85a868b505f: Download complete [2024-10-30T06:24:13.993Z] bab4dde63d76: Verifying Checksum [2024-10-30T06:24:13.993Z] bab4dde63d76: Download complete [2024-10-30T06:24:14.931Z] b85a868b505f: Pull complete [2024-10-30T06:24:15.191Z] e2be974225ed: Pull complete [2024-10-30T06:24:15.761Z] 339a4e72a1f5: Pull complete [2024-10-30T06:24:15.761Z] 988bab9f4d93: Pull complete [2024-10-30T06:24:16.021Z] 1469e6f7b9e6: Pull complete [2024-10-30T06:24:16.021Z] eaf3925da568: Pull complete [2024-10-30T06:24:17.926Z] bab4dde63d76: Pull complete [2024-10-30T06:24:17.926Z] bde34c3a00c8: Pull complete [2024-10-30T06:24:17.926Z] b352a97aabf1: Pull complete [2024-10-30T06:24:17.926Z] 4872d77fe225: Pull complete [2024-10-30T06:24:18.184Z] 5851b861e8e6: Pull complete [2024-10-30T06:24:18.184Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T06:24:18.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:24:18.184Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:24:18.595Z] prd-ubuntu20.04-docker-8c-8g-24092 does not seem to be running inside a container [2024-10-30T06:24:18.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-422 -v /w/workspace/gexfoundry_device-rest-go_PR-422:/w/workspace/gexfoundry_device-rest-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-422@tmp:/w/workspace/gexfoundry_device-rest-go_PR-422@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 [2024-10-30T06:24:21.699Z] $ docker top cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 -eo pid,comm [2024-10-30T06:24:21.756Z] 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). [2024-10-30T06:24:21.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T06:24:21.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:24:21.926Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:24:22.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:24:22.040Z] $ docker exec cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 ssh-agent [2024-10-30T06:24:22.161Z] SSH_AUTH_SOCK=/tmp/ssh-YY50RRbxjMfy/agent.32 [2024-10-30T06:24:22.161Z] SSH_AGENT_PID=38 [2024-10-30T06:24:22.167Z] Running ssh-add (command line suppressed) [2024-10-30T06:24:22.269Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-422@tmp/private_key_2093039595698100820.key (/w/workspace/gexfoundry_device-rest-go_PR-422@tmp/private_key_2093039595698100820.key) [2024-10-30T06:24:22.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:24:22.626Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T06:24:22.651Z] $ docker exec --env ******** --env ******** cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 ssh-agent -k [2024-10-30T06:24:22.751Z] unset SSH_AUTH_SOCK; [2024-10-30T06:24:22.751Z] unset SSH_AGENT_PID; [2024-10-30T06:24:22.751Z] echo Agent pid 38 killed; [2024-10-30T06:24:22.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T06:24:22.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:24:22.871Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:24:22.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:24:22.981Z] $ docker exec cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 ssh-agent [2024-10-30T06:24:23.093Z] SSH_AUTH_SOCK=/tmp/ssh-GHQd7lslbsOc/agent.71 [2024-10-30T06:24:23.093Z] SSH_AGENT_PID=77 [2024-10-30T06:24:23.097Z] Running ssh-add (command line suppressed) [2024-10-30T06:24:23.197Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-422@tmp/private_key_371200850140765127.key (/w/workspace/gexfoundry_device-rest-go_PR-422@tmp/private_key_371200850140765127.key) [2024-10-30T06:24:23.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:24:23.553Z] + git semver init [2024-10-30T06:24:23.814Z] 2024-10-30 06:24:23,720 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T06:24:23.814Z] 2024-10-30 06:24:23,721 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-422/.semver [2024-10-30T06:24:23.814Z] 2024-10-30 06:24:23,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-422/.semver [2024-10-30T06:24:23.814Z] 2024-10-30 06:24:23,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-422/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-422, universal_newlines=False, shell=None, istream=None) [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,947 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-422/.git/info/exclude [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-422/.semver/PR-422 with force:False [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,948 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-422/.semver/PR-422 [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,950 [execute] INFO git cat-file --batch-check [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,955 [execute] INFO git cat-file --batch [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:24:25.193Z] 2024-10-30 06:24:24,960 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-422/.semver/PR-422 [2024-10-30T06:24:25.193Z] 0.0.0 [Pipeline] } [2024-10-30T06:24:25.218Z] $ docker exec --env ******** --env ******** cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 ssh-agent -k [2024-10-30T06:24:25.318Z] unset SSH_AUTH_SOCK; [2024-10-30T06:24:25.318Z] unset SSH_AGENT_PID; [2024-10-30T06:24:25.319Z] echo Agent pid 77 killed; [2024-10-30T06:24:25.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T06:24:25.792Z] + git semver [Pipeline] } [2024-10-30T06:24:26.080Z] $ docker stop --time=1 cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 [2024-10-30T06:24:27.376Z] $ docker rm -f --volumes cdccc05c0e08a99c63f54e7eb2f0aa4f50c463c51b513bf407cdb78c975e60a5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:24:27.803Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T06:24:28.136Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T06:24:28.162Z] [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 [2024-10-30T06:24:28.869Z] provisioning config files... [2024-10-30T06:24:28.886Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-422@tmp/config6149815493067772834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:24:29.245Z] ---> ****-login.sh [2024-10-30T06:24:29.245Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:24:29.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:29.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:29.246Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:29.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:29.246Z] [2024-10-30T06:24:29.246Z] Login Succeeded [2024-10-30T06:24:29.246Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:24:29.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:29.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:29.246Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:29.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:29.246Z] [2024-10-30T06:24:29.246Z] Login Succeeded [2024-10-30T06:24:29.246Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:24:29.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:29.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:29.507Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:29.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:29.507Z] [2024-10-30T06:24:29.507Z] Login Succeeded [2024-10-30T06:24:29.507Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:24:29.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:29.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:29.508Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:29.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:29.508Z] [2024-10-30T06:24:29.508Z] Login Succeeded [2024-10-30T06:24:29.508Z] ****.io [2024-10-30T06:24:29.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:24:29.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:24:29.768Z] Configure a credential helper to remove this warning. See [2024-10-30T06:24:29.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:24:29.768Z] [2024-10-30T06:24:29.768Z] Login Succeeded [2024-10-30T06:24:29.768Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:24:29.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:24:30.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:24:30.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:24:30.146Z] ========================================================= [2024-10-30T06:24:30.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T06:24:30.146Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:24:30.661Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T06:24:30.661Z] Sending build context to Docker daemon 16.63MB [2024-10-30T06:24:30.661Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:24:30.661Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T06:24:30.661Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T06:24:30.661Z] 43c4264eed91: Pulling fs layer [2024-10-30T06:24:30.661Z] 4cc291be95ef: Pulling fs layer [2024-10-30T06:24:30.661Z] 2ac1f1163629: Pulling fs layer [2024-10-30T06:24:30.661Z] 5c3c966382ef: Pulling fs layer [2024-10-30T06:24:30.661Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:24:30.661Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T06:24:30.661Z] 9f66e0745190: Pulling fs layer [2024-10-30T06:24:30.661Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T06:24:30.661Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T06:24:30.661Z] 5d5c8e513c77: Waiting [2024-10-30T06:24:30.661Z] 4f4fb700ef54: Waiting [2024-10-30T06:24:30.661Z] f49a43e4bbc0: Waiting [2024-10-30T06:24:30.661Z] 561ebcabdf7f: Waiting [2024-10-30T06:24:30.661Z] 4cc291be95ef: Verifying Checksum [2024-10-30T06:24:30.661Z] 4cc291be95ef: Download complete [2024-10-30T06:24:30.661Z] 5c3c966382ef: Download complete [2024-10-30T06:24:30.921Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:24:30.921Z] 4f4fb700ef54: Download complete [2024-10-30T06:24:30.921Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T06:24:30.921Z] 5d5c8e513c77: Download complete [2024-10-30T06:24:30.921Z] 43c4264eed91: Download complete [2024-10-30T06:24:30.921Z] 9f66e0745190: Verifying Checksum [2024-10-30T06:24:30.921Z] 9f66e0745190: Download complete [2024-10-30T06:24:30.921Z] 43c4264eed91: Pull complete [2024-10-30T06:24:31.180Z] 4cc291be95ef: Pull complete [2024-10-30T06:24:31.180Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T06:24:31.180Z] 561ebcabdf7f: Download complete [2024-10-30T06:24:31.180Z] 2ac1f1163629: Verifying Checksum [2024-10-30T06:24:31.180Z] 2ac1f1163629: Download complete [2024-10-30T06:24:31.438Z] f49a43e4bbc0: Download complete [2024-10-30T06:24:34.718Z] 2ac1f1163629: Pull complete [2024-10-30T06:24:34.718Z] 5c3c966382ef: Pull complete [2024-10-30T06:24:34.718Z] 4f4fb700ef54: Pull complete [2024-10-30T06:24:34.718Z] 5d5c8e513c77: Pull complete [2024-10-30T06:24:34.718Z] 9f66e0745190: Pull complete [2024-10-30T06:24:36.618Z] f49a43e4bbc0: Pull complete [2024-10-30T06:24:37.186Z] 561ebcabdf7f: Pull complete [2024-10-30T06:24:37.186Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T06:24:37.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T06:24:37.186Z] ---> 3a752c3f9dda [2024-10-30T06:24:37.186Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:24:41.427Z] ---> Running in 7265e5c4c1cc [2024-10-30T06:24:41.427Z] Removing intermediate container 7265e5c4c1cc [2024-10-30T06:24:41.427Z] ---> 2a50f67b2006 [2024-10-30T06:24:41.427Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:24:41.427Z] ---> Running in afa356964d95 [2024-10-30T06:24:41.686Z] Removing intermediate container afa356964d95 [2024-10-30T06:24:41.686Z] ---> 89c9f411c47d [2024-10-30T06:24:41.686Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:24:41.686Z] ---> Running in b53153dd1cc5 [2024-10-30T06:24:41.686Z] Removing intermediate container b53153dd1cc5 [2024-10-30T06:24:41.686Z] ---> 113e6c66f275 [2024-10-30T06:24:41.686Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:24:41.686Z] ---> Running in 2293fcb9faed [2024-10-30T06:24:41.686Z] Removing intermediate container 2293fcb9faed [2024-10-30T06:24:41.686Z] ---> 9efc834329e5 [2024-10-30T06:24:41.686Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:24:41.686Z] ---> Running in 13744fcae368 [2024-10-30T06:24:41.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:24:42.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:24:42.461Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:24:42.461Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T06:24:42.461Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:24:42.461Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:24:42.461Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:24:42.461Z] OK: 250 MiB in 58 packages [2024-10-30T06:24:43.028Z] Removing intermediate container 13744fcae368 [2024-10-30T06:24:43.028Z] ---> 4bb57d88c146 [2024-10-30T06:24:43.028Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-30T06:24:43.028Z] ---> Running in cd095174eb56 [2024-10-30T06:24:43.028Z] Removing intermediate container cd095174eb56 [2024-10-30T06:24:43.028Z] ---> 3ef9117ec3a1 [2024-10-30T06:24:43.028Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T06:24:43.286Z] ---> fe046ac0123a [2024-10-30T06:24:43.286Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:24:43.286Z] ---> Running in 4009ce6133e0 [2024-10-30T06:24:43.665Z] Still waiting to schedule task [2024-10-30T06:24:43.666Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24089’ [2024-10-30T06:25:29.972Z] Removing intermediate container 4009ce6133e0 [2024-10-30T06:25:29.972Z] ---> 4f84f7e5f0e5 [2024-10-30T06:25:29.972Z] Step 11/12 : COPY . . [2024-10-30T06:25:29.972Z] ---> a321aed3702d [2024-10-30T06:25:29.972Z] Step 12/12 : RUN $MAKE [2024-10-30T06:25:29.972Z] ---> Running in 3dae9509256a [2024-10-30T06:25:29.972Z] noop [2024-10-30T06:25:29.972Z] Removing intermediate container 3dae9509256a [2024-10-30T06:25:29.972Z] ---> 6ab384d064c1 [2024-10-30T06:25:29.972Z] Successfully built 6ab384d064c1 [2024-10-30T06:25:29.972Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:25:30.450Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:25:30.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:25:30.623Z] prd-ubuntu20.04-docker-8c-8g-24092 does not seem to be running inside a container [2024-10-30T06:25:30.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-422 -v /w/workspace/gexfoundry_device-rest-go_PR-422:/w/workspace/gexfoundry_device-rest-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-422@tmp:/w/workspace/gexfoundry_device-rest-go_PR-422@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 [2024-10-30T06:25:31.021Z] $ docker top eb7bd3df2fb269cb18aebcf9ceae651c504f16e7891252c555d5c46607befd10 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:25:31.441Z] + go version [2024-10-30T06:25:31.441Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T06:25:31.478Z] $ docker stop --time=1 eb7bd3df2fb269cb18aebcf9ceae651c504f16e7891252c555d5c46607befd10 [2024-10-30T06:25:32.741Z] $ docker rm -f --volumes eb7bd3df2fb269cb18aebcf9ceae651c504f16e7891252c555d5c46607befd10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:25:33.511Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:25:33.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:25:33.683Z] prd-ubuntu20.04-docker-8c-8g-24092 does not seem to be running inside a container [2024-10-30T06:25:33.716Z] $ 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-422 -v /w/workspace/gexfoundry_device-rest-go_PR-422:/w/workspace/gexfoundry_device-rest-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-422@tmp:/w/workspace/gexfoundry_device-rest-go_PR-422@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 [2024-10-30T06:25:34.032Z] $ docker top 747aa0dfcdfa795498b27c6443b98a9ce9affccdf72bfb00c6561294f8b975b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:25:34.443Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-422 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:25:34.826Z] + make test [2024-10-30T06:25:34.826Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T06:25:36.731Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-30T06:25:54.812Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-30T06:25:54.812Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements [2024-10-30T06:26:08.041Z] go vet ./... [2024-10-30T06:26:10.575Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:26:10.575Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:26:10.575Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:26:10.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:26:10.661Z] $ docker stop --time=1 747aa0dfcdfa795498b27c6443b98a9ce9affccdf72bfb00c6561294f8b975b0 [2024-10-30T06:26:14.749Z] $ docker rm -f --volumes 747aa0dfcdfa795498b27c6443b98a9ce9affccdf72bfb00c6561294f8b975b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:26:15.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:26:15.444Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-30T06:26:16.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:26:16.376Z] + ls -al . [2024-10-30T06:26:16.376Z] total 256 [2024-10-30T06:26:16.376Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 06:25 . [2024-10-30T06:26:16.376Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:23 .. [2024-10-30T06:26:16.376Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 30 06:23 .dockerignore [2024-10-30T06:26:16.376Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:25 .git [2024-10-30T06:26:16.376Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:23 .github [2024-10-30T06:26:16.376Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 06:23 .gitignore [2024-10-30T06:26:16.376Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 06:23 .golangci.yml [2024-10-30T06:26:16.376Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:24 .semver [2024-10-30T06:26:16.376Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 30 06:23 Attribution.txt [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 30 06:23 CHANGELOG.md [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 1697 Oct 30 06:23 Dockerfile [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:23 GOVERNANCE.md [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 30 06:23 Jenkinsfile [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:23 LICENSE [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 30 06:23 Makefile [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 06:23 OWNERS.md [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 30 06:23 README.md [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:24 VERSION [2024-10-30T06:26:16.377Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:23 bin [2024-10-30T06:26:16.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:23 cmd [2024-10-30T06:26:16.377Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 30 06:25 coverage.out [2024-10-30T06:26:16.377Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:23 driver [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 7099 Oct 30 06:23 go.mod [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 06:23 go.sum [2024-10-30T06:26:16.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:23 openapi [2024-10-30T06:26:16.377Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 30 06:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:26:16.815Z] + 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=6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e --label arch=amd64 --label version=0.0.0 . [2024-10-30T06:26:16.815Z] Sending build context to Docker daemon 16.64MB [2024-10-30T06:26:16.815Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:26:16.815Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T06:26:16.816Z] ---> 6ab384d064c1 [2024-10-30T06:26:16.816Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:26:17.074Z] ---> Running in c46a78a8b57c [2024-10-30T06:26:17.074Z] Removing intermediate container c46a78a8b57c [2024-10-30T06:26:17.074Z] ---> 5ac0da217af3 [2024-10-30T06:26:17.074Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:26:17.074Z] ---> Running in 5747c2dedaeb [2024-10-30T06:26:17.074Z] Removing intermediate container 5747c2dedaeb [2024-10-30T06:26:17.074Z] ---> 2c81288ad10e [2024-10-30T06:26:17.074Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:26:17.334Z] ---> Running in 54a3949d860b [2024-10-30T06:26:17.334Z] Removing intermediate container 54a3949d860b [2024-10-30T06:26:17.334Z] ---> 824624055ce0 [2024-10-30T06:26:17.334Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:26:17.334Z] ---> Running in cba056aba926 [2024-10-30T06:26:17.334Z] Removing intermediate container cba056aba926 [2024-10-30T06:26:17.334Z] ---> 0e8e73089ef4 [2024-10-30T06:26:17.334Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:26:17.334Z] ---> Running in 0c9b9255f2a8 [2024-10-30T06:26:17.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:17.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:19.031Z] OK: 250 MiB in 58 packages [2024-10-30T06:26:19.031Z] Removing intermediate container 0c9b9255f2a8 [2024-10-30T06:26:19.031Z] ---> 1da1e1ca2495 [2024-10-30T06:26:19.031Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-30T06:26:19.031Z] ---> Running in 6d81fb2daad9 [2024-10-30T06:26:19.031Z] Removing intermediate container 6d81fb2daad9 [2024-10-30T06:26:19.031Z] ---> 15b48bcb1912 [2024-10-30T06:26:19.031Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-30T06:26:19.031Z] ---> 73ffb32ea322 [2024-10-30T06:26:19.031Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:26:19.031Z] ---> Running in 6066943c5a5e [2024-10-30T06:26:19.600Z] Removing intermediate container 6066943c5a5e [2024-10-30T06:26:19.600Z] ---> 89e50d309acf [2024-10-30T06:26:19.600Z] Step 11/26 : COPY . . [2024-10-30T06:26:20.167Z] ---> eaed4348c338 [2024-10-30T06:26:20.167Z] Step 12/26 : RUN $MAKE [2024-10-30T06:26:20.167Z] ---> Running in 9ffc6e3ad3a6 [2024-10-30T06:26:20.426Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-30T06:26:54.879Z] Removing intermediate container 9ffc6e3ad3a6 [2024-10-30T06:26:54.879Z] ---> 0b41f14148fd [2024-10-30T06:26:54.879Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T06:26:54.879Z] 3.20: Pulling from library/alpine [2024-10-30T06:26:54.879Z] 43c4264eed91: Already exists [2024-10-30T06:26:54.879Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:26:54.879Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:26:54.879Z] ---> 91ef0af61f39 [2024-10-30T06:26:54.879Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-30T06:26:54.879Z] ---> Running in b3dd4361d72a [2024-10-30T06:26:54.879Z] Removing intermediate container b3dd4361d72a [2024-10-30T06:26:54.879Z] ---> bb462e5f2d8e [2024-10-30T06:26:54.879Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-30T06:26:54.879Z] ---> Running in 3ed32db1e714 [2024-10-30T06:26:55.138Z] Removing intermediate container 3ed32db1e714 [2024-10-30T06:26:55.138Z] ---> 43d4ce77d1bc [2024-10-30T06:26:55.138Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:26:55.138Z] ---> Running in c14cffc40e7b [2024-10-30T06:26:55.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:55.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:55.968Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:26:55.968Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:26:55.968Z] OK: 8 MiB in 15 packages [2024-10-30T06:26:56.229Z] Removing intermediate container c14cffc40e7b [2024-10-30T06:26:56.229Z] ---> b025066e904d [2024-10-30T06:26:56.229Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-30T06:26:56.229Z] ---> Running in 2d5d949af9bb [2024-10-30T06:26:56.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:56.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:56.752Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:26:56.752Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:26:56.752Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:26:57.012Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:26:57.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:57.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:26:57.271Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:26:57.271Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:26:57.271Z] OK: 8 MiB in 15 packages [2024-10-30T06:26:57.839Z] Removing intermediate container 2d5d949af9bb [2024-10-30T06:26:57.839Z] ---> 62e1d56208fb [2024-10-30T06:26:57.839Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-30T06:26:59.749Z] ---> f2ea5a772185 [2024-10-30T06:26:59.749Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-30T06:26:59.749Z] ---> d926f59a6a2b [2024-10-30T06:26:59.749Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-30T06:26:59.749Z] ---> c53901c47510 [2024-10-30T06:26:59.749Z] Step 21/26 : EXPOSE 59986 [2024-10-30T06:26:59.749Z] ---> Running in 28e495230ec8 [2024-10-30T06:26:59.749Z] Removing intermediate container 28e495230ec8 [2024-10-30T06:26:59.749Z] ---> 1e5ba330dd0a [2024-10-30T06:26:59.749Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-30T06:26:59.749Z] ---> Running in b39617fdc0cc [2024-10-30T06:26:59.749Z] Removing intermediate container b39617fdc0cc [2024-10-30T06:26:59.749Z] ---> 45cf725b602e [2024-10-30T06:26:59.749Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:26:59.749Z] ---> Running in c8cc6584c6f6 [2024-10-30T06:27:00.010Z] Removing intermediate container c8cc6584c6f6 [2024-10-30T06:27:00.010Z] ---> aa9d751199d0 [2024-10-30T06:27:00.010Z] Step 24/26 : LABEL arch=amd64 [2024-10-30T06:27:00.010Z] ---> Running in ca3073354ab2 [2024-10-30T06:27:00.010Z] Removing intermediate container ca3073354ab2 [2024-10-30T06:27:00.010Z] ---> fd64112c42b6 [2024-10-30T06:27:00.010Z] Step 25/26 : LABEL git_sha=6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [2024-10-30T06:27:00.010Z] ---> Running in 6f96b535bc3d [2024-10-30T06:27:00.010Z] Removing intermediate container 6f96b535bc3d [2024-10-30T06:27:00.010Z] ---> cbc1f2a3180a [2024-10-30T06:27:00.010Z] Step 26/26 : LABEL version=0.0.0 [2024-10-30T06:27:00.270Z] ---> Running in 7b1de40f879d [2024-10-30T06:27:00.270Z] Removing intermediate container 7b1de40f879d [2024-10-30T06:27:00.270Z] ---> 0bae18a9ce7c [2024-10-30T06:27:00.270Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:27:00.270Z] Successfully built 0bae18a9ce7c [2024-10-30T06:27:00.270Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:27:01.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:27:01.286Z] [2024-10-30T06:27:01.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:27:01.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:27:01.687Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T06:27:01.687Z] 5eb5b503b376: Pulling fs layer [2024-10-30T06:27:01.687Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T06:27:01.687Z] ec43610c2a17: Pulling fs layer [2024-10-30T06:27:01.687Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T06:27:01.687Z] 33b1e0a273af: Pulling fs layer [2024-10-30T06:27:01.687Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T06:27:01.687Z] 2f39f015ded8: Pulling fs layer [2024-10-30T06:27:01.687Z] 3a2ae6a8a46f: Waiting [2024-10-30T06:27:01.687Z] 33b1e0a273af: Waiting [2024-10-30T06:27:01.687Z] 5d3b04190fa2: Waiting [2024-10-30T06:27:01.687Z] 2f39f015ded8: Waiting [2024-10-30T06:27:01.687Z] 5c69ac0246d0: Download complete [2024-10-30T06:27:01.687Z] 3a2ae6a8a46f: Download complete [2024-10-30T06:27:01.687Z] 33b1e0a273af: Verifying Checksum [2024-10-30T06:27:01.687Z] 33b1e0a273af: Download complete [2024-10-30T06:27:01.687Z] ec43610c2a17: Verifying Checksum [2024-10-30T06:27:01.687Z] ec43610c2a17: Download complete [2024-10-30T06:27:01.687Z] 5d3b04190fa2: Verifying Checksum [2024-10-30T06:27:01.687Z] 5d3b04190fa2: Download complete [2024-10-30T06:27:01.944Z] 5eb5b503b376: Verifying Checksum [2024-10-30T06:27:01.944Z] 5eb5b503b376: Download complete [2024-10-30T06:27:02.509Z] 2f39f015ded8: Download complete [2024-10-30T06:27:03.074Z] 5eb5b503b376: Pull complete [2024-10-30T06:27:03.349Z] 5c69ac0246d0: Pull complete [2024-10-30T06:27:03.607Z] ec43610c2a17: Pull complete [2024-10-30T06:27:03.865Z] 3a2ae6a8a46f: Pull complete [2024-10-30T06:27:03.865Z] 33b1e0a273af: Pull complete [2024-10-30T06:27:04.125Z] 5d3b04190fa2: Pull complete [2024-10-30T06:27:08.311Z] 2f39f015ded8: Pull complete [2024-10-30T06:27:08.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T06:27:08.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:27:08.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:27:08.575Z] prd-ubuntu20.04-docker-8c-8g-24092 does not seem to be running inside a container [2024-10-30T06:27:08.605Z] $ 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-422 -v /w/workspace/gexfoundry_device-rest-go_PR-422:/w/workspace/gexfoundry_device-rest-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-422@tmp:/w/workspace/gexfoundry_device-rest-go_PR-422@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 [2024-10-30T06:27:14.427Z] $ docker top a6c8a967b94aaffb25ded842e93aadcb865107bf0f3a45e3d6f2b3f13b2ac6db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:27:14.904Z] ---> job-cost.sh [2024-10-30T06:27:14.904Z] lf-activate-venv: SKIPPING [2024-10-30T06:27:14.904Z] INFO: No Stack... [2024-10-30T06:27:15.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:27:15.421Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:27:15.744Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-422/archives/cost.csv [2024-10-30T06:27:15.745Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T06:27:15.790Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] [2024-10-30T06:27:15.796Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] did not exist. Created. [2024-10-30T06:27:15.802Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:27:16.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T06:27:16.261Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:27:16.301Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:27:16.392Z] $ docker stop --time=1 a6c8a967b94aaffb25ded842e93aadcb865107bf0f3a45e3d6f2b3f13b2ac6db [2024-10-30T06:27:17.547Z] $ docker rm -f --volumes a6c8a967b94aaffb25ded842e93aadcb865107bf0f3a45e3d6f2b3f13b2ac6db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T06:28:23.547Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24095 in /w/workspace/gexfoundry_device-rest-go_PR-422 [Pipeline] { [Pipeline] ws [2024-10-30T06:28:23.625Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-30T06:28:26.738Z] The recommended git tool is: git [2024-10-30T06:28:36.700Z] using credential edgex-jenkins-ssh [2024-10-30T06:28:36.730Z] Cloning the remote Git repository [2024-10-30T06:28:36.808Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-30T06:28:37.378Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-30T06:28:37.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-30T06:28:37.631Z] > git --version # timeout=10 [2024-10-30T06:28:37.669Z] > git --version # 'git version 2.25.1' [2024-10-30T06:28:37.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:28:37.939Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:28:41.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-30T06:28:41.149Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:28:42.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-30T06:28:42.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-30T06:28:42.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:28:42.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-30T06:28:42.927Z] Merging remotes/origin/main commit dc396c4a7312713bf5afd7bf9e2532e3e112802c into PR head commit 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [2024-10-30T06:28:43.250Z] Merge succeeded, producing 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [2024-10-30T06:28:43.250Z] Checking out Revision 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e (PR-422) [2024-10-30T06:28:42.948Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:28:43.035Z] > git checkout -f 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e # timeout=10 [2024-10-30T06:28:43.131Z] > git remote # timeout=10 [2024-10-30T06:28:43.154Z] > git config --get remote.origin.url # timeout=10 [2024-10-30T06:28:43.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:28:43.194Z] > git merge dc396c4a7312713bf5afd7bf9e2532e3e112802c # timeout=10 [2024-10-30T06:28:43.226Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-30T06:28:43.256Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:28:43.278Z] > git checkout -f 6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e # timeout=10 [2024-10-30T06:28:47.042Z] Commit message: "refactor!: update module to v4" [2024-10-30T06:28:47.103Z] > git --version # timeout=10 [2024-10-30T06:28:47.115Z] > git --version # 'git version 2.25.1' [2024-10-30T06:28:47.136Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:28:49.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T06:28:49.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:28:49.123Z] Dload Upload Total Spent Left Speed [2024-10-30T06:28:49.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 260k 0 --:--:-- --:--:-- --:--:-- 266k [Pipeline] sh [2024-10-30T06:28:49.469Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T06:28:49.816Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T06:28:49.816Z] + sudo tee /etc/docker/daemon.new [2024-10-30T06:28:49.816Z] { [2024-10-30T06:28:49.816Z] "registry-mirrors": [ [2024-10-30T06:28:49.816Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T06:28:49.816Z] ], [2024-10-30T06:28:49.816Z] "bip": "10.250.0.254/24", [2024-10-30T06:28:49.816Z] "hosts": [ [2024-10-30T06:28:49.816Z] "tcp://0.0.0.0:5555", [2024-10-30T06:28:49.816Z] "unix:///var/run/docker.sock" [2024-10-30T06:28:49.816Z] ], [2024-10-30T06:28:49.816Z] "mtu": 1458, [2024-10-30T06:28:49.816Z] "selinux-enabled": true, [2024-10-30T06:28:49.816Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T06:28:49.816Z] } [Pipeline] sh [2024-10-30T06:28:50.170Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T06:28:50.523Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:29:08.885Z] provisioning config files... [2024-10-30T06:29:08.923Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config14640274950589085449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:29:09.497Z] ---> ****-login.sh [2024-10-30T06:29:09.497Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:29:09.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:29:10.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:29:10.043Z] Configure a credential helper to remove this warning. See [2024-10-30T06:29:10.043Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:29:10.043Z] [2024-10-30T06:29:10.043Z] Login Succeeded [2024-10-30T06:29:10.043Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:29:10.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:29:10.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:29:10.586Z] Configure a credential helper to remove this warning. See [2024-10-30T06:29:10.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:29:10.586Z] [2024-10-30T06:29:10.586Z] Login Succeeded [2024-10-30T06:29:10.586Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:29:10.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:29:10.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:29:10.862Z] Configure a credential helper to remove this warning. See [2024-10-30T06:29:10.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:29:10.862Z] [2024-10-30T06:29:10.862Z] Login Succeeded [2024-10-30T06:29:10.863Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:29:11.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:29:11.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:29:11.132Z] Configure a credential helper to remove this warning. See [2024-10-30T06:29:11.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:29:11.133Z] [2024-10-30T06:29:11.133Z] Login Succeeded [2024-10-30T06:29:11.401Z] ****.io [2024-10-30T06:29:11.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:29:11.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:29:11.673Z] Configure a credential helper to remove this warning. See [2024-10-30T06:29:11.673Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:29:11.673Z] [2024-10-30T06:29:11.673Z] Login Succeeded [2024-10-30T06:29:11.673Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:29:11.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:29:12.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:29:12.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:29:12.260Z] ========================================================= [2024-10-30T06:29:12.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T06:29:12.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:29:12.810Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T06:29:12.810Z] Sending build context to Docker daemon 140.8kB [2024-10-30T06:29:13.078Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:29:13.078Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T06:29:13.078Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T06:29:13.078Z] cf04c63912e1: Pulling fs layer [2024-10-30T06:29:13.078Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T06:29:13.078Z] a37a00ec5f00: Pulling fs layer [2024-10-30T06:29:13.078Z] 50b3750afda1: Pulling fs layer [2024-10-30T06:29:13.078Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:29:13.078Z] 80978eb59214: Pulling fs layer [2024-10-30T06:29:13.078Z] 50b3750afda1: Waiting [2024-10-30T06:29:13.078Z] 4f4fb700ef54: Waiting [2024-10-30T06:29:13.078Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T06:29:13.078Z] 80978eb59214: Waiting [2024-10-30T06:29:13.078Z] c5a475d317c9: Pulling fs layer [2024-10-30T06:29:13.078Z] c9f46d7d2bd2: Waiting [2024-10-30T06:29:13.078Z] c5a475d317c9: Waiting [2024-10-30T06:29:13.355Z] 55b35a11ae5e: Download complete [2024-10-30T06:29:13.355Z] 50b3750afda1: Verifying Checksum [2024-10-30T06:29:13.355Z] 50b3750afda1: Download complete [2024-10-30T06:29:13.355Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:29:13.355Z] 4f4fb700ef54: Download complete [2024-10-30T06:29:13.355Z] 80978eb59214: Download complete [2024-10-30T06:29:13.355Z] cf04c63912e1: Verifying Checksum [2024-10-30T06:29:13.355Z] cf04c63912e1: Download complete [2024-10-30T06:29:13.943Z] c5a475d317c9: Verifying Checksum [2024-10-30T06:29:13.943Z] c5a475d317c9: Download complete [2024-10-30T06:29:14.211Z] cf04c63912e1: Pull complete [2024-10-30T06:29:14.795Z] 55b35a11ae5e: Pull complete [2024-10-30T06:29:15.384Z] a37a00ec5f00: Verifying Checksum [2024-10-30T06:29:15.384Z] a37a00ec5f00: Download complete [2024-10-30T06:29:15.970Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T06:29:15.970Z] c9f46d7d2bd2: Download complete [2024-10-30T06:29:30.981Z] a37a00ec5f00: Pull complete [2024-10-30T06:29:30.981Z] 50b3750afda1: Pull complete [2024-10-30T06:29:30.981Z] 4f4fb700ef54: Pull complete [2024-10-30T06:29:30.981Z] 80978eb59214: Pull complete [2024-10-30T06:29:36.325Z] c9f46d7d2bd2: Pull complete [2024-10-30T06:29:38.270Z] c5a475d317c9: Pull complete [2024-10-30T06:29:38.270Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T06:29:38.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T06:29:38.270Z] ---> be29e6b0f0d4 [2024-10-30T06:29:38.270Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:29:39.322Z] ---> Running in b75516c220af [2024-10-30T06:29:39.593Z] Removing intermediate container b75516c220af [2024-10-30T06:29:39.593Z] ---> 4bf5f1faa085 [2024-10-30T06:29:39.593Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:29:39.863Z] ---> Running in 35995896a2c5 [2024-10-30T06:29:40.129Z] Removing intermediate container 35995896a2c5 [2024-10-30T06:29:40.129Z] ---> 4df98b5218ea [2024-10-30T06:29:40.129Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:29:40.129Z] ---> Running in b23bb53fc233 [2024-10-30T06:29:40.395Z] Removing intermediate container b23bb53fc233 [2024-10-30T06:29:40.395Z] ---> 99a7f82ebde2 [2024-10-30T06:29:40.395Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:29:40.395Z] ---> Running in 3cac1246bd54 [2024-10-30T06:29:40.675Z] Removing intermediate container 3cac1246bd54 [2024-10-30T06:29:40.675Z] ---> e667f8167cd7 [2024-10-30T06:29:40.675Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:29:40.675Z] ---> Running in b09d946fb464 [2024-10-30T06:29:43.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:29:43.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:29:44.949Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:29:44.949Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T06:29:44.949Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:29:44.949Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:29:44.949Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:29:44.949Z] OK: 242 MiB in 58 packages [2024-10-30T06:29:45.918Z] Removing intermediate container b09d946fb464 [2024-10-30T06:29:45.918Z] ---> 4c76e8d29f2b [2024-10-30T06:29:45.918Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-30T06:29:46.187Z] ---> Running in 5f60dc6b9e7a [2024-10-30T06:29:46.454Z] Removing intermediate container 5f60dc6b9e7a [2024-10-30T06:29:46.454Z] ---> 3e10d12846c8 [2024-10-30T06:29:46.454Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T06:29:46.721Z] ---> 6e8bef3554a5 [2024-10-30T06:29:46.721Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:29:46.992Z] ---> Running in 855d54486495 [2024-10-30T06:31:42.182Z] Removing intermediate container 855d54486495 [2024-10-30T06:31:42.182Z] ---> 791da0bb3e39 [2024-10-30T06:31:42.182Z] Step 11/12 : COPY . . [2024-10-30T06:31:42.182Z] ---> 45986233992a [2024-10-30T06:31:42.182Z] Step 12/12 : RUN $MAKE [2024-10-30T06:31:42.182Z] ---> Running in edd00837af9c [2024-10-30T06:31:42.182Z] noop [2024-10-30T06:31:42.182Z] Removing intermediate container edd00837af9c [2024-10-30T06:31:42.182Z] ---> bb4c0e5db661 [2024-10-30T06:31:42.182Z] Successfully built bb4c0e5db661 [2024-10-30T06:31:42.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:31:42.709Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:31:42.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:31:43.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-24095 does not seem to be running inside a container [2024-10-30T06:31:43.106Z] $ 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 [2024-10-30T06:31:44.455Z] $ docker top 82eb31b897ad185907d7d2e76e3e41d3d23c225ffbe51df8a5bffdc1209648d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:31:45.391Z] + go version [2024-10-30T06:31:45.391Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T06:31:45.425Z] $ docker stop --time=1 82eb31b897ad185907d7d2e76e3e41d3d23c225ffbe51df8a5bffdc1209648d6 [2024-10-30T06:31:47.105Z] $ docker rm -f --volumes 82eb31b897ad185907d7d2e76e3e41d3d23c225ffbe51df8a5bffdc1209648d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:31:48.052Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:31:48.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:31:48.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-24095 does not seem to be running inside a container [2024-10-30T06:31:48.389Z] $ 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 [2024-10-30T06:31:49.691Z] $ docker top b1f9f71134a140153379ffa13579b8565e3178f73613ec1744310ad2bab7a662 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:31:50.627Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:31:51.365Z] + make test [2024-10-30T06:31:51.365Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T06:32:00.566Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-30T06:35:38.079Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-30T06:35:38.347Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 33.2% of statements [2024-10-30T06:35:39.753Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T06:35:39.753Z] go vet ./... [2024-10-30T06:36:36.148Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:36:36.148Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:36:36.148Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:36:36.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:36:36.239Z] $ docker stop --time=1 b1f9f71134a140153379ffa13579b8565e3178f73613ec1744310ad2bab7a662 [2024-10-30T06:36:38.030Z] $ docker rm -f --volumes b1f9f71134a140153379ffa13579b8565e3178f73613ec1744310ad2bab7a662 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:36:39.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:36:39.665Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T06:36:40.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:36:40.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:36:41.114Z] + ls -al . [2024-10-30T06:36:41.114Z] total 252 [2024-10-30T06:36:41.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:31 . [2024-10-30T06:36:41.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:28 .. [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 30 06:28 .dockerignore [2024-10-30T06:36:41.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:28 .git [2024-10-30T06:36:41.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:28 .github [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 06:28 .gitignore [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 06:28 .golangci.yml [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 30 06:28 Attribution.txt [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 30 06:28 CHANGELOG.md [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 1697 Oct 30 06:28 Dockerfile [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:28 GOVERNANCE.md [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 30 06:28 Jenkinsfile [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:28 LICENSE [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 30 06:28 Makefile [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 06:28 OWNERS.md [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 30 06:28 README.md [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:24 VERSION [2024-10-30T06:36:41.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:28 bin [2024-10-30T06:36:41.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:28 cmd [2024-10-30T06:36:41.114Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 30 06:35 coverage.out [2024-10-30T06:36:41.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:28 driver [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 7099 Oct 30 06:28 go.mod [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 06:28 go.sum [2024-10-30T06:36:41.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:28 openapi [2024-10-30T06:36:41.114Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 30 06:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:36:41.560Z] + 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=6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e --label arch=arm64 --label version=0.0.0 . [2024-10-30T06:36:41.560Z] Sending build context to Docker daemon 156.2kB [2024-10-30T06:36:41.827Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:36:41.827Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T06:36:41.827Z] ---> bb4c0e5db661 [2024-10-30T06:36:41.827Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:36:41.827Z] ---> Running in 44e96715954c [2024-10-30T06:36:42.094Z] Removing intermediate container 44e96715954c [2024-10-30T06:36:42.094Z] ---> 1fa00aefc985 [2024-10-30T06:36:42.094Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:36:42.360Z] ---> Running in b08a95fd2150 [2024-10-30T06:36:42.628Z] Removing intermediate container b08a95fd2150 [2024-10-30T06:36:42.628Z] ---> a16d215c7c4e [2024-10-30T06:36:42.628Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:36:42.628Z] ---> Running in b6fc7f148e4a [2024-10-30T06:36:42.896Z] Removing intermediate container b6fc7f148e4a [2024-10-30T06:36:42.896Z] ---> 10df038f3e5c [2024-10-30T06:36:42.896Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:36:42.896Z] ---> Running in c1253ea50fb2 [2024-10-30T06:36:43.165Z] Removing intermediate container c1253ea50fb2 [2024-10-30T06:36:43.165Z] ---> 48d4381757d3 [2024-10-30T06:36:43.165Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:36:43.432Z] ---> Running in 92fe6a3eda68 [2024-10-30T06:36:44.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:36:44.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:36:46.147Z] OK: 242 MiB in 58 packages [2024-10-30T06:36:47.112Z] Removing intermediate container 92fe6a3eda68 [2024-10-30T06:36:47.112Z] ---> 5ba3306f6e1b [2024-10-30T06:36:47.112Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-30T06:36:47.395Z] ---> Running in 541fce42f758 [2024-10-30T06:36:47.662Z] Removing intermediate container 541fce42f758 [2024-10-30T06:36:47.662Z] ---> 322324815a4a [2024-10-30T06:36:47.662Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-30T06:36:48.250Z] ---> 22dc647c90a4 [2024-10-30T06:36:48.250Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:36:48.250Z] ---> Running in 886c8c6f0d69 [2024-10-30T06:36:50.842Z] Removing intermediate container 886c8c6f0d69 [2024-10-30T06:36:50.842Z] ---> c05110e6dbca [2024-10-30T06:36:50.842Z] Step 11/26 : COPY . . [2024-10-30T06:36:51.816Z] ---> 30a5326a5e70 [2024-10-30T06:36:51.816Z] Step 12/26 : RUN $MAKE [2024-10-30T06:36:51.816Z] ---> Running in 80a3289bf49e [2024-10-30T06:36:52.785Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-30T06:40:29.736Z] Removing intermediate container 80a3289bf49e [2024-10-30T06:40:29.736Z] ---> 4e0d17856513 [2024-10-30T06:40:29.736Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T06:40:29.736Z] 3.20: Pulling from library/alpine [2024-10-30T06:40:29.736Z] cf04c63912e1: Already exists [2024-10-30T06:40:29.736Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:40:29.736Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:40:29.736Z] ---> c157a85ed455 [2024-10-30T06:40:29.736Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-30T06:40:29.736Z] ---> Running in 1d1d0814cb1b [2024-10-30T06:40:29.736Z] Removing intermediate container 1d1d0814cb1b [2024-10-30T06:40:29.736Z] ---> a4593c9393d3 [2024-10-30T06:40:29.736Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-30T06:40:29.736Z] ---> Running in 0bd073f916b3 [2024-10-30T06:40:30.005Z] Removing intermediate container 0bd073f916b3 [2024-10-30T06:40:30.005Z] ---> 9a12753b16e9 [2024-10-30T06:40:30.005Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:40:30.005Z] ---> Running in 3e78976639f8 [2024-10-30T06:40:30.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:40:31.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:40:32.974Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:40:32.974Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:40:32.974Z] OK: 9 MiB in 15 packages [2024-10-30T06:40:34.393Z] Removing intermediate container 3e78976639f8 [2024-10-30T06:40:34.393Z] ---> b5f2216531e2 [2024-10-30T06:40:34.393Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-30T06:40:34.393Z] ---> Running in 8f1467e0fd64 [2024-10-30T06:40:35.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:40:35.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:40:37.064Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:40:37.064Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:40:37.064Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:40:37.064Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:40:37.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:40:37.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:40:38.749Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:40:39.025Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:40:39.025Z] OK: 9 MiB in 15 packages [2024-10-30T06:40:40.446Z] Removing intermediate container 8f1467e0fd64 [2024-10-30T06:40:40.446Z] ---> 54d9dd34fa72 [2024-10-30T06:40:40.446Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-30T06:40:43.050Z] ---> 170cae2b2aa2 [2024-10-30T06:40:43.050Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-30T06:40:43.050Z] ---> bc2f466bdac5 [2024-10-30T06:40:43.050Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-30T06:40:43.639Z] ---> 19d427a076b0 [2024-10-30T06:40:43.639Z] Step 21/26 : EXPOSE 59986 [2024-10-30T06:40:43.912Z] ---> Running in 0dc07a607d73 [2024-10-30T06:40:44.182Z] Removing intermediate container 0dc07a607d73 [2024-10-30T06:40:44.182Z] ---> 399d1dab2c73 [2024-10-30T06:40:44.182Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-30T06:40:44.182Z] ---> Running in d0f05ad953ff [2024-10-30T06:40:44.452Z] Removing intermediate container d0f05ad953ff [2024-10-30T06:40:44.452Z] ---> 1cff72d0c79b [2024-10-30T06:40:44.452Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:40:44.721Z] ---> Running in 35c718262fd8 [2024-10-30T06:40:44.991Z] Removing intermediate container 35c718262fd8 [2024-10-30T06:40:44.991Z] ---> d6393dd5fa3f [2024-10-30T06:40:44.991Z] Step 24/26 : LABEL arch=arm64 [2024-10-30T06:40:44.991Z] ---> Running in 47f50bba2e21 [2024-10-30T06:40:45.273Z] Removing intermediate container 47f50bba2e21 [2024-10-30T06:40:45.273Z] ---> b85b4b7cfcbc [2024-10-30T06:40:45.273Z] Step 25/26 : LABEL git_sha=6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [2024-10-30T06:40:45.542Z] ---> Running in 9ca55f278bfc [2024-10-30T06:40:45.810Z] Removing intermediate container 9ca55f278bfc [2024-10-30T06:40:45.810Z] ---> 3ea2d92ea5d4 [2024-10-30T06:40:45.810Z] Step 26/26 : LABEL version=0.0.0 [2024-10-30T06:40:45.810Z] ---> Running in 5e7207286221 [2024-10-30T06:40:46.077Z] Removing intermediate container 5e7207286221 [2024-10-30T06:40:46.077Z] ---> 1a1f0f929ea5 [2024-10-30T06:40:46.346Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:40:46.346Z] Successfully built 1a1f0f929ea5 [2024-10-30T06:40:46.346Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:40:47.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:40:47.411Z] [2024-10-30T06:40:47.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:40:47.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:40:48.147Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T06:40:48.147Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T06:40:48.147Z] 04944245beec: Pulling fs layer [2024-10-30T06:40:48.147Z] 699f458cf7ca: Pulling fs layer [2024-10-30T06:40:48.147Z] 765212b225bb: Pulling fs layer [2024-10-30T06:40:48.147Z] f23df028b6ca: Pulling fs layer [2024-10-30T06:40:48.147Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T06:40:48.147Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T06:40:48.147Z] 765212b225bb: Waiting [2024-10-30T06:40:48.147Z] f23df028b6ca: Waiting [2024-10-30T06:40:48.147Z] d65c8cfc05b1: Waiting [2024-10-30T06:40:48.147Z] 2437ff75d9bd: Waiting [2024-10-30T06:40:48.147Z] 04944245beec: Verifying Checksum [2024-10-30T06:40:48.147Z] 04944245beec: Download complete [2024-10-30T06:40:48.147Z] 765212b225bb: Verifying Checksum [2024-10-30T06:40:48.147Z] 765212b225bb: Download complete [2024-10-30T06:40:48.147Z] f23df028b6ca: Download complete [2024-10-30T06:40:48.147Z] d65c8cfc05b1: Verifying Checksum [2024-10-30T06:40:48.147Z] d65c8cfc05b1: Download complete [2024-10-30T06:40:48.425Z] 699f458cf7ca: Verifying Checksum [2024-10-30T06:40:48.425Z] 699f458cf7ca: Download complete [2024-10-30T06:40:49.108Z] 8998bd30e6a1: Download complete [2024-10-30T06:40:51.737Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T06:40:51.737Z] 2437ff75d9bd: Download complete [2024-10-30T06:40:54.311Z] 8998bd30e6a1: Pull complete [2024-10-30T06:40:54.577Z] 04944245beec: Pull complete [2024-10-30T06:40:55.982Z] 699f458cf7ca: Pull complete [2024-10-30T06:40:56.249Z] 765212b225bb: Pull complete [2024-10-30T06:40:57.205Z] f23df028b6ca: Pull complete [2024-10-30T06:40:57.470Z] d65c8cfc05b1: Pull complete [2024-10-30T06:41:12.465Z] 2437ff75d9bd: Pull complete [2024-10-30T06:41:12.465Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T06:41:12.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:41:12.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:41:12.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-24095 does not seem to be running inside a container [2024-10-30T06:41:12.882Z] $ 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 [2024-10-30T06:41:15.709Z] $ docker top b5616fe237798c73161d07c11dc426fb7a0b49fdfaedd56f498dd2889fdfdeb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:16.632Z] ---> job-cost.sh [2024-10-30T06:41:16.633Z] lf-activate-venv: SKIPPING [2024-10-30T06:41:16.633Z] INFO: No Stack... [2024-10-30T06:41:16.897Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T06:41:17.852Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:41:18.200Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-30T06:41:18.200Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T06:41:18.529Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] [2024-10-30T06:41:18.535Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] did not exist. Created. [2024-10-30T06:41:18.541Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:41:19.306Z] /w/workspace/device-rest-go/1@tmp/durable-55bc80f9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T06:41:19.673Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T06:41:19.977Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T06:41:20.028Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:41:20.049Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:41:20.148Z] $ docker stop --time=1 b5616fe237798c73161d07c11dc426fb7a0b49fdfaedd56f498dd2889fdfdeb3 [2024-10-30T06:41:21.635Z] $ docker rm -f --volumes b5616fe237798c73161d07c11dc426fb7a0b49fdfaedd56f498dd2889fdfdeb3 [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 [2024-10-30T06:41:23.445Z] provisioning config files... [2024-10-30T06:41:23.453Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-422@tmp/config12226141185866059694tmp [Pipeline] { [Pipeline] sh [2024-10-30T06:41:23.823Z] + set +x [2024-10-30T06:41:23.823Z] + bash -s --+ [2024-10-30T06:41:23.823Z] curl -s https://codecov.io/bash [2024-10-30T06:41:23.823Z] [2024-10-30T06:41:23.823Z] _____ _ [2024-10-30T06:41:23.823Z] / ____| | | [2024-10-30T06:41:23.823Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T06:41:23.823Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T06:41:23.823Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T06:41:23.823Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T06:41:23.823Z] Bash-1.0.6 [2024-10-30T06:41:23.823Z] [2024-10-30T06:41:23.823Z] [2024-10-30T06:41:23.824Z] ==> git version 2.25.1 found [2024-10-30T06:41:23.824Z] ==> 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 [2024-10-30T06:41:23.824Z] Release-Date: 2020-01-08 [2024-10-30T06:41:23.824Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-30T06:41:23.824Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T06:41:23.824Z] ==> Jenkins CI detected. [2024-10-30T06:41:23.824Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-422 [2024-10-30T06:41:23.824Z] project root: . [2024-10-30T06:41:23.824Z] --> token set from env [2024-10-30T06:41:23.824Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T06:41:23.824Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T06:41:23.824Z] ==> Python coveragepy not found [2024-10-30T06:41:23.824Z] ==> Searching for coverage reports in: [2024-10-30T06:41:23.824Z] + . [2024-10-30T06:41:23.824Z] -> Found 1 reports [2024-10-30T06:41:23.824Z] ==> Detecting git/mercurial file structure [2024-10-30T06:41:23.824Z] ==> Reading reports [2024-10-30T06:41:24.083Z] + ./coverage.out bytes=14565 [2024-10-30T06:41:24.083Z] ==> Appending adjustments [2024-10-30T06:41:24.083Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T06:41:24.083Z] + Found adjustments [2024-10-30T06:41:24.083Z] ==> Gzipping contents [2024-10-30T06:41:24.083Z] 4.0K /tmp/codecov.xQxzcX.gz [2024-10-30T06:41:24.083Z] ==> Uploading reports [2024-10-30T06:41:24.083Z] url: https://codecov.io [2024-10-30T06:41:24.083Z] query: branch=PR-422&commit=6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=422&job=&cmd_args= [2024-10-30T06:41:24.083Z] -> Pinging Codecov [2024-10-30T06:41:24.084Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-422&commit=6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=422&job=&cmd_args= [2024-10-30T06:41:24.343Z] -> Uploading to [2024-10-30T06:41:24.343Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e/84e21941-3408-4cff-a522-17de1352d43e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T064124Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2c7e703a179c23624ef1b458a46f580fd2eb33635ae49d8b5818150cd987b410 [2024-10-30T06:41:24.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:41:24.343Z] Dload Upload Total Spent Left Speed [2024-10-30T06:41:24.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10773 --:--:-- --:--:-- --:--:-- 10773 [2024-10-30T06:41:24.343Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6bfdd3ff5f3e792eafad2b4c95b01495d5837e2e [Pipeline] } [2024-10-30T06:41:24.373Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-30T06:41:26.574Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-422/archives ] [2024-10-30T06:41:26.574Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-422/archives [2024-10-30T06:41:26.574Z] total 16 [2024-10-30T06:41:26.574Z] drwxr-xr-x 3 root root 4096 Oct 30 06:27 . [2024-10-30T06:41:26.574Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:27 .. [2024-10-30T06:41:26.574Z] drwxr-xr-x 2 root root 4096 Oct 30 06:27 cost [2024-10-30T06:41:26.574Z] -rw-r--r-- 1 root root 86 Oct 30 06:27 cost.csv [2024-10-30T06:41:26.574Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-422/archives [2024-10-30T06:41:26.574Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-422/archives [2024-10-30T06:41:26.574Z] total 16 [2024-10-30T06:41:26.574Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:27 . [2024-10-30T06:41:26.574Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:27 .. [2024-10-30T06:41:26.574Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 06:27 cost [2024-10-30T06:41:26.574Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 30 06:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:26.913Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:27.879Z] ---> package-listing.sh [2024-10-30T06:41:27.879Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T06:41:27.879Z] ++ facter osfamily [2024-10-30T06:41:27.880Z] + OS_FAMILY=debian [2024-10-30T06:41:27.880Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-422 [2024-10-30T06:41:27.880Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T06:41:27.880Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T06:41:27.880Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T06:41:27.880Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T06:41:27.880Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-422 ']' [2024-10-30T06:41:27.880Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T06:41:27.880Z] + case "${OS_FAMILY}" in [2024-10-30T06:41:27.880Z] + dpkg -l [2024-10-30T06:41:27.880Z] + grep '^ii' [2024-10-30T06:41:28.154Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T06:41:28.154Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T06:41:28.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T06:41:28.154Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-422 ']' [2024-10-30T06:41:28.154Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-422/archives/ [2024-10-30T06:41:28.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-422/archives/ [Pipeline] echo [2024-10-30T06:41:28.194Z] 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-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-30T06:41:28.529Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:41:28.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:41:28.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:41:29.086Z] prd-ubuntu20.04-docker-8c-8g-24092 does not seem to be running inside a container [2024-10-30T06:41:29.107Z] $ 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-422/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-422 -v /w/workspace/gexfoundry_device-rest-go_PR-422:/w/workspace/gexfoundry_device-rest-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-422@tmp:/w/workspace/gexfoundry_device-rest-go_PR-422@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 [2024-10-30T06:41:29.275Z] $ docker top 346aae8f25f4159c04fe6d0c9c199960bb580088ebeb99425c3df16ebbccfbf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:41:29.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T06:41:30.019Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T06:41:30.331Z] + ls /var/log/sa-host [2024-10-30T06:41:30.331Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:41:30.571Z] provisioning config files... [2024-10-30T06:41:30.579Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-422@tmp/config3538861443480783454tmp [Pipeline] { [Pipeline] echo [2024-10-30T06:41:30.657Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:30.981Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T06:41:31.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:31.440Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T06:41:31.487Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:31.834Z] ---> sudo-logs.sh [2024-10-30T06:41:31.834Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T06:41:31.975Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:32.299Z] ---> job-cost.sh [2024-10-30T06:41:32.299Z] lf-activate-venv: SKIPPING [2024-10-30T06:41:32.299Z] DEBUG: total: 0.2199999988079071 [2024-10-30T06:41:32.299Z] INFO: Retrieving Stack Cost... [2024-10-30T06:41:32.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:41:33.127Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T06:41:33.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:41:33.495Z] ---> logs-deploy.sh [2024-10-30T06:41:33.495Z] lf-activate-venv: SKIPPING [2024-10-30T06:41:33.495Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-422/1 [2024-10-30T06:41:33.495Z] INFO: archiving workspace using pattern(s): [2024-10-30T06:41:34.434Z] Archives upload complete. [2024-10-30T06:41:34.434Z] INFO: archiving logs to Nexus