Pull request #445 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373+44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 (1cb9f7d4f89d8f65c9953e105af60a6af038ece0) 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-ssh13245870090285730746.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh11269388662676622213.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7618532383724952265.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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17622132745371675477.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh17402951955120554115.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13361854531137158097.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-37030 in /w/workspace/gexfoundry_device-rest-go_PR-445 [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-445 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 into PR head commit b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 Merge succeeded, producing b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 Checking out Revision b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 (PR-445) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 # 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 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-01-17T20:44:14.471Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-01-17T20:44:14.667Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-01-17T20:44:14.773Z] ========================================================= [2025-01-17T20:44:14.773Z] EdgeX Global Pipelines Version Info [2025-01-17T20:44:14.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:44:15.544Z] ------------------- [2025-01-17T20:44:15.544Z] stable info: [2025-01-17T20:44:15.544Z] ------------------- [2025-01-17T20:44:15.544Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-01-17T20:44:15.544Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-01-17T20:44:15.544Z] Message: update stable to v1.0.269 [2025-01-17T20:44:16.116Z] ------------------- [2025-01-17T20:44:16.116Z] experimental info: [2025-01-17T20:44:16.116Z] ------------------- [2025-01-17T20:44:16.116Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2025-01-17T20:44:16.116Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-01-17T20:44:16.116Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-01-17T20:44:16.317Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2025-01-17T20:44:16.368Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2025-01-17T20:44:16.420Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-01-17T20:44:16.468Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-01-17T20:44:16.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-01-17T20:44:16.569Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-01-17T20:44:16.625Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-01-17T20:44:16.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-01-17T20:44:16.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-01-17T20:44:16.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-01-17T20:44:16.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-01-17T20:44:16.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2025-01-17T20:44:16.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-01-17T20:44:16.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-01-17T20:44:17.045Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-01-17T20:44:17.098Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-01-17T20:44:17.152Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-01-17T20:44:17.199Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-01-17T20:44:17.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-01-17T20:44:17.303Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-01-17T20:44:17.360Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-01-17T20:44:17.411Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-01-17T20:44:17.460Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-01-17T20:44:17.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-01-17T20:44:17.549Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-01-17T20:44:17.601Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-01-17T20:44:17.649Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-01-17T20:44:17.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2025-01-17T20:44:17.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2025-01-17T20:44:17.807Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2025-01-17T20:44:17.860Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [Pipeline] echo [2025-01-17T20:44:17.911Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b40fd93 [Pipeline] echo [2025-01-17T20:44:17.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-01-17T20:44:18.110Z] provisioning config files... [2025-01-17T20:44:18.125Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp/config6480590280660859153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:44:18.517Z] ---> ****-login.sh [2025-01-17T20:44:18.517Z] nexus3.edgexfoundry.org:10001 [2025-01-17T20:44:18.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:18.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:18.777Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:18.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:18.777Z] [2025-01-17T20:44:18.777Z] Login Succeeded [2025-01-17T20:44:18.777Z] nexus3.edgexfoundry.org:10002 [2025-01-17T20:44:19.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:19.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:19.036Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:19.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:19.036Z] [2025-01-17T20:44:19.036Z] Login Succeeded [2025-01-17T20:44:19.036Z] nexus3.edgexfoundry.org:10003 [2025-01-17T20:44:19.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:19.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:19.036Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:19.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:19.036Z] [2025-01-17T20:44:19.036Z] Login Succeeded [2025-01-17T20:44:19.036Z] nexus3.edgexfoundry.org:10004 [2025-01-17T20:44:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:19.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:19.296Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:19.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:19.296Z] [2025-01-17T20:44:19.296Z] Login Succeeded [2025-01-17T20:44:19.296Z] ****.io [2025-01-17T20:44:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:19.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:19.558Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:19.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:19.558Z] [2025-01-17T20:44:19.558Z] Login Succeeded [2025-01-17T20:44:19.558Z] ---> ****-login.sh ends [Pipeline] } [2025-01-17T20:44:19.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-01-17T20:44:20.251Z] + git rev-list -1 --merges b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373~1..b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [Pipeline] echo [2025-01-17T20:44:20.297Z] -----------> git rev-list -1 --merges b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373~1..b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [false] [Pipeline] sh [2025-01-17T20:44:20.617Z] + git log --format=format:%s -1 b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [Pipeline] echo [2025-01-17T20:44:20.664Z] ========================================================= [2025-01-17T20:44:20.664Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-01-17T20:44:20.664Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-01-17T20:44:21.105Z] + git log --format=format:%s -1 b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [Pipeline] echo [2025-01-17T20:44:21.137Z] [semverPrep] GIT_COMMIT: b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2025-01-17T20:44:21.174Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-01-17T20:44:21.587Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-01-17T20:44:21.587Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-01-17T20:44:21.587Z] + [ -e /tmp/ssh_known_hosts ] [2025-01-17T20:44:21.587Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-01-17T20:44:21.587Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-01-17T20:44:21.587Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-01-17T20:44:21.587Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:44:22.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-01-17T20:44:22.078Z] [2025-01-17T20:44:22.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:44:22.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-01-17T20:44:22.471Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-01-17T20:44:22.471Z] b85a868b505f: Pulling fs layer [2025-01-17T20:44:22.471Z] e2be974225ed: Pulling fs layer [2025-01-17T20:44:22.471Z] 339a4e72a1f5: Pulling fs layer [2025-01-17T20:44:22.471Z] 988bab9f4d93: Pulling fs layer [2025-01-17T20:44:22.471Z] 1469e6f7b9e6: Pulling fs layer [2025-01-17T20:44:22.471Z] eaf3925da568: Pulling fs layer [2025-01-17T20:44:22.471Z] bab4dde63d76: Pulling fs layer [2025-01-17T20:44:22.471Z] bde34c3a00c8: Pulling fs layer [2025-01-17T20:44:22.471Z] b352a97aabf1: Pulling fs layer [2025-01-17T20:44:22.471Z] 4872d77fe225: Pulling fs layer [2025-01-17T20:44:22.471Z] 5851b861e8e6: Pulling fs layer [2025-01-17T20:44:22.471Z] eaf3925da568: Waiting [2025-01-17T20:44:22.471Z] bab4dde63d76: Waiting [2025-01-17T20:44:22.471Z] bde34c3a00c8: Waiting [2025-01-17T20:44:22.471Z] b352a97aabf1: Waiting [2025-01-17T20:44:22.471Z] 4872d77fe225: Waiting [2025-01-17T20:44:22.471Z] 988bab9f4d93: Waiting [2025-01-17T20:44:22.471Z] 5851b861e8e6: Waiting [2025-01-17T20:44:22.471Z] 1469e6f7b9e6: Waiting [2025-01-17T20:44:22.471Z] e2be974225ed: Download complete [2025-01-17T20:44:22.471Z] 988bab9f4d93: Download complete [2025-01-17T20:44:22.471Z] 1469e6f7b9e6: Verifying Checksum [2025-01-17T20:44:22.471Z] 1469e6f7b9e6: Download complete [2025-01-17T20:44:22.471Z] eaf3925da568: Verifying Checksum [2025-01-17T20:44:22.471Z] eaf3925da568: Download complete [2025-01-17T20:44:22.730Z] 339a4e72a1f5: Verifying Checksum [2025-01-17T20:44:22.730Z] 339a4e72a1f5: Download complete [2025-01-17T20:44:22.730Z] bde34c3a00c8: Verifying Checksum [2025-01-17T20:44:22.730Z] bde34c3a00c8: Download complete [2025-01-17T20:44:22.730Z] b352a97aabf1: Verifying Checksum [2025-01-17T20:44:22.730Z] b352a97aabf1: Download complete [2025-01-17T20:44:22.730Z] 4872d77fe225: Download complete [2025-01-17T20:44:22.730Z] 5851b861e8e6: Verifying Checksum [2025-01-17T20:44:22.730Z] 5851b861e8e6: Download complete [2025-01-17T20:44:22.730Z] b85a868b505f: Verifying Checksum [2025-01-17T20:44:22.730Z] b85a868b505f: Download complete [2025-01-17T20:44:22.988Z] bab4dde63d76: Verifying Checksum [2025-01-17T20:44:22.988Z] bab4dde63d76: Download complete [2025-01-17T20:44:24.368Z] b85a868b505f: Pull complete [2025-01-17T20:44:24.368Z] e2be974225ed: Pull complete [2025-01-17T20:44:24.937Z] 339a4e72a1f5: Pull complete [2025-01-17T20:44:24.937Z] 988bab9f4d93: Pull complete [2025-01-17T20:44:25.196Z] 1469e6f7b9e6: Pull complete [2025-01-17T20:44:25.196Z] eaf3925da568: Pull complete [2025-01-17T20:44:27.106Z] bab4dde63d76: Pull complete [2025-01-17T20:44:27.106Z] bde34c3a00c8: Pull complete [2025-01-17T20:44:27.106Z] b352a97aabf1: Pull complete [2025-01-17T20:44:27.106Z] 4872d77fe225: Pull complete [2025-01-17T20:44:27.366Z] 5851b861e8e6: Pull complete [2025-01-17T20:44:27.366Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-01-17T20:44:27.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-01-17T20:44:27.366Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-01-17T20:44:27.633Z] prd-ubuntu20.04-docker-8c-8g-37030 does not seem to be running inside a container [2025-01-17T20:44:27.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-445 -v /w/workspace/gexfoundry_device-rest-go_PR-445:/w/workspace/gexfoundry_device-rest-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-445@tmp:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-01-17T20:44:31.252Z] $ docker top 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 -eo pid,comm [2025-01-17T20:44:31.310Z] 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). [2025-01-17T20:44:31.310Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-01-17T20:44:31.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-01-17T20:44:31.471Z] [ssh-agent] Looking for ssh-agent implementation... [2025-01-17T20:44:31.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-01-17T20:44:31.595Z] $ docker exec 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 ssh-agent [2025-01-17T20:44:31.695Z] SSH_AUTH_SOCK=/tmp/ssh-DsNmJ443XaQj/agent.30 [2025-01-17T20:44:31.695Z] SSH_AGENT_PID=36 [2025-01-17T20:44:31.701Z] Running ssh-add (command line suppressed) [2025-01-17T20:44:31.795Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-445@tmp/private_key_3437302082977083047.key (/w/workspace/gexfoundry_device-rest-go_PR-445@tmp/private_key_3437302082977083047.key) [2025-01-17T20:44:31.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-01-17T20:44:32.161Z] + git tag --points-at HEAD [Pipeline] } [2025-01-17T20:44:32.185Z] $ docker exec --env ******** --env ******** 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 ssh-agent -k [2025-01-17T20:44:32.275Z] unset SSH_AUTH_SOCK; [2025-01-17T20:44:32.276Z] unset SSH_AGENT_PID; [2025-01-17T20:44:32.276Z] echo Agent pid 36 killed; [2025-01-17T20:44:32.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-01-17T20:44:32.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-01-17T20:44:32.400Z] [ssh-agent] Looking for ssh-agent implementation... [2025-01-17T20:44:32.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-01-17T20:44:32.522Z] $ docker exec 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 ssh-agent [2025-01-17T20:44:32.627Z] SSH_AUTH_SOCK=/tmp/ssh-y1WVqZGN5LOS/agent.69 [2025-01-17T20:44:32.627Z] SSH_AGENT_PID=75 [2025-01-17T20:44:32.632Z] Running ssh-add (command line suppressed) [2025-01-17T20:44:32.721Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-445@tmp/private_key_4008154519463132046.key (/w/workspace/gexfoundry_device-rest-go_PR-445@tmp/private_key_4008154519463132046.key) [2025-01-17T20:44:32.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-01-17T20:44:33.070Z] + git semver init [2025-01-17T20:44:33.330Z] 2025-01-17 20:44:33,222 [run_init] DEBUG init version:0.0.0 force:False [2025-01-17T20:44:33.330Z] 2025-01-17 20:44:33,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-445/.semver [2025-01-17T20:44:33.330Z] 2025-01-17 20:44:33,223 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-445/.semver [2025-01-17T20:44:33.330Z] 2025-01-17 20:44:33,224 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-445/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-445, universal_newlines=False, shell=None, istream=None) [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,632 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-445/.git/info/exclude [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-445/.semver/PR-445 with force:False [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,633 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-445/.semver/PR-445 [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,637 [execute] INFO git cat-file --batch-check [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,644 [execute] INFO git cat-file --batch [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2025-01-17T20:44:34.709Z] 2025-01-17 20:44:34,649 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-445/.semver/PR-445 [2025-01-17T20:44:34.709Z] 0.0.0 [Pipeline] } [2025-01-17T20:44:34.733Z] $ docker exec --env ******** --env ******** 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 ssh-agent -k [2025-01-17T20:44:34.833Z] unset SSH_AUTH_SOCK; [2025-01-17T20:44:34.833Z] unset SSH_AGENT_PID; [2025-01-17T20:44:34.833Z] echo Agent pid 75 killed; [2025-01-17T20:44:34.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-01-17T20:44:35.423Z] + git semver [Pipeline] } [2025-01-17T20:44:35.713Z] $ docker stop --time=1 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 [2025-01-17T20:44:36.982Z] $ docker rm -f --volumes 1f9b2b8727c9467237054021fc0f1b4aeb7faa1586e282dfc3b7d5bc1a42c337 [Pipeline] // withDockerContainer [Pipeline] sh [2025-01-17T20:44:37.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-01-17T20:44:37.724Z] Stashed 1 file(s) [Pipeline] echo [2025-01-17T20:44:37.749Z] [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-01-17T20:44:38.783Z] provisioning config files... [2025-01-17T20:44:38.794Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp/config6036343605850900419tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:44:39.269Z] ---> ****-login.sh [2025-01-17T20:44:39.269Z] nexus3.edgexfoundry.org:10001 [2025-01-17T20:44:39.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:39.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:39.269Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:39.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:39.269Z] [2025-01-17T20:44:39.269Z] Login Succeeded [2025-01-17T20:44:39.269Z] nexus3.edgexfoundry.org:10002 [2025-01-17T20:44:39.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:39.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:39.270Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:39.270Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:39.270Z] [2025-01-17T20:44:39.270Z] Login Succeeded [2025-01-17T20:44:39.270Z] nexus3.edgexfoundry.org:10003 [2025-01-17T20:44:39.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:39.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:39.529Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:39.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:39.529Z] [2025-01-17T20:44:39.529Z] Login Succeeded [2025-01-17T20:44:39.529Z] nexus3.edgexfoundry.org:10004 [2025-01-17T20:44:39.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:39.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:39.529Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:39.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:39.529Z] [2025-01-17T20:44:39.529Z] Login Succeeded [2025-01-17T20:44:39.529Z] ****.io [2025-01-17T20:44:39.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-01-17T20:44:39.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-01-17T20:44:39.789Z] Configure a credential helper to remove this warning. See [2025-01-17T20:44:39.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-01-17T20:44:39.789Z] [2025-01-17T20:44:39.789Z] Login Succeeded [2025-01-17T20:44:39.789Z] ---> ****-login.sh ends [Pipeline] } [2025-01-17T20:44:39.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-01-17T20:44:40.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-01-17T20:44:40.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-01-17T20:44:40.124Z] ========================================================= [2025-01-17T20:44:40.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-01-17T20:44:40.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:44:40.609Z] + 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 . [2025-01-17T20:44:40.609Z] Sending build context to Docker daemon 16.67MB [2025-01-17T20:44:40.609Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-01-17T20:44:40.609Z] Step 2/12 : FROM ${BASE} AS builder [2025-01-17T20:44:40.869Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-01-17T20:44:40.869Z] da9db072f522: Pulling fs layer [2025-01-17T20:44:40.869Z] 6ef4a4ee8ca5: Pulling fs layer [2025-01-17T20:44:40.869Z] 06f05ace1117: Pulling fs layer [2025-01-17T20:44:40.869Z] 5fe327b54edc: Pulling fs layer [2025-01-17T20:44:40.869Z] 4f4fb700ef54: Pulling fs layer [2025-01-17T20:44:40.869Z] 92a5565b7b96: Pulling fs layer [2025-01-17T20:44:40.869Z] ff9bb7016b71: Pulling fs layer [2025-01-17T20:44:40.869Z] b67dba6c2c7d: Pulling fs layer [2025-01-17T20:44:40.869Z] a813b0c90790: Pulling fs layer [2025-01-17T20:44:40.869Z] 92a5565b7b96: Waiting [2025-01-17T20:44:40.869Z] ff9bb7016b71: Waiting [2025-01-17T20:44:40.869Z] 5fe327b54edc: Waiting [2025-01-17T20:44:40.869Z] b67dba6c2c7d: Waiting [2025-01-17T20:44:40.869Z] a813b0c90790: Waiting [2025-01-17T20:44:40.869Z] 4f4fb700ef54: Waiting [2025-01-17T20:44:40.869Z] 6ef4a4ee8ca5: Verifying Checksum [2025-01-17T20:44:40.869Z] 6ef4a4ee8ca5: Download complete [2025-01-17T20:44:40.869Z] 5fe327b54edc: Verifying Checksum [2025-01-17T20:44:40.869Z] 5fe327b54edc: Download complete [2025-01-17T20:44:40.869Z] 4f4fb700ef54: Verifying Checksum [2025-01-17T20:44:40.869Z] 4f4fb700ef54: Download complete [2025-01-17T20:44:40.869Z] 92a5565b7b96: Download complete [2025-01-17T20:44:40.869Z] da9db072f522: Download complete [2025-01-17T20:44:40.869Z] ff9bb7016b71: Verifying Checksum [2025-01-17T20:44:40.869Z] ff9bb7016b71: Download complete [2025-01-17T20:44:41.130Z] da9db072f522: Pull complete [2025-01-17T20:44:41.130Z] a813b0c90790: Verifying Checksum [2025-01-17T20:44:41.130Z] a813b0c90790: Download complete [2025-01-17T20:44:41.130Z] 6ef4a4ee8ca5: Pull complete [2025-01-17T20:44:41.389Z] 06f05ace1117: Verifying Checksum [2025-01-17T20:44:41.390Z] 06f05ace1117: Download complete [2025-01-17T20:44:41.649Z] b67dba6c2c7d: Verifying Checksum [2025-01-17T20:44:41.649Z] b67dba6c2c7d: Download complete [2025-01-17T20:44:44.936Z] 06f05ace1117: Pull complete [2025-01-17T20:44:44.936Z] 5fe327b54edc: Pull complete [2025-01-17T20:44:44.936Z] 4f4fb700ef54: Pull complete [2025-01-17T20:44:44.936Z] 92a5565b7b96: Pull complete [2025-01-17T20:44:44.936Z] ff9bb7016b71: Pull complete [2025-01-17T20:44:47.480Z] b67dba6c2c7d: Pull complete [2025-01-17T20:44:47.740Z] a813b0c90790: Pull complete [2025-01-17T20:44:47.740Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-01-17T20:44:47.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-01-17T20:44:47.740Z] ---> 3ba60ce46760 [2025-01-17T20:44:47.740Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2025-01-17T20:44:53.098Z] ---> Running in 4ece7a675490 [2025-01-17T20:44:53.098Z] Removing intermediate container 4ece7a675490 [2025-01-17T20:44:53.098Z] ---> 3227f2d6d9f4 [2025-01-17T20:44:53.098Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-01-17T20:44:53.358Z] ---> Running in 94a7e2472795 [2025-01-17T20:44:53.358Z] Removing intermediate container 94a7e2472795 [2025-01-17T20:44:53.358Z] ---> 9a30ad52d9c9 [2025-01-17T20:44:53.358Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-01-17T20:44:53.358Z] ---> Running in 4fbb95cbcd83 [2025-01-17T20:44:53.358Z] Removing intermediate container 4fbb95cbcd83 [2025-01-17T20:44:53.358Z] ---> edf3ac720dd8 [2025-01-17T20:44:53.358Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2025-01-17T20:44:53.358Z] ---> Running in b9e5569add88 [2025-01-17T20:44:53.358Z] Removing intermediate container b9e5569add88 [2025-01-17T20:44:53.358Z] ---> 9630984658be [2025-01-17T20:44:53.358Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-01-17T20:44:53.618Z] ---> Running in 4d38f8e3f468 [2025-01-17T20:44:53.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-01-17T20:44:54.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-01-17T20:44:54.395Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2025-01-17T20:44:54.395Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-01-17T20:44:54.395Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2025-01-17T20:44:54.395Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2025-01-17T20:44:54.395Z] Executing busybox-1.36.1-r29.trigger [2025-01-17T20:44:54.395Z] OK: 252 MiB in 62 packages [2025-01-17T20:44:54.962Z] Removing intermediate container 4d38f8e3f468 [2025-01-17T20:44:54.962Z] ---> 060f052eaf40 [2025-01-17T20:44:54.962Z] Step 8/12 : WORKDIR /device-rest-go [2025-01-17T20:44:54.962Z] ---> Running in 1b65c151e31d [2025-01-17T20:44:54.962Z] Removing intermediate container 1b65c151e31d [2025-01-17T20:44:54.962Z] ---> 2cd72086c2c7 [2025-01-17T20:44:54.962Z] Step 9/12 : COPY go.mod vendor* ./ [2025-01-17T20:44:55.222Z] ---> 1cb871b4cfef [2025-01-17T20:44:55.222Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-01-17T20:44:55.222Z] ---> Running in c090f0261f13 [2025-01-17T20:46:02.926Z] Removing intermediate container c090f0261f13 [2025-01-17T20:46:02.926Z] ---> f972a5375636 [2025-01-17T20:46:02.926Z] Step 11/12 : COPY . . [2025-01-17T20:46:02.926Z] ---> b8680f564169 [2025-01-17T20:46:02.926Z] Step 12/12 : RUN $MAKE [2025-01-17T20:46:02.926Z] ---> Running in ae5d49b3beaa [2025-01-17T20:46:02.926Z] noop [2025-01-17T20:46:02.926Z] Removing intermediate container ae5d49b3beaa [2025-01-17T20:46:02.926Z] ---> 0ef5dc208a84 [2025-01-17T20:46:02.926Z] Successfully built 0ef5dc208a84 [2025-01-17T20:46:02.926Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:46:03.406Z] + docker inspect -f . ci-base-image-x86_64 [2025-01-17T20:46:03.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-01-17T20:46:03.573Z] prd-ubuntu20.04-docker-8c-8g-37030 does not seem to be running inside a container [2025-01-17T20:46:03.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-445 -v /w/workspace/gexfoundry_device-rest-go_PR-445:/w/workspace/gexfoundry_device-rest-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-445@tmp:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-01-17T20:46:04.519Z] $ docker top f4795df91bb52c4967c4b736ec271426818c96e9e03bcd5485b983c8b6b8ca6d -eo pid,comm [Pipeline] { [Pipeline] sh [2025-01-17T20:46:04.955Z] + go version [2025-01-17T20:46:04.955Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-01-17T20:46:04.985Z] $ docker stop --time=1 f4795df91bb52c4967c4b736ec271426818c96e9e03bcd5485b983c8b6b8ca6d [2025-01-17T20:46:06.627Z] $ docker rm -f --volumes f4795df91bb52c4967c4b736ec271426818c96e9e03bcd5485b983c8b6b8ca6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:46:07.450Z] + docker inspect -f . ci-base-image-x86_64 [2025-01-17T20:46:07.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-01-17T20:46:07.621Z] prd-ubuntu20.04-docker-8c-8g-37030 does not seem to be running inside a container [2025-01-17T20:46:07.649Z] $ 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-445 -v /w/workspace/gexfoundry_device-rest-go_PR-445:/w/workspace/gexfoundry_device-rest-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-445@tmp:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-01-17T20:46:08.073Z] $ docker top 267a66c501e6450e32334ae0311936e919e72c2914a3871f56d0771300f3e48b -eo pid,comm [Pipeline] { [Pipeline] sh [2025-01-17T20:46:08.478Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-445 [Pipeline] fileExists [Pipeline] sh [2025-01-17T20:46:08.877Z] + make test [2025-01-17T20:46:08.877Z] go test ./... -coverprofile=coverage.out ./... [2025-01-17T20:46:11.413Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2025-01-17T20:46:29.491Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2025-01-17T20:46:29.491Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2025-01-17T20:46:41.711Z] go vet ./... [2025-01-17T20:46:45.912Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-01-17T20:46:45.912Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-01-17T20:46:45.912Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2025-01-17T20:46:45.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2025-01-17T20:46:45.995Z] $ docker stop --time=1 267a66c501e6450e32334ae0311936e919e72c2914a3871f56d0771300f3e48b [2025-01-17T20:46:47.586Z] $ docker rm -f --volumes 267a66c501e6450e32334ae0311936e919e72c2914a3871f56d0771300f3e48b [Pipeline] // withDockerContainer [Pipeline] sh [2025-01-17T20:46:48.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-01-17T20:46:48.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-01-17T20:46:48.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-01-17T20:46:49.308Z] + ls -al . [2025-01-17T20:46:49.308Z] total 244 [2025-01-17T20:46:49.308Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 20:46 . [2025-01-17T20:46:49.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 20:44 .. [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 17 20:44 .dockerignore [2025-01-17T20:46:49.308Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 20:46 .git [2025-01-17T20:46:49.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 20:44 .github [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 264 Jan 17 20:44 .gitignore [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 20:44 .golangci.yml [2025-01-17T20:46:49.308Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 20:44 .semver [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 20138 Jan 17 20:44 Attribution.txt [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jan 17 20:44 CHANGELOG.md [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 17 20:44 Dockerfile [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 20:44 GOVERNANCE.md [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 20:44 Jenkinsfile [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 20:44 LICENSE [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 2598 Jan 17 20:44 Makefile [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 20:44 OWNERS.md [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jan 17 20:44 README.md [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 20:44 VERSION [2025-01-17T20:46:49.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 20:44 bin [2025-01-17T20:46:49.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 20:44 cmd [2025-01-17T20:46:49.308Z] -rw-r--r-- 1 jenkins jenkins 14565 Jan 17 20:46 coverage.out [2025-01-17T20:46:49.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 20:44 driver [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 6339 Jan 17 20:44 go.mod [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 86634 Jan 17 20:44 go.sum [2025-01-17T20:46:49.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 20:44 openapi [2025-01-17T20:46:49.308Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 17 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:46:49.746Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 --label arch=amd64 --label version=0.0.0 . [2025-01-17T20:46:49.746Z] Sending build context to Docker daemon 16.68MB [2025-01-17T20:46:49.746Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2025-01-17T20:46:49.746Z] Step 2/26 : FROM ${BASE} AS builder [2025-01-17T20:46:49.746Z] ---> 0ef5dc208a84 [2025-01-17T20:46:49.746Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2025-01-17T20:46:50.315Z] ---> Running in cfd462a27906 [2025-01-17T20:46:50.315Z] Removing intermediate container cfd462a27906 [2025-01-17T20:46:50.315Z] ---> 992b005042f7 [2025-01-17T20:46:50.315Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-01-17T20:46:50.315Z] ---> Running in ef872e1f9709 [2025-01-17T20:46:50.315Z] Removing intermediate container ef872e1f9709 [2025-01-17T20:46:50.315Z] ---> 1b3aea7fcbf2 [2025-01-17T20:46:50.315Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-01-17T20:46:50.315Z] ---> Running in e958da9bc41e [2025-01-17T20:46:50.577Z] Removing intermediate container e958da9bc41e [2025-01-17T20:46:50.577Z] ---> e64cf54abbf7 [2025-01-17T20:46:50.577Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2025-01-17T20:46:50.577Z] ---> Running in b4da288b7085 [2025-01-17T20:46:50.577Z] Removing intermediate container b4da288b7085 [2025-01-17T20:46:50.577Z] ---> b592bdb59422 [2025-01-17T20:46:50.577Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-01-17T20:46:50.577Z] ---> Running in ca8bab564813 [2025-01-17T20:46:50.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-01-17T20:46:51.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-01-17T20:46:51.355Z] OK: 252 MiB in 62 packages [2025-01-17T20:46:51.614Z] Removing intermediate container ca8bab564813 [2025-01-17T20:46:51.614Z] ---> 3e5b36354151 [2025-01-17T20:46:51.614Z] Step 8/26 : WORKDIR /device-rest-go [2025-01-17T20:46:51.614Z] ---> Running in d7034f82ef1e [2025-01-17T20:46:51.875Z] Removing intermediate container d7034f82ef1e [2025-01-17T20:46:51.875Z] ---> bf5a352eb273 [2025-01-17T20:46:51.875Z] Step 9/26 : COPY go.mod vendor* ./ [2025-01-17T20:46:51.875Z] ---> 399fe6f96f38 [2025-01-17T20:46:51.875Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-01-17T20:46:51.875Z] ---> Running in 30a05ca1eae8 [2025-01-17T20:46:52.445Z] Removing intermediate container 30a05ca1eae8 [2025-01-17T20:46:52.445Z] ---> fb7ee63600c8 [2025-01-17T20:46:52.445Z] Step 11/26 : COPY . . [2025-01-17T20:46:53.200Z] ---> 6648689b7b00 [2025-01-17T20:46:53.200Z] Step 12/26 : RUN $MAKE [2025-01-17T20:46:53.200Z] ---> Running in 884e6a1581be [2025-01-17T20:46:53.459Z] 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.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2025-01-17T20:47:25.530Z] Removing intermediate container 884e6a1581be [2025-01-17T20:47:25.530Z] ---> 8df8ad557b63 [2025-01-17T20:47:25.530Z] Step 13/26 : FROM alpine:3.20 [2025-01-17T20:47:25.530Z] 3.20: Pulling from library/alpine [2025-01-17T20:47:25.530Z] 66a3d608f3fa: Pulling fs layer [2025-01-17T20:47:25.530Z] 66a3d608f3fa: Verifying Checksum [2025-01-17T20:47:25.530Z] 66a3d608f3fa: Download complete [2025-01-17T20:47:25.530Z] 66a3d608f3fa: Pull complete [2025-01-17T20:47:25.530Z] Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 [2025-01-17T20:47:25.530Z] Status: Downloaded newer image for alpine:3.20 [2025-01-17T20:47:25.530Z] ---> e29df9b510ff [2025-01-17T20:47:25.530Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-01-17T20:47:25.530Z] ---> Running in 5233125597aa [2025-01-17T20:47:25.530Z] Removing intermediate container 5233125597aa [2025-01-17T20:47:25.530Z] ---> c458776ea115 [2025-01-17T20:47:25.530Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2025-01-17T20:47:25.530Z] ---> Running in 7327b36b539c [2025-01-17T20:47:25.530Z] Removing intermediate container 7327b36b539c [2025-01-17T20:47:25.530Z] ---> 42d93db75b66 [2025-01-17T20:47:25.530Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2025-01-17T20:47:25.530Z] ---> Running in 5105b1230477 [2025-01-17T20:47:25.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-01-17T20:47:25.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-01-17T20:47:25.530Z] (1/1) Installing dumb-init (1.2.5-r3) [2025-01-17T20:47:25.530Z] Executing busybox-1.36.1-r29.trigger [2025-01-17T20:47:25.530Z] OK: 8 MiB in 15 packages [2025-01-17T20:47:25.530Z] Removing intermediate container 5105b1230477 [2025-01-17T20:47:25.530Z] ---> 0f8f41f4bba1 [2025-01-17T20:47:25.530Z] Step 17/26 : RUN apk --no-cache upgrade [2025-01-17T20:47:25.530Z] ---> Running in 25098004516a [2025-01-17T20:47:25.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-01-17T20:47:25.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-01-17T20:47:25.789Z] OK: 8 MiB in 15 packages [2025-01-17T20:47:26.357Z] Removing intermediate container 25098004516a [2025-01-17T20:47:26.357Z] ---> 39bb632e436b [2025-01-17T20:47:26.357Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2025-01-17T20:47:27.298Z] ---> 2cc2c514f8f5 [2025-01-17T20:47:27.298Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2025-01-17T20:47:27.558Z] ---> b160255c4244 [2025-01-17T20:47:27.558Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2025-01-17T20:47:27.558Z] ---> 230cb106d431 [2025-01-17T20:47:27.558Z] Step 21/26 : EXPOSE 59986 [2025-01-17T20:47:27.558Z] ---> Running in a070f3979f2f [2025-01-17T20:47:27.558Z] Removing intermediate container a070f3979f2f [2025-01-17T20:47:27.558Z] ---> 58c7355da592 [2025-01-17T20:47:27.558Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2025-01-17T20:47:27.817Z] ---> Running in 6fae0befa05e [2025-01-17T20:47:27.817Z] Removing intermediate container 6fae0befa05e [2025-01-17T20:47:27.817Z] ---> 146e1bdbd963 [2025-01-17T20:47:27.817Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-01-17T20:47:27.817Z] ---> Running in de23503af3ba [2025-01-17T20:47:27.817Z] Removing intermediate container de23503af3ba [2025-01-17T20:47:27.817Z] ---> d4a759e845c3 [2025-01-17T20:47:27.817Z] Step 24/26 : LABEL arch=amd64 [2025-01-17T20:47:27.817Z] ---> Running in 9d01bd2b6bc0 [2025-01-17T20:47:28.077Z] Removing intermediate container 9d01bd2b6bc0 [2025-01-17T20:47:28.077Z] ---> 94cde3773fe2 [2025-01-17T20:47:28.077Z] Step 25/26 : LABEL git_sha=b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [2025-01-17T20:47:28.077Z] ---> Running in 2d466073b3b2 [2025-01-17T20:47:28.077Z] Removing intermediate container 2d466073b3b2 [2025-01-17T20:47:28.077Z] ---> 096cd5de3e14 [2025-01-17T20:47:28.077Z] Step 26/26 : LABEL version=0.0.0 [2025-01-17T20:47:28.077Z] ---> Running in e4e0df6c0a28 [2025-01-17T20:47:28.077Z] Removing intermediate container e4e0df6c0a28 [2025-01-17T20:47:28.077Z] ---> 785b8c943fb9 [2025-01-17T20:47:28.077Z] [Warning] One or more build-args [ARCH] were not consumed [2025-01-17T20:47:28.077Z] Successfully built 785b8c943fb9 [2025-01-17T20:47:28.077Z] 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 [2025-01-17T20:47:29.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-01-17T20:47:29.094Z] [2025-01-17T20:47:29.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:47:29.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-01-17T20:47:29.493Z] latest: Pulling from edgex-lftools-log-publisher [2025-01-17T20:47:29.493Z] 5eb5b503b376: Pulling fs layer [2025-01-17T20:47:29.493Z] 5c69ac0246d0: Pulling fs layer [2025-01-17T20:47:29.493Z] ec43610c2a17: Pulling fs layer [2025-01-17T20:47:29.493Z] 3a2ae6a8a46f: Pulling fs layer [2025-01-17T20:47:29.493Z] 33b1e0a273af: Pulling fs layer [2025-01-17T20:47:29.493Z] 5d3b04190fa2: Pulling fs layer [2025-01-17T20:47:29.493Z] 2f39f015ded8: Pulling fs layer [2025-01-17T20:47:29.493Z] 33b1e0a273af: Waiting [2025-01-17T20:47:29.493Z] 3a2ae6a8a46f: Waiting [2025-01-17T20:47:29.493Z] 5d3b04190fa2: Waiting [2025-01-17T20:47:29.493Z] 2f39f015ded8: Waiting [2025-01-17T20:47:29.493Z] 5c69ac0246d0: Verifying Checksum [2025-01-17T20:47:29.493Z] 5c69ac0246d0: Download complete [2025-01-17T20:47:29.493Z] 3a2ae6a8a46f: Verifying Checksum [2025-01-17T20:47:29.493Z] 3a2ae6a8a46f: Download complete [2025-01-17T20:47:29.493Z] 33b1e0a273af: Verifying Checksum [2025-01-17T20:47:29.493Z] 33b1e0a273af: Download complete [2025-01-17T20:47:29.493Z] 5d3b04190fa2: Download complete [2025-01-17T20:47:29.752Z] ec43610c2a17: Verifying Checksum [2025-01-17T20:47:29.752Z] ec43610c2a17: Download complete [2025-01-17T20:47:29.752Z] 5eb5b503b376: Download complete [2025-01-17T20:47:30.318Z] 2f39f015ded8: Download complete [2025-01-17T20:47:30.883Z] 5eb5b503b376: Pull complete [2025-01-17T20:47:30.883Z] 5c69ac0246d0: Pull complete [2025-01-17T20:47:31.448Z] ec43610c2a17: Pull complete [2025-01-17T20:47:31.448Z] 3a2ae6a8a46f: Pull complete [2025-01-17T20:47:31.707Z] 33b1e0a273af: Pull complete [2025-01-17T20:47:31.707Z] 5d3b04190fa2: Pull complete [2025-01-17T20:47:35.899Z] 2f39f015ded8: Pull complete [2025-01-17T20:47:35.899Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-01-17T20:47:35.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-01-17T20:47:35.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-01-17T20:47:36.146Z] prd-ubuntu20.04-docker-8c-8g-37030 does not seem to be running inside a container [2025-01-17T20:47:36.172Z] $ 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-445 -v /w/workspace/gexfoundry_device-rest-go_PR-445:/w/workspace/gexfoundry_device-rest-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-445@tmp:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-01-17T20:47:40.198Z] $ docker top b83e5c1c2f2e7860119782dcd965c853b5519a7eb65e69e23fc4d68be23979f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:40.684Z] ---> job-cost.sh [2025-01-17T20:47:40.685Z] lf-activate-venv: SKIPPING [2025-01-17T20:47:40.685Z] INFO: No Stack... [2025-01-17T20:47:40.944Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-01-17T20:47:41.202Z] INFO: Archiving Costs [Pipeline] sh [2025-01-17T20:47:41.524Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-445/archives/cost.csv [2025-01-17T20:47:41.524Z] + cut -d, -f6 [Pipeline] lock [2025-01-17T20:47:41.571Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-445-1-stack-cost] [2025-01-17T20:47:41.577Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-445-1-stack-cost] did not exist. Created. [2025-01-17T20:47:41.582Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-01-17T20:47:41.977Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-01-17T20:47:42.029Z] Stashed 1 file(s) [Pipeline] } [2025-01-17T20:47:42.067Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } [2025-01-17T20:47:42.150Z] $ docker stop --time=1 b83e5c1c2f2e7860119782dcd965c853b5519a7eb65e69e23fc4d68be23979f8 [2025-01-17T20:47:43.309Z] $ docker rm -f --volumes b83e5c1c2f2e7860119782dcd965c853b5519a7eb65e69e23fc4d68be23979f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2025-01-17T20:47:43.997Z] provisioning config files... [2025-01-17T20:47:44.005Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp/config1303768575177507611tmp [Pipeline] { [Pipeline] sh [2025-01-17T20:47:44.353Z] + set +x [2025-01-17T20:47:44.353Z] + curl -s https://codecov.io/bash [2025-01-17T20:47:44.353Z] + bash -s -- [2025-01-17T20:47:44.353Z] [2025-01-17T20:47:44.353Z] _____ _ [2025-01-17T20:47:44.353Z] / ____| | | [2025-01-17T20:47:44.353Z] | | ___ __| | ___ ___ _____ __ [2025-01-17T20:47:44.353Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-01-17T20:47:44.353Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-01-17T20:47:44.353Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-01-17T20:47:44.353Z] Bash-1.0.6 [2025-01-17T20:47:44.353Z] [2025-01-17T20:47:44.353Z] [2025-01-17T20:47:44.353Z] ==> git version 2.25.1 found [2025-01-17T20:47:44.353Z] ==> 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 [2025-01-17T20:47:44.353Z] Release-Date: 2020-01-08 [2025-01-17T20:47:44.353Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2025-01-17T20:47:44.353Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-01-17T20:47:44.353Z] ==> Jenkins CI detected. [2025-01-17T20:47:44.353Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-445 [2025-01-17T20:47:44.353Z] project root: . [2025-01-17T20:47:44.353Z] --> token set from env [2025-01-17T20:47:44.353Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-01-17T20:47:44.353Z] ==> Running gcov in . (disable via -X gcov) [2025-01-17T20:47:44.353Z] ==> Python coveragepy not found [2025-01-17T20:47:44.353Z] ==> Searching for coverage reports in: [2025-01-17T20:47:44.353Z] + . [2025-01-17T20:47:44.613Z] -> Found 1 reports [2025-01-17T20:47:44.613Z] ==> Detecting git/mercurial file structure [2025-01-17T20:47:44.613Z] ==> Reading reports [2025-01-17T20:47:44.613Z] + ./coverage.out bytes=14565 [2025-01-17T20:47:44.613Z] ==> Appending adjustments [2025-01-17T20:47:44.613Z] https://docs.codecov.io/docs/fixing-reports [2025-01-17T20:47:44.613Z] + Found adjustments [2025-01-17T20:47:44.613Z] ==> Gzipping contents [2025-01-17T20:47:44.613Z] 4.0K /tmp/codecov.NS1O6F.gz [2025-01-17T20:47:44.613Z] ==> Uploading reports [2025-01-17T20:47:44.613Z] url: https://codecov.io [2025-01-17T20:47:44.613Z] query: branch=PR-445&commit=b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2025-01-17T20:47:44.613Z] -> Pinging Codecov [2025-01-17T20:47:44.613Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-445&commit=b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2025-01-17T20:47:44.873Z] -> Uploading to [2025-01-17T20:47:44.873Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373/531433c0-e3f5-437d-a46b-7d3b8c28cd9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250117%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250117T204744Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b848cc26ce3a974286c5b6b52e7f101d758a7c29950bee1349c181c467cc7df5 [2025-01-17T20:47:44.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-01-17T20:47:44.873Z] Dload Upload Total Spent Left Speed [2025-01-17T20:47:45.134Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 12312 --:--:-- --:--:-- --:--:-- 12312 [2025-01-17T20:47:45.134Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b40fd931d8be1494ce37dc4ffe8f2eb2ad5e3373 [Pipeline] } [2025-01-17T20:47:45.163Z] 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 [2025-01-17T20:47:47.071Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-445/archives ] [2025-01-17T20:47:47.071Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-445/archives [2025-01-17T20:47:47.071Z] total 16 [2025-01-17T20:47:47.071Z] drwxr-xr-x 3 root root 4096 Jan 17 20:47 . [2025-01-17T20:47:47.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 20:47 .. [2025-01-17T20:47:47.071Z] drwxr-xr-x 2 root root 4096 Jan 17 20:47 cost [2025-01-17T20:47:47.071Z] -rw-r--r-- 1 root root 86 Jan 17 20:47 cost.csv [2025-01-17T20:47:47.071Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-445/archives [2025-01-17T20:47:47.071Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-445/archives [2025-01-17T20:47:47.071Z] total 16 [2025-01-17T20:47:47.071Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 20:47 . [2025-01-17T20:47:47.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 20:47 .. [2025-01-17T20:47:47.071Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 20:47 cost [2025-01-17T20:47:47.071Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 17 20:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:47.402Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:48.291Z] ---> package-listing.sh [2025-01-17T20:47:48.292Z] ++ facter osfamily [2025-01-17T20:47:48.292Z] ++ tr '[:upper:]' '[:lower:]' [2025-01-17T20:47:48.552Z] + OS_FAMILY=debian [2025-01-17T20:47:48.552Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-445 [2025-01-17T20:47:48.552Z] + START_PACKAGES=/tmp/packages_start.txt [2025-01-17T20:47:48.552Z] + END_PACKAGES=/tmp/packages_end.txt [2025-01-17T20:47:48.552Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-01-17T20:47:48.552Z] + PACKAGES=/tmp/packages_start.txt [2025-01-17T20:47:48.552Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-445 ']' [2025-01-17T20:47:48.552Z] + PACKAGES=/tmp/packages_end.txt [2025-01-17T20:47:48.552Z] + case "${OS_FAMILY}" in [2025-01-17T20:47:48.552Z] + dpkg -l [2025-01-17T20:47:48.552Z] + grep '^ii' [2025-01-17T20:47:48.552Z] + '[' -f /tmp/packages_start.txt ']' [2025-01-17T20:47:48.552Z] + '[' -f /tmp/packages_end.txt ']' [2025-01-17T20:47:48.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-01-17T20:47:48.552Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-445 ']' [2025-01-17T20:47:48.552Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-445/archives/ [2025-01-17T20:47:48.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-445/archives/ [Pipeline] echo [2025-01-17T20:47:48.589Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-01-17T20:47:48.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-01-17T20:47:49.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-01-17T20:47:49.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-01-17T20:47:49.678Z] prd-ubuntu20.04-docker-8c-8g-37030 does not seem to be running inside a container [2025-01-17T20:47:49.707Z] $ 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-445/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-445 -v /w/workspace/gexfoundry_device-rest-go_PR-445:/w/workspace/gexfoundry_device-rest-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-445@tmp:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-01-17T20:47:49.891Z] $ docker top 681217eb1302b77134691d120f4d5e25fe845b3059100711b250a5bb7ca7c626 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-01-17T20:47:50.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-01-17T20:47:50.605Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-01-17T20:47:50.921Z] + ls /var/log/sa-host [2025-01-17T20:47:50.921Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-01-17T20:47:51.147Z] provisioning config files... [2025-01-17T20:47:51.158Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-445@tmp/config15144237338063928072tmp [Pipeline] { [Pipeline] echo [2025-01-17T20:47:51.217Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:51.537Z] ---> create-netrc.sh [Pipeline] } [2025-01-17T20:47:51.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:51.978Z] ---> python-tools-install.sh [Pipeline] echo [2025-01-17T20:47:52.017Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:52.333Z] ---> sudo-logs.sh [2025-01-17T20:47:52.333Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-01-17T20:47:52.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:52.738Z] ---> job-cost.sh [2025-01-17T20:47:52.738Z] lf-activate-venv: SKIPPING [2025-01-17T20:47:52.738Z] DEBUG: total: 0.2199999988079071 [2025-01-17T20:47:52.738Z] INFO: Retrieving Stack Cost... [2025-01-17T20:47:52.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-01-17T20:47:52.999Z] INFO: Archiving Costs [Pipeline] echo [2025-01-17T20:47:53.038Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-01-17T20:47:53.360Z] ---> logs-deploy.sh [2025-01-17T20:47:53.360Z] lf-activate-venv: SKIPPING [2025-01-17T20:47:53.360Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-445/1 [2025-01-17T20:47:53.360Z] INFO: archiving workspace using pattern(s): [2025-01-17T20:47:54.308Z] Archives upload complete. [2025-01-17T20:47:54.308Z] INFO: archiving logs to Nexus