Pull request #420 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf564b997c3dc272aa1088a40ff9a6988ef00720+9c2cca6ccca3210e07b712156771ed12440b1abf (650e14fb365dbe2141dcf703eb0e660c7b4bee5a) 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-ssh1054591715988165654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17891374662006294643.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-420/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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8051500606505389754.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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5444440283296457926.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2581877039375085206.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-420/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-420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13540654118752896870.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23009 in /w/workspace/gexfoundry_device-rest-go_PR-420 [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-420 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit 9c2cca6ccca3210e07b712156771ed12440b1abf into PR head commit bf564b997c3dc272aa1088a40ff9a6988ef00720 Merge succeeded, producing bf564b997c3dc272aa1088a40ff9a6988ef00720 Checking out Revision bf564b997c3dc272aa1088a40ff9a6988ef00720 (PR-420) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # 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 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-17T21:00:24.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-17T21:00:24.545Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-17T21:00:24.653Z] ========================================================= [2024-10-17T21:00:24.654Z] EdgeX Global Pipelines Version Info [2024-10-17T21:00:24.654Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:00:25.883Z] ------------------- [2024-10-17T21:00:25.883Z] stable info: [2024-10-17T21:00:25.883Z] ------------------- [2024-10-17T21:00:25.883Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-17T21:00:25.883Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T21:00:25.883Z] Message: update stable to v1.0.265 [2024-10-17T21:00:26.143Z] ------------------- [2024-10-17T21:00:26.143Z] experimental info: [2024-10-17T21:00:26.143Z] ------------------- [2024-10-17T21:00:26.143Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-17T21:00:26.143Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-17T21:00:26.143Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-17T21:00:26.348Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-17T21:00:26.401Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-17T21:00:26.454Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-17T21:00:26.508Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-17T21:00:26.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-17T21:00:26.619Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-17T21:00:26.672Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-17T21:00:26.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-17T21:00:26.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-17T21:00:26.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-17T21:00:26.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-17T21:00:26.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-17T21:00:26.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-17T21:00:27.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-17T21:00:27.087Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T21:00:27.142Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T21:00:27.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T21:00:27.253Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T21:00:27.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-17T21:00:27.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-17T21:00:27.426Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-17T21:00:27.481Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-17T21:00:27.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-17T21:00:27.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-17T21:00:27.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-17T21:00:27.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-17T21:00:27.758Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-17T21:00:27.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-420 [Pipeline] echo [2024-10-17T21:00:27.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-420 [Pipeline] echo [2024-10-17T21:00:27.933Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-420 [Pipeline] echo [2024-10-17T21:00:27.993Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo [2024-10-17T21:00:28.050Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf564b9 [Pipeline] echo [2024-10-17T21:00:28.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T21:00:28.249Z] provisioning config files... [2024-10-17T21:00:28.262Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config8937283887085955701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:00:28.656Z] ---> ****-login.sh [2024-10-17T21:00:28.656Z] nexus3.edgexfoundry.org:10001 [2024-10-17T21:00:28.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:28.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:28.917Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:28.917Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:28.917Z] [2024-10-17T21:00:28.917Z] Login Succeeded [2024-10-17T21:00:28.917Z] nexus3.edgexfoundry.org:10002 [2024-10-17T21:00:29.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:29.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:29.178Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:29.178Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:29.178Z] [2024-10-17T21:00:29.178Z] Login Succeeded [2024-10-17T21:00:29.178Z] nexus3.edgexfoundry.org:10003 [2024-10-17T21:00:29.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:29.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:29.178Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:29.178Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:29.178Z] [2024-10-17T21:00:29.178Z] Login Succeeded [2024-10-17T21:00:29.178Z] nexus3.edgexfoundry.org:10004 [2024-10-17T21:00:29.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:29.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:29.438Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:29.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:29.438Z] [2024-10-17T21:00:29.438Z] Login Succeeded [2024-10-17T21:00:29.438Z] ****.io [2024-10-17T21:00:29.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:29.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:29.698Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:29.698Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:29.698Z] [2024-10-17T21:00:29.698Z] Login Succeeded [2024-10-17T21:00:29.698Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T21:00:29.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-17T21:00:30.406Z] + git rev-list -1 --merges bf564b997c3dc272aa1088a40ff9a6988ef00720~1..bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo [2024-10-17T21:00:30.452Z] -----------> git rev-list -1 --merges bf564b997c3dc272aa1088a40ff9a6988ef00720~1..bf564b997c3dc272aa1088a40ff9a6988ef00720 bf564b997c3dc272aa1088a40ff9a6988ef00720 [false] [Pipeline] sh [2024-10-17T21:00:30.775Z] + git log --format=format:%s -1 bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo [2024-10-17T21:00:30.820Z] ========================================================= [2024-10-17T21:00:30.820Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-17T21:00:30.820Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T21:00:31.276Z] + git log --format=format:%s -1 bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo [2024-10-17T21:00:31.313Z] [semverPrep] GIT_COMMIT: bf564b997c3dc272aa1088a40ff9a6988ef00720, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-17T21:00:31.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-17T21:00:31.768Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-17T21:00:31.768Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-17T21:00:31.768Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-17T21:00:31.768Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-17T21:00:31.768Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-17T21:00:31.768Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-17T21:00:31.768Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:00:32.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T21:00:32.269Z] [2024-10-17T21:00:32.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:00:32.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T21:00:32.679Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-17T21:00:32.679Z] b85a868b505f: Pulling fs layer [2024-10-17T21:00:32.679Z] e2be974225ed: Pulling fs layer [2024-10-17T21:00:32.679Z] 339a4e72a1f5: Pulling fs layer [2024-10-17T21:00:32.679Z] 988bab9f4d93: Pulling fs layer [2024-10-17T21:00:32.679Z] 1469e6f7b9e6: Pulling fs layer [2024-10-17T21:00:32.679Z] eaf3925da568: Pulling fs layer [2024-10-17T21:00:32.679Z] bab4dde63d76: Pulling fs layer [2024-10-17T21:00:32.679Z] bde34c3a00c8: Pulling fs layer [2024-10-17T21:00:32.679Z] b352a97aabf1: Pulling fs layer [2024-10-17T21:00:32.679Z] 4872d77fe225: Pulling fs layer [2024-10-17T21:00:32.679Z] 5851b861e8e6: Pulling fs layer [2024-10-17T21:00:32.679Z] eaf3925da568: Waiting [2024-10-17T21:00:32.679Z] bde34c3a00c8: Waiting [2024-10-17T21:00:32.679Z] 988bab9f4d93: Waiting [2024-10-17T21:00:32.679Z] b352a97aabf1: Waiting [2024-10-17T21:00:32.679Z] 1469e6f7b9e6: Waiting [2024-10-17T21:00:32.679Z] bab4dde63d76: Waiting [2024-10-17T21:00:32.679Z] 4872d77fe225: Waiting [2024-10-17T21:00:32.679Z] 5851b861e8e6: Waiting [2024-10-17T21:00:32.679Z] e2be974225ed: Download complete [2024-10-17T21:00:32.680Z] 988bab9f4d93: Verifying Checksum [2024-10-17T21:00:32.680Z] 988bab9f4d93: Download complete [2024-10-17T21:00:32.939Z] 1469e6f7b9e6: Verifying Checksum [2024-10-17T21:00:32.939Z] 1469e6f7b9e6: Download complete [2024-10-17T21:00:32.939Z] eaf3925da568: Verifying Checksum [2024-10-17T21:00:32.939Z] eaf3925da568: Download complete [2024-10-17T21:00:32.939Z] 339a4e72a1f5: Verifying Checksum [2024-10-17T21:00:32.939Z] 339a4e72a1f5: Download complete [2024-10-17T21:00:32.939Z] bde34c3a00c8: Download complete [2024-10-17T21:00:32.939Z] b352a97aabf1: Download complete [2024-10-17T21:00:32.939Z] 4872d77fe225: Verifying Checksum [2024-10-17T21:00:32.939Z] 4872d77fe225: Download complete [2024-10-17T21:00:32.939Z] 5851b861e8e6: Verifying Checksum [2024-10-17T21:00:32.939Z] 5851b861e8e6: Download complete [2024-10-17T21:00:32.939Z] b85a868b505f: Download complete [2024-10-17T21:00:33.207Z] bab4dde63d76: Verifying Checksum [2024-10-17T21:00:33.207Z] bab4dde63d76: Download complete [2024-10-17T21:00:34.147Z] b85a868b505f: Pull complete [2024-10-17T21:00:34.406Z] e2be974225ed: Pull complete [2024-10-17T21:00:34.666Z] 339a4e72a1f5: Pull complete [2024-10-17T21:00:34.666Z] 988bab9f4d93: Pull complete [2024-10-17T21:00:34.926Z] 1469e6f7b9e6: Pull complete [2024-10-17T21:00:35.184Z] eaf3925da568: Pull complete [2024-10-17T21:00:37.092Z] bab4dde63d76: Pull complete [2024-10-17T21:00:37.092Z] bde34c3a00c8: Pull complete [2024-10-17T21:00:37.092Z] b352a97aabf1: Pull complete [2024-10-17T21:00:37.092Z] 4872d77fe225: Pull complete [2024-10-17T21:00:37.092Z] 5851b861e8e6: Pull complete [2024-10-17T21:00:37.092Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-17T21:00:37.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T21:00:37.092Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:00:37.386Z] prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container [2024-10-17T21:00:37.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 [2024-10-17T21:00:40.097Z] $ docker top a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d -eo pid,comm [2024-10-17T21:00:40.152Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-17T21:00:40.152Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-17T21:00:40.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T21:00:40.327Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T21:00:40.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T21:00:40.440Z] $ docker exec a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent [2024-10-17T21:00:40.552Z] SSH_AUTH_SOCK=/tmp/ssh-yVudhMrIJQUK/agent.32 [2024-10-17T21:00:40.552Z] SSH_AGENT_PID=38 [2024-10-17T21:00:40.558Z] Running ssh-add (command line suppressed) [2024-10-17T21:00:40.656Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_6495924055222160821.key (/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_6495924055222160821.key) [2024-10-17T21:00:40.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T21:00:41.022Z] + git tag --points-at HEAD [Pipeline] } [2024-10-17T21:00:41.048Z] $ docker exec --env ******** --env ******** a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent -k [2024-10-17T21:00:41.143Z] unset SSH_AUTH_SOCK; [2024-10-17T21:00:41.143Z] unset SSH_AGENT_PID; [2024-10-17T21:00:41.143Z] echo Agent pid 38 killed; [2024-10-17T21:00:41.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-17T21:00:41.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T21:00:41.280Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T21:00:41.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T21:00:41.386Z] $ docker exec a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent [2024-10-17T21:00:41.501Z] SSH_AUTH_SOCK=/tmp/ssh-LUJJMjWixtVb/agent.70 [2024-10-17T21:00:41.501Z] SSH_AGENT_PID=76 [2024-10-17T21:00:41.506Z] Running ssh-add (command line suppressed) [2024-10-17T21:00:41.602Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_9959111540824243703.key (/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_9959111540824243703.key) [2024-10-17T21:00:41.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T21:00:41.972Z] + git semver init [2024-10-17T21:00:42.233Z] 2024-10-17 21:00:42,159 [run_init] DEBUG init version:0.0.0 force:False [2024-10-17T21:00:42.233Z] 2024-10-17 21:00:42,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-420/.semver [2024-10-17T21:00:42.233Z] 2024-10-17 21:00:42,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-420/.semver [2024-10-17T21:00:42.233Z] 2024-10-17 21:00:42,161 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-420/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-420, universal_newlines=False, shell=None, istream=None) [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,380 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-420/.git/info/exclude [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-420/.semver/PR-420 with force:False [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,381 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-420/.semver/PR-420 [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,385 [execute] INFO git cat-file --batch-check [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,392 [execute] INFO git cat-file --batch [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T21:00:43.618Z] 2024-10-17 21:00:43,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-420/.semver/PR-420 [2024-10-17T21:00:43.618Z] 0.0.0 [Pipeline] } [2024-10-17T21:00:43.644Z] $ docker exec --env ******** --env ******** a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent -k [2024-10-17T21:00:43.739Z] unset SSH_AUTH_SOCK; [2024-10-17T21:00:43.740Z] unset SSH_AGENT_PID; [2024-10-17T21:00:43.740Z] echo Agent pid 76 killed; [2024-10-17T21:00:43.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-17T21:00:44.207Z] + git semver [Pipeline] } [2024-10-17T21:00:44.494Z] $ docker stop --time=1 a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d [2024-10-17T21:00:45.744Z] $ docker rm -f --volumes a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T21:00:46.164Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-17T21:00:46.477Z] Stashed 1 file(s) [Pipeline] echo [2024-10-17T21:00:46.503Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T21:00:47.247Z] provisioning config files... [2024-10-17T21:00:47.258Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config8653649502879756296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:00:47.629Z] ---> ****-login.sh [2024-10-17T21:00:47.629Z] nexus3.edgexfoundry.org:10001 [2024-10-17T21:00:47.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:47.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:47.629Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:47.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:47.629Z] [2024-10-17T21:00:47.629Z] Login Succeeded [2024-10-17T21:00:47.629Z] nexus3.edgexfoundry.org:10002 [2024-10-17T21:00:47.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:47.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:47.629Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:47.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:47.629Z] [2024-10-17T21:00:47.629Z] Login Succeeded [2024-10-17T21:00:47.629Z] nexus3.edgexfoundry.org:10003 [2024-10-17T21:00:47.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:47.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:47.888Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:47.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:47.888Z] [2024-10-17T21:00:47.888Z] Login Succeeded [2024-10-17T21:00:47.888Z] nexus3.edgexfoundry.org:10004 [2024-10-17T21:00:47.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:47.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:47.889Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:47.889Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:47.889Z] [2024-10-17T21:00:47.889Z] Login Succeeded [2024-10-17T21:00:47.889Z] ****.io [2024-10-17T21:00:48.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:00:48.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:00:48.148Z] Configure a credential helper to remove this warning. See [2024-10-17T21:00:48.148Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:00:48.148Z] [2024-10-17T21:00:48.148Z] Login Succeeded [2024-10-17T21:00:48.148Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T21:00:48.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T21:00:48.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T21:00:48.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T21:00:48.485Z] ========================================================= [2024-10-17T21:00:48.485Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-17T21:00:48.485Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:00:49.019Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-17T21:00:49.020Z] Sending build context to Docker daemon 16.62MB [2024-10-17T21:00:49.020Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T21:00:49.020Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-17T21:00:49.020Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-17T21:00:49.020Z] 43c4264eed91: Pulling fs layer [2024-10-17T21:00:49.020Z] 4cc291be95ef: Pulling fs layer [2024-10-17T21:00:49.020Z] 2ac1f1163629: Pulling fs layer [2024-10-17T21:00:49.020Z] 5c3c966382ef: Pulling fs layer [2024-10-17T21:00:49.020Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T21:00:49.020Z] 5d5c8e513c77: Pulling fs layer [2024-10-17T21:00:49.020Z] 9f66e0745190: Pulling fs layer [2024-10-17T21:00:49.020Z] f49a43e4bbc0: Pulling fs layer [2024-10-17T21:00:49.020Z] 561ebcabdf7f: Pulling fs layer [2024-10-17T21:00:49.020Z] 561ebcabdf7f: Waiting [2024-10-17T21:00:49.020Z] 5c3c966382ef: Waiting [2024-10-17T21:00:49.020Z] 9f66e0745190: Waiting [2024-10-17T21:00:49.020Z] f49a43e4bbc0: Waiting [2024-10-17T21:00:49.020Z] 5d5c8e513c77: Waiting [2024-10-17T21:00:49.020Z] 4f4fb700ef54: Waiting [2024-10-17T21:00:49.020Z] 4cc291be95ef: Verifying Checksum [2024-10-17T21:00:49.020Z] 4cc291be95ef: Download complete [2024-10-17T21:00:49.020Z] 5c3c966382ef: Verifying Checksum [2024-10-17T21:00:49.020Z] 5c3c966382ef: Download complete [2024-10-17T21:00:49.020Z] 4f4fb700ef54: Verifying Checksum [2024-10-17T21:00:49.020Z] 4f4fb700ef54: Download complete [2024-10-17T21:00:49.280Z] 5d5c8e513c77: Verifying Checksum [2024-10-17T21:00:49.280Z] 5d5c8e513c77: Download complete [2024-10-17T21:00:49.280Z] 43c4264eed91: Verifying Checksum [2024-10-17T21:00:49.280Z] 43c4264eed91: Download complete [2024-10-17T21:00:49.280Z] 9f66e0745190: Verifying Checksum [2024-10-17T21:00:49.280Z] 9f66e0745190: Download complete [2024-10-17T21:00:49.280Z] 43c4264eed91: Pull complete [2024-10-17T21:00:49.538Z] 561ebcabdf7f: Download complete [2024-10-17T21:00:49.538Z] 2ac1f1163629: Download complete [2024-10-17T21:00:49.538Z] 4cc291be95ef: Pull complete [2024-10-17T21:00:50.105Z] f49a43e4bbc0: Verifying Checksum [2024-10-17T21:00:50.105Z] f49a43e4bbc0: Download complete [2024-10-17T21:00:53.396Z] 2ac1f1163629: Pull complete [2024-10-17T21:00:53.396Z] 5c3c966382ef: Pull complete [2024-10-17T21:00:53.396Z] 4f4fb700ef54: Pull complete [2024-10-17T21:00:53.396Z] 5d5c8e513c77: Pull complete [2024-10-17T21:00:53.396Z] 9f66e0745190: Pull complete [2024-10-17T21:00:55.303Z] f49a43e4bbc0: Pull complete [2024-10-17T21:00:55.869Z] 561ebcabdf7f: Pull complete [2024-10-17T21:00:55.869Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-17T21:00:55.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-17T21:00:55.869Z] ---> 3a752c3f9dda [2024-10-17T21:00:55.869Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-17T21:01:01.144Z] ---> Running in bd6fe37eaf72 [2024-10-17T21:01:01.145Z] Removing intermediate container bd6fe37eaf72 [2024-10-17T21:01:01.145Z] ---> aa1b01a3d14d [2024-10-17T21:01:01.145Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T21:01:01.145Z] ---> Running in aaf8ac5595d2 [2024-10-17T21:01:01.145Z] Removing intermediate container aaf8ac5595d2 [2024-10-17T21:01:01.145Z] ---> 4b95553480a7 [2024-10-17T21:01:01.145Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T21:01:01.145Z] ---> Running in db706567dff5 [2024-10-17T21:01:01.145Z] Removing intermediate container db706567dff5 [2024-10-17T21:01:01.145Z] ---> adadfb64b403 [2024-10-17T21:01:01.145Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T21:01:01.145Z] ---> Running in 25de05421ae8 [2024-10-17T21:01:01.145Z] Removing intermediate container 25de05421ae8 [2024-10-17T21:01:01.145Z] ---> 64e9855358db [2024-10-17T21:01:01.145Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T21:01:01.145Z] ---> Running in 64fabb78fa2d [2024-10-17T21:01:01.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T21:01:01.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T21:01:01.664Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-17T21:01:01.664Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-17T21:01:01.664Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-17T21:01:01.664Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-17T21:01:01.664Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T21:01:01.922Z] OK: 250 MiB in 58 packages [2024-10-17T21:01:02.017Z] Still waiting to schedule task [2024-10-17T21:01:02.018Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-17T21:01:02.181Z] Removing intermediate container 64fabb78fa2d [2024-10-17T21:01:02.181Z] ---> 2271de0779e5 [2024-10-17T21:01:02.181Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-17T21:01:02.440Z] ---> Running in 151d274e3da2 [2024-10-17T21:01:02.440Z] Removing intermediate container 151d274e3da2 [2024-10-17T21:01:02.440Z] ---> dc5647da1ef1 [2024-10-17T21:01:02.440Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-17T21:01:02.440Z] ---> 2a185459ae77 [2024-10-17T21:01:02.440Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T21:01:02.440Z] ---> Running in f12978dfa82d [2024-10-17T21:01:58.690Z] Removing intermediate container f12978dfa82d [2024-10-17T21:01:58.690Z] ---> eaf191a2deb5 [2024-10-17T21:01:58.690Z] Step 11/12 : COPY . . [2024-10-17T21:01:59.256Z] ---> 8ce55bc18d1a [2024-10-17T21:01:59.256Z] Step 12/12 : RUN $MAKE [2024-10-17T21:01:59.256Z] ---> Running in a138b98c535b [2024-10-17T21:01:59.256Z] noop [2024-10-17T21:01:59.822Z] Removing intermediate container a138b98c535b [2024-10-17T21:01:59.822Z] ---> cee990d0f03c [2024-10-17T21:01:59.822Z] Successfully built cee990d0f03c [2024-10-17T21:01:59.822Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:02:00.298Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T21:02:00.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:02:00.468Z] prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container [2024-10-17T21:02:00.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 [2024-10-17T21:02:00.827Z] $ docker top 3ad5ff89ff9da02b65f92f2fb91b212ee52919a77626ab272d595da47d893b48 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T21:02:01.245Z] + go version [2024-10-17T21:02:01.245Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-17T21:02:01.274Z] $ docker stop --time=1 3ad5ff89ff9da02b65f92f2fb91b212ee52919a77626ab272d595da47d893b48 [2024-10-17T21:02:02.572Z] $ docker rm -f --volumes 3ad5ff89ff9da02b65f92f2fb91b212ee52919a77626ab272d595da47d893b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:02:03.362Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T21:02:03.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:02:03.546Z] prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container [2024-10-17T21:02:03.575Z] $ 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-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 [2024-10-17T21:02:03.926Z] $ docker top 19a14592ad28002eb52f8af9133287ffa09a0f345c3217f4d61b02a9014a7673 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T21:02:04.341Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-420 [Pipeline] fileExists [Pipeline] sh [2024-10-17T21:02:04.720Z] + make test [2024-10-17T21:02:04.720Z] go test ./... -coverprofile=coverage.out ./... [2024-10-17T21:02:06.628Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-17T21:02:24.711Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-17T21:02:24.711Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-10-17T21:02:34.674Z] go vet ./... [2024-10-17T21:02:38.352Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23010 in /w/workspace/gexfoundry_device-rest-go_PR-420 [Pipeline] { [Pipeline] ws [2024-10-17T21:02:38.435Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-17T21:02:38.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T21:02:38.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T21:02:38.852Z] ./bin/test-attribution-txt.sh [2024-10-17T21:02:41.533Z] The recommended git tool is: git [Pipeline] echo [2024-10-17T21:02:41.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T21:02:41.636Z] $ docker stop --time=1 19a14592ad28002eb52f8af9133287ffa09a0f345c3217f4d61b02a9014a7673 [2024-10-17T21:02:45.842Z] using credential edgex-jenkins-ssh [2024-10-17T21:02:45.865Z] Cloning the remote Git repository [2024-10-17T21:02:46.008Z] $ docker rm -f --volumes 19a14592ad28002eb52f8af9133287ffa09a0f345c3217f4d61b02a9014a7673 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T21:02:45.900Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-17T21:02:45.979Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-17T21:02:46.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-17T21:02:46.096Z] > git --version # timeout=10 [2024-10-17T21:02:46.114Z] > git --version # 'git version 2.25.1' [2024-10-17T21:02:46.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T21:02:46.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T21:02:46.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T21:02:46.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-17T21:02:47.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T21:02:47.691Z] + ls -al . [2024-10-17T21:02:47.691Z] total 256 [2024-10-17T21:02:47.691Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 21:02 . [2024-10-17T21:02:47.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 21:00 .. [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 21:00 .dockerignore [2024-10-17T21:02:47.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 21:02 .git [2024-10-17T21:02:47.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:00 .github [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 17 21:00 .gitignore [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 21:00 .golangci.yml [2024-10-17T21:02:47.691Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 21:00 .semver [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 17 21:00 Attribution.txt [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 17 21:00 CHANGELOG.md [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 17 21:00 Dockerfile [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 21:00 GOVERNANCE.md [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 21:00 Jenkinsfile [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 21:00 LICENSE [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 17 21:00 Makefile [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 21:00 OWNERS.md [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 17 21:00 README.md [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 21:00 VERSION [2024-10-17T21:02:47.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:00 bin [2024-10-17T21:02:47.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:00 cmd [2024-10-17T21:02:47.691Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 17 21:02 coverage.out [2024-10-17T21:02:47.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:00 driver [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 17 21:00 go.mod [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 17 21:00 go.sum [2024-10-17T21:02:47.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:00 openapi [2024-10-17T21:02:47.691Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:02:48.111Z] + 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=bf564b997c3dc272aa1088a40ff9a6988ef00720 --label arch=amd64 --label version=0.0.0 . [2024-10-17T21:02:48.111Z] Sending build context to Docker daemon 16.64MB [2024-10-17T21:02:48.111Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T21:02:48.111Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-17T21:02:48.111Z] ---> cee990d0f03c [2024-10-17T21:02:48.111Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-17T21:02:48.369Z] ---> Running in 7a82a09d6117 [2024-10-17T21:02:48.629Z] Removing intermediate container 7a82a09d6117 [2024-10-17T21:02:48.629Z] ---> 846973337cf1 [2024-10-17T21:02:48.629Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T21:02:48.629Z] ---> Running in 76c422e41aa8 [2024-10-17T21:02:48.629Z] Removing intermediate container 76c422e41aa8 [2024-10-17T21:02:48.629Z] ---> d3a92fd9587f [2024-10-17T21:02:48.629Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T21:02:48.629Z] ---> Running in a41fa8e20eff [2024-10-17T21:02:48.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-17T21:02:48.810Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T21:02:48.887Z] Removing intermediate container a41fa8e20eff [2024-10-17T21:02:48.887Z] ---> 1aa6c36afdf9 [2024-10-17T21:02:48.887Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T21:02:48.887Z] ---> Running in b42d2e9af5ad [2024-10-17T21:02:48.887Z] Removing intermediate container b42d2e9af5ad [2024-10-17T21:02:48.887Z] ---> 6c9c79910558 [2024-10-17T21:02:48.887Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T21:02:48.887Z] ---> Running in 536689ff1d8c [2024-10-17T21:02:49.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T21:02:49.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T21:02:49.662Z] OK: 250 MiB in 58 packages [2024-10-17T21:02:49.921Z] Removing intermediate container 536689ff1d8c [2024-10-17T21:02:49.921Z] ---> 47aaf7279790 [2024-10-17T21:02:49.921Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-17T21:02:50.154Z] Merging remotes/origin/main commit 9c2cca6ccca3210e07b712156771ed12440b1abf into PR head commit bf564b997c3dc272aa1088a40ff9a6988ef00720 [2024-10-17T21:02:50.182Z] ---> Running in 8bd56d232c3c [2024-10-17T21:02:50.182Z] Removing intermediate container 8bd56d232c3c [2024-10-17T21:02:50.182Z] ---> 25db2d713f95 [2024-10-17T21:02:50.182Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-17T21:02:50.182Z] ---> 15f40d2bafce [2024-10-17T21:02:50.182Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T21:02:50.182Z] ---> Running in 741faf7f174c [2024-10-17T21:02:49.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-17T21:02:49.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-17T21:02:49.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T21:02:49.664Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-17T21:02:50.168Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T21:02:50.445Z] Merge succeeded, producing bf564b997c3dc272aa1088a40ff9a6988ef00720 [2024-10-17T21:02:50.445Z] Checking out Revision bf564b997c3dc272aa1088a40ff9a6988ef00720 (PR-420) [2024-10-17T21:02:51.017Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-17T21:02:51.057Z] > git --version # timeout=10 [2024-10-17T21:02:51.070Z] > git --version # 'git version 2.25.1' [2024-10-17T21:02:51.086Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T21:02:51.346Z] Removing intermediate container 741faf7f174c [2024-10-17T21:02:51.346Z] ---> 287bf7163a84 [2024-10-17T21:02:51.346Z] Step 11/26 : COPY . . [2024-10-17T21:02:50.248Z] > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 [2024-10-17T21:02:50.334Z] > git remote # timeout=10 [2024-10-17T21:02:50.353Z] > git config --get remote.origin.url # timeout=10 [2024-10-17T21:02:50.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T21:02:50.400Z] > git merge 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 [2024-10-17T21:02:50.425Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-17T21:02:50.448Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T21:02:50.463Z] > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 [2024-10-17T21:02:51.608Z] ---> 44a3b8e27d17 [2024-10-17T21:02:51.608Z] Step 12/26 : RUN $MAKE [2024-10-17T21:02:51.608Z] ---> Running in 415d39576516 [2024-10-17T21:02:51.868Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T21:02:56.048Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-17T21:02:56.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T21:02:56.048Z] Dload Upload Total Spent Left Speed [2024-10-17T21:02:56.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 72067 0 --:--:-- --:--:-- --:--:-- 72067 [Pipeline] sh [2024-10-17T21:02:56.399Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-17T21:02:56.766Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-17T21:02:56.766Z] + sudo tee /etc/docker/daemon.new [2024-10-17T21:02:56.766Z] { [2024-10-17T21:02:56.766Z] "registry-mirrors": [ [2024-10-17T21:02:56.766Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-17T21:02:56.766Z] ], [2024-10-17T21:02:56.766Z] "bip": "10.250.0.254/24", [2024-10-17T21:02:56.766Z] "hosts": [ [2024-10-17T21:02:56.766Z] "tcp://0.0.0.0:5555", [2024-10-17T21:02:56.766Z] "unix:///var/run/docker.sock" [2024-10-17T21:02:56.766Z] ], [2024-10-17T21:02:56.766Z] "mtu": 1458, [2024-10-17T21:02:56.766Z] "selinux-enabled": true, [2024-10-17T21:02:56.766Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-17T21:02:56.766Z] } [Pipeline] sh [2024-10-17T21:02:57.121Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-17T21:02:57.475Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T21:03:15.777Z] provisioning config files... [2024-10-17T21:03:15.805Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10177046017784280984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:03:16.286Z] ---> ****-login.sh [2024-10-17T21:03:16.286Z] nexus3.edgexfoundry.org:10001 [2024-10-17T21:03:16.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:03:16.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:03:16.876Z] Configure a credential helper to remove this warning. See [2024-10-17T21:03:16.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:03:16.877Z] [2024-10-17T21:03:16.877Z] Login Succeeded [2024-10-17T21:03:16.877Z] nexus3.edgexfoundry.org:10002 [2024-10-17T21:03:17.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:03:17.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:03:17.144Z] Configure a credential helper to remove this warning. See [2024-10-17T21:03:17.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:03:17.144Z] [2024-10-17T21:03:17.144Z] Login Succeeded [2024-10-17T21:03:17.416Z] nexus3.edgexfoundry.org:10003 [2024-10-17T21:03:17.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:03:17.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:03:17.685Z] Configure a credential helper to remove this warning. See [2024-10-17T21:03:17.685Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:03:17.685Z] [2024-10-17T21:03:17.685Z] Login Succeeded [2024-10-17T21:03:17.685Z] nexus3.edgexfoundry.org:10004 [2024-10-17T21:03:17.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:03:17.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:03:17.954Z] Configure a credential helper to remove this warning. See [2024-10-17T21:03:17.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:03:17.954Z] [2024-10-17T21:03:17.954Z] Login Succeeded [2024-10-17T21:03:17.954Z] ****.io [2024-10-17T21:03:18.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T21:03:18.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T21:03:18.488Z] Configure a credential helper to remove this warning. See [2024-10-17T21:03:18.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T21:03:18.488Z] [2024-10-17T21:03:18.488Z] Login Succeeded [2024-10-17T21:03:18.488Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T21:03:18.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T21:03:19.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T21:03:19.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T21:03:19.109Z] ========================================================= [2024-10-17T21:03:19.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-17T21:03:19.109Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:03:19.656Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-17T21:03:19.656Z] Sending build context to Docker daemon 140.8kB [2024-10-17T21:03:19.925Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T21:03:19.925Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-17T21:03:19.925Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-17T21:03:19.925Z] cf04c63912e1: Pulling fs layer [2024-10-17T21:03:19.925Z] 55b35a11ae5e: Pulling fs layer [2024-10-17T21:03:19.926Z] a37a00ec5f00: Pulling fs layer [2024-10-17T21:03:19.926Z] 50b3750afda1: Pulling fs layer [2024-10-17T21:03:19.926Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T21:03:19.926Z] 80978eb59214: Pulling fs layer [2024-10-17T21:03:19.926Z] c9f46d7d2bd2: Pulling fs layer [2024-10-17T21:03:19.926Z] c5a475d317c9: Pulling fs layer [2024-10-17T21:03:19.926Z] 4f4fb700ef54: Waiting [2024-10-17T21:03:19.926Z] 80978eb59214: Waiting [2024-10-17T21:03:19.926Z] c9f46d7d2bd2: Waiting [2024-10-17T21:03:19.926Z] c5a475d317c9: Waiting [2024-10-17T21:03:19.926Z] 50b3750afda1: Waiting [2024-10-17T21:03:20.196Z] 55b35a11ae5e: Verifying Checksum [2024-10-17T21:03:20.196Z] 55b35a11ae5e: Download complete [2024-10-17T21:03:20.196Z] 50b3750afda1: Download complete [2024-10-17T21:03:20.196Z] 4f4fb700ef54: Download complete [2024-10-17T21:03:20.196Z] 80978eb59214: Verifying Checksum [2024-10-17T21:03:20.196Z] 80978eb59214: Download complete [2024-10-17T21:03:20.196Z] cf04c63912e1: Verifying Checksum [2024-10-17T21:03:20.196Z] cf04c63912e1: Download complete [2024-10-17T21:03:20.791Z] c5a475d317c9: Verifying Checksum [2024-10-17T21:03:20.791Z] c5a475d317c9: Download complete [2024-10-17T21:03:21.057Z] cf04c63912e1: Pull complete [2024-10-17T21:03:21.657Z] 55b35a11ae5e: Pull complete [2024-10-17T21:03:21.929Z] a37a00ec5f00: Verifying Checksum [2024-10-17T21:03:21.929Z] a37a00ec5f00: Download complete [2024-10-17T21:03:22.894Z] c9f46d7d2bd2: Verifying Checksum [2024-10-17T21:03:22.894Z] c9f46d7d2bd2: Download complete [2024-10-17T21:03:24.038Z] Removing intermediate container 415d39576516 [2024-10-17T21:03:24.038Z] ---> 921db121bce5 [2024-10-17T21:03:24.038Z] Step 13/26 : FROM alpine:3.20 [2024-10-17T21:03:24.038Z] 3.20: Pulling from library/alpine [2024-10-17T21:03:24.038Z] 43c4264eed91: Already exists [2024-10-17T21:03:24.038Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T21:03:24.038Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T21:03:24.038Z] ---> 91ef0af61f39 [2024-10-17T21:03:24.038Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-17T21:03:24.038Z] ---> Running in 007c78b20f51 [2024-10-17T21:03:24.038Z] Removing intermediate container 007c78b20f51 [2024-10-17T21:03:24.038Z] ---> 77c1733d0170 [2024-10-17T21:03:24.038Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-17T21:03:24.038Z] ---> Running in 6fe13617a2ac [2024-10-17T21:03:24.038Z] Removing intermediate container 6fe13617a2ac [2024-10-17T21:03:24.038Z] ---> 6c1b209f3254 [2024-10-17T21:03:24.038Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-17T21:03:24.038Z] ---> Running in 95327801699e [2024-10-17T21:03:24.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T21:03:24.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T21:03:24.298Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T21:03:24.298Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T21:03:24.298Z] OK: 8 MiB in 15 packages [2024-10-17T21:03:24.558Z] Removing intermediate container 95327801699e [2024-10-17T21:03:24.558Z] ---> 56849c67fd8b [2024-10-17T21:03:24.558Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-17T21:03:24.558Z] ---> Running in 3d077d51b8e4 [2024-10-17T21:03:24.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T21:03:24.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T21:03:25.078Z] Upgrading critical system libraries and apk-tools: [2024-10-17T21:03:25.078Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T21:03:25.078Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T21:03:25.338Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T21:03:25.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T21:03:25.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T21:03:25.597Z] OK: 8 MiB in 15 packages [2024-10-17T21:03:25.859Z] Removing intermediate container 3d077d51b8e4 [2024-10-17T21:03:25.860Z] ---> b19db50ef6bc [2024-10-17T21:03:25.860Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-17T21:03:27.762Z] ---> 6fbf33b48a0d [2024-10-17T21:03:27.762Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-17T21:03:27.762Z] ---> 7b64693434ff [2024-10-17T21:03:27.762Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-17T21:03:27.762Z] ---> 24cf283f9144 [2024-10-17T21:03:27.762Z] Step 21/26 : EXPOSE 59986 [2024-10-17T21:03:27.762Z] ---> Running in 252e51583007 [2024-10-17T21:03:27.762Z] Removing intermediate container 252e51583007 [2024-10-17T21:03:27.762Z] ---> 87af9990b96c [2024-10-17T21:03:27.762Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-17T21:03:27.762Z] ---> Running in 662a1325e693 [2024-10-17T21:03:27.762Z] Removing intermediate container 662a1325e693 [2024-10-17T21:03:27.762Z] ---> 660bbcf0351d [2024-10-17T21:03:27.762Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-17T21:03:27.762Z] ---> Running in 42da84256792 [2024-10-17T21:03:27.762Z] Removing intermediate container 42da84256792 [2024-10-17T21:03:27.762Z] ---> 6a52776a18b9 [2024-10-17T21:03:27.762Z] Step 24/26 : LABEL arch=amd64 [2024-10-17T21:03:28.020Z] ---> Running in 80e06f210141 [2024-10-17T21:03:28.020Z] Removing intermediate container 80e06f210141 [2024-10-17T21:03:28.020Z] ---> 8b4df7d161cb [2024-10-17T21:03:28.020Z] Step 25/26 : LABEL git_sha=bf564b997c3dc272aa1088a40ff9a6988ef00720 [2024-10-17T21:03:28.020Z] ---> Running in ea26a6815070 [2024-10-17T21:03:28.020Z] Removing intermediate container ea26a6815070 [2024-10-17T21:03:28.020Z] ---> 6f39920ca781 [2024-10-17T21:03:28.020Z] Step 26/26 : LABEL version=0.0.0 [2024-10-17T21:03:28.020Z] ---> Running in 2e79fddd6ab8 [2024-10-17T21:03:28.020Z] Removing intermediate container 2e79fddd6ab8 [2024-10-17T21:03:28.020Z] ---> 34226beeba63 [2024-10-17T21:03:28.020Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T21:03:28.020Z] Successfully built 34226beeba63 [2024-10-17T21:03:28.020Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:03:29.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T21:03:29.071Z] [2024-10-17T21:03:29.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:03:29.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T21:03:29.478Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-17T21:03:29.478Z] 5eb5b503b376: Pulling fs layer [2024-10-17T21:03:29.478Z] 5c69ac0246d0: Pulling fs layer [2024-10-17T21:03:29.478Z] ec43610c2a17: Pulling fs layer [2024-10-17T21:03:29.478Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-17T21:03:29.478Z] 33b1e0a273af: Pulling fs layer [2024-10-17T21:03:29.478Z] 5d3b04190fa2: Pulling fs layer [2024-10-17T21:03:29.478Z] 2f39f015ded8: Pulling fs layer [2024-10-17T21:03:29.478Z] 3a2ae6a8a46f: Waiting [2024-10-17T21:03:29.478Z] 2f39f015ded8: Waiting [2024-10-17T21:03:29.478Z] 33b1e0a273af: Waiting [2024-10-17T21:03:29.478Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-17T21:03:29.478Z] 3a2ae6a8a46f: Download complete [2024-10-17T21:03:29.478Z] 33b1e0a273af: Verifying Checksum [2024-10-17T21:03:29.478Z] 33b1e0a273af: Download complete [2024-10-17T21:03:29.478Z] 5d3b04190fa2: Download complete [2024-10-17T21:03:29.478Z] ec43610c2a17: Verifying Checksum [2024-10-17T21:03:29.478Z] ec43610c2a17: Download complete [2024-10-17T21:03:29.738Z] 5eb5b503b376: Verifying Checksum [2024-10-17T21:03:29.738Z] 5eb5b503b376: Download complete [2024-10-17T21:03:30.302Z] 2f39f015ded8: Download complete [2024-10-17T21:03:30.866Z] 5eb5b503b376: Pull complete [2024-10-17T21:03:30.866Z] 5c69ac0246d0: Pull complete [2024-10-17T21:03:31.433Z] ec43610c2a17: Pull complete [2024-10-17T21:03:31.433Z] 3a2ae6a8a46f: Pull complete [2024-10-17T21:03:31.693Z] 33b1e0a273af: Pull complete [2024-10-17T21:03:31.693Z] 5d3b04190fa2: Pull complete [2024-10-17T21:03:35.877Z] 2f39f015ded8: Pull complete [2024-10-17T21:03:35.877Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-17T21:03:35.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T21:03:35.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:03:36.131Z] prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container [2024-10-17T21:03:36.165Z] $ 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-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 [2024-10-17T21:03:37.977Z] a37a00ec5f00: Pull complete [2024-10-17T21:03:37.977Z] 50b3750afda1: Pull complete [2024-10-17T21:03:37.977Z] 4f4fb700ef54: Pull complete [2024-10-17T21:03:37.977Z] 80978eb59214: Pull complete [2024-10-17T21:03:40.017Z] $ docker top 112553309bac13c6ff8bf78c821fc9f90acd0ccedddc25b6cf1b5d0a39882c39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:03:40.528Z] ---> job-cost.sh [2024-10-17T21:03:40.528Z] lf-activate-venv: SKIPPING [2024-10-17T21:03:40.528Z] INFO: No Stack... [2024-10-17T21:03:40.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T21:03:41.049Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T21:03:41.371Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-420/archives/cost.csv [2024-10-17T21:03:41.371Z] + cut -d, -f6 [Pipeline] lock [2024-10-17T21:03:41.422Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [2024-10-17T21:03:41.429Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] did not exist. Created. [2024-10-17T21:03:41.438Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T21:03:41.854Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-17T21:03:41.914Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T21:03:41.950Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T21:03:42.039Z] $ docker stop --time=1 112553309bac13c6ff8bf78c821fc9f90acd0ccedddc25b6cf1b5d0a39882c39 [2024-10-17T21:03:43.201Z] $ docker rm -f --volumes 112553309bac13c6ff8bf78c821fc9f90acd0ccedddc25b6cf1b5d0a39882c39 [Pipeline] // withDockerContainer [Pipeline] } [2024-10-17T21:03:43.340Z] c9f46d7d2bd2: Pull complete [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-17T21:03:45.289Z] c5a475d317c9: Pull complete [2024-10-17T21:03:45.290Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-17T21:03:45.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-17T21:03:45.290Z] ---> be29e6b0f0d4 [2024-10-17T21:03:45.290Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-17T21:03:47.234Z] ---> Running in bff49ce437e2 [2024-10-17T21:03:47.234Z] Removing intermediate container bff49ce437e2 [2024-10-17T21:03:47.234Z] ---> 7207fa670c2d [2024-10-17T21:03:47.234Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T21:03:47.234Z] ---> Running in b45bacfbb931 [2024-10-17T21:03:47.817Z] Removing intermediate container b45bacfbb931 [2024-10-17T21:03:47.817Z] ---> 88248eb82399 [2024-10-17T21:03:47.817Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T21:03:47.817Z] ---> Running in 3b5582095f07 [2024-10-17T21:03:48.088Z] Removing intermediate container 3b5582095f07 [2024-10-17T21:03:48.088Z] ---> 6e7245db2057 [2024-10-17T21:03:48.088Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T21:03:48.088Z] ---> Running in f0cc89e3f7b3 [2024-10-17T21:03:48.358Z] Removing intermediate container f0cc89e3f7b3 [2024-10-17T21:03:48.358Z] ---> cb5cab50ab8c [2024-10-17T21:03:48.358Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T21:03:48.625Z] ---> Running in 1cc21be38fae [2024-10-17T21:03:49.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T21:03:50.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T21:03:51.146Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-17T21:03:51.414Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-17T21:03:51.414Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-17T21:03:51.414Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-17T21:03:51.414Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T21:03:51.414Z] OK: 242 MiB in 58 packages [2024-10-17T21:03:52.394Z] Removing intermediate container 1cc21be38fae [2024-10-17T21:03:52.394Z] ---> 4b93bf6f3694 [2024-10-17T21:03:52.394Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-17T21:03:52.663Z] ---> Running in 9407404ad37d [2024-10-17T21:03:52.931Z] Removing intermediate container 9407404ad37d [2024-10-17T21:03:52.931Z] ---> 95655616c0b8 [2024-10-17T21:03:52.931Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-17T21:03:53.516Z] ---> 0fe6fadeecb6 [2024-10-17T21:03:53.516Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T21:03:53.516Z] ---> Running in d958b62d84d4 [2024-10-17T21:05:45.175Z] Removing intermediate container d958b62d84d4 [2024-10-17T21:05:45.175Z] ---> 3912646db2ca [2024-10-17T21:05:45.175Z] Step 11/12 : COPY . . [2024-10-17T21:05:45.175Z] ---> 2bb136865fbb [2024-10-17T21:05:45.175Z] Step 12/12 : RUN $MAKE [2024-10-17T21:05:45.175Z] ---> Running in 04ebe92efdfd [2024-10-17T21:05:45.175Z] noop [2024-10-17T21:05:45.175Z] Removing intermediate container 04ebe92efdfd [2024-10-17T21:05:45.175Z] ---> 9ed18d522b64 [2024-10-17T21:05:45.175Z] Successfully built 9ed18d522b64 [2024-10-17T21:05:45.175Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:05:45.700Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T21:05:45.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:05:45.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-23010 does not seem to be running inside a container [2024-10-17T21:05:46.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-17T21:05:47.174Z] $ docker top facbe4640fd534302b8f70973e99dc87349278191d2230b51c47daa99124b8ef -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T21:05:48.072Z] + go version [2024-10-17T21:05:48.072Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-17T21:05:48.111Z] $ docker stop --time=1 facbe4640fd534302b8f70973e99dc87349278191d2230b51c47daa99124b8ef [2024-10-17T21:05:49.790Z] $ docker rm -f --volumes facbe4640fd534302b8f70973e99dc87349278191d2230b51c47daa99124b8ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:05:50.715Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T21:05:50.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:05:50.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-23010 does not seem to be running inside a container [2024-10-17T21:05:51.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-17T21:05:52.233Z] $ docker top b34f92ba86fa1cbe8f2e6f488bafa5c30fbf16f6cb3744a52f1b222ddf86e2b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T21:05:53.130Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-17T21:05:53.957Z] + make test [2024-10-17T21:05:53.957Z] go test ./... -coverprofile=coverage.out ./... [2024-10-17T21:05:59.342Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-17T21:09:06.102Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-17T21:09:09.444Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements [2024-10-17T21:09:10.026Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-17T21:09:10.026Z] go vet ./... [2024-10-17T21:09:56.846Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T21:09:56.846Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T21:09:56.846Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T21:09:56.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T21:09:57.026Z] $ docker stop --time=1 b34f92ba86fa1cbe8f2e6f488bafa5c30fbf16f6cb3744a52f1b222ddf86e2b0 [2024-10-17T21:09:58.987Z] $ docker rm -f --volumes b34f92ba86fa1cbe8f2e6f488bafa5c30fbf16f6cb3744a52f1b222ddf86e2b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T21:10:00.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T21:10:00.721Z] Warning: overwriting stash ‘coverage-report’ [2024-10-17T21:10:01.235Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T21:10:01.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T21:10:02.209Z] + ls -al . [2024-10-17T21:10:02.209Z] total 252 [2024-10-17T21:10:02.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 21:05 . [2024-10-17T21:10:02.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 21:02 .. [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 21:02 .dockerignore [2024-10-17T21:10:02.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 21:02 .git [2024-10-17T21:10:02.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:02 .github [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 17 21:02 .gitignore [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 21:02 .golangci.yml [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 17 21:02 Attribution.txt [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 17 21:02 CHANGELOG.md [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 17 21:02 Dockerfile [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 21:02 GOVERNANCE.md [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 21:02 Jenkinsfile [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 21:02 LICENSE [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 17 21:02 Makefile [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 21:02 OWNERS.md [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 17 21:02 README.md [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 21:00 VERSION [2024-10-17T21:10:02.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:02 bin [2024-10-17T21:10:02.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:02 cmd [2024-10-17T21:10:02.209Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 17 21:09 coverage.out [2024-10-17T21:10:02.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:02 driver [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 17 21:02 go.mod [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 17 21:02 go.sum [2024-10-17T21:10:02.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:02 openapi [2024-10-17T21:10:02.209Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:10:02.662Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bf564b997c3dc272aa1088a40ff9a6988ef00720 --label arch=arm64 --label version=0.0.0 . [2024-10-17T21:10:02.662Z] Sending build context to Docker daemon 156.2kB [2024-10-17T21:10:02.933Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T21:10:02.933Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-17T21:10:02.933Z] ---> 9ed18d522b64 [2024-10-17T21:10:02.933Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-17T21:10:02.933Z] ---> Running in 366eb3332cd8 [2024-10-17T21:10:03.201Z] Removing intermediate container 366eb3332cd8 [2024-10-17T21:10:03.201Z] ---> 08ee2aa3c7dc [2024-10-17T21:10:03.201Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-17T21:10:03.470Z] ---> Running in ab07bed6efa4 [2024-10-17T21:10:03.737Z] Removing intermediate container ab07bed6efa4 [2024-10-17T21:10:03.738Z] ---> 13e4c492b763 [2024-10-17T21:10:03.738Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-17T21:10:03.738Z] ---> Running in 467b96588acb [2024-10-17T21:10:04.006Z] Removing intermediate container 467b96588acb [2024-10-17T21:10:04.006Z] ---> 5255fbfcd27a [2024-10-17T21:10:04.006Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-17T21:10:04.277Z] ---> Running in 72dbe4fea243 [2024-10-17T21:10:04.544Z] Removing intermediate container 72dbe4fea243 [2024-10-17T21:10:04.544Z] ---> aaf719d9f398 [2024-10-17T21:10:04.544Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-17T21:10:04.544Z] ---> Running in 96bc428ff6c4 [2024-10-17T21:10:05.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T21:10:05.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T21:10:07.172Z] OK: 242 MiB in 58 packages [2024-10-17T21:10:08.125Z] Removing intermediate container 96bc428ff6c4 [2024-10-17T21:10:08.125Z] ---> c0e6b05b0539 [2024-10-17T21:10:08.125Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-17T21:10:08.125Z] ---> Running in ac68105f6809 [2024-10-17T21:10:08.390Z] Removing intermediate container ac68105f6809 [2024-10-17T21:10:08.390Z] ---> f18ba6f1a581 [2024-10-17T21:10:08.390Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-17T21:10:08.972Z] ---> 047f45ac6bde [2024-10-17T21:10:08.972Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T21:10:08.972Z] ---> Running in 262174dd1415 [2024-10-17T21:10:11.541Z] Removing intermediate container 262174dd1415 [2024-10-17T21:10:11.541Z] ---> c9486ebc183a [2024-10-17T21:10:11.541Z] Step 11/26 : COPY . . [2024-10-17T21:10:11.813Z] ---> c5003e2f3a42 [2024-10-17T21:10:11.813Z] Step 12/26 : RUN $MAKE [2024-10-17T21:10:12.087Z] ---> Running in e070d2bec8db [2024-10-17T21:10:13.049Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-17T21:13:34.804Z] Removing intermediate container e070d2bec8db [2024-10-17T21:13:34.804Z] ---> f680cb889f9f [2024-10-17T21:13:34.804Z] Step 13/26 : FROM alpine:3.20 [2024-10-17T21:13:34.804Z] 3.20: Pulling from library/alpine [2024-10-17T21:13:34.804Z] cf04c63912e1: Already exists [2024-10-17T21:13:34.804Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T21:13:34.804Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T21:13:34.804Z] ---> c157a85ed455 [2024-10-17T21:13:34.804Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-17T21:13:34.804Z] ---> Running in 18a3beba4e6a [2024-10-17T21:13:34.804Z] Removing intermediate container 18a3beba4e6a [2024-10-17T21:13:34.804Z] ---> 854af5da449e [2024-10-17T21:13:34.804Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-17T21:13:34.804Z] ---> Running in 3388a23a2166 [2024-10-17T21:13:34.804Z] Removing intermediate container 3388a23a2166 [2024-10-17T21:13:34.804Z] ---> bc2b36251c1a [2024-10-17T21:13:34.804Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-17T21:13:34.804Z] ---> Running in 5275469376db [2024-10-17T21:13:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T21:13:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T21:13:34.804Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T21:13:34.804Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T21:13:34.804Z] OK: 9 MiB in 15 packages [2024-10-17T21:13:34.804Z] Removing intermediate container 5275469376db [2024-10-17T21:13:34.804Z] ---> 06bc3d356050 [2024-10-17T21:13:34.804Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-17T21:13:34.804Z] ---> Running in 4ba9c23e1962 [2024-10-17T21:13:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T21:13:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T21:13:34.804Z] Upgrading critical system libraries and apk-tools: [2024-10-17T21:13:34.804Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T21:13:34.804Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T21:13:34.804Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T21:13:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T21:13:34.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T21:13:34.804Z] OK: 9 MiB in 15 packages [2024-10-17T21:13:35.760Z] Removing intermediate container 4ba9c23e1962 [2024-10-17T21:13:35.760Z] ---> b1226613f475 [2024-10-17T21:13:35.760Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-17T21:13:37.697Z] ---> bd67de2bd16d [2024-10-17T21:13:37.697Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-17T21:13:38.277Z] ---> b7ffc3d70008 [2024-10-17T21:13:38.277Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-17T21:13:38.862Z] ---> b0febe91ec73 [2024-10-17T21:13:38.862Z] Step 21/26 : EXPOSE 59986 [2024-10-17T21:13:38.862Z] ---> Running in 2b7b096d943f [2024-10-17T21:13:39.127Z] Removing intermediate container 2b7b096d943f [2024-10-17T21:13:39.127Z] ---> 6a5f64720e51 [2024-10-17T21:13:39.127Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-17T21:13:39.127Z] ---> Running in 66b187cf6ea4 [2024-10-17T21:13:39.396Z] Removing intermediate container 66b187cf6ea4 [2024-10-17T21:13:39.396Z] ---> 43552d3163fb [2024-10-17T21:13:39.396Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-17T21:13:39.672Z] ---> Running in 3b58a7d901d5 [2024-10-17T21:13:39.937Z] Removing intermediate container 3b58a7d901d5 [2024-10-17T21:13:39.937Z] ---> 13b3843d8aca [2024-10-17T21:13:39.937Z] Step 24/26 : LABEL arch=arm64 [2024-10-17T21:13:39.937Z] ---> Running in b76b408783bf [2024-10-17T21:13:40.202Z] Removing intermediate container b76b408783bf [2024-10-17T21:13:40.202Z] ---> 387d1e7249d4 [2024-10-17T21:13:40.202Z] Step 25/26 : LABEL git_sha=bf564b997c3dc272aa1088a40ff9a6988ef00720 [2024-10-17T21:13:40.202Z] ---> Running in 58e3cd1a93f5 [2024-10-17T21:13:40.468Z] Removing intermediate container 58e3cd1a93f5 [2024-10-17T21:13:40.468Z] ---> 4e7932f841a9 [2024-10-17T21:13:40.468Z] Step 26/26 : LABEL version=0.0.0 [2024-10-17T21:13:40.468Z] ---> Running in 4b2af309c52b [2024-10-17T21:13:40.732Z] Removing intermediate container 4b2af309c52b [2024-10-17T21:13:40.732Z] ---> 5a1747f42ace [2024-10-17T21:13:40.732Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T21:13:40.732Z] Successfully built 5a1747f42ace [2024-10-17T21:13:40.732Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:13:41.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T21:13:41.672Z] [2024-10-17T21:13:41.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:13:42.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T21:13:42.112Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-17T21:13:42.112Z] 8998bd30e6a1: Pulling fs layer [2024-10-17T21:13:42.112Z] 04944245beec: Pulling fs layer [2024-10-17T21:13:42.112Z] 699f458cf7ca: Pulling fs layer [2024-10-17T21:13:42.112Z] 765212b225bb: Pulling fs layer [2024-10-17T21:13:42.112Z] f23df028b6ca: Pulling fs layer [2024-10-17T21:13:42.112Z] d65c8cfc05b1: Pulling fs layer [2024-10-17T21:13:42.112Z] 2437ff75d9bd: Pulling fs layer [2024-10-17T21:13:42.112Z] f23df028b6ca: Waiting [2024-10-17T21:13:42.112Z] d65c8cfc05b1: Waiting [2024-10-17T21:13:42.112Z] 2437ff75d9bd: Waiting [2024-10-17T21:13:42.112Z] 765212b225bb: Waiting [2024-10-17T21:13:42.378Z] 04944245beec: Verifying Checksum [2024-10-17T21:13:42.378Z] 04944245beec: Download complete [2024-10-17T21:13:42.378Z] 765212b225bb: Verifying Checksum [2024-10-17T21:13:42.378Z] 765212b225bb: Download complete [2024-10-17T21:13:42.378Z] f23df028b6ca: Verifying Checksum [2024-10-17T21:13:42.378Z] f23df028b6ca: Download complete [2024-10-17T21:13:42.378Z] d65c8cfc05b1: Verifying Checksum [2024-10-17T21:13:42.378Z] d65c8cfc05b1: Download complete [2024-10-17T21:13:42.378Z] 699f458cf7ca: Verifying Checksum [2024-10-17T21:13:42.378Z] 699f458cf7ca: Download complete [2024-10-17T21:13:42.959Z] 8998bd30e6a1: Download complete [2024-10-17T21:13:45.543Z] 2437ff75d9bd: Verifying Checksum [2024-10-17T21:13:45.543Z] 2437ff75d9bd: Download complete [2024-10-17T21:13:47.477Z] 8998bd30e6a1: Pull complete [2024-10-17T21:13:49.410Z] 04944245beec: Pull complete [2024-10-17T21:13:50.812Z] 699f458cf7ca: Pull complete [2024-10-17T21:13:50.812Z] 765212b225bb: Pull complete [2024-10-17T21:13:51.768Z] f23df028b6ca: Pull complete [2024-10-17T21:13:51.768Z] d65c8cfc05b1: Pull complete [2024-10-17T21:14:09.966Z] 2437ff75d9bd: Pull complete [2024-10-17T21:14:09.966Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-17T21:14:09.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T21:14:09.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:14:10.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-23010 does not seem to be running inside a container [2024-10-17T21:14:10.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-17T21:14:13.128Z] $ docker top c44d5c7ba28c242369871b3b48a32ad00aea4bb628251e66fe209e193cf91a9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:14.061Z] ---> job-cost.sh [2024-10-17T21:14:14.061Z] lf-activate-venv: SKIPPING [2024-10-17T21:14:14.061Z] INFO: No Stack... [2024-10-17T21:14:14.642Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-17T21:14:15.223Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T21:14:15.887Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-17T21:14:15.887Z] + cut -d, -f6 [Pipeline] lock [2024-10-17T21:14:15.970Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [2024-10-17T21:14:15.977Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] did not exist. Created. [2024-10-17T21:14:15.983Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T21:14:16.725Z] /w/workspace/device-rest-go/1@tmp/durable-dbb166fa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-17T21:14:17.381Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-17T21:14:17.422Z] Warning: overwriting stash ‘stack-cost’ [2024-10-17T21:14:17.475Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T21:14:17.495Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T21:14:17.585Z] $ docker stop --time=1 c44d5c7ba28c242369871b3b48a32ad00aea4bb628251e66fe209e193cf91a9c [2024-10-17T21:14:19.116Z] $ docker rm -f --volumes c44d5c7ba28c242369871b3b48a32ad00aea4bb628251e66fe209e193cf91a9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-17T21:14:20.292Z] provisioning config files... [2024-10-17T21:14:20.299Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config16006897994541524208tmp [Pipeline] { [Pipeline] sh [2024-10-17T21:14:20.645Z] + set +x [2024-10-17T21:14:20.645Z] + bash -s -- [2024-10-17T21:14:20.645Z] + curl -s https://codecov.io/bash [2024-10-17T21:14:20.905Z] [2024-10-17T21:14:20.905Z] _____ _ [2024-10-17T21:14:20.905Z] / ____| | | [2024-10-17T21:14:20.905Z] | | ___ __| | ___ ___ _____ __ [2024-10-17T21:14:20.905Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-17T21:14:20.905Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-17T21:14:20.905Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-17T21:14:20.905Z] Bash-1.0.6 [2024-10-17T21:14:20.905Z] [2024-10-17T21:14:20.905Z] [2024-10-17T21:14:20.905Z] ==> git version 2.25.1 found [2024-10-17T21:14:20.905Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-17T21:14:20.905Z] Release-Date: 2020-01-08 [2024-10-17T21:14:20.905Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-17T21:14:20.905Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-17T21:14:20.905Z] ==> Jenkins CI detected. [2024-10-17T21:14:20.905Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-420 [2024-10-17T21:14:20.905Z] project root: . [2024-10-17T21:14:20.905Z] --> token set from env [2024-10-17T21:14:20.905Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-17T21:14:20.905Z] ==> Running gcov in . (disable via -X gcov) [2024-10-17T21:14:20.905Z] ==> Python coveragepy not found [2024-10-17T21:14:20.905Z] ==> Searching for coverage reports in: [2024-10-17T21:14:20.905Z] + . [2024-10-17T21:14:20.905Z] -> Found 1 reports [2024-10-17T21:14:20.905Z] ==> Detecting git/mercurial file structure [2024-10-17T21:14:20.905Z] ==> Reading reports [2024-10-17T21:14:20.905Z] + ./coverage.out bytes=14565 [2024-10-17T21:14:20.905Z] ==> Appending adjustments [2024-10-17T21:14:20.905Z] https://docs.codecov.io/docs/fixing-reports [2024-10-17T21:14:20.905Z] + Found adjustments [2024-10-17T21:14:20.905Z] ==> Gzipping contents [2024-10-17T21:14:20.905Z] 4.0K /tmp/codecov.WVKw6b.gz [2024-10-17T21:14:20.905Z] ==> Uploading reports [2024-10-17T21:14:20.905Z] url: https://codecov.io [2024-10-17T21:14:20.905Z] query: branch=PR-420&commit=bf564b997c3dc272aa1088a40ff9a6988ef00720&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=420&job=&cmd_args= [2024-10-17T21:14:20.905Z] -> Pinging Codecov [2024-10-17T21:14:20.905Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-420&commit=bf564b997c3dc272aa1088a40ff9a6988ef00720&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=420&job=&cmd_args= [2024-10-17T21:14:27.478Z] -> Uploading to [2024-10-17T21:14:27.478Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/bf564b997c3dc272aa1088a40ff9a6988ef00720/f6cf9aa4-23f9-4d70-aaa6-e200d671a2ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241017%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241017T211425Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a350b8e934b14cd558ec679006806728af3f2785d1b68fede7792fcaf7a08f6a [2024-10-17T21:14:27.478Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T21:14:27.478Z] Dload Upload Total Spent Left Speed [2024-10-17T21:14:27.478Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 9483 --:--:-- --:--:-- --:--:-- 9522 [2024-10-17T21:14:27.478Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] } [2024-10-17T21:14:27.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-17T21:14:30.252Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-420/archives ] [2024-10-17T21:14:30.252Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-420/archives [2024-10-17T21:14:30.252Z] total 16 [2024-10-17T21:14:30.252Z] drwxr-xr-x 3 root root 4096 Oct 17 21:03 . [2024-10-17T21:14:30.252Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 21:03 .. [2024-10-17T21:14:30.252Z] drwxr-xr-x 2 root root 4096 Oct 17 21:03 cost [2024-10-17T21:14:30.252Z] -rw-r--r-- 1 root root 86 Oct 17 21:03 cost.csv [2024-10-17T21:14:30.252Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-420/archives [2024-10-17T21:14:30.252Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-420/archives [2024-10-17T21:14:30.252Z] total 16 [2024-10-17T21:14:30.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 21:03 . [2024-10-17T21:14:30.252Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 21:03 .. [2024-10-17T21:14:30.252Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 21:03 cost [2024-10-17T21:14:30.252Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:30.585Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:31.480Z] ---> package-listing.sh [2024-10-17T21:14:31.480Z] ++ facter osfamily [2024-10-17T21:14:31.480Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-17T21:14:31.739Z] + OS_FAMILY=debian [2024-10-17T21:14:31.739Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-420 [2024-10-17T21:14:31.739Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-17T21:14:31.739Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-17T21:14:31.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-17T21:14:31.739Z] + PACKAGES=/tmp/packages_start.txt [2024-10-17T21:14:31.739Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-420 ']' [2024-10-17T21:14:31.739Z] + PACKAGES=/tmp/packages_end.txt [2024-10-17T21:14:31.739Z] + case "${OS_FAMILY}" in [2024-10-17T21:14:31.739Z] + dpkg -l [2024-10-17T21:14:31.739Z] + grep '^ii' [2024-10-17T21:14:31.739Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-17T21:14:31.739Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-17T21:14:31.739Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-17T21:14:31.739Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-420 ']' [2024-10-17T21:14:31.739Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-420/archives/ [2024-10-17T21:14:31.739Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-420/archives/ [Pipeline] echo [2024-10-17T21:14:31.779Z] 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-420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-17T21:14:32.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T21:14:32.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T21:14:32.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T21:14:32.878Z] prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container [2024-10-17T21:14:32.906Z] $ 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-420/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-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 [2024-10-17T21:14:33.121Z] $ docker top 01fe9f9d3270fc15406cabdf6c3c3fe5c775789127cc9ea2be451ae94d344aee -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T21:14:33.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-17T21:14:33.858Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-17T21:14:34.174Z] + ls /var/log/sa-host [2024-10-17T21:14:34.174Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T21:14:34.421Z] provisioning config files... [2024-10-17T21:14:34.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config17777707033819407080tmp [Pipeline] { [Pipeline] echo [2024-10-17T21:14:34.496Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:34.817Z] ---> create-netrc.sh [Pipeline] } [2024-10-17T21:14:34.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:35.301Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-17T21:14:35.359Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:35.729Z] ---> sudo-logs.sh [2024-10-17T21:14:35.729Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-17T21:14:35.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:36.199Z] ---> job-cost.sh [2024-10-17T21:14:36.199Z] lf-activate-venv: SKIPPING [2024-10-17T21:14:36.199Z] DEBUG: total: 0.2199999988079071 [2024-10-17T21:14:36.199Z] INFO: Retrieving Stack Cost... [2024-10-17T21:14:36.459Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T21:14:36.718Z] INFO: Archiving Costs [Pipeline] echo [2024-10-17T21:14:36.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T21:14:37.090Z] ---> logs-deploy.sh [2024-10-17T21:14:37.091Z] lf-activate-venv: SKIPPING [2024-10-17T21:14:37.091Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-420/1 [2024-10-17T21:14:37.091Z] INFO: archiving workspace using pattern(s): [2024-10-17T21:14:38.027Z] Archives upload complete. [2024-10-17T21:14:38.027Z] INFO: archiving logs to Nexus