Pull request #446 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e+c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 (e2fbe1d25e8fa2bf372a163bbd5d3c8561f07337) 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-ssh14965509582164617276.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-ssh6790784958807616053.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-446/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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17858100483740473389.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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4238530673787990147.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-ssh8855289350842882156.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-446/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-446/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7564013887078279952.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-38114 in /w/workspace/gexfoundry_device-rest-go_PR-446 [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-446 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 into PR head commit 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e Merge succeeded, producing 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e Checking out Revision 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e (PR-446) 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 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/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e # 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 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-02-03T20:03:24.590Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-02-03T20:03:24.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-02-03T20:03:25.037Z] ========================================================= [2025-02-03T20:03:25.037Z] EdgeX Global Pipelines Version Info [2025-02-03T20:03:25.037Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:03:25.851Z] ------------------- [2025-02-03T20:03:25.851Z] stable info: [2025-02-03T20:03:25.851Z] ------------------- [2025-02-03T20:03:25.851Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-02-03T20:03:25.851Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-02-03T20:03:25.851Z] Message: update stable to v1.0.269 [2025-02-03T20:03:26.424Z] ------------------- [2025-02-03T20:03:26.424Z] experimental info: [2025-02-03T20:03:26.424Z] ------------------- [2025-02-03T20:03:26.424Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2025-02-03T20:03:26.424Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-02-03T20:03:26.424Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-02-03T20:03:26.645Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2025-02-03T20:03:26.712Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2025-02-03T20:03:26.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-02-03T20:03:26.826Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-02-03T20:03:26.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-02-03T20:03:26.932Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-02-03T20:03:26.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-02-03T20:03:27.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-02-03T20:03:27.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-02-03T20:03:27.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-02-03T20:03:27.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-02-03T20:03:27.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2025-02-03T20:03:27.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-02-03T20:03:27.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-02-03T20:03:27.442Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-02-03T20:03:27.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-02-03T20:03:27.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-02-03T20:03:27.641Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-02-03T20:03:27.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-02-03T20:03:27.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-02-03T20:03:27.813Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-02-03T20:03:27.873Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-02-03T20:03:27.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-02-03T20:03:27.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-02-03T20:03:28.051Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-02-03T20:03:28.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-02-03T20:03:28.164Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-02-03T20:03:28.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-446 [Pipeline] echo [2025-02-03T20:03:28.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-446 [Pipeline] echo [2025-02-03T20:03:28.338Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-446 [Pipeline] echo [2025-02-03T20:03:28.395Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo [2025-02-03T20:03:28.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e07d38 [Pipeline] echo [2025-02-03T20:03:28.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-03T20:03:28.655Z] provisioning config files... [2025-02-03T20:03:28.670Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config6061315036678605935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:03:29.068Z] ---> ****-login.sh [2025-02-03T20:03:29.068Z] nexus3.edgexfoundry.org:10001 [2025-02-03T20:03:29.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:29.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:29.330Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:29.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:29.331Z] [2025-02-03T20:03:29.331Z] Login Succeeded [2025-02-03T20:03:29.331Z] nexus3.edgexfoundry.org:10002 [2025-02-03T20:03:29.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:29.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:29.595Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:29.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:29.595Z] [2025-02-03T20:03:29.595Z] Login Succeeded [2025-02-03T20:03:29.596Z] nexus3.edgexfoundry.org:10003 [2025-02-03T20:03:29.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:29.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:29.596Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:29.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:29.596Z] [2025-02-03T20:03:29.596Z] Login Succeeded [2025-02-03T20:03:29.596Z] nexus3.edgexfoundry.org:10004 [2025-02-03T20:03:29.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:29.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:29.857Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:29.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:29.857Z] [2025-02-03T20:03:29.857Z] Login Succeeded [2025-02-03T20:03:29.857Z] ****.io [2025-02-03T20:03:29.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:30.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:30.117Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:30.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:30.117Z] [2025-02-03T20:03:30.117Z] Login Succeeded [2025-02-03T20:03:30.117Z] ---> ****-login.sh ends [Pipeline] } [2025-02-03T20:03:30.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-02-03T20:03:30.822Z] + git rev-list -1 --merges 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e~1..0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo [2025-02-03T20:03:30.873Z] -----------> git rev-list -1 --merges 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e~1..0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [false] [Pipeline] sh [2025-02-03T20:03:31.196Z] + git log --format=format:%s -1 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo [2025-02-03T20:03:31.238Z] ========================================================= [2025-02-03T20:03:31.238Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-02-03T20:03:31.238Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-02-03T20:03:31.676Z] + git log --format=format:%s -1 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo [2025-02-03T20:03:31.718Z] [semverPrep] GIT_COMMIT: 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2025-02-03T20:03:31.763Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-02-03T20:03:32.158Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-02-03T20:03:32.159Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-02-03T20:03:32.159Z] + [ -e /tmp/ssh_known_hosts ] [2025-02-03T20:03:32.159Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-02-03T20:03:32.159Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-02-03T20:03:32.159Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-02-03T20:03:32.159Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:03:32.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-03T20:03:32.598Z] [2025-02-03T20:03:32.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:03:32.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-03T20:03:32.995Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-02-03T20:03:32.995Z] b85a868b505f: Pulling fs layer [2025-02-03T20:03:32.995Z] e2be974225ed: Pulling fs layer [2025-02-03T20:03:32.995Z] 339a4e72a1f5: Pulling fs layer [2025-02-03T20:03:32.995Z] 988bab9f4d93: Pulling fs layer [2025-02-03T20:03:32.995Z] 1469e6f7b9e6: Pulling fs layer [2025-02-03T20:03:32.995Z] eaf3925da568: Pulling fs layer [2025-02-03T20:03:32.995Z] bab4dde63d76: Pulling fs layer [2025-02-03T20:03:32.995Z] bde34c3a00c8: Pulling fs layer [2025-02-03T20:03:32.995Z] b352a97aabf1: Pulling fs layer [2025-02-03T20:03:32.995Z] 4872d77fe225: Pulling fs layer [2025-02-03T20:03:32.995Z] 5851b861e8e6: Pulling fs layer [2025-02-03T20:03:32.995Z] eaf3925da568: Waiting [2025-02-03T20:03:32.995Z] 988bab9f4d93: Waiting [2025-02-03T20:03:32.995Z] 1469e6f7b9e6: Waiting [2025-02-03T20:03:32.995Z] bab4dde63d76: Waiting [2025-02-03T20:03:32.995Z] 4872d77fe225: Waiting [2025-02-03T20:03:32.995Z] bde34c3a00c8: Waiting [2025-02-03T20:03:32.995Z] b352a97aabf1: Waiting [2025-02-03T20:03:32.995Z] 5851b861e8e6: Waiting [2025-02-03T20:03:32.995Z] e2be974225ed: Download complete [2025-02-03T20:03:32.995Z] 988bab9f4d93: Verifying Checksum [2025-02-03T20:03:32.995Z] 988bab9f4d93: Download complete [2025-02-03T20:03:32.995Z] 1469e6f7b9e6: Verifying Checksum [2025-02-03T20:03:32.995Z] 1469e6f7b9e6: Download complete [2025-02-03T20:03:33.254Z] eaf3925da568: Download complete [2025-02-03T20:03:33.254Z] 339a4e72a1f5: Verifying Checksum [2025-02-03T20:03:33.254Z] 339a4e72a1f5: Download complete [2025-02-03T20:03:33.254Z] bde34c3a00c8: Verifying Checksum [2025-02-03T20:03:33.254Z] bde34c3a00c8: Download complete [2025-02-03T20:03:33.254Z] b352a97aabf1: Download complete [2025-02-03T20:03:33.254Z] 4872d77fe225: Verifying Checksum [2025-02-03T20:03:33.254Z] 4872d77fe225: Download complete [2025-02-03T20:03:33.254Z] 5851b861e8e6: Verifying Checksum [2025-02-03T20:03:33.254Z] 5851b861e8e6: Download complete [2025-02-03T20:03:33.254Z] b85a868b505f: Verifying Checksum [2025-02-03T20:03:33.254Z] b85a868b505f: Download complete [2025-02-03T20:03:33.823Z] bab4dde63d76: Download complete [2025-02-03T20:03:34.391Z] b85a868b505f: Pull complete [2025-02-03T20:03:34.666Z] e2be974225ed: Pull complete [2025-02-03T20:03:35.242Z] 339a4e72a1f5: Pull complete [2025-02-03T20:03:35.242Z] 988bab9f4d93: Pull complete [2025-02-03T20:03:35.501Z] 1469e6f7b9e6: Pull complete [2025-02-03T20:03:35.501Z] eaf3925da568: Pull complete [2025-02-03T20:03:37.405Z] bab4dde63d76: Pull complete [2025-02-03T20:03:37.405Z] bde34c3a00c8: Pull complete [2025-02-03T20:03:37.668Z] b352a97aabf1: Pull complete [2025-02-03T20:03:37.668Z] 4872d77fe225: Pull complete [2025-02-03T20:03:37.668Z] 5851b861e8e6: Pull complete [2025-02-03T20:03:37.668Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-02-03T20:03:37.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-02-03T20:03:37.668Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-03T20:03:37.956Z] prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container [2025-02-03T20:03:37.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-02-03T20:03:40.678Z] $ docker top fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 -eo pid,comm [2025-02-03T20:03:40.734Z] 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-02-03T20:03:40.734Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-02-03T20:03:40.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-03T20:03:40.897Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-03T20:03:41.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-03T20:03:41.006Z] $ docker exec fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent [2025-02-03T20:03:41.127Z] SSH_AUTH_SOCK=/tmp/ssh-TuSYqGrBrJ3O/agent.32 [2025-02-03T20:03:41.127Z] SSH_AGENT_PID=39 [2025-02-03T20:03:41.134Z] Running ssh-add (command line suppressed) [2025-02-03T20:03:41.244Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_2335618847044312717.key (/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_2335618847044312717.key) [2025-02-03T20:03:41.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-03T20:03:41.608Z] + git tag --points-at HEAD [Pipeline] } [2025-02-03T20:03:41.631Z] $ docker exec --env ******** --env ******** fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent -k [2025-02-03T20:03:41.731Z] unset SSH_AUTH_SOCK; [2025-02-03T20:03:41.732Z] unset SSH_AGENT_PID; [2025-02-03T20:03:41.732Z] echo Agent pid 39 killed; [2025-02-03T20:03:41.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-02-03T20:03:41.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-02-03T20:03:41.856Z] [ssh-agent] Looking for ssh-agent implementation... [2025-02-03T20:03:41.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-02-03T20:03:41.965Z] $ docker exec fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent [2025-02-03T20:03:42.093Z] SSH_AUTH_SOCK=/tmp/ssh-XJNfjuI6ihfq/agent.72 [2025-02-03T20:03:42.093Z] SSH_AGENT_PID=78 [2025-02-03T20:03:42.122Z] Running ssh-add (command line suppressed) [2025-02-03T20:03:42.220Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_7919991711509445670.key (/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_7919991711509445670.key) [2025-02-03T20:03:42.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-02-03T20:03:42.600Z] + git semver init [2025-02-03T20:03:42.859Z] 2025-02-03 20:03:42,763 [run_init] DEBUG init version:0.0.0 force:False [2025-02-03T20:03:42.860Z] 2025-02-03 20:03:42,764 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-446/.semver [2025-02-03T20:03:42.860Z] 2025-02-03 20:03:42,764 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-446/.semver [2025-02-03T20:03:42.860Z] 2025-02-03 20:03:42,764 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-446/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-446, universal_newlines=False, shell=None, istream=None) [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,090 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-446/.git/info/exclude [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,091 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-446/.semver/PR-446 with force:False [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,091 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-446/.semver/PR-446 [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,095 [execute] INFO git cat-file --batch-check [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,101 [execute] INFO git cat-file --batch [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) [2025-02-03T20:03:44.241Z] 2025-02-03 20:03:44,107 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-446/.semver/PR-446 [2025-02-03T20:03:44.241Z] 0.0.0 [Pipeline] } [2025-02-03T20:03:44.269Z] $ docker exec --env ******** --env ******** fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent -k [2025-02-03T20:03:44.379Z] unset SSH_AUTH_SOCK; [2025-02-03T20:03:44.380Z] unset SSH_AGENT_PID; [2025-02-03T20:03:44.380Z] echo Agent pid 78 killed; [2025-02-03T20:03:44.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-02-03T20:03:44.838Z] + git semver [Pipeline] } [2025-02-03T20:03:45.131Z] $ docker stop --time=1 fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 [2025-02-03T20:03:46.456Z] $ docker rm -f --volumes fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 [Pipeline] // withDockerContainer [Pipeline] sh [2025-02-03T20:03:46.869Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-02-03T20:03:47.171Z] Stashed 1 file(s) [Pipeline] echo [2025-02-03T20:03:47.195Z] [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-02-03T20:03:48.616Z] provisioning config files... [2025-02-03T20:03:48.627Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config17387975705897778408tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:03:49.179Z] ---> ****-login.sh [2025-02-03T20:03:49.179Z] nexus3.edgexfoundry.org:10001 [2025-02-03T20:03:49.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:49.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:49.179Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:49.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:49.179Z] [2025-02-03T20:03:49.179Z] Login Succeeded [2025-02-03T20:03:49.179Z] nexus3.edgexfoundry.org:10002 [2025-02-03T20:03:49.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:49.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:49.180Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:49.180Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:49.180Z] [2025-02-03T20:03:49.180Z] Login Succeeded [2025-02-03T20:03:49.180Z] nexus3.edgexfoundry.org:10003 [2025-02-03T20:03:49.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:49.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:49.440Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:49.440Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:49.440Z] [2025-02-03T20:03:49.440Z] Login Succeeded [2025-02-03T20:03:49.440Z] nexus3.edgexfoundry.org:10004 [2025-02-03T20:03:49.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:49.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:49.440Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:49.440Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:49.440Z] [2025-02-03T20:03:49.440Z] Login Succeeded [2025-02-03T20:03:49.440Z] ****.io [2025-02-03T20:03:49.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-02-03T20:03:49.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-02-03T20:03:49.700Z] Configure a credential helper to remove this warning. See [2025-02-03T20:03:49.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-02-03T20:03:49.700Z] [2025-02-03T20:03:49.700Z] Login Succeeded [2025-02-03T20:03:49.700Z] ---> ****-login.sh ends [Pipeline] } [2025-02-03T20:03:49.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-02-03T20:03:50.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-02-03T20:03:50.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-02-03T20:03:50.193Z] ========================================================= [2025-02-03T20:03:50.193Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-02-03T20:03:50.193Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:03:50.795Z] + 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-02-03T20:03:50.795Z] Sending build context to Docker daemon 16.67MB [2025-02-03T20:03:50.795Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-02-03T20:03:50.795Z] Step 2/12 : FROM ${BASE} AS builder [2025-02-03T20:03:50.795Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-02-03T20:03:50.795Z] da9db072f522: Pulling fs layer [2025-02-03T20:03:50.795Z] 6ef4a4ee8ca5: Pulling fs layer [2025-02-03T20:03:50.795Z] 06f05ace1117: Pulling fs layer [2025-02-03T20:03:50.795Z] 5fe327b54edc: Pulling fs layer [2025-02-03T20:03:50.795Z] 4f4fb700ef54: Pulling fs layer [2025-02-03T20:03:50.795Z] 92a5565b7b96: Pulling fs layer [2025-02-03T20:03:50.795Z] ff9bb7016b71: Pulling fs layer [2025-02-03T20:03:50.795Z] b67dba6c2c7d: Pulling fs layer [2025-02-03T20:03:50.795Z] a813b0c90790: Pulling fs layer [2025-02-03T20:03:50.795Z] 92a5565b7b96: Waiting [2025-02-03T20:03:50.795Z] ff9bb7016b71: Waiting [2025-02-03T20:03:50.795Z] b67dba6c2c7d: Waiting [2025-02-03T20:03:50.795Z] a813b0c90790: Waiting [2025-02-03T20:03:50.795Z] 5fe327b54edc: Waiting [2025-02-03T20:03:50.795Z] 4f4fb700ef54: Waiting [2025-02-03T20:03:50.795Z] 6ef4a4ee8ca5: Verifying Checksum [2025-02-03T20:03:50.795Z] 6ef4a4ee8ca5: Download complete [2025-02-03T20:03:50.795Z] 5fe327b54edc: Verifying Checksum [2025-02-03T20:03:50.795Z] 5fe327b54edc: Download complete [2025-02-03T20:03:51.055Z] 4f4fb700ef54: Verifying Checksum [2025-02-03T20:03:51.055Z] 4f4fb700ef54: Download complete [2025-02-03T20:03:51.055Z] 92a5565b7b96: Verifying Checksum [2025-02-03T20:03:51.055Z] 92a5565b7b96: Download complete [2025-02-03T20:03:51.055Z] da9db072f522: Download complete [2025-02-03T20:03:51.055Z] ff9bb7016b71: Verifying Checksum [2025-02-03T20:03:51.055Z] ff9bb7016b71: Download complete [2025-02-03T20:03:51.055Z] da9db072f522: Pull complete [2025-02-03T20:03:51.315Z] a813b0c90790: Verifying Checksum [2025-02-03T20:03:51.315Z] a813b0c90790: Download complete [2025-02-03T20:03:51.315Z] 6ef4a4ee8ca5: Pull complete [2025-02-03T20:03:51.315Z] 06f05ace1117: Verifying Checksum [2025-02-03T20:03:51.315Z] 06f05ace1117: Download complete [2025-02-03T20:03:51.573Z] b67dba6c2c7d: Verifying Checksum [2025-02-03T20:03:51.573Z] b67dba6c2c7d: Download complete [2025-02-03T20:03:54.862Z] 06f05ace1117: Pull complete [2025-02-03T20:03:54.862Z] 5fe327b54edc: Pull complete [2025-02-03T20:03:55.121Z] 4f4fb700ef54: Pull complete [2025-02-03T20:03:55.121Z] 92a5565b7b96: Pull complete [2025-02-03T20:03:55.121Z] ff9bb7016b71: Pull complete [2025-02-03T20:03:57.663Z] b67dba6c2c7d: Pull complete [2025-02-03T20:03:57.927Z] a813b0c90790: Pull complete [2025-02-03T20:03:57.927Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-02-03T20:03:57.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-02-03T20:03:57.927Z] ---> 3ba60ce46760 [2025-02-03T20:03:57.927Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2025-02-03T20:04:02.564Z] ---> Running in 4754506429eb [2025-02-03T20:04:02.564Z] Removing intermediate container 4754506429eb [2025-02-03T20:04:02.564Z] ---> 4c6236afd1a8 [2025-02-03T20:04:02.564Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-02-03T20:04:02.564Z] ---> Running in eaf2f0ba3cb3 [2025-02-03T20:04:02.564Z] Removing intermediate container eaf2f0ba3cb3 [2025-02-03T20:04:02.564Z] ---> d22bc2ba1a81 [2025-02-03T20:04:02.564Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-02-03T20:04:02.564Z] ---> Running in 96313a81dd92 [2025-02-03T20:04:02.564Z] Removing intermediate container 96313a81dd92 [2025-02-03T20:04:02.564Z] ---> c5895503cfa9 [2025-02-03T20:04:02.564Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2025-02-03T20:04:02.564Z] ---> Running in a74128113550 [2025-02-03T20:04:02.564Z] Removing intermediate container a74128113550 [2025-02-03T20:04:02.564Z] ---> 4dc2a427a13a [2025-02-03T20:04:02.564Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-02-03T20:04:02.564Z] ---> Running in 28caf4452ace [2025-02-03T20:04:02.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-02-03T20:04:03.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-02-03T20:04:03.347Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2025-02-03T20:04:03.347Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-02-03T20:04:03.347Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2025-02-03T20:04:03.348Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2025-02-03T20:04:03.348Z] Executing busybox-1.36.1-r29.trigger [2025-02-03T20:04:03.626Z] OK: 252 MiB in 62 packages [2025-02-03T20:04:03.887Z] Removing intermediate container 28caf4452ace [2025-02-03T20:04:03.887Z] ---> 7d0f55d2a8ac [2025-02-03T20:04:03.887Z] Step 8/12 : WORKDIR /device-rest-go [2025-02-03T20:04:03.887Z] ---> Running in 6c6f2af52abf [2025-02-03T20:04:04.147Z] Removing intermediate container 6c6f2af52abf [2025-02-03T20:04:04.147Z] ---> 18b69e82c49b [2025-02-03T20:04:04.147Z] Step 9/12 : COPY go.mod vendor* ./ [2025-02-03T20:04:04.147Z] ---> 90dfa509d2e5 [2025-02-03T20:04:04.147Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-02-03T20:04:04.147Z] ---> Running in fad9be9dad9b [2025-02-03T20:04:50.866Z] Removing intermediate container fad9be9dad9b [2025-02-03T20:04:50.866Z] ---> ed2f95353253 [2025-02-03T20:04:50.866Z] Step 11/12 : COPY . . [2025-02-03T20:04:50.866Z] ---> 42568b3ff038 [2025-02-03T20:04:50.866Z] Step 12/12 : RUN $MAKE [2025-02-03T20:04:50.866Z] ---> Running in 8d8a2d5fc5a9 [2025-02-03T20:04:50.866Z] noop [2025-02-03T20:04:50.866Z] Removing intermediate container 8d8a2d5fc5a9 [2025-02-03T20:04:50.866Z] ---> 120d5b0eaa46 [2025-02-03T20:04:50.866Z] Successfully built 120d5b0eaa46 [2025-02-03T20:04:50.866Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:04:51.427Z] + docker inspect -f . ci-base-image-x86_64 [2025-02-03T20:04:51.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-03T20:04:51.630Z] prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container [2025-02-03T20:04:51.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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 ******** ci-base-image-x86_64 cat [2025-02-03T20:04:51.994Z] $ docker top ad6cf3159a2e1630646d9e23ada73c3028d10b44564d35226ded82f044955975 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-03T20:04:52.438Z] + go version [2025-02-03T20:04:52.438Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-02-03T20:04:52.477Z] $ docker stop --time=1 ad6cf3159a2e1630646d9e23ada73c3028d10b44564d35226ded82f044955975 [2025-02-03T20:04:53.763Z] $ docker rm -f --volumes ad6cf3159a2e1630646d9e23ada73c3028d10b44564d35226ded82f044955975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:04:54.686Z] + docker inspect -f . ci-base-image-x86_64 [2025-02-03T20:04:54.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-03T20:04:54.884Z] prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container [2025-02-03T20:04:54.914Z] $ 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-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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 ******** ci-base-image-x86_64 cat [2025-02-03T20:04:55.268Z] $ docker top 250169fca9a29803a498954715d75eba2a9f87f201f252c8091714b8a68ff881 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-03T20:04:55.700Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-446 [Pipeline] fileExists [Pipeline] sh [2025-02-03T20:04:56.095Z] + make test [2025-02-03T20:04:56.095Z] go test ./... -coverprofile=coverage.out ./... [2025-02-03T20:04:57.476Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2025-02-03T20:05:16.906Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2025-02-03T20:05:16.906Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2025-02-03T20:05:29.108Z] go vet ./... [2025-02-03T20:05:33.344Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-02-03T20:05:33.344Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-02-03T20:05:33.344Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2025-02-03T20:05:33.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2025-02-03T20:05:33.685Z] $ docker stop --time=1 250169fca9a29803a498954715d75eba2a9f87f201f252c8091714b8a68ff881 [2025-02-03T20:05:37.050Z] $ docker rm -f --volumes 250169fca9a29803a498954715d75eba2a9f87f201f252c8091714b8a68ff881 [Pipeline] // withDockerContainer [Pipeline] sh [2025-02-03T20:05:37.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-02-03T20:05:37.764Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-02-03T20:05:38.386Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-02-03T20:05:38.703Z] + ls -al . [2025-02-03T20:05:38.703Z] total 244 [2025-02-03T20:05:38.703Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 3 20:04 . [2025-02-03T20:05:38.703Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 20:03 .. [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 3 20:03 .dockerignore [2025-02-03T20:05:38.703Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 20:05 .git [2025-02-03T20:05:38.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 20:03 .github [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 264 Feb 3 20:03 .gitignore [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 3 20:03 .golangci.yml [2025-02-03T20:05:38.703Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 3 20:03 .semver [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 20138 Feb 3 20:03 Attribution.txt [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 17685 Feb 3 20:03 CHANGELOG.md [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 3 20:03 Dockerfile [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 20:03 GOVERNANCE.md [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 3 20:03 Jenkinsfile [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 3 20:03 LICENSE [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 2598 Feb 3 20:03 Makefile [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 3 20:03 OWNERS.md [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 3989 Feb 3 20:03 README.md [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 3 20:03 VERSION [2025-02-03T20:05:38.703Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 20:03 bin [2025-02-03T20:05:38.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 20:03 cmd [2025-02-03T20:05:38.703Z] -rw-r--r-- 1 jenkins jenkins 14565 Feb 3 20:05 coverage.out [2025-02-03T20:05:38.703Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 20:03 driver [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 6339 Feb 3 20:03 go.mod [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 86634 Feb 3 20:03 go.sum [2025-02-03T20:05:38.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 20:03 openapi [2025-02-03T20:05:38.703Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 3 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:05:39.153Z] + 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=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e --label arch=amd64 --label version=0.0.0 . [2025-02-03T20:05:39.153Z] Sending build context to Docker daemon 16.69MB [2025-02-03T20:05:39.153Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2025-02-03T20:05:39.153Z] Step 2/26 : FROM ${BASE} AS builder [2025-02-03T20:05:39.153Z] ---> 120d5b0eaa46 [2025-02-03T20:05:39.153Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2025-02-03T20:05:39.414Z] ---> Running in a1c71109fd8f [2025-02-03T20:05:39.675Z] Removing intermediate container a1c71109fd8f [2025-02-03T20:05:39.675Z] ---> 57f3d0f6f63c [2025-02-03T20:05:39.675Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-02-03T20:05:39.675Z] ---> Running in e4f402911a2c [2025-02-03T20:05:39.675Z] Removing intermediate container e4f402911a2c [2025-02-03T20:05:39.675Z] ---> 612d40817456 [2025-02-03T20:05:39.675Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-02-03T20:05:39.675Z] ---> Running in 4c34241b3753 [2025-02-03T20:05:39.675Z] Removing intermediate container 4c34241b3753 [2025-02-03T20:05:39.675Z] ---> abfc469d71a1 [2025-02-03T20:05:39.675Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2025-02-03T20:05:39.675Z] ---> Running in 7fd2d608a9c7 [2025-02-03T20:05:39.936Z] Removing intermediate container 7fd2d608a9c7 [2025-02-03T20:05:39.936Z] ---> df2b91dbcf6a [2025-02-03T20:05:39.936Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-02-03T20:05:39.936Z] ---> Running in 73935af59695 [2025-02-03T20:05:40.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-02-03T20:05:40.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-02-03T20:05:40.766Z] OK: 252 MiB in 62 packages [2025-02-03T20:05:41.026Z] Removing intermediate container 73935af59695 [2025-02-03T20:05:41.026Z] ---> 00b2ea4bce27 [2025-02-03T20:05:41.026Z] Step 8/26 : WORKDIR /device-rest-go [2025-02-03T20:05:41.026Z] ---> Running in a50d7e0c3362 [2025-02-03T20:05:41.026Z] Removing intermediate container a50d7e0c3362 [2025-02-03T20:05:41.026Z] ---> 9d159c04459d [2025-02-03T20:05:41.026Z] Step 9/26 : COPY go.mod vendor* ./ [2025-02-03T20:05:41.284Z] ---> f4d2a6b7162b [2025-02-03T20:05:41.284Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-02-03T20:05:41.284Z] ---> Running in 1acd7f2ffd4a [2025-02-03T20:05:41.859Z] Removing intermediate container 1acd7f2ffd4a [2025-02-03T20:05:41.859Z] ---> ae3758d8c967 [2025-02-03T20:05:41.859Z] Step 11/26 : COPY . . [2025-02-03T20:05:42.432Z] ---> 5e7b2f6f3237 [2025-02-03T20:05:42.432Z] Step 12/26 : RUN $MAKE [2025-02-03T20:05:42.432Z] ---> Running in 128d4c8f724c [2025-02-03T20:05:42.692Z] 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.20 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2025-02-03T20:06:14.760Z] Removing intermediate container 128d4c8f724c [2025-02-03T20:06:14.760Z] ---> 371941da4c78 [2025-02-03T20:06:14.760Z] Step 13/26 : FROM alpine:3.20 [2025-02-03T20:06:14.760Z] 3.20: Pulling from library/alpine [2025-02-03T20:06:14.760Z] 66a3d608f3fa: Pulling fs layer [2025-02-03T20:06:14.760Z] 66a3d608f3fa: Verifying Checksum [2025-02-03T20:06:14.760Z] 66a3d608f3fa: Download complete [2025-02-03T20:06:14.760Z] 66a3d608f3fa: Pull complete [2025-02-03T20:06:14.760Z] Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 [2025-02-03T20:06:14.760Z] Status: Downloaded newer image for alpine:3.20 [2025-02-03T20:06:14.760Z] ---> e29df9b510ff [2025-02-03T20:06:14.760Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-02-03T20:06:14.760Z] ---> Running in 81f79bfa60e9 [2025-02-03T20:06:14.760Z] Removing intermediate container 81f79bfa60e9 [2025-02-03T20:06:14.760Z] ---> e20f84227764 [2025-02-03T20:06:14.760Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2025-02-03T20:06:14.760Z] ---> Running in d3eb7c318456 [2025-02-03T20:06:14.760Z] Removing intermediate container d3eb7c318456 [2025-02-03T20:06:14.760Z] ---> 5bbbc0e5faf3 [2025-02-03T20:06:14.760Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2025-02-03T20:06:14.760Z] ---> Running in e441779bd0b1 [2025-02-03T20:06:14.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-02-03T20:06:14.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-02-03T20:06:14.760Z] (1/1) Installing dumb-init (1.2.5-r3) [2025-02-03T20:06:14.760Z] Executing busybox-1.36.1-r29.trigger [2025-02-03T20:06:14.760Z] OK: 8 MiB in 15 packages [2025-02-03T20:06:14.760Z] Removing intermediate container e441779bd0b1 [2025-02-03T20:06:14.760Z] ---> b009a80c2508 [2025-02-03T20:06:14.760Z] Step 17/26 : RUN apk --no-cache upgrade [2025-02-03T20:06:14.760Z] ---> Running in ad780fbc299b [2025-02-03T20:06:15.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-02-03T20:06:15.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-02-03T20:06:15.283Z] OK: 8 MiB in 15 packages [2025-02-03T20:06:15.541Z] Removing intermediate container ad780fbc299b [2025-02-03T20:06:15.541Z] ---> b15ea85ca264 [2025-02-03T20:06:15.541Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2025-02-03T20:06:16.921Z] ---> ce0d8cc93c05 [2025-02-03T20:06:16.921Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2025-02-03T20:06:16.921Z] ---> 39f3508b60e8 [2025-02-03T20:06:16.921Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2025-02-03T20:06:16.921Z] ---> 4e2acd2232a2 [2025-02-03T20:06:16.921Z] Step 21/26 : EXPOSE 59986 [2025-02-03T20:06:16.921Z] ---> Running in 55672afd7daa [2025-02-03T20:06:17.180Z] Removing intermediate container 55672afd7daa [2025-02-03T20:06:17.181Z] ---> dc53327fd000 [2025-02-03T20:06:17.181Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2025-02-03T20:06:17.181Z] ---> Running in c377f438de89 [2025-02-03T20:06:17.181Z] Removing intermediate container c377f438de89 [2025-02-03T20:06:17.181Z] ---> e1a25dc8e39c [2025-02-03T20:06:17.181Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-02-03T20:06:17.181Z] ---> Running in 63d58ea473b7 [2025-02-03T20:06:17.181Z] Removing intermediate container 63d58ea473b7 [2025-02-03T20:06:17.181Z] ---> 4bcd492f764d [2025-02-03T20:06:17.181Z] Step 24/26 : LABEL arch=amd64 [2025-02-03T20:06:17.440Z] ---> Running in dc87839e9102 [2025-02-03T20:06:17.440Z] Removing intermediate container dc87839e9102 [2025-02-03T20:06:17.440Z] ---> 1cec6f61df84 [2025-02-03T20:06:17.440Z] Step 25/26 : LABEL git_sha=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [2025-02-03T20:06:17.440Z] ---> Running in 5af3381a7544 [2025-02-03T20:06:17.440Z] Removing intermediate container 5af3381a7544 [2025-02-03T20:06:17.440Z] ---> 1a788e5b4e3c [2025-02-03T20:06:17.440Z] Step 26/26 : LABEL version=0.0.0 [2025-02-03T20:06:17.440Z] ---> Running in 57f2d3fa161e [2025-02-03T20:06:17.699Z] Removing intermediate container 57f2d3fa161e [2025-02-03T20:06:17.699Z] ---> 8dd68dbf2702 [2025-02-03T20:06:17.699Z] [Warning] One or more build-args [ARCH] were not consumed [2025-02-03T20:06:17.699Z] Successfully built 8dd68dbf2702 [2025-02-03T20:06:17.699Z] 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-02-03T20:06:18.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-03T20:06:18.712Z] [2025-02-03T20:06:18.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:06:19.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-03T20:06:19.112Z] latest: Pulling from edgex-lftools-log-publisher [2025-02-03T20:06:19.112Z] 5eb5b503b376: Pulling fs layer [2025-02-03T20:06:19.112Z] 5c69ac0246d0: Pulling fs layer [2025-02-03T20:06:19.112Z] ec43610c2a17: Pulling fs layer [2025-02-03T20:06:19.112Z] 3a2ae6a8a46f: Pulling fs layer [2025-02-03T20:06:19.112Z] 33b1e0a273af: Pulling fs layer [2025-02-03T20:06:19.112Z] 5d3b04190fa2: Pulling fs layer [2025-02-03T20:06:19.112Z] 2f39f015ded8: Pulling fs layer [2025-02-03T20:06:19.112Z] 33b1e0a273af: Waiting [2025-02-03T20:06:19.112Z] 2f39f015ded8: Waiting [2025-02-03T20:06:19.112Z] 3a2ae6a8a46f: Waiting [2025-02-03T20:06:19.112Z] 5c69ac0246d0: Download complete [2025-02-03T20:06:19.112Z] 3a2ae6a8a46f: Download complete [2025-02-03T20:06:19.369Z] 33b1e0a273af: Verifying Checksum [2025-02-03T20:06:19.369Z] 33b1e0a273af: Download complete [2025-02-03T20:06:19.369Z] ec43610c2a17: Verifying Checksum [2025-02-03T20:06:19.369Z] ec43610c2a17: Download complete [2025-02-03T20:06:19.370Z] 5d3b04190fa2: Verifying Checksum [2025-02-03T20:06:19.370Z] 5d3b04190fa2: Download complete [2025-02-03T20:06:19.370Z] 5eb5b503b376: Verifying Checksum [2025-02-03T20:06:19.370Z] 5eb5b503b376: Download complete [2025-02-03T20:06:19.934Z] 2f39f015ded8: Download complete [2025-02-03T20:06:20.501Z] 5eb5b503b376: Pull complete [2025-02-03T20:06:20.759Z] 5c69ac0246d0: Pull complete [2025-02-03T20:06:21.327Z] ec43610c2a17: Pull complete [2025-02-03T20:06:21.327Z] 3a2ae6a8a46f: Pull complete [2025-02-03T20:06:21.584Z] 33b1e0a273af: Pull complete [2025-02-03T20:06:21.584Z] 5d3b04190fa2: Pull complete [2025-02-03T20:06:25.765Z] 2f39f015ded8: Pull complete [2025-02-03T20:06:25.765Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-02-03T20:06:25.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-03T20:06:25.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-03T20:06:26.028Z] prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container [2025-02-03T20:06:26.056Z] $ 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-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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-02-03T20:06:29.416Z] $ docker top 2b5632690cb758e77e9d9aed0e2af7c714f783ed43505c8da830007509d1eb00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:29.883Z] ---> job-cost.sh [2025-02-03T20:06:29.883Z] lf-activate-venv: SKIPPING [2025-02-03T20:06:29.883Z] INFO: No Stack... [2025-02-03T20:06:30.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-02-03T20:06:30.709Z] INFO: Archiving Costs [Pipeline] sh [2025-02-03T20:06:31.028Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-446/archives/cost.csv [2025-02-03T20:06:31.029Z] + cut -d, -f6 [Pipeline] lock [2025-02-03T20:06:31.079Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] [2025-02-03T20:06:31.086Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] did not exist. Created. [2025-02-03T20:06:31.094Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-02-03T20:06:31.509Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-02-03T20:06:31.562Z] Stashed 1 file(s) [Pipeline] } [2025-02-03T20:06:31.601Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } [2025-02-03T20:06:31.699Z] $ docker stop --time=1 2b5632690cb758e77e9d9aed0e2af7c714f783ed43505c8da830007509d1eb00 [2025-02-03T20:06:32.846Z] $ docker rm -f --volumes 2b5632690cb758e77e9d9aed0e2af7c714f783ed43505c8da830007509d1eb00 [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-02-03T20:06:33.568Z] provisioning config files... [2025-02-03T20:06:33.576Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config2658054338690060792tmp [Pipeline] { [Pipeline] sh [2025-02-03T20:06:33.927Z] + set +x [2025-02-03T20:06:33.927Z] + + bash -s -- [2025-02-03T20:06:33.927Z] curl -s https://codecov.io/bash [2025-02-03T20:06:33.927Z] [2025-02-03T20:06:33.927Z] _____ _ [2025-02-03T20:06:33.927Z] / ____| | | [2025-02-03T20:06:33.927Z] | | ___ __| | ___ ___ _____ __ [2025-02-03T20:06:33.927Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-02-03T20:06:33.927Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-02-03T20:06:33.927Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-02-03T20:06:33.927Z] Bash-1.0.6 [2025-02-03T20:06:33.927Z] [2025-02-03T20:06:33.927Z] [2025-02-03T20:06:33.927Z] ==> git version 2.25.1 found [2025-02-03T20:06:33.927Z] ==> 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-02-03T20:06:33.927Z] Release-Date: 2020-01-08 [2025-02-03T20:06:33.927Z] 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-02-03T20:06:33.927Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-02-03T20:06:33.927Z] ==> Jenkins CI detected. [2025-02-03T20:06:33.927Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-446 [2025-02-03T20:06:33.927Z] project root: . [2025-02-03T20:06:33.927Z] --> token set from env [2025-02-03T20:06:33.927Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-02-03T20:06:33.927Z] ==> Running gcov in . (disable via -X gcov) [2025-02-03T20:06:33.927Z] ==> Python coveragepy not found [2025-02-03T20:06:33.927Z] ==> Searching for coverage reports in: [2025-02-03T20:06:33.927Z] + . [2025-02-03T20:06:33.927Z] -> Found 1 reports [2025-02-03T20:06:33.927Z] ==> Detecting git/mercurial file structure [2025-02-03T20:06:34.190Z] ==> Reading reports [2025-02-03T20:06:34.190Z] + ./coverage.out bytes=14565 [2025-02-03T20:06:34.190Z] ==> Appending adjustments [2025-02-03T20:06:34.190Z] https://docs.codecov.io/docs/fixing-reports [2025-02-03T20:06:34.190Z] + Found adjustments [2025-02-03T20:06:34.190Z] ==> Gzipping contents [2025-02-03T20:06:34.190Z] 4.0K /tmp/codecov.1SIAfv.gz [2025-02-03T20:06:34.190Z] ==> Uploading reports [2025-02-03T20:06:34.190Z] url: https://codecov.io [2025-02-03T20:06:34.190Z] query: branch=PR-446&commit=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=446&job=&cmd_args= [2025-02-03T20:06:34.190Z] -> Pinging Codecov [2025-02-03T20:06:34.190Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-446&commit=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=446&job=&cmd_args= [2025-02-03T20:06:34.450Z] -> Uploading to [2025-02-03T20:06:34.450Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e/59cb7bab-95a9-4d59-a606-3fbb3a4c6949.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250203%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250203T200634Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9513b2e443f95c2672f1bcbb5a0c18a98b1709074203f433bf7cb04e7e33e8b0 [2025-02-03T20:06:34.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-02-03T20:06:34.450Z] Dload Upload Total Spent Left Speed [2025-02-03T20:06:34.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 15209 --:--:-- --:--:-- --:--:-- 15209 [2025-02-03T20:06:34.450Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] } [2025-02-03T20:06:34.479Z] 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-02-03T20:06:36.616Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-446/archives ] [2025-02-03T20:06:36.616Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-446/archives [2025-02-03T20:06:36.616Z] total 16 [2025-02-03T20:06:36.616Z] drwxr-xr-x 3 root root 4096 Feb 3 20:06 . [2025-02-03T20:06:36.616Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 20:06 .. [2025-02-03T20:06:36.616Z] drwxr-xr-x 2 root root 4096 Feb 3 20:06 cost [2025-02-03T20:06:36.616Z] -rw-r--r-- 1 root root 86 Feb 3 20:06 cost.csv [2025-02-03T20:06:36.616Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-446/archives [2025-02-03T20:06:36.616Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-446/archives [2025-02-03T20:06:36.616Z] total 16 [2025-02-03T20:06:36.616Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 3 20:06 . [2025-02-03T20:06:36.616Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 20:06 .. [2025-02-03T20:06:36.616Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 3 20:06 cost [2025-02-03T20:06:36.616Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 3 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:36.958Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:37.858Z] ---> package-listing.sh [2025-02-03T20:06:37.858Z] ++ facter osfamily [2025-02-03T20:06:37.858Z] ++ tr '[:upper:]' '[:lower:]' [2025-02-03T20:06:38.118Z] + OS_FAMILY=debian [2025-02-03T20:06:38.118Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-446 [2025-02-03T20:06:38.118Z] + START_PACKAGES=/tmp/packages_start.txt [2025-02-03T20:06:38.118Z] + END_PACKAGES=/tmp/packages_end.txt [2025-02-03T20:06:38.118Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-02-03T20:06:38.118Z] + PACKAGES=/tmp/packages_start.txt [2025-02-03T20:06:38.118Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-446 ']' [2025-02-03T20:06:38.118Z] + PACKAGES=/tmp/packages_end.txt [2025-02-03T20:06:38.118Z] + case "${OS_FAMILY}" in [2025-02-03T20:06:38.118Z] + dpkg -l [2025-02-03T20:06:38.118Z] + grep '^ii' [2025-02-03T20:06:38.118Z] + '[' -f /tmp/packages_start.txt ']' [2025-02-03T20:06:38.118Z] + '[' -f /tmp/packages_end.txt ']' [2025-02-03T20:06:38.118Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-02-03T20:06:38.118Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-446 ']' [2025-02-03T20:06:38.118Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-446/archives/ [2025-02-03T20:06:38.118Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-446/archives/ [Pipeline] echo [2025-02-03T20:06:38.156Z] 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-446/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-02-03T20:06:38.459Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-02-03T20:06:39.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-02-03T20:06:39.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-02-03T20:06:39.367Z] prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container [2025-02-03T20:06:39.426Z] $ 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-446/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-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-02-03T20:06:39.629Z] $ docker top a4d72d8c97ba1b4e6f54af36f4dba1649ac914e23466e3c99c0e493b747199c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-02-03T20:06:40.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-02-03T20:06:40.362Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-02-03T20:06:40.679Z] + ls /var/log/sa-host [2025-02-03T20:06:40.679Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-02-03T20:06:40.839Z] provisioning config files... [2025-02-03T20:06:40.848Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config1547405570377299195tmp [Pipeline] { [Pipeline] echo [2025-02-03T20:06:40.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:41.630Z] ---> create-netrc.sh [Pipeline] } [2025-02-03T20:06:41.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:42.119Z] ---> python-tools-install.sh [Pipeline] echo [2025-02-03T20:06:42.162Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:42.494Z] ---> sudo-logs.sh [2025-02-03T20:06:42.494Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-02-03T20:06:42.597Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:42.930Z] ---> job-cost.sh [2025-02-03T20:06:42.931Z] lf-activate-venv: SKIPPING [2025-02-03T20:06:42.931Z] DEBUG: total: 0.2199999988079071 [2025-02-03T20:06:42.931Z] INFO: Retrieving Stack Cost... [2025-02-03T20:06:42.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-02-03T20:06:43.499Z] INFO: Archiving Costs [Pipeline] echo [2025-02-03T20:06:43.548Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-02-03T20:06:43.880Z] ---> logs-deploy.sh [2025-02-03T20:06:43.880Z] lf-activate-venv: SKIPPING [2025-02-03T20:06:43.880Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-446/1 [2025-02-03T20:06:43.880Z] INFO: archiving workspace using pattern(s): [2025-02-03T20:06:44.819Z] Archives upload complete. [2025-02-03T20:06:44.819Z] INFO: archiving logs to Nexus