Pull request #425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-rest-go Obtained Jenkinsfile from dd312d7895d78ddde02460bf9b2f8b08e075ec68+d405a4f26b456a8be44145d93bfbd9a91d93e9fc (3722ce91b8fc5e5b5e6144fc9f59aa4f476eab64) 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-ssh1771292291701480971.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-ssh744853778334374951.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-425/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-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2121984178535283378.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-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1686924069450162348.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-ssh1440070709629396832.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-425/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-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7494153053445808478.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 ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24732’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24742’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-24741’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24745 in /w/workspace/gexfoundry_device-rest-go_PR-425 [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-425 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit dd312d7895d78ddde02460bf9b2f8b08e075ec68 Merge succeeded, producing dd312d7895d78ddde02460bf9b2f8b08e075ec68 Checking out Revision dd312d7895d78ddde02460bf9b2f8b08e075ec68 (PR-425) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # 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 d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:21:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:21:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:21:34 ========================================================= 09:21:34 EdgeX Global Pipelines Version Info 09:21:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:21:35 ------------------- 09:21:35 stable info: 09:21:35 ------------------- 09:21:35 Commited By: Ginny Guan ginny@iotechsys.com 09:21:35 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:21:35 Message: update stable to v1.0.265 09:21:36 ------------------- 09:21:36 experimental info: 09:21:36 ------------------- 09:21:36 Commited By: Cherry Wang cherry@iotechsys.com 09:21:36 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:21:36 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:21:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:21:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-425 [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-425 [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-425 [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd312d7 [Pipeline] echo 09:21:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:38 provisioning config files... 09:21:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config9433253752489881867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:39 ---> ****-login.sh 09:21:39 nexus3.edgexfoundry.org:10001 09:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:39 Configure a credential helper to remove this warning. See 09:21:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:39 09:21:39 Login Succeeded 09:21:39 nexus3.edgexfoundry.org:10002 09:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:39 Configure a credential helper to remove this warning. See 09:21:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:39 09:21:39 Login Succeeded 09:21:39 nexus3.edgexfoundry.org:10003 09:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:39 Configure a credential helper to remove this warning. See 09:21:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:39 09:21:39 Login Succeeded 09:21:39 nexus3.edgexfoundry.org:10004 09:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:39 Configure a credential helper to remove this warning. See 09:21:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:39 09:21:39 Login Succeeded 09:21:39 ****.io 09:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:39 Configure a credential helper to remove this warning. See 09:21:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:39 09:21:39 Login Succeeded 09:21:39 ---> ****-login.sh ends [Pipeline] } 09:21:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:21:40 + git rev-list -1 --merges dd312d7895d78ddde02460bf9b2f8b08e075ec68~1..dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo 09:21:40 -----------> git rev-list -1 --merges dd312d7895d78ddde02460bf9b2f8b08e075ec68~1..dd312d7895d78ddde02460bf9b2f8b08e075ec68 dd312d7895d78ddde02460bf9b2f8b08e075ec68 [false] [Pipeline] sh 09:21:40 + git log --format=format:%s -1 dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo 09:21:40 ========================================================= 09:21:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:21:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:41 + git log --format=format:%s -1 dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo 09:21:41 [semverPrep] GIT_COMMIT: dd312d7895d78ddde02460bf9b2f8b08e075ec68, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 09:21:41 [semverPrep] This is not a build commit. [Pipeline] sh 09:21:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:21:41 + grep -v github /etc/ssh/ssh_known_hosts 09:21:41 + [ -e /tmp/ssh_known_hosts ] 09:21:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:21:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:21:41 + sudo tee -a /etc/ssh/ssh_known_hosts 09:21:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:21:42 09:21:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:21:42 0.1.4: Pulling from edgex-devops/py-git-semver 09:21:42 b85a868b505f: Pulling fs layer 09:21:42 e2be974225ed: Pulling fs layer 09:21:42 339a4e72a1f5: Pulling fs layer 09:21:42 988bab9f4d93: Pulling fs layer 09:21:42 1469e6f7b9e6: Pulling fs layer 09:21:42 eaf3925da568: Pulling fs layer 09:21:42 bab4dde63d76: Pulling fs layer 09:21:42 bde34c3a00c8: Pulling fs layer 09:21:42 b352a97aabf1: Pulling fs layer 09:21:42 4872d77fe225: Pulling fs layer 09:21:42 5851b861e8e6: Pulling fs layer 09:21:42 bab4dde63d76: Waiting 09:21:42 1469e6f7b9e6: Waiting 09:21:42 4872d77fe225: Waiting 09:21:42 988bab9f4d93: Waiting 09:21:42 5851b861e8e6: Waiting 09:21:42 b352a97aabf1: Waiting 09:21:42 e2be974225ed: Download complete 09:21:42 988bab9f4d93: Verifying Checksum 09:21:42 988bab9f4d93: Download complete 09:21:43 1469e6f7b9e6: Verifying Checksum 09:21:43 1469e6f7b9e6: Download complete 09:21:43 339a4e72a1f5: Verifying Checksum 09:21:43 339a4e72a1f5: Download complete 09:21:43 eaf3925da568: Download complete 09:21:43 bde34c3a00c8: Verifying Checksum 09:21:43 bde34c3a00c8: Download complete 09:21:43 b352a97aabf1: Verifying Checksum 09:21:43 b352a97aabf1: Download complete 09:21:43 4872d77fe225: Verifying Checksum 09:21:43 4872d77fe225: Download complete 09:21:43 5851b861e8e6: Verifying Checksum 09:21:43 5851b861e8e6: Download complete 09:21:43 b85a868b505f: Verifying Checksum 09:21:43 b85a868b505f: Download complete 09:21:43 bab4dde63d76: Verifying Checksum 09:21:43 bab4dde63d76: Download complete 09:21:44 b85a868b505f: Pull complete 09:21:44 e2be974225ed: Pull complete 09:21:44 339a4e72a1f5: Pull complete 09:21:45 988bab9f4d93: Pull complete 09:21:45 1469e6f7b9e6: Pull complete 09:21:45 eaf3925da568: Pull complete 09:21:47 bab4dde63d76: Pull complete 09:21:47 bde34c3a00c8: Pull complete 09:21:47 b352a97aabf1: Pull complete 09:21:47 4872d77fe225: Pull complete 09:21:47 5851b861e8e6: Pull complete 09:21:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:21:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:21:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:21:47 prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container 09:21:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:21:50 $ docker top 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 -eo pid,comm 09:21:50 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). 09:21:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:51 [ssh-agent] Looking for ssh-agent implementation... 09:21:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:51 $ docker exec 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent 09:21:51 SSH_AUTH_SOCK=/tmp/ssh-R7zyD36fC4b5/agent.31 09:21:51 SSH_AGENT_PID=37 09:21:51 Running ssh-add (command line suppressed) 09:21:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_13273067177901898191.key (/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_13273067177901898191.key) 09:21:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:51 + git tag --points-at HEAD [Pipeline] } 09:21:51 $ docker exec --env ******** --env ******** 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent -k 09:21:51 unset SSH_AUTH_SOCK; 09:21:51 unset SSH_AGENT_PID; 09:21:51 echo Agent pid 37 killed; 09:21:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:52 [ssh-agent] Looking for ssh-agent implementation... 09:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:52 $ docker exec 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent 09:21:52 SSH_AUTH_SOCK=/tmp/ssh-GhPxaz5TgI4Q/agent.70 09:21:52 SSH_AGENT_PID=76 09:21:52 Running ssh-add (command line suppressed) 09:21:52 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_7346867029625499992.key (/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_7346867029625499992.key) 09:21:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:52 + git semver init 09:21:53 2024-11-07 09:21:53,025 [run_init] DEBUG init version:0.0.0 force:False 09:21:53 2024-11-07 09:21:53,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-425/.semver 09:21:53 2024-11-07 09:21:53,027 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-425/.semver 09:21:53 2024-11-07 09:21:53,027 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-425/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-425, universal_newlines=False, shell=None, istream=None) 09:21:54 2024-11-07 09:21:54,385 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-425/.git/info/exclude 09:21:54 2024-11-07 09:21:54,385 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-425/.semver/PR-425 with force:False 09:21:54 2024-11-07 09:21:54,385 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-425/.semver/PR-425 09:21:54 2024-11-07 09:21:54,389 [execute] INFO git cat-file --batch-check 09:21:54 2024-11-07 09:21:54,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) 09:21:54 2024-11-07 09:21:54,396 [execute] INFO git cat-file --batch 09:21:54 2024-11-07 09:21:54,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) 09:21:54 2024-11-07 09:21:54,400 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-425/.semver/PR-425 09:21:54 0.0.0 [Pipeline] } 09:21:54 $ docker exec --env ******** --env ******** 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent -k 09:21:54 unset SSH_AUTH_SOCK; 09:21:54 unset SSH_AGENT_PID; 09:21:54 echo Agent pid 76 killed; 09:21:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:55 + git semver [Pipeline] } 09:21:55 $ docker stop --time=1 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 09:21:56 $ docker rm -f --volumes 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 [Pipeline] // withDockerContainer [Pipeline] sh 09:21:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:57 Stashed 1 file(s) [Pipeline] echo 09:21:57 [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 09:21:58 provisioning config files... 09:21:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config14972356659796798686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:58 ---> ****-login.sh 09:21:58 nexus3.edgexfoundry.org:10001 09:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:58 Configure a credential helper to remove this warning. See 09:21:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:58 09:21:58 Login Succeeded 09:21:58 nexus3.edgexfoundry.org:10002 09:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:58 Configure a credential helper to remove this warning. See 09:21:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:58 09:21:58 Login Succeeded 09:21:58 nexus3.edgexfoundry.org:10003 09:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:58 Configure a credential helper to remove this warning. See 09:21:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:58 09:21:58 Login Succeeded 09:21:58 nexus3.edgexfoundry.org:10004 09:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:58 Configure a credential helper to remove this warning. See 09:21:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:58 09:21:58 Login Succeeded 09:21:58 ****.io 09:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:59 Configure a credential helper to remove this warning. See 09:21:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:59 09:21:59 Login Succeeded 09:21:59 ---> ****-login.sh ends [Pipeline] } 09:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:21:59 ========================================================= 09:21:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:21:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:00 + 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 . 09:22:00 Sending build context to Docker daemon 16.64MB 09:22:00 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:22:00 Step 2/12 : FROM ${BASE} AS builder 09:22:00 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:22:00 43c4264eed91: Pulling fs layer 09:22:00 4cc291be95ef: Pulling fs layer 09:22:00 2ac1f1163629: Pulling fs layer 09:22:00 5c3c966382ef: Pulling fs layer 09:22:00 4f4fb700ef54: Pulling fs layer 09:22:00 5d5c8e513c77: Pulling fs layer 09:22:00 5c3c966382ef: Waiting 09:22:00 4f4fb700ef54: Waiting 09:22:00 9f66e0745190: Pulling fs layer 09:22:00 f49a43e4bbc0: Pulling fs layer 09:22:00 561ebcabdf7f: Pulling fs layer 09:22:00 f49a43e4bbc0: Waiting 09:22:00 561ebcabdf7f: Waiting 09:22:00 5d5c8e513c77: Waiting 09:22:00 9f66e0745190: Waiting 09:22:00 4cc291be95ef: Verifying Checksum 09:22:00 4cc291be95ef: Download complete 09:22:00 5c3c966382ef: Verifying Checksum 09:22:00 5c3c966382ef: Download complete 09:22:00 4f4fb700ef54: Download complete 09:22:00 5d5c8e513c77: Verifying Checksum 09:22:00 5d5c8e513c77: Download complete 09:22:00 43c4264eed91: Download complete 09:22:00 9f66e0745190: Verifying Checksum 09:22:00 9f66e0745190: Download complete 09:22:00 43c4264eed91: Pull complete 09:22:00 4cc291be95ef: Pull complete 09:22:00 561ebcabdf7f: Download complete 09:22:00 2ac1f1163629: Verifying Checksum 09:22:00 2ac1f1163629: Download complete 09:22:01 f49a43e4bbc0: Verifying Checksum 09:22:01 f49a43e4bbc0: Download complete 09:22:04 2ac1f1163629: Pull complete 09:22:04 5c3c966382ef: Pull complete 09:22:04 4f4fb700ef54: Pull complete 09:22:04 5d5c8e513c77: Pull complete 09:22:04 9f66e0745190: Pull complete 09:22:06 f49a43e4bbc0: Pull complete 09:22:06 561ebcabdf7f: Pull complete 09:22:06 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:22:06 ---> 3a752c3f9dda 09:22:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:22:11 ---> Running in 698b003253e9 09:22:11 Removing intermediate container 698b003253e9 09:22:11 ---> e625039243e2 09:22:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:22:11 ---> Running in e802127ae9b1 09:22:11 Removing intermediate container e802127ae9b1 09:22:11 ---> 091a3bfd3c2c 09:22:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:22:11 ---> Running in 279767492f2b 09:22:11 Removing intermediate container 279767492f2b 09:22:11 ---> dd49ba2d1003 09:22:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:22:11 ---> Running in b3e943e59912 09:22:11 Removing intermediate container b3e943e59912 09:22:11 ---> 10eb5b0d1659 09:22:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:11 ---> Running in 29caabf8a183 09:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:22:12 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:22:12 (2/4) Installing libedit (20240517.3.1-r0) 09:22:12 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:22:12 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:22:12 Executing busybox-1.36.1-r29.trigger 09:22:12 OK: 250 MiB in 58 packages 09:22:12 Removing intermediate container 29caabf8a183 09:22:12 ---> e368e1dafebc 09:22:12 Step 8/12 : WORKDIR /device-rest-go 09:22:12 ---> Running in cb275fe4244d 09:22:12 Removing intermediate container cb275fe4244d 09:22:12 ---> 92ad6e7b1693 09:22:12 Step 9/12 : COPY go.mod vendor* ./ 09:22:12 ---> 647bd9661846 09:22:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:12 ---> Running in 5d1c18b3c564 09:22:12 Still waiting to schedule task 09:22:12 ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:22:12 ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:22:12 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24744’ is offline 09:22:59 Removing intermediate container 5d1c18b3c564 09:22:59 ---> 16e753c8ead8 09:22:59 Step 11/12 : COPY . . 09:22:59 ---> bd82de58ff0c 09:22:59 Step 12/12 : RUN $MAKE 09:22:59 ---> Running in 4469a4548b8f 09:22:59 noop 09:22:59 Removing intermediate container 4469a4548b8f 09:22:59 ---> 415bb78646e5 09:22:59 Successfully built 415bb78646e5 09:22:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:59 + docker inspect -f . ci-base-image-x86_64 09:22:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:00 prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container 09:23:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:23:00 $ docker top 43338b7dee0d44ed89e89054c28038c571e5cef31eee91f0ce01dd05e2a8ee7d -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:00 + go version 09:23:00 go version go1.23.2 linux/amd64 [Pipeline] } 09:23:00 $ docker stop --time=1 43338b7dee0d44ed89e89054c28038c571e5cef31eee91f0ce01dd05e2a8ee7d 09:23:02 $ docker rm -f --volumes 43338b7dee0d44ed89e89054c28038c571e5cef31eee91f0ce01dd05e2a8ee7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:02 + docker inspect -f . ci-base-image-x86_64 09:23:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:03 prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container 09:23:03 $ 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-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:23:03 $ docker top 9ccd6a63d82b203db9e52f1c3031b5ba2f78e6066cc8a51bbd6c186c96d7f4fa -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-425 [Pipeline] fileExists [Pipeline] sh 09:23:04 + make test 09:23:04 go test ./... -coverprofile=coverage.out ./... 09:23:05 ? github.com/edgexfoundry/device-rest-go [no test files] 09:23:27 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 09:23:27 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 09:23:37 go vet ./... 09:23:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:23:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:23:41 ./bin/test-attribution-txt.sh [Pipeline] echo 09:23:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:23:42 $ docker stop --time=1 9ccd6a63d82b203db9e52f1c3031b5ba2f78e6066cc8a51bbd6c186c96d7f4fa 09:23:45 $ docker rm -f --volumes 9ccd6a63d82b203db9e52f1c3031b5ba2f78e6066cc8a51bbd6c186c96d7f4fa [Pipeline] // withDockerContainer [Pipeline] sh 09:23:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:23:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:23:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:23:47 + ls -al . 09:23:47 total 244 09:23:47 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:23 . 09:23:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:21 .. 09:23:47 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 09:21 .dockerignore 09:23:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:23 .git 09:23:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 .github 09:23:47 -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 09:21 .gitignore 09:23:47 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:21 .golangci.yml 09:23:47 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:21 .semver 09:23:47 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 7 09:21 Attribution.txt 09:23:47 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 7 09:21 CHANGELOG.md 09:23:47 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 7 09:21 Dockerfile 09:23:47 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:21 GOVERNANCE.md 09:23:47 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 09:21 Jenkinsfile 09:23:47 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:21 LICENSE 09:23:47 -rw-rw-r-- 1 jenkins jenkins 2606 Nov 7 09:21 Makefile 09:23:47 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 09:21 OWNERS.md 09:23:47 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 09:21 README.md 09:23:47 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:21 VERSION 09:23:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:21 bin 09:23:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 cmd 09:23:47 -rw-r--r-- 1 jenkins jenkins 14565 Nov 7 09:23 coverage.out 09:23:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:21 driver 09:23:47 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 7 09:21 go.mod 09:23:47 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:21 go.sum 09:23:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 openapi 09:23:47 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 09:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:48 + 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=dd312d7895d78ddde02460bf9b2f8b08e075ec68 --label arch=amd64 --label version=0.0.0 . 09:23:48 Sending build context to Docker daemon 16.66MB 09:23:48 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:23:48 Step 2/26 : FROM ${BASE} AS builder 09:23:48 ---> 415bb78646e5 09:23:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 09:23:48 ---> Running in 824600ab21dc 09:23:48 Removing intermediate container 824600ab21dc 09:23:48 ---> 8b7de07d007e 09:23:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:23:48 ---> Running in 14243f59c5c7 09:23:48 Removing intermediate container 14243f59c5c7 09:23:48 ---> 2afacfec260c 09:23:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:23:48 ---> Running in d7461ace5b70 09:23:48 Removing intermediate container d7461ace5b70 09:23:48 ---> eb456f650089 09:23:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 09:23:48 ---> Running in cc25deceec97 09:23:48 Removing intermediate container cc25deceec97 09:23:48 ---> 34bf05efbcbe 09:23:48 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:48 ---> Running in da57de3ef67f 09:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:23:49 OK: 250 MiB in 58 packages 09:23:49 Removing intermediate container da57de3ef67f 09:23:49 ---> 9dc28df68702 09:23:49 Step 8/26 : WORKDIR /device-rest-go 09:23:49 ---> Running in 365818cf7853 09:23:49 Removing intermediate container 365818cf7853 09:23:49 ---> 5a2a4b153c53 09:23:49 Step 9/26 : COPY go.mod vendor* ./ 09:23:49 ---> 0eb673bd0b1f 09:23:49 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:50 ---> Running in 82ee0fd379d6 09:23:50 Removing intermediate container 82ee0fd379d6 09:23:50 ---> 31b85310aa02 09:23:50 Step 11/26 : COPY . . 09:23:51 ---> bc47219c7ba9 09:23:51 Step 12/26 : RUN $MAKE 09:23:51 ---> Running in 08682026c036 09:23:51 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:24:23 Removing intermediate container 08682026c036 09:24:23 ---> 9c91d3eb17a6 09:24:23 Step 13/26 : FROM alpine:3.20 09:24:23 3.20: Pulling from library/alpine 09:24:23 43c4264eed91: Already exists 09:24:23 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:24:23 Status: Downloaded newer image for alpine:3.20 09:24:23 ---> 91ef0af61f39 09:24:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:24:23 ---> Running in ff68084c96e2 09:24:23 Removing intermediate container ff68084c96e2 09:24:23 ---> 8e928b298c67 09:24:23 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 09:24:23 ---> Running in 5a52c9cf1ef7 09:24:23 Removing intermediate container 5a52c9cf1ef7 09:24:23 ---> e86462cd1198 09:24:23 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:24:23 ---> Running in 181e11c651ba 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:24:23 (1/1) Installing dumb-init (1.2.5-r3) 09:24:23 Executing busybox-1.36.1-r29.trigger 09:24:23 OK: 8 MiB in 15 packages 09:24:23 Removing intermediate container 181e11c651ba 09:24:23 ---> e97766ea55bf 09:24:23 Step 17/26 : RUN apk --no-cache upgrade 09:24:23 ---> Running in 5e62c6323006 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:24:23 Upgrading critical system libraries and apk-tools: 09:24:23 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:24:23 Executing busybox-1.36.1-r29.trigger 09:24:23 Continuing the upgrade transaction with new apk-tools: 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:24:23 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:24:23 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:24:23 OK: 8 MiB in 15 packages 09:24:24 Removing intermediate container 5e62c6323006 09:24:24 ---> 7dc13be8c877 09:24:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 09:24:25 ---> 7aac31bc6eae 09:24:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 09:24:25 ---> b4f54c521742 09:24:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 09:24:25 ---> 5a4771f5e37d 09:24:25 Step 21/26 : EXPOSE 59986 09:24:25 ---> Running in 1207797149de 09:24:25 Removing intermediate container 1207797149de 09:24:25 ---> cb722d1c4f50 09:24:25 Step 22/26 : ENTRYPOINT ["/device-rest"] 09:24:25 ---> Running in 47f47f73c150 09:24:25 Removing intermediate container 47f47f73c150 09:24:25 ---> 2f7c6dd2ae18 09:24:25 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:24:25 ---> Running in 4a8ea3ac3526 09:24:25 Removing intermediate container 4a8ea3ac3526 09:24:25 ---> 767c0373dec6 09:24:25 Step 24/26 : LABEL arch=amd64 09:24:25 ---> Running in 49e7d5ef4953 09:24:25 Removing intermediate container 49e7d5ef4953 09:24:25 ---> 03586b13ce55 09:24:25 Step 25/26 : LABEL git_sha=dd312d7895d78ddde02460bf9b2f8b08e075ec68 09:24:25 ---> Running in f10890132941 09:24:25 Removing intermediate container f10890132941 09:24:25 ---> 9734771f3bd6 09:24:25 Step 26/26 : LABEL version=0.0.0 09:24:25 ---> Running in acccdb7752a9 09:24:26 Removing intermediate container acccdb7752a9 09:24:26 ---> f6c4af837674 09:24:26 [Warning] One or more build-args [ARCH] were not consumed 09:24:26 Successfully built f6c4af837674 09:24:26 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 09:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:27 09:24:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:27 latest: Pulling from edgex-lftools-log-publisher 09:24:27 5eb5b503b376: Pulling fs layer 09:24:27 5c69ac0246d0: Pulling fs layer 09:24:27 ec43610c2a17: Pulling fs layer 09:24:27 3a2ae6a8a46f: Pulling fs layer 09:24:27 33b1e0a273af: Pulling fs layer 09:24:27 5d3b04190fa2: Pulling fs layer 09:24:27 2f39f015ded8: Pulling fs layer 09:24:27 33b1e0a273af: Waiting 09:24:27 5d3b04190fa2: Waiting 09:24:27 2f39f015ded8: Waiting 09:24:27 3a2ae6a8a46f: Waiting 09:24:27 5c69ac0246d0: Verifying Checksum 09:24:27 5c69ac0246d0: Download complete 09:24:27 3a2ae6a8a46f: Download complete 09:24:27 33b1e0a273af: Verifying Checksum 09:24:27 33b1e0a273af: Download complete 09:24:27 ec43610c2a17: Verifying Checksum 09:24:27 ec43610c2a17: Download complete 09:24:27 5d3b04190fa2: Verifying Checksum 09:24:27 5d3b04190fa2: Download complete 09:24:27 5eb5b503b376: Verifying Checksum 09:24:27 5eb5b503b376: Download complete 09:24:28 2f39f015ded8: Verifying Checksum 09:24:28 2f39f015ded8: Download complete 09:24:29 5eb5b503b376: Pull complete 09:24:29 5c69ac0246d0: Pull complete 09:24:29 ec43610c2a17: Pull complete 09:24:29 3a2ae6a8a46f: Pull complete 09:24:30 33b1e0a273af: Pull complete 09:24:30 5d3b04190fa2: Pull complete 09:24:34 2f39f015ded8: Pull complete 09:24:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:34 prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container 09:24:34 $ 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-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:24:37 $ docker top 37c1a8d5f326a54c1682fc3a4e0a2bca39082e6d03db098bf5459edf53f50c8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:38 ---> job-cost.sh 09:24:38 lf-activate-venv: SKIPPING 09:24:38 INFO: No Stack... 09:24:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:24:38 INFO: Archiving Costs [Pipeline] sh 09:24:39 + cat /w/workspace/gexfoundry_device-rest-go_PR-425/archives/cost.csv 09:24:39 + cut -d, -f6 [Pipeline] lock 09:24:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] 09:24:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] did not exist. Created. 09:24:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:24:39 + echo total: 0.2199999988079071 [Pipeline] stash 09:24:39 Stashed 1 file(s) [Pipeline] } 09:24:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:24:39 $ docker stop --time=1 37c1a8d5f326a54c1682fc3a4e0a2bca39082e6d03db098bf5459edf53f50c8f 09:24:40 $ docker rm -f --volumes 37c1a8d5f326a54c1682fc3a4e0a2bca39082e6d03db098bf5459edf53f50c8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:26:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24747 in /w/workspace/gexfoundry_device-rest-go_PR-425 [Pipeline] { [Pipeline] ws 09:26:25 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 09:26:26 The recommended git tool is: git 09:26:35 using credential edgex-jenkins-ssh 09:26:35 Cloning the remote Git repository 09:26:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:26:35 > git init /w/workspace/device-rest-go/1 # timeout=10 09:26:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:26:35 > git --version # timeout=10 09:26:35 > git --version # 'git version 2.25.1' 09:26:35 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:26:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:41 Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit dd312d7895d78ddde02460bf9b2f8b08e075ec68 09:26:42 Merge succeeded, producing dd312d7895d78ddde02460bf9b2f8b08e075ec68 09:26:42 Checking out Revision dd312d7895d78ddde02460bf9b2f8b08e075ec68 (PR-425) 09:26:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:26:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:26:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:26:41 > git config core.sparsecheckout # timeout=10 09:26:41 > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 09:26:41 > git remote # timeout=10 09:26:42 > git config --get remote.origin.url # timeout=10 09:26:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:42 > git merge d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 09:26:42 > git rev-parse HEAD^{commit} # timeout=10 09:26:42 > git config core.sparsecheckout # timeout=10 09:26:42 > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 09:26:45 Commit message: "fix: Only one ldflags flag is allowed" 09:26:46 > git --version # timeout=10 09:26:46 > git --version # 'git version 2.25.1' 09:26:46 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:26:48 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:48 Dload Upload Total Spent Left Speed 09:26:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh 09:26:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:26:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:26:49 + sudo tee /etc/docker/daemon.new 09:26:49 { 09:26:49 "registry-mirrors": [ 09:26:49 "https://nexus3.edgexfoundry.org:10001" 09:26:49 ], 09:26:49 "bip": "10.250.0.254/24", 09:26:49 "hosts": [ 09:26:49 "tcp://0.0.0.0:5555", 09:26:49 "unix:///var/run/docker.sock" 09:26:49 ], 09:26:49 "mtu": 1458, 09:26:49 "selinux-enabled": true, 09:26:49 "seccomp-profile": "/etc/docker/seccomp.json" 09:26:49 } [Pipeline] sh 09:26:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:26:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:27:09 provisioning config files... 09:27:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10159523061616358033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:27:09 ---> ****-login.sh 09:27:09 nexus3.edgexfoundry.org:10001 09:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:27:11 Configure a credential helper to remove this warning. See 09:27:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:27:11 09:27:11 Login Succeeded 09:27:11 nexus3.edgexfoundry.org:10002 09:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:27:12 Configure a credential helper to remove this warning. See 09:27:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:27:12 09:27:12 Login Succeeded 09:27:12 nexus3.edgexfoundry.org:10003 09:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:27:12 Configure a credential helper to remove this warning. See 09:27:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:27:12 09:27:12 Login Succeeded 09:27:12 nexus3.edgexfoundry.org:10004 09:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:27:13 Configure a credential helper to remove this warning. See 09:27:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:27:13 09:27:13 Login Succeeded 09:27:13 ****.io 09:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:27:13 Configure a credential helper to remove this warning. See 09:27:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:27:13 09:27:13 Login Succeeded 09:27:13 ---> ****-login.sh ends [Pipeline] } 09:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:27:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:27:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:27:14 ========================================================= 09:27:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:27:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:15 + 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 . 09:27:15 Sending build context to Docker daemon 140.8kB 09:27:15 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:27:15 Step 2/12 : FROM ${BASE} AS builder 09:27:15 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:27:15 cf04c63912e1: Pulling fs layer 09:27:15 55b35a11ae5e: Pulling fs layer 09:27:15 a37a00ec5f00: Pulling fs layer 09:27:15 50b3750afda1: Pulling fs layer 09:27:15 50b3750afda1: Waiting 09:27:15 4f4fb700ef54: Pulling fs layer 09:27:15 4f4fb700ef54: Waiting 09:27:15 80978eb59214: Pulling fs layer 09:27:15 80978eb59214: Waiting 09:27:15 c9f46d7d2bd2: Pulling fs layer 09:27:15 c5a475d317c9: Pulling fs layer 09:27:15 c9f46d7d2bd2: Waiting 09:27:15 c5a475d317c9: Waiting 09:27:15 55b35a11ae5e: Download complete 09:27:16 50b3750afda1: Verifying Checksum 09:27:16 50b3750afda1: Download complete 09:27:16 4f4fb700ef54: Verifying Checksum 09:27:16 4f4fb700ef54: Download complete 09:27:16 80978eb59214: Verifying Checksum 09:27:16 80978eb59214: Download complete 09:27:16 cf04c63912e1: Verifying Checksum 09:27:16 cf04c63912e1: Download complete 09:27:16 c5a475d317c9: Verifying Checksum 09:27:16 c5a475d317c9: Download complete 09:27:17 cf04c63912e1: Pull complete 09:27:18 55b35a11ae5e: Pull complete 09:27:18 a37a00ec5f00: Verifying Checksum 09:27:18 a37a00ec5f00: Download complete 09:27:19 c9f46d7d2bd2: Verifying Checksum 09:27:19 c9f46d7d2bd2: Download complete 09:27:34 a37a00ec5f00: Pull complete 09:27:35 50b3750afda1: Pull complete 09:27:35 4f4fb700ef54: Pull complete 09:27:36 80978eb59214: Pull complete 09:27:46 c9f46d7d2bd2: Pull complete 09:27:47 c5a475d317c9: Pull complete 09:27:47 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:27:47 ---> be29e6b0f0d4 09:27:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:27:48 ---> Running in d0b54dd0ed7f 09:27:49 Removing intermediate container d0b54dd0ed7f 09:27:49 ---> e3dcd917b0db 09:27:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:27:49 ---> Running in b54d711878e1 09:27:49 Removing intermediate container b54d711878e1 09:27:49 ---> 257488f3d6be 09:27:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:27:49 ---> Running in fa0e79b1a844 09:27:50 Removing intermediate container fa0e79b1a844 09:27:50 ---> 670284fe1658 09:27:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:27:50 ---> Running in 5a0c46a0e120 09:27:50 Removing intermediate container 5a0c46a0e120 09:27:50 ---> 8aec90eb2db1 09:27:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:27:50 ---> Running in 52ee87a7d3fc 09:27:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:27:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:27:54 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:27:54 (2/4) Installing libedit (20240517.3.1-r0) 09:27:54 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:27:54 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:27:54 Executing busybox-1.36.1-r29.trigger 09:27:54 OK: 242 MiB in 58 packages 09:27:55 Removing intermediate container 52ee87a7d3fc 09:27:55 ---> 85270e86cecc 09:27:55 Step 8/12 : WORKDIR /device-rest-go 09:27:55 ---> Running in 6a8c1664d5a1 09:27:55 Removing intermediate container 6a8c1664d5a1 09:27:55 ---> f2e3becf9e4c 09:27:55 Step 9/12 : COPY go.mod vendor* ./ 09:27:56 ---> 883236a7101b 09:27:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:27:56 ---> Running in a3edf4ce5599 09:30:03 Removing intermediate container a3edf4ce5599 09:30:03 ---> fa8e0af30217 09:30:03 Step 11/12 : COPY . . 09:30:03 ---> 14827aebdfc4 09:30:03 Step 12/12 : RUN $MAKE 09:30:03 ---> Running in 28527b05b8eb 09:30:03 noop 09:30:04 Removing intermediate container 28527b05b8eb 09:30:04 ---> 6c0f0aa3e8c8 09:30:04 Successfully built 6c0f0aa3e8c8 09:30:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:05 + docker inspect -f . ci-base-image-arm64 09:30:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:05 prd-ubuntu20.04-docker-arm64-4c-16g-24747 does not seem to be running inside a container 09:30:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:07 $ docker top 2bcfb9735d2bcb82b35a8208d9a084aaa47c01b8ee3b9182609994f55611194d -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:08 + go version 09:30:08 go version go1.23.2 linux/arm64 [Pipeline] } 09:30:08 $ docker stop --time=1 2bcfb9735d2bcb82b35a8208d9a084aaa47c01b8ee3b9182609994f55611194d 09:30:10 $ docker rm -f --volumes 2bcfb9735d2bcb82b35a8208d9a084aaa47c01b8ee3b9182609994f55611194d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:11 + docker inspect -f . ci-base-image-arm64 09:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:11 prd-ubuntu20.04-docker-arm64-4c-16g-24747 does not seem to be running inside a container 09:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:13 $ docker top cf38782d93aa3d61c50d19d38ea40eec3e9f0242cdb49fd3d35813f6a4a3e143 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:14 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 09:30:15 + make test 09:30:15 go test ./... -coverprofile=coverage.out ./... 09:30:23 ? github.com/edgexfoundry/device-rest-go [no test files] 09:35:45 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 09:35:45 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 09:35:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:35:45 go vet ./... 09:36:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:36:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:36:43 ./bin/test-attribution-txt.sh [Pipeline] echo 09:36:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:36:43 $ docker stop --time=1 cf38782d93aa3d61c50d19d38ea40eec3e9f0242cdb49fd3d35813f6a4a3e143 09:36:45 $ docker rm -f --volumes cf38782d93aa3d61c50d19d38ea40eec3e9f0242cdb49fd3d35813f6a4a3e143 [Pipeline] // withDockerContainer [Pipeline] sh 09:36:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:36:47 Warning: overwriting stash ‘coverage-report’ 09:36:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:49 + ls -al . 09:36:49 total 240 09:36:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:30 . 09:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:26 .. 09:36:49 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 09:26 .dockerignore 09:36:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:26 .git 09:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:26 .github 09:36:49 -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 09:26 .gitignore 09:36:49 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:26 .golangci.yml 09:36:49 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 7 09:26 Attribution.txt 09:36:49 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 7 09:26 CHANGELOG.md 09:36:49 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 7 09:26 Dockerfile 09:36:49 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:26 GOVERNANCE.md 09:36:49 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 09:26 Jenkinsfile 09:36:49 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:26 LICENSE 09:36:49 -rw-rw-r-- 1 jenkins jenkins 2606 Nov 7 09:26 Makefile 09:36:49 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 09:26 OWNERS.md 09:36:49 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 09:26 README.md 09:36:49 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:21 VERSION 09:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:26 bin 09:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:26 cmd 09:36:49 -rw-r--r-- 1 jenkins jenkins 14565 Nov 7 09:35 coverage.out 09:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:26 driver 09:36:49 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 7 09:26 go.mod 09:36:49 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:26 go.sum 09:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:26 openapi 09:36:49 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 09:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:50 + 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=dd312d7895d78ddde02460bf9b2f8b08e075ec68 --label arch=arm64 --label version=0.0.0 . 09:36:50 Sending build context to Docker daemon 156.2kB 09:36:50 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:36:50 Step 2/26 : FROM ${BASE} AS builder 09:36:50 ---> 6c0f0aa3e8c8 09:36:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 09:36:50 ---> Running in b591cb79c70c 09:36:50 Removing intermediate container b591cb79c70c 09:36:50 ---> e7f11689bbb1 09:36:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:36:50 ---> Running in 7f36077f4e31 09:36:51 Removing intermediate container 7f36077f4e31 09:36:51 ---> 2aea73ad34f1 09:36:51 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:36:51 ---> Running in 03b7331550c5 09:36:51 Removing intermediate container 03b7331550c5 09:36:51 ---> 05347d35574f 09:36:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 09:36:51 ---> Running in 92c94ed47c4f 09:36:52 Removing intermediate container 92c94ed47c4f 09:36:52 ---> 60786cade494 09:36:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:36:52 ---> Running in d00cd19b9155 09:36:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:36:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:36:55 OK: 242 MiB in 58 packages 09:36:56 Removing intermediate container d00cd19b9155 09:36:56 ---> 9e8bb4d45483 09:36:56 Step 8/26 : WORKDIR /device-rest-go 09:36:56 ---> Running in 95bef329f1b5 09:36:56 Removing intermediate container 95bef329f1b5 09:36:56 ---> f3f291028bb8 09:36:56 Step 9/26 : COPY go.mod vendor* ./ 09:36:57 ---> 330bbd4fc476 09:36:57 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:57 ---> Running in 47b1ec124ec4 09:37:00 Removing intermediate container 47b1ec124ec4 09:37:00 ---> 718f4c8c9f61 09:37:00 Step 11/26 : COPY . . 09:37:00 ---> 02cc2e6e3766 09:37:00 Step 12/26 : RUN $MAKE 09:37:00 ---> Running in 45daff8c96d7 09:37:01 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:41:08 Removing intermediate container 45daff8c96d7 09:41:08 ---> 96e6c38d2dc4 09:41:08 Step 13/26 : FROM alpine:3.20 09:41:09 3.20: Pulling from library/alpine 09:41:09 cf04c63912e1: Already exists 09:41:09 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:41:09 Status: Downloaded newer image for alpine:3.20 09:41:09 ---> c157a85ed455 09:41:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:41:09 ---> Running in bb6f35237cdc 09:41:10 Removing intermediate container bb6f35237cdc 09:41:10 ---> 0756c154f622 09:41:10 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 09:41:10 ---> Running in d00494a1d905 09:41:10 Removing intermediate container d00494a1d905 09:41:10 ---> 12b7a26b0568 09:41:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:41:10 ---> Running in e80d75326e0b 09:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:41:14 (1/1) Installing dumb-init (1.2.5-r3) 09:41:14 Executing busybox-1.36.1-r29.trigger 09:41:14 OK: 9 MiB in 15 packages 09:41:15 Removing intermediate container e80d75326e0b 09:41:15 ---> 2ffc0b273cf2 09:41:15 Step 17/26 : RUN apk --no-cache upgrade 09:41:15 ---> Running in 46c643f15cd9 09:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:41:19 Upgrading critical system libraries and apk-tools: 09:41:19 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:41:19 Executing busybox-1.36.1-r29.trigger 09:41:19 Continuing the upgrade transaction with new apk-tools: 09:41:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:41:22 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:41:22 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:41:22 OK: 9 MiB in 15 packages 09:41:23 Removing intermediate container 46c643f15cd9 09:41:23 ---> b26c8e34d669 09:41:23 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 09:41:25 ---> c8ed773bec74 09:41:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 09:41:26 ---> 0dc9dc951c16 09:41:26 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 09:41:26 ---> 2c0ccd0ddd1e 09:41:26 Step 21/26 : EXPOSE 59986 09:41:27 ---> Running in e866971441b9 09:41:27 Removing intermediate container e866971441b9 09:41:27 ---> 132d0189b853 09:41:27 Step 22/26 : ENTRYPOINT ["/device-rest"] 09:41:27 ---> Running in 85c87d9fc2f3 09:41:27 Removing intermediate container 85c87d9fc2f3 09:41:27 ---> e4b5fa67a5af 09:41:27 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:41:27 ---> Running in 6dac6fe48f75 09:41:28 Removing intermediate container 6dac6fe48f75 09:41:28 ---> 818f6c8c94df 09:41:28 Step 24/26 : LABEL arch=arm64 09:41:28 ---> Running in 9b3937468dc8 09:41:28 Removing intermediate container 9b3937468dc8 09:41:28 ---> f64de1360701 09:41:28 Step 25/26 : LABEL git_sha=dd312d7895d78ddde02460bf9b2f8b08e075ec68 09:41:28 ---> Running in bfbad2b892e8 09:41:28 Removing intermediate container bfbad2b892e8 09:41:28 ---> 0874ff7e805e 09:41:28 Step 26/26 : LABEL version=0.0.0 09:41:29 ---> Running in cb04ecbf11b8 09:41:29 Removing intermediate container cb04ecbf11b8 09:41:29 ---> 54c55af9c581 09:41:29 [Warning] One or more build-args [ARCH] were not consumed 09:41:29 Successfully built 54c55af9c581 09:41:29 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 09:41:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:41:30 09:41:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:41:31 arm64: Pulling from edgex-lftools-log-publisher 09:41:31 8998bd30e6a1: Pulling fs layer 09:41:31 04944245beec: Pulling fs layer 09:41:31 699f458cf7ca: Pulling fs layer 09:41:31 765212b225bb: Pulling fs layer 09:41:31 f23df028b6ca: Pulling fs layer 09:41:31 d65c8cfc05b1: Pulling fs layer 09:41:31 2437ff75d9bd: Pulling fs layer 09:41:31 765212b225bb: Waiting 09:41:31 d65c8cfc05b1: Waiting 09:41:31 f23df028b6ca: Waiting 09:41:31 2437ff75d9bd: Waiting 09:41:31 04944245beec: Verifying Checksum 09:41:31 04944245beec: Download complete 09:41:31 765212b225bb: Verifying Checksum 09:41:31 765212b225bb: Download complete 09:41:31 f23df028b6ca: Verifying Checksum 09:41:31 f23df028b6ca: Download complete 09:41:31 d65c8cfc05b1: Verifying Checksum 09:41:31 d65c8cfc05b1: Download complete 09:41:31 699f458cf7ca: Verifying Checksum 09:41:31 699f458cf7ca: Download complete 09:41:32 8998bd30e6a1: Verifying Checksum 09:41:32 8998bd30e6a1: Download complete 09:41:34 2437ff75d9bd: Verifying Checksum 09:41:34 2437ff75d9bd: Download complete 09:41:37 8998bd30e6a1: Pull complete 09:41:37 04944245beec: Pull complete 09:41:39 699f458cf7ca: Pull complete 09:41:39 765212b225bb: Pull complete 09:41:40 f23df028b6ca: Pull complete 09:41:41 d65c8cfc05b1: Pull complete 09:41:59 2437ff75d9bd: Pull complete 09:41:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:41:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:59 prd-ubuntu20.04-docker-arm64-4c-16g-24747 does not seem to be running inside a container 09:41:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:42:03 $ docker top e08bab57c374c4bdc8151724383f28e5c0120b594613c396db5961ad606d1edd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:04 ---> job-cost.sh 09:42:04 lf-activate-venv: SKIPPING 09:42:04 INFO: No Stack... 09:42:04 INFO: Retrieving Pricing Info for: v3-standard-4 09:42:05 INFO: Archiving Costs [Pipeline] sh 09:42:06 + cat /w/workspace/device-rest-go/1/archives/cost.csv 09:42:06 + cut -d, -f6 [Pipeline] lock 09:42:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] 09:42:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] did not exist. Created. 09:42:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:42:07 /w/workspace/device-rest-go/1@tmp/durable-be67a220/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:42:08 + echo total: 0.10999999940395355 [Pipeline] stash 09:42:08 Warning: overwriting stash ‘stack-cost’ 09:42:08 Stashed 1 file(s) [Pipeline] } 09:42:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:42:08 $ docker stop --time=1 e08bab57c374c4bdc8151724383f28e5c0120b594613c396db5961ad606d1edd 09:42:10 $ docker rm -f --volumes e08bab57c374c4bdc8151724383f28e5c0120b594613c396db5961ad606d1edd [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 09:42:11 provisioning config files... 09:42:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config10394964480206607005tmp [Pipeline] { [Pipeline] sh 09:42:11 + set +x 09:42:11 + curl -s https://codecov.io/bash 09:42:11 + bash -s -- 09:42:11 09:42:11 _____ _ 09:42:11 / ____| | | 09:42:11 | | ___ __| | ___ ___ _____ __ 09:42:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:42:11 | |___| (_) | (_| | __/ (_| (_) \ V / 09:42:11 \_____\___/ \__,_|\___|\___\___/ \_/ 09:42:11 Bash-1.0.6 09:42:11 09:42:11 09:42:11 ==> git version 2.25.1 found 09:42:11 ==> 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 09:42:11 Release-Date: 2020-01-08 09:42:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:42:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:42:11 ==> Jenkins CI detected. 09:42:11 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-425 09:42:11 project root: . 09:42:11 --> token set from env 09:42:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:42:11 ==> Running gcov in . (disable via -X gcov) 09:42:11 ==> Python coveragepy not found 09:42:11 ==> Searching for coverage reports in: 09:42:11 + . 09:42:11 -> Found 1 reports 09:42:11 ==> Detecting git/mercurial file structure 09:42:11 ==> Reading reports 09:42:11 + ./coverage.out bytes=14565 09:42:11 ==> Appending adjustments 09:42:11 https://docs.codecov.io/docs/fixing-reports 09:42:11 + Found adjustments 09:42:11 ==> Gzipping contents 09:42:11 4.0K /tmp/codecov.x6rbbp.gz 09:42:11 ==> Uploading reports 09:42:11 url: https://codecov.io 09:42:11 query: branch=PR-425&commit=dd312d7895d78ddde02460bf9b2f8b08e075ec68&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=425&job=&cmd_args= 09:42:11 -> Pinging Codecov 09:42:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-425&commit=dd312d7895d78ddde02460bf9b2f8b08e075ec68&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=425&job=&cmd_args= 09:42:11 -> Uploading to 09:42:11 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/dd312d7895d78ddde02460bf9b2f8b08e075ec68/88ef4678-9bf1-4d41-8888-ac226921bf66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T094211Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b68af2ce8e385feed35707f4a603bdb5f627b42455b004ae6dd053f27e80066a 09:42:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:42:11 Dload Upload Total Spent Left Speed 09:42:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10206 --:--:-- --:--:-- --:--:-- 10251 09:42:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] } 09:42:12 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 09:42:14 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-425/archives ] 09:42:14 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-425/archives 09:42:14 total 16 09:42:14 drwxr-xr-x 3 root root 4096 Nov 7 09:24 . 09:42:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:24 .. 09:42:14 drwxr-xr-x 2 root root 4096 Nov 7 09:24 cost 09:42:14 -rw-r--r-- 1 root root 86 Nov 7 09:24 cost.csv 09:42:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-425/archives 09:42:14 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-425/archives 09:42:14 total 16 09:42:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:24 . 09:42:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:24 .. 09:42:14 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:24 cost 09:42:14 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 09:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:42:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:42:15 ---> package-listing.sh 09:42:15 ++ tr '[:upper:]' '[:lower:]' 09:42:15 ++ facter osfamily 09:42:15 + OS_FAMILY=debian 09:42:15 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-425 09:42:15 + START_PACKAGES=/tmp/packages_start.txt 09:42:15 + END_PACKAGES=/tmp/packages_end.txt 09:42:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:42:15 + PACKAGES=/tmp/packages_start.txt 09:42:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-425 ']' 09:42:15 + PACKAGES=/tmp/packages_end.txt 09:42:15 + case "${OS_FAMILY}" in 09:42:15 + dpkg -l 09:42:15 + grep '^ii' 09:42:15 + '[' -f /tmp/packages_start.txt ']' 09:42:15 + '[' -f /tmp/packages_end.txt ']' 09:42:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:42:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-425 ']' 09:42:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-425/archives/ 09:42:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-425/archives/ [Pipeline] echo 09:42:15 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-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:42:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:17 prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container 09:42:17 $ 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-425/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-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:42:17 $ docker top 30be97cc4ea9f7595c2fdc052c4db24e1074aaf72cbd91c664303476c94645c1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:17 + touch /tmp/pre-build-complete [Pipeline] sh 09:42:18 + mkdir -p /var/log/sysstat [Pipeline] sh 09:42:18 + ls /var/log/sa-host 09:42:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:18 provisioning config files... 09:42:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config90761755766859866tmp [Pipeline] { [Pipeline] echo 09:42:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:42:18 ---> create-netrc.sh [Pipeline] } 09:42:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:42:19 ---> python-tools-install.sh [Pipeline] echo 09:42:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:42:19 ---> sudo-logs.sh 09:42:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:42:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:42:20 ---> job-cost.sh 09:42:20 lf-activate-venv: SKIPPING 09:42:20 DEBUG: total: 0.2199999988079071 09:42:20 INFO: Retrieving Stack Cost... 09:42:20 INFO: Retrieving Pricing Info for: v3-standard-8 09:42:21 INFO: Archiving Costs [Pipeline] echo 09:42:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:42:21 ---> logs-deploy.sh 09:42:21 lf-activate-venv: SKIPPING 09:42:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-425/1 09:42:21 INFO: archiving workspace using pattern(s): 09:42:22 Archives upload complete. 09:42:22 INFO: archiving logs to Nexus 09:42:22 ---> uname -a: 09:42:22 Linux prd-ubuntu20-04-docker-8c-8g-24745 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:42:22 09:42:22