Pull request #495 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 294341bc0a98864536823d1a45da98f6fd8a0c0e+50198afc762bca12813e6a26052d1612bb9f4903 (772389b3e6e0a185f6a5d8bea3aabe00c5ed2604) 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-ssh15050266692943975081.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 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-ssh1030303669276976484.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 056ae7b86453181957306e7078512cbe12174832 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-495/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-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17769413930839419472.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-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10064099790104087310.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > 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-ssh6470493902595678660.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-495/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-495/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1889852660524594543.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 056ae7b86453181957306e7078512cbe12174832 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8284 in /w/workspace/gexfoundry_device-rest-go_PR-495 [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-495 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 50198afc762bca12813e6a26052d1612bb9f4903 into PR head commit 294341bc0a98864536823d1a45da98f6fd8a0c0e Merge succeeded, producing 294341bc0a98864536823d1a45da98f6fd8a0c0e Checking out Revision 294341bc0a98864536823d1a45da98f6fd8a0c0e (PR-495) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 056ae7b86453181957306e7078512cbe12174832 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 294341bc0a98864536823d1a45da98f6fd8a0c0e # 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 50198afc762bca12813e6a26052d1612bb9f4903 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 294341bc0a98864536823d1a45da98f6fd8a0c0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:38:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:38:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:38:20 ========================================================= 06:38:20 EdgeX Global Pipelines Version Info 06:38:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:38:21 ------------------- 06:38:21 stable info: 06:38:21 ------------------- 06:38:21 Commited By: Cherry Wang cherry@iotechsys.com 06:38:21 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 06:38:21 Message: update stable to v1.0.276 06:38:22 ------------------- 06:38:22 experimental info: 06:38:22 ------------------- 06:38:22 Commited By: **** collab-it+edgex@linuxfoundation.org 06:38:22 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 06:38:22 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:38:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:38:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-495 [Pipeline] echo 06:38:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-495 [Pipeline] echo 06:38:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-495 [Pipeline] echo 06:38:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 294341bc0a98864536823d1a45da98f6fd8a0c0e [Pipeline] echo 06:38:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 294341b [Pipeline] echo 06:38:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:24 provisioning config files... 06:38:24 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp/config5527682655776362841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:24 ---> ****-login.sh 06:38:24 nexus3.edgexfoundry.org:10001 06:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:25 06:38:25 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:38:25 Configure a credential helper to remove this warning. See 06:38:25 https://docs.****.com/go/credential-store/ 06:38:25 06:38:25 Login Succeeded 06:38:25 nexus3.edgexfoundry.org:10002 06:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:25 06:38:25 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:38:25 Configure a credential helper to remove this warning. See 06:38:25 https://docs.****.com/go/credential-store/ 06:38:25 06:38:25 Login Succeeded 06:38:25 nexus3.edgexfoundry.org:10003 06:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:25 06:38:25 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:38:25 Configure a credential helper to remove this warning. See 06:38:25 https://docs.****.com/go/credential-store/ 06:38:25 06:38:25 Login Succeeded 06:38:25 nexus3.edgexfoundry.org:10004 06:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:25 06:38:25 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:38:25 Configure a credential helper to remove this warning. See 06:38:25 https://docs.****.com/go/credential-store/ 06:38:25 06:38:25 Login Succeeded 06:38:25 ****.io 06:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:25 06:38:25 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:38:25 Configure a credential helper to remove this warning. See 06:38:25 https://docs.****.com/go/credential-store/ 06:38:25 06:38:25 Login Succeeded 06:38:25 ---> ****-login.sh ends [Pipeline] } 06:38:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:38:26 + git rev-list -1 --merges 294341bc0a98864536823d1a45da98f6fd8a0c0e~1..294341bc0a98864536823d1a45da98f6fd8a0c0e [Pipeline] echo 06:38:26 -----------> git rev-list -1 --merges 294341bc0a98864536823d1a45da98f6fd8a0c0e~1..294341bc0a98864536823d1a45da98f6fd8a0c0e 294341bc0a98864536823d1a45da98f6fd8a0c0e [false] [Pipeline] sh 06:38:26 + git log --format=format:%s -1 294341bc0a98864536823d1a45da98f6fd8a0c0e [Pipeline] echo 06:38:26 ========================================================= 06:38:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:38:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:27 + git log --format=format:%s -1 294341bc0a98864536823d1a45da98f6fd8a0c0e [Pipeline] echo 06:38:27 [semverPrep] GIT_COMMIT: 294341bc0a98864536823d1a45da98f6fd8a0c0e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 06:38:27 [semverPrep] This is not a build commit. [Pipeline] sh 06:38:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:38:27 + grep -v github /etc/ssh/ssh_known_hosts 06:38:27 + [ -e /tmp/ssh_known_hosts ] 06:38:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:38:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:38:27 + sudo tee -a /etc/ssh/ssh_known_hosts 06:38:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:28 06:38:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:28 0.1.4: Pulling from edgex-devops/py-git-semver 06:38:28 3dae71ba6b94: Pulling fs layer 06:38:28 6bf1a483ea7c: Pulling fs layer 06:38:28 f5dfc541a4d3: Pulling fs layer 06:38:28 461d9e800cba: Pulling fs layer 06:38:28 80192f66455f: Pulling fs layer 06:38:28 2e8e34ca0e6c: Pulling fs layer 06:38:28 a29436f7fd5d: Pulling fs layer 06:38:28 923cac83aea3: Pulling fs layer 06:38:28 25ad8b0a4227: Pulling fs layer 06:38:28 db01528c6b51: Pulling fs layer 06:38:28 28988de357af: Pulling fs layer 06:38:28 80192f66455f: Waiting 06:38:28 2e8e34ca0e6c: Waiting 06:38:28 db01528c6b51: Waiting 06:38:28 28988de357af: Waiting 06:38:28 a29436f7fd5d: Waiting 06:38:28 461d9e800cba: Waiting 06:38:28 25ad8b0a4227: Waiting 06:38:28 923cac83aea3: Waiting 06:38:28 6bf1a483ea7c: Verifying Checksum 06:38:28 6bf1a483ea7c: Download complete 06:38:28 461d9e800cba: Verifying Checksum 06:38:28 461d9e800cba: Download complete 06:38:28 80192f66455f: Verifying Checksum 06:38:28 80192f66455f: Download complete 06:38:28 f5dfc541a4d3: Verifying Checksum 06:38:28 f5dfc541a4d3: Download complete 06:38:28 3dae71ba6b94: Verifying Checksum 06:38:28 3dae71ba6b94: Download complete 06:38:28 923cac83aea3: Verifying Checksum 06:38:28 923cac83aea3: Download complete 06:38:28 25ad8b0a4227: Verifying Checksum 06:38:28 25ad8b0a4227: Download complete 06:38:28 db01528c6b51: Download complete 06:38:28 28988de357af: Verifying Checksum 06:38:28 28988de357af: Download complete 06:38:28 a29436f7fd5d: Verifying Checksum 06:38:28 a29436f7fd5d: Download complete 06:38:29 2e8e34ca0e6c: Verifying Checksum 06:38:29 2e8e34ca0e6c: Download complete 06:38:30 3dae71ba6b94: Pull complete 06:38:30 6bf1a483ea7c: Pull complete 06:38:30 f5dfc541a4d3: Pull complete 06:38:30 461d9e800cba: Pull complete 06:38:31 80192f66455f: Pull complete 06:38:35 2e8e34ca0e6c: Pull complete 06:38:36 a29436f7fd5d: Pull complete 06:38:36 923cac83aea3: Pull complete 06:38:36 25ad8b0a4227: Pull complete 06:38:36 db01528c6b51: Pull complete 06:38:36 28988de357af: Pull complete 06:38:36 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 06:38:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:36 prd-ubuntu20.04-docker-8c-8g-8284 does not seem to be running inside a container 06:38:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-495 -v /w/workspace/gexfoundry_device-rest-go_PR-495:/w/workspace/gexfoundry_device-rest-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-495@tmp:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:38:38 $ docker top db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 -eo pid,comm 06:38:38 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). 06:38:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:38 [ssh-agent] Looking for ssh-agent implementation... 06:38:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:38 $ docker exec db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 ssh-agent 06:38:38 SSH_AUTH_SOCK=/tmp/ssh-8EtNIfP4Eip2/agent.32 06:38:38 SSH_AGENT_PID=38 06:38:38 Running ssh-add (command line suppressed) 06:38:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-495@tmp/private_key_2552457725557790182.key (/w/workspace/gexfoundry_device-rest-go_PR-495@tmp/private_key_2552457725557790182.key) 06:38:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-495 [Pipeline] sh 06:38:39 + git tag --points-at HEAD [Pipeline] } 06:38:39 $ docker exec --env ******** --env ******** db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 ssh-agent -k 06:38:39 unset SSH_AUTH_SOCK; 06:38:39 unset SSH_AGENT_PID; 06:38:39 echo Agent pid 38 killed; 06:38:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:38:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:39 [ssh-agent] Looking for ssh-agent implementation... 06:38:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:40 $ docker exec db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 ssh-agent 06:38:40 SSH_AUTH_SOCK=/tmp/ssh-8qDI056gkEhm/agent.85 06:38:40 SSH_AGENT_PID=91 06:38:40 Running ssh-add (command line suppressed) 06:38:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-495@tmp/private_key_2655029978242142059.key (/w/workspace/gexfoundry_device-rest-go_PR-495@tmp/private_key_2655029978242142059.key) 06:38:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:40 + git semver init 06:38:40 2025-09-04 06:38:40,850 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 06:38:40 2025-09-04 06:38:40,855 [run_init] DEBUG init version:0.0.0 force:False 06:38:40 2025-09-04 06:38:40,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-495/.semver 06:38:40 2025-09-04 06:38:40,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-495/.semver 06:38:40 2025-09-04 06:38:40,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-495/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-495, stdin=None, shell=False, universal_newlines=False) 06:38:42 2025-09-04 06:38:42,219 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-495/.git/info/exclude 06:38:42 2025-09-04 06:38:42,220 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-495/.semver/PR-495 with force:False 06:38:42 2025-09-04 06:38:42,220 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-495/.semver/PR-495 06:38:42 2025-09-04 06:38:42,224 [execute] INFO git cat-file --batch-check 06:38:42 2025-09-04 06:38:42,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-495/.semver, stdin=, shell=False, universal_newlines=False) 06:38:42 2025-09-04 06:38:42,229 [execute] INFO git cat-file --batch 06:38:42 2025-09-04 06:38:42,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-495/.semver, stdin=, shell=False, universal_newlines=False) 06:38:42 2025-09-04 06:38:42,232 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-495/.semver/PR-495 06:38:42 0.0.0 [Pipeline] } 06:38:42 $ docker exec --env ******** --env ******** db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 ssh-agent -k 06:38:42 unset SSH_AUTH_SOCK; 06:38:42 unset SSH_AGENT_PID; 06:38:42 echo Agent pid 91 killed; 06:38:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:42 + git semver [Pipeline] } 06:38:43 $ docker stop --time=1 db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 06:38:44 $ docker rm -f --volumes db229bcedb0650ef7d8b9eb1a5c686972dafabf985201cc9d1ecddc0e94eda30 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:38:45 Stashed 1 file(s) [Pipeline] echo 06:38:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:46 provisioning config files... 06:38:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp/config3438155196765025623tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 06:38:46 ---> ****-login.sh 06:38:46 nexus3.edgexfoundry.org:10001 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 Login Succeeded 06:38:46 nexus3.edgexfoundry.org:10002 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 Login Succeeded 06:38:46 nexus3.edgexfoundry.org:10003 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 Login Succeeded 06:38:46 nexus3.edgexfoundry.org:10004 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 Login Succeeded 06:38:46 ****.io 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:47 Login Succeeded 06:38:47 ---> ****-login.sh ends [Pipeline] } 06:38:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:38:47 ========================================================= 06:38:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:38:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:48 + 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 . 06:38:48 #0 building with "default" instance using docker driver 06:38:48 06:38:48 #1 [internal] load build definition from Dockerfile 06:38:48 #1 transferring dockerfile: 1.74kB done 06:38:48 #1 DONE 0.0s 06:38:48 06:38:48 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:38:48 #2 DONE 0.1s 06:38:48 06:38:48 #3 [internal] load .dockerignore 06:38:48 #3 transferring context: 193B done 06:38:48 #3 DONE 0.0s 06:38:48 06:38:48 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 06:38:48 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 06:38:48 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 2.15MB / 3.63MB 0.1s 06:38:48 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 06:38:48 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 5.24MB / 74.06MB 0.1s 06:38:48 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0B / 32B 0.1s 06:38:48 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 06:38:48 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 06:38:48 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 06:38:48 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 06:38:48 #4 ... 06:38:48 06:38:48 #5 [internal] load build context 06:38:48 #5 transferring context: 21.64MB 0.2s done 06:38:48 #5 DONE 0.2s 06:38:48 06:38:48 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 06:38:48 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 06:38:48 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 15.73MB / 74.06MB 0.2s 06:38:48 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 06:38:48 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s 06:38:48 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s 06:38:48 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 2.10MB / 103.05MB 0.2s 06:38:48 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.1s done 06:38:49 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 30.41MB / 74.06MB 0.3s 06:38:49 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 06:38:49 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s done 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 9.44MB / 103.05MB 0.3s 06:38:49 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 4.19MB / 13.29MB 0.3s 06:38:49 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 06:38:49 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 65.01MB / 74.06MB 0.5s 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 33.55MB / 103.05MB 0.5s 06:38:49 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.4s done 06:38:49 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.6s 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 48.23MB / 103.05MB 0.6s 06:38:49 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s done 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 68.16MB / 103.05MB 0.7s 06:38:49 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 91.23MB / 103.05MB 0.8s 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 0.9s 06:38:49 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.0s done 06:38:55 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.9s done 06:38:55 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 06:38:55 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 06:38:55 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 06:38:55 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 06:38:55 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 06:38:55 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 06:38:55 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 06:38:57 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 2.6s done 06:38:57 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.1s 06:38:58 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.7s done 06:38:58 #4 DONE 9.6s 06:38:58 06:38:58 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 06:38:58 #6 0.203 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:38:58 #6 0.355 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:38:59 #6 0.683 (1/4) Installing openssh-keygen (9.7_p1-r5) 06:38:59 #6 0.692 (2/4) Installing libedit (20240517.3.1-r0) 06:38:59 #6 0.696 (3/4) Installing openssh-client-common (9.7_p1-r5) 06:38:59 #6 0.715 (4/4) Installing openssh-client-default (9.7_p1-r5) 06:38:59 #6 0.724 Executing busybox-1.36.1-r29.trigger 06:38:59 #6 0.731 OK: 252 MiB in 62 packages 06:39:01 #6 DONE 2.5s 06:39:01 06:39:01 #7 [builder 3/7] WORKDIR /device-rest-go 06:39:01 #7 DONE 0.0s 06:39:01 06:39:01 #8 [builder 4/7] COPY go.mod vendor* ./ 06:39:01 #8 DONE 0.0s 06:39:01 06:39:01 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:39:11 #9 DONE 9.3s 06:39:11 06:39:11 #10 [builder 6/7] COPY . . 06:39:11 #10 DONE 0.1s 06:39:11 06:39:11 #11 [builder 7/7] RUN echo noop 06:39:11 #11 0.198 noop 06:39:11 #11 DONE 0.3s 06:39:11 06:39:11 #12 exporting to image 06:39:11 #12 exporting layers 06:39:17 #12 exporting layers 7.4s done 06:39:18 #12 writing image sha256:98bd9026a1bfe1063798d5c493e51f930c398f09c9720a8f8c53b27ebc21bc3e done 06:39:18 #12 naming to docker.io/library/ci-base-image-x86_64 done 06:39:18 #12 DONE 7.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:18 + docker inspect -f . ci-base-image-x86_64 06:39:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:18 prd-ubuntu20.04-docker-8c-8g-8284 does not seem to be running inside a container 06:39:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-495 -v /w/workspace/gexfoundry_device-rest-go_PR-495:/w/workspace/gexfoundry_device-rest-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-495@tmp:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:39:18 $ docker top 3962575b82496037ce8052cd13eb75f1024439c5c508571712d490a13d99b1b5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:19 + go version 06:39:19 go version go1.23.9 linux/amd64 [Pipeline] } 06:39:19 $ docker stop --time=1 3962575b82496037ce8052cd13eb75f1024439c5c508571712d490a13d99b1b5 06:39:20 $ docker rm -f --volumes 3962575b82496037ce8052cd13eb75f1024439c5c508571712d490a13d99b1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:21 + docker inspect -f . ci-base-image-x86_64 06:39:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:21 prd-ubuntu20.04-docker-8c-8g-8284 does not seem to be running inside a container 06:39:21 $ 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-495 -v /w/workspace/gexfoundry_device-rest-go_PR-495:/w/workspace/gexfoundry_device-rest-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-495@tmp:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:39:21 $ docker top 035cdb4454e383e4d681c980889a1a9629407bb4278f991fdc6da9264c8d8933 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-495 [Pipeline] fileExists [Pipeline] sh 06:39:22 + make test 06:39:22 go test ./... -coverprofile=coverage.out ./... 06:39:24 ? github.com/edgexfoundry/device-rest-go [no test files] 06:39:42 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 06:39:42 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements 06:39:52 go vet ./... 06:39:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:39:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:39:57 ./bin/test-attribution-txt.sh 06:39:57 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 06:39:57 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 06:39:57 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 06:39:57 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 06:39:57 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 06:39:57 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 06:39:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:39:57 $ docker stop --time=1 035cdb4454e383e4d681c980889a1a9629407bb4278f991fdc6da9264c8d8933 06:39:59 $ docker rm -f --volumes 035cdb4454e383e4d681c980889a1a9629407bb4278f991fdc6da9264c8d8933 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:40:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:01 + ls -al . 06:40:01 total 244 06:40:01 drwxrwxr-x 9 jenkins jenkins 4096 Sep 4 06:39 . 06:40:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 06:38 .. 06:40:01 -rw-rw-r-- 1 jenkins jenkins 151 Sep 4 06:38 .dockerignore 06:40:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 06:39 .git 06:40:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 06:38 .github 06:40:01 -rw-rw-r-- 1 jenkins jenkins 264 Sep 4 06:38 .gitignore 06:40:01 -rw-rw-r-- 1 jenkins jenkins 41 Sep 4 06:38 .golangci.yml 06:40:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 06:38 .semver 06:40:01 -rw-rw-r-- 1 jenkins jenkins 20138 Sep 4 06:38 Attribution.txt 06:40:01 -rw-rw-r-- 1 jenkins jenkins 18492 Sep 4 06:38 CHANGELOG.md 06:40:01 -rw-rw-r-- 1 jenkins jenkins 1697 Sep 4 06:38 Dockerfile 06:40:01 -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 06:38 GOVERNANCE.md 06:40:01 -rw-rw-r-- 1 jenkins jenkins 680 Sep 4 06:38 Jenkinsfile 06:40:01 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 4 06:38 LICENSE 06:40:01 -rw-rw-r-- 1 jenkins jenkins 2598 Sep 4 06:38 Makefile 06:40:01 -rw-rw-r-- 1 jenkins jenkins 620 Sep 4 06:38 OWNERS.md 06:40:01 -rw-rw-r-- 1 jenkins jenkins 3989 Sep 4 06:38 README.md 06:40:01 -rw-rw-r-- 1 jenkins jenkins 5 Sep 4 06:38 VERSION 06:40:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 06:38 bin 06:40:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 06:38 cmd 06:40:01 -rw-r--r-- 1 jenkins jenkins 14565 Sep 4 06:39 coverage.out 06:40:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 06:38 driver 06:40:01 -rw-rw-r-- 1 jenkins jenkins 6324 Sep 4 06:38 go.mod 06:40:01 -rw-rw-r-- 1 jenkins jenkins 86944 Sep 4 06:38 go.sum 06:40:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 06:38 openapi 06:40:01 -rw-rw-r-- 1 jenkins jenkins 713 Sep 4 06:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:01 + 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=294341bc0a98864536823d1a45da98f6fd8a0c0e --label arch=amd64 --label version=0.0.0 . 06:40:02 #0 building with "default" instance using docker driver 06:40:02 06:40:02 #1 [internal] load build definition from Dockerfile 06:40:02 #1 transferring dockerfile: 1.74kB done 06:40:02 #1 WARN: UndefinedVar: Usage of undefined variable '$VERSION' (line 41) 06:40:02 #1 DONE 0.0s 06:40:02 06:40:02 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 06:40:02 #2 DONE 0.0s 06:40:02 06:40:02 #3 [internal] load metadata for docker.io/library/alpine:3.20 06:40:02 #3 DONE 0.1s 06:40:02 06:40:02 #4 [internal] load .dockerignore 06:40:02 #4 transferring context: 193B done 06:40:02 #4 DONE 0.0s 06:40:02 06:40:02 #5 [internal] load build context 06:40:02 #5 transferring context: 18.87kB 0.0s done 06:40:02 #5 DONE 0.0s 06:40:02 06:40:02 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 06:40:02 #6 DONE 0.1s 06:40:02 06:40:02 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 06:40:02 #7 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d done 06:40:02 #7 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 06:40:02 #7 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 06:40:02 #7 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 06:40:02 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s 06:40:02 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s done 06:40:02 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 06:40:02 #7 DONE 0.3s 06:40:02 06:40:02 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 06:40:02 #8 0.219 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:40:02 #8 0.289 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:40:02 #8 0.561 OK: 252 MiB in 62 packages 06:40:03 #8 DONE 0.7s 06:40:03 06:40:03 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:40:03 #9 0.219 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:40:03 #9 0.290 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:40:03 #9 ... 06:40:03 06:40:03 #10 [builder 3/7] WORKDIR /device-rest-go 06:40:03 #10 DONE 0.0s 06:40:03 06:40:03 #11 [builder 4/7] COPY go.mod vendor* ./ 06:40:03 #11 DONE 0.0s 06:40:03 06:40:03 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:40:03 #9 0.587 (1/1) Installing dumb-init (1.2.5-r3) 06:40:03 #9 0.599 Executing busybox-1.36.1-r29.trigger 06:40:03 #9 0.603 OK: 8 MiB in 15 packages 06:40:03 #9 DONE 0.7s 06:40:03 06:40:03 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:40:03 #12 DONE 0.5s 06:40:03 06:40:03 #13 [builder 6/7] COPY . . 06:40:03 #13 DONE 0.1s 06:40:03 06:40:03 #14 [stage-1 3/6] RUN apk --no-cache upgrade 06:40:03 #14 0.318 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:40:03 #14 0.390 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:40:03 #14 0.650 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 06:40:03 #14 0.666 Executing busybox-1.36.1-r30.post-upgrade 06:40:03 #14 0.710 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 06:40:03 #14 0.713 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 06:40:03 #14 0.716 Executing busybox-1.36.1-r30.trigger 06:40:03 #14 0.720 OK: 8 MiB in 15 packages 06:40:03 #14 DONE 0.8s 06:40:03 06:40:03 #15 [builder 7/7] RUN make build 06:40:03 #15 0.202 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.1.0-dev.35 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:40:25 #15 DONE 20.6s 06:40:25 06:40:25 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 06:40:25 #16 DONE 0.1s 06:40:25 06:40:25 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 06:40:25 #17 DONE 0.0s 06:40:25 06:40:25 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 06:40:25 #18 DONE 0.0s 06:40:25 06:40:25 #19 exporting to image 06:40:25 #19 exporting layers 0.1s done 06:40:25 #19 writing image sha256:f9092dee537135cb371e687e7e51f1f1ffb739e4f564591e9f9718292b2c0b3e 06:40:25 #19 writing image sha256:f9092dee537135cb371e687e7e51f1f1ffb739e4f564591e9f9718292b2c0b3e done 06:40:25 #19 naming to docker.io/library/device-rest done 06:40:25 #19 DONE 0.1s 06:40:25 06:40:25 1 warning found (use docker --debug to expand): 06:40:25  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [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 06:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:26 06:40:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:27 latest: Pulling from edgex-lftools-log-publisher 06:40:27 5eb5b503b376: Pulling fs layer 06:40:27 5c69ac0246d0: Pulling fs layer 06:40:27 ec43610c2a17: Pulling fs layer 06:40:27 3a2ae6a8a46f: Pulling fs layer 06:40:27 33b1e0a273af: Pulling fs layer 06:40:27 5d3b04190fa2: Pulling fs layer 06:40:27 2f39f015ded8: Pulling fs layer 06:40:27 33b1e0a273af: Waiting 06:40:27 5d3b04190fa2: Waiting 06:40:27 2f39f015ded8: Waiting 06:40:27 3a2ae6a8a46f: Waiting 06:40:27 5c69ac0246d0: Verifying Checksum 06:40:27 5c69ac0246d0: Download complete 06:40:27 3a2ae6a8a46f: Verifying Checksum 06:40:27 3a2ae6a8a46f: Download complete 06:40:27 33b1e0a273af: Verifying Checksum 06:40:27 33b1e0a273af: Download complete 06:40:27 5d3b04190fa2: Download complete 06:40:27 ec43610c2a17: Verifying Checksum 06:40:27 ec43610c2a17: Download complete 06:40:27 5eb5b503b376: Verifying Checksum 06:40:27 5eb5b503b376: Download complete 06:40:28 2f39f015ded8: Download complete 06:40:29 5eb5b503b376: Pull complete 06:40:29 5c69ac0246d0: Pull complete 06:40:29 ec43610c2a17: Pull complete 06:40:29 3a2ae6a8a46f: Pull complete 06:40:30 33b1e0a273af: Pull complete 06:40:30 5d3b04190fa2: Pull complete 06:40:36 2f39f015ded8: Pull complete 06:40:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:40:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:36 prd-ubuntu20.04-docker-8c-8g-8284 does not seem to be running inside a container 06:40:36 $ 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-495 -v /w/workspace/gexfoundry_device-rest-go_PR-495:/w/workspace/gexfoundry_device-rest-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-495@tmp:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:40:38 $ docker top 751df99441c3d45fc10fce781268725cd2232fcfa3cc6146a9a18fd5313552c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:38 ---> job-cost.sh 06:40:38 lf-activate-venv: SKIPPING 06:40:38 INFO: No Stack... 06:40:39 INFO: Retrieving Pricing Info for: v3-standard-8 06:40:39 INFO: Archiving Costs [Pipeline] sh 06:40:39 + cat /w/workspace/gexfoundry_device-rest-go_PR-495/archives/cost.csv 06:40:39 + cut -d, -f6 [Pipeline] lock 06:40:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-495-1-stack-cost] 06:40:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-495-1-stack-cost] did not exist. Created. 06:40:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:40:40 + echo total: 0.2199999988079071 [Pipeline] stash 06:40:40 Stashed 1 file(s) [Pipeline] } 06:40:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:40:40 $ docker stop --time=1 751df99441c3d45fc10fce781268725cd2232fcfa3cc6146a9a18fd5313552c1 06:40:41 $ docker rm -f --volumes 751df99441c3d45fc10fce781268725cd2232fcfa3cc6146a9a18fd5313552c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:40:42 provisioning config files... 06:40:42 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp/config14542076035676636245tmp [Pipeline] { [Pipeline] sh 06:40:42 + set +x 06:40:42 + curl -s https://codecov.io/bash 06:40:42 + bash -s -- 06:40:42 06:40:42 _____ _ 06:40:42 / ____| | | 06:40:42 | | ___ __| | ___ ___ _____ __ 06:40:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:40:42 | |___| (_) | (_| | __/ (_| (_) \ V / 06:40:42 \_____\___/ \__,_|\___|\___\___/ \_/ 06:40:42 Bash-1.0.6 06:40:42 06:40:42 06:40:42 ==> git version 2.25.1 found 06:40:42 ==> 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 06:40:42 Release-Date: 2020-01-08 06:40:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:40:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:40:42 ==> Jenkins CI detected. 06:40:42 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-495 06:40:42 project root: . 06:40:42 --> token set from env 06:40:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:40:42 ==> Running gcov in . (disable via -X gcov) 06:40:42 ==> Python coveragepy not found 06:40:42 ==> Searching for coverage reports in: 06:40:42 + . 06:40:42 -> Found 1 reports 06:40:42 ==> Detecting git/mercurial file structure 06:40:42 ==> Reading reports 06:40:42 + ./coverage.out bytes=14565 06:40:42 ==> Appending adjustments 06:40:42 https://docs.codecov.io/docs/fixing-reports 06:40:42 + Found adjustments 06:40:42 ==> Gzipping contents 06:40:42 4.0K /tmp/codecov.GyZVsn.gz 06:40:42 ==> Uploading reports 06:40:42 url: https://codecov.io 06:40:42 query: branch=PR-495&commit=294341bc0a98864536823d1a45da98f6fd8a0c0e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=495&job=&cmd_args= 06:40:42 -> Pinging Codecov 06:40:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-495&commit=294341bc0a98864536823d1a45da98f6fd8a0c0e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=495&job=&cmd_args= 06:40:43 -> Uploading to 06:40:43 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/294341bc0a98864536823d1a45da98f6fd8a0c0e/dbbda443-66be-465d-bb14-bc575a077d3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250904%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250904T064042Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=b21eeeaa1a04362d4c10587aeede545bfd107ec3b702c50cd4242f36abbc9153 06:40:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:40:43 Dload Upload Total Spent Left Speed 06:40:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 18314 --:--:-- --:--:-- --:--:-- 18314 06:40:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/294341bc0a98864536823d1a45da98f6fd8a0c0e [Pipeline] } 06:40:43 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 06:40:45 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-495/archives ] 06:40:45 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-495/archives 06:40:45 total 16 06:40:45 drwxr-xr-x 3 root root 4096 Sep 4 06:40 . 06:40:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 4 06:40 .. 06:40:45 drwxr-xr-x 2 root root 4096 Sep 4 06:40 cost 06:40:45 -rw-r--r-- 1 root root 86 Sep 4 06:40 cost.csv 06:40:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-495/archives 06:40:45 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-495/archives 06:40:45 total 16 06:40:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 06:40 . 06:40:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 4 06:40 .. 06:40:45 drwxr-xr-x 2 jenkins jenkins 4096 Sep 4 06:40 cost 06:40:45 -rw-r--r-- 1 jenkins jenkins 86 Sep 4 06:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:40:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:46 ---> package-listing.sh 06:40:46 ++ tr '[:upper:]' '[:lower:]' 06:40:46 ++ facter osfamily 06:40:46 + OS_FAMILY=debian 06:40:46 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-495 06:40:46 + START_PACKAGES=/tmp/packages_start.txt 06:40:46 + END_PACKAGES=/tmp/packages_end.txt 06:40:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:46 + PACKAGES=/tmp/packages_start.txt 06:40:46 + '[' /w/workspace/gexfoundry_device-rest-go_PR-495 ']' 06:40:46 + PACKAGES=/tmp/packages_end.txt 06:40:46 + case "${OS_FAMILY}" in 06:40:46 + dpkg -l 06:40:46 + grep '^ii' 06:40:46 + '[' -f /tmp/packages_start.txt ']' 06:40:46 + '[' -f /tmp/packages_end.txt ']' 06:40:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:46 + '[' /w/workspace/gexfoundry_device-rest-go_PR-495 ']' 06:40:46 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-495/archives/ 06:40:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-495/archives/ [Pipeline] echo 06:40:46 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-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:40:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:47 prd-ubuntu20.04-docker-8c-8g-8284 does not seem to be running inside a container 06:40:47 $ 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-495/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-495 -v /w/workspace/gexfoundry_device-rest-go_PR-495:/w/workspace/gexfoundry_device-rest-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-495@tmp:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:40:48 $ docker top 9ad9e7605d76addd184b9d9b36a844fa987cd8fd6f909b1e7aba5bd52c5fba7e -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:48 + touch /tmp/pre-build-complete [Pipeline] sh 06:40:48 + mkdir -p /var/log/sysstat [Pipeline] sh 06:40:49 + ls /var/log/sa-host 06:40:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:40:49 provisioning config files... 06:40:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-495@tmp/config2907270240118993769tmp [Pipeline] { [Pipeline] echo 06:40:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:40:49 ---> create-netrc.sh [Pipeline] } 06:40:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:40:50 ---> python-tools-install.sh [Pipeline] echo 06:40:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:40:50 ---> sudo-logs.sh 06:40:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:40:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:40:51 ---> job-cost.sh 06:40:51 lf-activate-venv: SKIPPING 06:40:51 DEBUG: total: 0.2199999988079071 06:40:51 INFO: Retrieving Stack Cost... 06:40:51 INFO: Retrieving Pricing Info for: v3-standard-8 06:40:51 INFO: Archiving Costs [Pipeline] echo 06:40:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:40:51 ---> logs-deploy.sh 06:40:51 lf-activate-venv: SKIPPING 06:40:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-495/1 06:40:51 INFO: archiving workspace using pattern(s): 06:40:52 Archives upload complete. 06:40:52 INFO: archiving logs to Nexus 06:40:53 ---> uname -a: 06:40:53 Linux prd-ubuntu20-04-docker-8c-8g-8284 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 GNU/Linux 06:40:53 06:40:53 06:40:53 ---> lscpu: 06:40:53 Architecture: x86_64 06:40:53 CPU op-mode(s): 32-bit, 64-bit 06:40:53 Byte Order: Little Endian 06:40:53 Address sizes: 40 bits physical, 48 bits virtual 06:40:53 CPU(s): 8 06:40:53 On-line CPU(s) list: 0-7 06:40:53 Thread(s) per core: 1 06:40:53 Core(s) per socket: 1 06:40:53 Socket(s): 8 06:40:53 NUMA node(s): 1 06:40:53 Vendor ID: AuthenticAMD 06:40:53 CPU family: 23 06:40:53 Model: 49 06:40:53 Model name: AMD EPYC-Rome Processor 06:40:53 Stepping: 0 06:40:53 CPU MHz: 2800.000 06:40:53 BogoMIPS: 5600.00 06:40:53 Virtualization: AMD-V 06:40:53 Hypervisor vendor: KVM 06:40:53 Virtualization type: full 06:40:53 L1d cache: 256 KiB 06:40:53 L1i cache: 256 KiB 06:40:53 L2 cache: 4 MiB 06:40:53 L3 cache: 128 MiB 06:40:53 NUMA node0 CPU(s): 0-7 06:40:53 Vulnerability Gather data sampling: Not affected 06:40:53 Vulnerability Itlb multihit: Not affected 06:40:53 Vulnerability L1tf: Not affected 06:40:53 Vulnerability Mds: Not affected 06:40:53 Vulnerability Meltdown: Not affected 06:40:53 Vulnerability Mmio stale data: Not affected 06:40:53 Vulnerability Retbleed: Vulnerable 06:40:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:40:53 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:40:53 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 06:40:53 Vulnerability Srbds: Not affected 06:40:53 Vulnerability Tsx async abort: Not affected 06:40:53 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:40:53 06:40:53 06:40:53 ---> nproc: 06:40:53 8 06:40:53 06:40:53 06:40:53 ---> df -h: 06:40:53 Filesystem Size Used Avail Use% Mounted on 06:40:53 overlay 155G 13G 143G 9% / 06:40:53 tmpfs 64M 0 64M 0% /dev 06:40:53 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:40:53 shm 64M 0 64M 0% /dev/shm 06:40:53 /dev/vda1 155G 13G 143G 9% /facter-os 06:40:53 06:40:53 06:40:53 ---> sar -b -r -n DEV: 06:40:53 Linux 5.4.0-216-generic (prd-ubuntu20-04-docker-8c-8g-8284) 09/04/25 _x86_64_ (8 CPU) 06:40:53 06:40:53 06:37:39 LINUX RESTART (8 CPU) 06:40:53 06:40:53 06:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:40:53 06:39:01 456.93 71.93 385.00 0.00 12822.93 151820.59 0.00 06:40:53 06:40:01 180.10 4.45 175.65 0.00 61.72 53556.14 0.00 06:40:53 Average: 318.53 38.19 280.34 0.00 6442.86 102692.46 0.00 06:40:53 06:40:53 06:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:40:53 06:39:01 28419704 31477824 806376 2.45 95052 3232092 2068680 6.10 1113660 2927468 1920 06:40:53 06:40:01 27314732 31501400 779456 2.37 157200 4172788 1875668 5.53 1492516 3523276 4140 06:40:53 Average: 27867218 31489612 792916 2.41 126126 3702440 1972174 5.81 1303088 3225372 3030 06:40:53 06:40:53 06:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:40:53 06:39:01 lo 5.20 5.20 0.53 0.53 0.00 0.00 0.00 0.00 06:40:53 06:39:01 ens3 829.89 578.64 8555.75 148.38 0.00 0.00 0.00 0.00 06:40:53 06:39:01 docker0 144.62 146.70 11.43 494.25 0.00 0.00 0.00 0.00 06:40:53 06:39:01 vethd41955e 79.96 80.92 7.93 81.27 0.00 0.00 0.00 0.01 06:40:53 06:40:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 06:40:53 06:40:01 ens3 325.95 235.99 2852.63 37.21 0.00 0.00 0.00 0.00 06:40:53 06:40:01 docker0 209.00 281.74 17.95 2811.17 0.00 0.00 0.00 0.00 06:40:53 Average: lo 2.93 2.93 0.30 0.30 0.00 0.00 0.00 0.00 06:40:53 Average: ens3 577.94 407.33 5704.42 92.80 0.00 0.00 0.00 0.00 06:40:53 Average: docker0 176.81 214.21 14.69 1652.61 0.00 0.00 0.00 0.00 06:40:53 06:40:53