Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3991c903302a7d9adf12b9af461746031ae8458c 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-ssh8264739741108687978.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh6110374548432787435.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 67d2f908f88f8156fbe481f59f373e57362cafe7 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7812813231143716341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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 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-ssh18077961491265861485.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12121150101351231199.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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, goVersion:1.25] ========================================================= [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.25 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-3523 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 3991c903302a7d9adf12b9af461746031ae8458c (main) Commit message: "Merge pull request #521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.57" > 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 core.sparsecheckout # timeout=10 > git checkout -f 3991c903302a7d9adf12b9af461746031ae8458c # timeout=10 > git rev-list --no-walk 0763565157d6401623f57a64962ffe6d17717018 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:06:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:06:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:06:46 ========================================================= 03:06:46 EdgeX Global Pipelines Version Info 03:06:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:06:47 ------------------- 03:06:47 stable info: 03:06:47 ------------------- 03:06:47 Commited By: Cherry Wang cherry@iotechsys.com 03:06:47 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 03:06:47 Message: update stable to v1.0.278 03:06:47 ------------------- 03:06:47 experimental info: 03:06:47 ------------------- 03:06:47 Commited By: **** collab-it+edgex@linuxfoundation.org 03:06:47 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 03:06:47 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:06:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3991c90 [Pipeline] echo 03:06:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:06:48 provisioning config files... 03:06:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7315910246499030338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:06:48 ---> ****-login.sh 03:06:48 nexus3.edgexfoundry.org:10001 03:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:49 03:06:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:06:49 Configure a credential helper to remove this warning. See 03:06:49 https://docs.****.com/go/credential-store/ 03:06:49 03:06:49 Login Succeeded 03:06:49 nexus3.edgexfoundry.org:10002 03:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:49 03:06:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:06:49 Configure a credential helper to remove this warning. See 03:06:49 https://docs.****.com/go/credential-store/ 03:06:49 03:06:49 Login Succeeded 03:06:49 nexus3.edgexfoundry.org:10003 03:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:49 03:06:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:06:49 Configure a credential helper to remove this warning. See 03:06:49 https://docs.****.com/go/credential-store/ 03:06:49 03:06:49 Login Succeeded 03:06:49 nexus3.edgexfoundry.org:10004 03:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:49 03:06:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:06:49 Configure a credential helper to remove this warning. See 03:06:49 https://docs.****.com/go/credential-store/ 03:06:49 03:06:49 Login Succeeded 03:06:49 ****.io 03:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:49 03:06:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:06:49 Configure a credential helper to remove this warning. See 03:06:49 https://docs.****.com/go/credential-store/ 03:06:49 03:06:49 Login Succeeded 03:06:49 ---> ****-login.sh ends [Pipeline] } 03:06:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:06:49 + git rev-list -1 --merges 3991c903302a7d9adf12b9af461746031ae8458c~1..3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] echo 03:06:49 -----------> git rev-list -1 --merges 3991c903302a7d9adf12b9af461746031ae8458c~1..3991c903302a7d9adf12b9af461746031ae8458c 3991c903302a7d9adf12b9af461746031ae8458c 03:06:49 3991c903302a7d9adf12b9af461746031ae8458c [false] [Pipeline] sh 03:06:50 + git log --format=format:%s -1 3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] echo 03:06:50 ========================================================= 03:06:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:06:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:50 + git log --format=format:%s -1 3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] echo 03:06:50 [semverPrep] GIT_COMMIT: 3991c903302a7d9adf12b9af461746031ae8458c, Commit Message: Merge pull request #521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.57 [Pipeline] echo 03:06:50 [semverPrep] This is not a build commit. [Pipeline] sh 03:06:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:06:51 + grep -v github /etc/ssh/ssh_known_hosts 03:06:51 + [ -e /tmp/ssh_known_hosts ] 03:06:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:06:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:06:51 + sudo tee -a /etc/ssh/ssh_known_hosts 03:06:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:06:51 03:06:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:06:51 0.1.4: Pulling from edgex-devops/py-git-semver 03:06:51 3dae71ba6b94: Pulling fs layer 03:06:51 6bf1a483ea7c: Pulling fs layer 03:06:51 f5dfc541a4d3: Pulling fs layer 03:06:51 461d9e800cba: Pulling fs layer 03:06:51 80192f66455f: Pulling fs layer 03:06:51 2e8e34ca0e6c: Pulling fs layer 03:06:51 a29436f7fd5d: Pulling fs layer 03:06:51 923cac83aea3: Pulling fs layer 03:06:51 25ad8b0a4227: Pulling fs layer 03:06:51 db01528c6b51: Pulling fs layer 03:06:51 461d9e800cba: Waiting 03:06:51 28988de357af: Pulling fs layer 03:06:51 80192f66455f: Waiting 03:06:51 2e8e34ca0e6c: Waiting 03:06:51 a29436f7fd5d: Waiting 03:06:51 923cac83aea3: Waiting 03:06:51 25ad8b0a4227: Waiting 03:06:51 db01528c6b51: Waiting 03:06:51 28988de357af: Waiting 03:06:51 6bf1a483ea7c: Verifying Checksum 03:06:51 6bf1a483ea7c: Download complete 03:06:52 461d9e800cba: Verifying Checksum 03:06:52 461d9e800cba: Download complete 03:06:52 80192f66455f: Download complete 03:06:52 f5dfc541a4d3: Verifying Checksum 03:06:52 f5dfc541a4d3: Download complete 03:06:52 3dae71ba6b94: Verifying Checksum 03:06:52 3dae71ba6b94: Download complete 03:06:52 923cac83aea3: Download complete 03:06:52 25ad8b0a4227: Verifying Checksum 03:06:52 25ad8b0a4227: Download complete 03:06:52 db01528c6b51: Verifying Checksum 03:06:52 db01528c6b51: Download complete 03:06:52 28988de357af: Download complete 03:06:52 a29436f7fd5d: Verifying Checksum 03:06:52 a29436f7fd5d: Download complete 03:06:52 2e8e34ca0e6c: Verifying Checksum 03:06:52 2e8e34ca0e6c: Download complete 03:06:53 3dae71ba6b94: Pull complete 03:06:53 6bf1a483ea7c: Pull complete 03:06:54 f5dfc541a4d3: Pull complete 03:06:54 461d9e800cba: Pull complete 03:06:54 80192f66455f: Pull complete 03:06:58 2e8e34ca0e6c: Pull complete 03:06:58 a29436f7fd5d: Pull complete 03:06:58 923cac83aea3: Pull complete 03:06:58 25ad8b0a4227: Pull complete 03:06:58 db01528c6b51: Pull complete 03:06:58 28988de357af: Pull complete 03:06:58 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 03:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:06:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:06:58 prd-ubuntu20.04-docker-8c-8g-3523 does not seem to be running inside a container 03:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:07:00 $ docker top de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 -eo pid,comm 03:07:00 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). 03:07:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:07:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:00 [ssh-agent] Looking for ssh-agent implementation... 03:07:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:00 $ docker exec de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 ssh-agent 03:07:00 SSH_AUTH_SOCK=/tmp/ssh-6L5QImWRmmXU/agent.34 03:07:00 SSH_AGENT_PID=40 03:07:00 Running ssh-add (command line suppressed) 03:07:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8467736164346410783.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8467736164346410783.key) 03:07:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 03:07:01 + git tag --points-at HEAD [Pipeline] } 03:07:01 $ docker exec --env ******** --env ******** de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 ssh-agent -k 03:07:01 unset SSH_AUTH_SOCK; 03:07:01 unset SSH_AGENT_PID; 03:07:01 echo Agent pid 40 killed; 03:07:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:07:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:01 [ssh-agent] Looking for ssh-agent implementation... 03:07:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:01 $ docker exec de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 ssh-agent 03:07:01 SSH_AUTH_SOCK=/tmp/ssh-ZDml2KwIXzci/agent.87 03:07:01 SSH_AGENT_PID=94 03:07:01 Running ssh-add (command line suppressed) 03:07:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9758037022303472857.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9758037022303472857.key) 03:07:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:02 + git semver init 03:07:02 2026-03-16 03:07:02,476 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:07:02 2026-03-16 03:07:02,481 [run_init] DEBUG init version:0.0.0 force:False 03:07:02 2026-03-16 03:07:02,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:07:02 2026-03-16 03:07:02,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:07:02 2026-03-16 03:07:02,483 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 03:07:04 2026-03-16 03:07:04,161 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:07:04 2026-03-16 03:07:04,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:07:04 2026-03-16 03:07:04,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:07:04 2026-03-16 03:07:04,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:07:04 4.1.0-dev.22 [Pipeline] } 03:07:04 $ docker exec --env ******** --env ******** de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 ssh-agent -k 03:07:04 unset SSH_AUTH_SOCK; 03:07:04 unset SSH_AGENT_PID; 03:07:04 echo Agent pid 94 killed; 03:07:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:07:04 + git semver [Pipeline] } 03:07:05 $ docker stop --time=1 de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 03:07:06 $ docker rm -f --volumes de933786e6f571903a4f40094aca79d71d9ce4eea6ca56f1e6962e8c34a32b15 [Pipeline] // withDockerContainer [Pipeline] sh 03:07:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:07:08 Stashed 1 file(s) [Pipeline] echo 03:07:08 [edgeXSemver]: initialized semver on version 4.1.0-dev.22 [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 03:07:08 provisioning config files... 03:07:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13988433031977886184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:09 ---> ****-login.sh 03:07:09 nexus3.edgexfoundry.org:10001 03:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:09 Login Succeeded 03:07:09 nexus3.edgexfoundry.org:10002 03:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:09 Login Succeeded 03:07:09 nexus3.edgexfoundry.org:10003 03:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:09 Login Succeeded 03:07:09 nexus3.edgexfoundry.org:10004 03:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:09 Login Succeeded 03:07:09 ****.io 03:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:09 Login Succeeded 03:07:09 ---> ****-login.sh ends [Pipeline] } 03:07:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:07:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:07:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:07:09 ========================================================= 03:07:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 03:07:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine --build-arg MAKE=echo noop --target=builder . 03:07:10 #0 building with "default" instance using docker driver 03:07:10 03:07:10 #1 [internal] load build definition from Dockerfile 03:07:10 #1 transferring dockerfile: 1.74kB done 03:07:10 #1 DONE 0.0s 03:07:10 03:07:10 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 03:07:10 #2 DONE 0.1s 03:07:10 03:07:10 #3 [internal] load .dockerignore 03:07:10 #3 transferring context: 193B done 03:07:10 #3 DONE 0.0s 03:07:10 03:07:10 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 03:07:10 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 0.0s done 03:07:10 #4 sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 685B / 685B done 03:07:10 #4 sha256:0571529eb0d62c6c63f07cd806efe94d1b30411a55171121c600b2b418b13706 2.08kB / 2.08kB done 03:07:10 #4 sha256:2caa029a6df7ddc8757eb3642c320a433405a94beabcc5536fbfd011b4868154 4.11kB / 4.11kB done 03:07:10 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.15MB / 3.80MB 0.1s 03:07:10 #4 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.1s done 03:07:10 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 2.10MB / 60.15MB 0.1s 03:07:10 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 03:07:11 #4 ... 03:07:11 03:07:11 #5 [internal] load build context 03:07:11 #5 transferring context: 22.46MB 0.2s done 03:07:11 #5 DONE 0.2s 03:07:11 03:07:11 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 03:07:11 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 03:07:11 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 9.44MB / 60.15MB 0.2s 03:07:11 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s 03:07:11 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 03:07:11 #4 sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 321B / 321B 0.1s done 03:07:11 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 2.10MB / 11.98MB 0.2s 03:07:11 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 1.05MB / 112.58MB 0.2s 03:07:11 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 20.97MB / 60.15MB 0.3s 03:07:11 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s done 03:07:11 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 9.44MB / 11.98MB 0.3s 03:07:11 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.1s done 03:07:11 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 51.38MB / 60.15MB 0.5s 03:07:11 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s done 03:07:11 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 23.07MB / 112.58MB 0.5s 03:07:11 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 5.24MB / 14.72MB 0.5s 03:07:11 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.6s 03:07:11 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 34.60MB / 112.58MB 0.6s 03:07:11 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 12.58MB / 14.72MB 0.6s 03:07:11 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 03:07:11 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.7s done 03:07:11 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 74.09MB / 112.58MB 0.8s 03:07:11 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.7s done 03:07:11 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 93.32MB / 112.58MB 0.9s 03:07:11 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 99.61MB / 112.58MB 1.1s 03:07:12 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.2s 03:07:12 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.3s done 03:07:16 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.2s done 03:07:16 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 03:07:16 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 03:07:16 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 03:07:16 #4 extracting sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 done 03:07:16 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 03:07:16 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 0.3s done 03:07:16 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 03:07:19 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 2.4s done 03:07:19 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.1s 03:07:19 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.6s done 03:07:19 #4 DONE 8.7s 03:07:19 03:07:19 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 03:07:19 #6 0.206 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:07:19 #6 0.397 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:07:20 #6 0.777 (1/4) Installing openssh-keygen (10.0_p1-r10) 03:07:20 #6 0.789 (2/4) Installing libedit (20250104.3.1-r1) 03:07:20 #6 0.795 (3/4) Installing openssh-client-common (10.0_p1-r10) 03:07:20 #6 0.819 (4/4) Installing openssh-client-default (10.0_p1-r10) 03:07:20 #6 0.829 Executing busybox-1.37.0-r19.trigger 03:07:20 #6 0.838 OK: 269 MiB in 64 packages 03:07:21 #6 DONE 2.1s 03:07:21 03:07:21 #7 [builder 3/7] WORKDIR /device-rest-go 03:07:21 #7 DONE 0.0s 03:07:21 03:07:21 #8 [builder 4/7] COPY go.mod vendor* ./ 03:07:21 #8 DONE 0.0s 03:07:21 03:07:21 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:07:23 Still waiting to schedule task 03:07:23 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:07:34 #9 DONE 12.4s 03:07:34 03:07:34 #10 [builder 6/7] COPY . . 03:07:34 #10 DONE 0.1s 03:07:34 03:07:34 #11 [builder 7/7] RUN echo noop 03:07:34 #11 0.197 noop 03:07:34 #11 DONE 0.2s 03:07:34 03:07:34 #12 exporting to image 03:07:34 #12 exporting layers 03:07:42 #12 exporting layers 7.5s done 03:07:42 #12 writing image sha256:9504558fbe993df6f6e45d5d175ac7fc225237ae96a0432e15f46366b2d11b02 done 03:07:42 #12 naming to docker.io/library/ci-base-image-x86_64 done 03:07:42 #12 DONE 7.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:43 + docker inspect -f . ci-base-image-x86_64 03:07:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:07:43 prd-ubuntu20.04-docker-8c-8g-3523 does not seem to be running inside a container 03:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 03:07:43 $ docker top eaa9fa1570e595c8ee9ee5302695737ddcafc5ee7eb16f683d4e341870eac7b0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:07:43 + go version 03:07:43 go version go1.25.2 linux/amd64 [Pipeline] } 03:07:43 $ docker stop --time=1 eaa9fa1570e595c8ee9ee5302695737ddcafc5ee7eb16f683d4e341870eac7b0 03:07:45 $ docker rm -f --volumes eaa9fa1570e595c8ee9ee5302695737ddcafc5ee7eb16f683d4e341870eac7b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:45 + docker inspect -f . ci-base-image-x86_64 03:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:07:45 prd-ubuntu20.04-docker-8c-8g-3523 does not seem to be running inside a container 03:07:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 03:07:45 $ docker top aa1dd129b54c7d943eb7f5601e0a4a052935349edc6807ff604543b51842200b -eo pid,comm [Pipeline] { [Pipeline] sh 03:07:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 03:07:46 + make test 03:07:46 go test ./... -coverprofile=coverage.out ./... 03:07:47 ? github.com/edgexfoundry/device-rest-go [no test files] 03:08:09 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 03:08:09 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 32.2% of statements 03:08:19 0 issues. 03:08:19 go vet ./... 03:08:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:08:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:08:24 ./bin/test-attribution-txt.sh 03:08:24 An attribution for github.com/cespare/xxhash/v2 is missing from Attribution.txt, please add [Pipeline] echo 03:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:08:25 $ docker stop --time=1 aa1dd129b54c7d943eb7f5601e0a4a052935349edc6807ff604543b51842200b 03:08:27 $ docker rm -f --volumes aa1dd129b54c7d943eb7f5601e0a4a052935349edc6807ff604543b51842200b [Pipeline] // withDockerContainer [Pipeline] sh 03:08:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:08:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:08:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:08:28 + ls -al . 03:08:28 total 248 03:08:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 03:07 . 03:08:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 03:06 .. 03:08:28 -rw-rw-r-- 1 jenkins jenkins 151 Mar 16 03:06 .dockerignore 03:08:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 03:08 .git 03:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 03:06 .github 03:08:28 -rw-rw-r-- 1 jenkins jenkins 264 Mar 16 03:06 .gitignore 03:08:28 -rw-rw-r-- 1 jenkins jenkins 359 Mar 16 03:06 .golangci.yml 03:08:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 03:07 .semver 03:08:28 -rw-rw-r-- 1 jenkins jenkins 22791 Mar 16 03:06 Attribution.txt 03:08:28 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 16 03:06 CHANGELOG.md 03:08:28 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 16 03:06 Dockerfile 03:08:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 03:06 GOVERNANCE.md 03:08:28 -rw-rw-r-- 1 jenkins jenkins 704 Mar 16 03:06 Jenkinsfile 03:08:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 03:06 LICENSE 03:08:28 -rw-rw-r-- 1 jenkins jenkins 2597 Mar 16 03:06 Makefile 03:08:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 03:06 OWNERS.md 03:08:28 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 16 03:06 README.md 03:08:28 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 03:07 VERSION 03:08:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 03:06 bin 03:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 03:06 cmd 03:08:28 -rw-r--r-- 1 jenkins jenkins 14565 Mar 16 03:08 coverage.out 03:08:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 03:06 driver 03:08:28 -rw-rw-r-- 1 jenkins jenkins 6821 Mar 16 03:06 go.mod 03:08:28 -rw-rw-r-- 1 jenkins jenkins 89294 Mar 16 03:06 go.sum 03:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 03:06 openapi 03:08:28 -rw-rw-r-- 1 jenkins jenkins 713 Mar 16 03:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:28 + 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=3991c903302a7d9adf12b9af461746031ae8458c --label arch=amd64 --label version=4.1.0-dev.22 . 03:08:29 #0 building with "default" instance using docker driver 03:08:29 03:08:29 #1 [internal] load build definition from Dockerfile 03:08:29 #1 transferring dockerfile: 1.74kB done 03:08:29 #1 DONE 0.0s 03:08:29 03:08:29 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 03:08:29 #2 DONE 0.0s 03:08:29 03:08:29 #3 [internal] load metadata for docker.io/library/alpine:3.22 03:08:29 #3 DONE 0.1s 03:08:29 03:08:29 #4 [internal] load .dockerignore 03:08:29 #4 transferring context: 193B done 03:08:29 #4 DONE 0.0s 03:08:29 03:08:29 #5 [internal] load build context 03:08:29 #5 transferring context: 18.46kB done 03:08:29 #5 DONE 0.0s 03:08:29 03:08:29 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 03:08:29 #6 DONE 0.1s 03:08:29 03:08:29 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 03:08:29 #7 resolve docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 0.0s done 03:08:29 #7 extracting sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 03:08:29 #7 sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 9.22kB / 9.22kB done 03:08:29 #7 sha256:e0baf8c394150ac5a14925e179100519f5e37c53547f647acbd9f8eb3e5c4528 1.02kB / 1.02kB done 03:08:29 #7 sha256:f65e6e80f68613c7e9c51c98f879c73373d7a38c0790300e1478ce45894a24aa 611B / 611B done 03:08:29 #7 sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 3.80MB / 3.80MB 0.1s done 03:08:29 #7 extracting sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 0.1s done 03:08:29 #7 DONE 0.3s 03:08:29 03:08:29 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 03:08:29 #8 0.200 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:08:29 #8 0.277 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:08:30 #8 ... 03:08:30 03:08:30 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 03:08:30 #9 0.215 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:08:30 #9 0.376 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:08:30 #9 0.746 OK: 269 MiB in 64 packages 03:08:30 #9 DONE 0.9s 03:08:30 03:08:30 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 03:08:30 #8 0.574 (1/1) Installing dumb-init (1.2.5-r3) 03:08:30 #8 0.579 Executing busybox-1.37.0-r20.trigger 03:08:30 #8 0.586 OK: 7 MiB in 17 packages 03:08:30 #8 DONE 0.7s 03:08:30 03:08:30 #10 [builder 3/7] WORKDIR /device-rest-go 03:08:30 #10 DONE 0.0s 03:08:30 03:08:30 #11 [builder 4/7] COPY go.mod vendor* ./ 03:08:30 #11 DONE 0.0s 03:08:30 03:08:30 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:08:30 #12 DONE 0.5s 03:08:30 03:08:30 #13 [stage-1 3/6] RUN apk --no-cache upgrade 03:08:30 #13 0.290 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:08:30 #13 0.366 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:08:30 #13 ... 03:08:30 03:08:30 #14 [builder 6/7] COPY . . 03:08:30 #14 DONE 0.1s 03:08:30 03:08:30 #13 [stage-1 3/6] RUN apk --no-cache upgrade 03:08:30 #13 0.727 OK: 7 MiB in 17 packages 03:08:31 #13 DONE 0.8s 03:08:31 03:08:31 #15 [builder 7/7] RUN make build 03:08:31 #15 0.211 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.57 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:08:57 #15 DONE 24.1s 03:08:57 03:08:57 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 03:08:57 #16 DONE 0.1s 03:08:57 03:08:57 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 03:08:57 #17 DONE 0.0s 03:08:57 03:08:57 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 03:08:57 #18 DONE 0.0s 03:08:57 03:08:57 #19 exporting to image 03:08:57 #19 exporting layers 0.1s done 03:08:57 #19 writing image sha256:062d025289bb3624a7c04968d0254cb9b3295ad499f6ba78e2bbc9d2c3c52212 done 03:08:57 #19 naming to docker.io/library/device-rest done 03:08:57 #19 DONE 0.2s 03:08:57 03:08:57 1 warning found (use docker --debug to expand): 03:08:57  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:08:57 provisioning config files... 03:08:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12005672163746539049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:58 ---> ****-login.sh 03:08:58 nexus3.edgexfoundry.org:10001 03:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:58 Login Succeeded 03:08:58 nexus3.edgexfoundry.org:10002 03:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:58 Login Succeeded 03:08:58 nexus3.edgexfoundry.org:10003 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 Login Succeeded 03:08:59 nexus3.edgexfoundry.org:10004 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 Login Succeeded 03:08:59 ****.io 03:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:59 Login Succeeded 03:08:59 ---> ****-login.sh ends [Pipeline] } 03:08:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:09:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:09:00 3991c903302a7d9adf12b9af461746031ae8458c 03:09:00 latest 03:09:00 4.1.0-dev.22 03:09:00 3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:09:00 main 03:09:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c 03:09:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:09:00 645941924aec: Preparing 03:09:00 2fc5ac45b3af: Preparing 03:09:00 7b939b267aef: Preparing 03:09:00 cba180a659c2: Preparing 03:09:00 75bacaedb4a6: Preparing 03:09:00 cce92674e987: Preparing 03:09:00 cce92674e987: Waiting 03:09:00 cba180a659c2: Pushed 03:09:00 2fc5ac45b3af: Pushed 03:09:00 75bacaedb4a6: Pushed 03:09:00 645941924aec: Pushed 03:09:00 cce92674e987: Layer already exists 03:09:04 7b939b267aef: Pushed 03:09:04 3991c903302a7d9adf12b9af461746031ae8458c: digest: sha256:2b7b53f08fb7a5ba992d32f878e81d66d9da25003c2399f203e1f8c96a4f321a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:09:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:09:05 645941924aec: Preparing 03:09:05 2fc5ac45b3af: Preparing 03:09:05 7b939b267aef: Preparing 03:09:05 cba180a659c2: Preparing 03:09:05 75bacaedb4a6: Preparing 03:09:05 cce92674e987: Preparing 03:09:05 cce92674e987: Waiting 03:09:05 645941924aec: Layer already exists 03:09:05 cba180a659c2: Layer already exists 03:09:05 75bacaedb4a6: Layer already exists 03:09:05 7b939b267aef: Layer already exists 03:09:05 2fc5ac45b3af: Layer already exists 03:09:05 cce92674e987: Layer already exists 03:09:05 latest: digest: sha256:2b7b53f08fb7a5ba992d32f878e81d66d9da25003c2399f203e1f8c96a4f321a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 03:09:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:09:06 645941924aec: Preparing 03:09:06 2fc5ac45b3af: Preparing 03:09:06 7b939b267aef: Preparing 03:09:06 cba180a659c2: Preparing 03:09:06 75bacaedb4a6: Preparing 03:09:06 cce92674e987: Preparing 03:09:06 cce92674e987: Waiting 03:09:06 75bacaedb4a6: Layer already exists 03:09:06 cba180a659c2: Layer already exists 03:09:06 2fc5ac45b3af: Layer already exists 03:09:06 7b939b267aef: Layer already exists 03:09:06 645941924aec: Layer already exists 03:09:06 cce92674e987: Layer already exists 03:09:06 4.1.0-dev.22: digest: sha256:2b7b53f08fb7a5ba992d32f878e81d66d9da25003c2399f203e1f8c96a4f321a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:09:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:09:06 645941924aec: Preparing 03:09:06 2fc5ac45b3af: Preparing 03:09:06 7b939b267aef: Preparing 03:09:06 cba180a659c2: Preparing 03:09:06 75bacaedb4a6: Preparing 03:09:06 cce92674e987: Preparing 03:09:06 cce92674e987: Waiting 03:09:06 7b939b267aef: Layer already exists 03:09:06 75bacaedb4a6: Layer already exists 03:09:06 645941924aec: Layer already exists 03:09:06 2fc5ac45b3af: Layer already exists 03:09:06 cba180a659c2: Layer already exists 03:09:06 cce92674e987: Layer already exists 03:09:06 3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22: digest: sha256:2b7b53f08fb7a5ba992d32f878e81d66d9da25003c2399f203e1f8c96a4f321a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:09:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:09:07 645941924aec: Preparing 03:09:07 2fc5ac45b3af: Preparing 03:09:07 7b939b267aef: Preparing 03:09:07 cba180a659c2: Preparing 03:09:07 75bacaedb4a6: Preparing 03:09:07 cce92674e987: Preparing 03:09:07 cce92674e987: Waiting 03:09:07 645941924aec: Layer already exists 03:09:07 7b939b267aef: Layer already exists 03:09:07 cba180a659c2: Layer already exists 03:09:07 2fc5ac45b3af: Layer already exists 03:09:07 75bacaedb4a6: Layer already exists 03:09:07 cce92674e987: Layer already exists 03:09:07 main: digest: sha256:2b7b53f08fb7a5ba992d32f878e81d66d9da25003c2399f203e1f8c96a4f321a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:09:07 ===================================================== [Pipeline] echo 03:09:07 taggedImages: 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 03:09:07 ========================================================= 03:09:07 [edgeXBuildMultiArch] RAW Config: 03:09:07 images: 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:09:07 - nexus3.edgexfoundry.org:10004/device-rest:main 03:09:07 settingsFile: 03:09:07 device-rest-go-settings 03:09:07 ========================================================= [Pipeline] node 03:09:22 Still waiting to schedule task 03:09:22 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3521’ 03:09:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3527 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 03:09:49 Running in /w/workspace/device-rest-go/229 [Pipeline] { [Pipeline] checkout 03:09:52 The recommended git tool is: git 03:09:58 using credential edgex-jenkins-ssh 03:09:58 Cloning the remote Git repository 03:09:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:09:58 > git init /w/workspace/device-rest-go/229 # timeout=10 03:09:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:09:58 > git --version # timeout=10 03:09:58 > git --version # 'git version 2.25.1' 03:09:58 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:03 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:10:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:04 Avoid second fetch 03:10:04 Checking out Revision 3991c903302a7d9adf12b9af461746031ae8458c (main) 03:10:05 Commit message: "Merge pull request #521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.57" 03:10:04 > git config core.sparsecheckout # timeout=10 03:10:04 > git checkout -f 3991c903302a7d9adf12b9af461746031ae8458c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:09 provisioning config files... 03:10:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/229@tmp/config7634312617970238341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:10 ---> ****-login.sh 03:10:10 nexus3.edgexfoundry.org:10001 03:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:13 Configure a credential helper to remove this warning. See 03:10:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:13 03:10:13 Login Succeeded 03:10:13 nexus3.edgexfoundry.org:10002 03:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:13 Configure a credential helper to remove this warning. See 03:10:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:13 03:10:13 Login Succeeded 03:10:13 nexus3.edgexfoundry.org:10003 03:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:14 Configure a credential helper to remove this warning. See 03:10:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:14 03:10:14 Login Succeeded 03:10:14 nexus3.edgexfoundry.org:10004 03:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:14 Configure a credential helper to remove this warning. See 03:10:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:14 03:10:14 Login Succeeded 03:10:14 ****.io 03:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:15 Configure a credential helper to remove this warning. See 03:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:15 03:10:15 Login Succeeded 03:10:15 ---> ****-login.sh ends [Pipeline] } 03:10:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:10:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:10:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:10:15 ========================================================= 03:10:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine] 03:10:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine --build-arg MAKE=echo noop --target=builder . 03:10:16 Sending build context to Docker daemon 144.9kB 03:10:16 Step 1/12 : ARG BASE=golang:1.25-alpine3.22 03:10:16 Step 2/12 : FROM ${BASE} AS builder 03:10:16 1.25-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:10:16 6b59a28fa201: Pulling fs layer 03:10:16 d32bb0dddca7: Pulling fs layer 03:10:16 5dab1238d3d9: Pulling fs layer 03:10:16 196fd7d83e7d: Pulling fs layer 03:10:16 4f4fb700ef54: Pulling fs layer 03:10:16 8ba94037c8f0: Pulling fs layer 03:10:16 deaec5988b04: Pulling fs layer 03:10:16 9f65657bb879: Pulling fs layer 03:10:16 196fd7d83e7d: Waiting 03:10:16 8ba94037c8f0: Waiting 03:10:16 deaec5988b04: Waiting 03:10:16 4f4fb700ef54: Waiting 03:10:16 9f65657bb879: Waiting 03:10:16 d32bb0dddca7: Verifying Checksum 03:10:16 d32bb0dddca7: Download complete 03:10:16 196fd7d83e7d: Verifying Checksum 03:10:16 196fd7d83e7d: Download complete 03:10:16 4f4fb700ef54: Download complete 03:10:16 8ba94037c8f0: Download complete 03:10:16 6b59a28fa201: Verifying Checksum 03:10:16 6b59a28fa201: Download complete 03:10:17 9f65657bb879: Verifying Checksum 03:10:17 9f65657bb879: Download complete 03:10:17 6b59a28fa201: Pull complete 03:10:18 5dab1238d3d9: Verifying Checksum 03:10:18 5dab1238d3d9: Download complete 03:10:18 d32bb0dddca7: Pull complete 03:10:20 deaec5988b04: Verifying Checksum 03:10:20 deaec5988b04: Download complete 03:10:32 5dab1238d3d9: Pull complete 03:10:32 196fd7d83e7d: Pull complete 03:10:32 4f4fb700ef54: Pull complete 03:10:33 8ba94037c8f0: Pull complete 03:10:43 deaec5988b04: Pull complete 03:10:44 9f65657bb879: Pull complete 03:10:44 Digest: sha256:5e549ededf7788d4f1561b02b9f4d3bcf02ca02af9c1a1104d0a64a201fbeb28 03:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine 03:10:44 ---> 334268110677 03:10:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:10:46 ---> Running in 6995ff29061d 03:10:46 Removing intermediate container 6995ff29061d 03:10:46 ---> 9a0e46a2f2c7 03:10:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:10:46 ---> Running in 7865f00c2af5 03:10:47 Removing intermediate container 7865f00c2af5 03:10:47 ---> cd77cae42a7e 03:10:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:10:47 ---> Running in f0f7dae34f98 03:10:48 Removing intermediate container f0f7dae34f98 03:10:48 ---> 25388e3a727d 03:10:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:10:48 ---> Running in e7d97a591eae 03:10:48 Removing intermediate container e7d97a591eae 03:10:48 ---> b3169838482a 03:10:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:48 ---> Running in 100fe1c385bf 03:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:10:52 (1/4) Installing openssh-keygen (10.0_p1-r10) 03:10:52 (2/4) Installing libedit (20250104.3.1-r1) 03:10:52 (3/4) Installing openssh-client-common (10.0_p1-r10) 03:10:52 (4/4) Installing openssh-client-default (10.0_p1-r10) 03:10:52 Executing busybox-1.37.0-r19.trigger 03:10:52 OK: 259 MiB in 64 packages 03:10:55 Removing intermediate container 100fe1c385bf 03:10:55 ---> 9dfd4f2970a0 03:10:55 Step 8/12 : WORKDIR /device-rest-go 03:10:56 ---> Running in f5183357f6c5 03:10:56 Removing intermediate container f5183357f6c5 03:10:56 ---> fa110d05f85f 03:10:56 Step 9/12 : COPY go.mod vendor* ./ 03:10:56 ---> 6a6ea9581d9d 03:10:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:56 ---> Running in 3ac0cb888b6c 03:10:58 Running on prd-centos7-docker-4c-2g-3530 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:58 provisioning config files... 03:10:58 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config199498778278448605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:00 ---> ****-login.sh 03:11:00 nexus3.edgexfoundry.org:10001 03:12:49 Removing intermediate container 3ac0cb888b6c 03:12:49 ---> 906207176e27 03:12:49 Step 11/12 : COPY . . 03:12:49 ---> 984f0865b616 03:12:49 Step 12/12 : RUN $MAKE 03:12:49 ---> Running in ba1e381563b0 03:12:49 noop 03:12:50 Removing intermediate container ba1e381563b0 03:12:50 ---> cf0d7b338196 03:12:50 Successfully built cf0d7b338196 03:12:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:50 + docker inspect -f . ci-base-image-arm64 03:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:50 prd-ubuntu20.04-docker-arm64-4c-16g-3527 does not seem to be running inside a container 03:12:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/229 -v /w/workspace/device-rest-go/229:/w/workspace/device-rest-go/229:rw,z -v /w/workspace/device-rest-go/229@tmp:/w/workspace/device-rest-go/229@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 ******** ci-base-image-arm64 cat 03:12:52 $ docker top 14514623db138c579ff749bf50237749e47f3d2758b24c83f71a749d5a490aac -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:53 + go version 03:12:53 go version go1.25.3 linux/arm64 [Pipeline] } 03:12:53 $ docker stop --time=1 14514623db138c579ff749bf50237749e47f3d2758b24c83f71a749d5a490aac 03:12:55 $ docker rm -f --volumes 14514623db138c579ff749bf50237749e47f3d2758b24c83f71a749d5a490aac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:55 + docker inspect -f . ci-base-image-arm64 03:12:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:55 prd-ubuntu20.04-docker-arm64-4c-16g-3527 does not seem to be running inside a container 03:12:55 $ 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/229 -v /w/workspace/device-rest-go/229:/w/workspace/device-rest-go/229:rw,z -v /w/workspace/device-rest-go/229@tmp:/w/workspace/device-rest-go/229@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 ******** ci-base-image-arm64 cat 03:12:57 $ docker top 30f20dab68b7e2a5ff7d5f4d3a3e4f6a7f6b9fdc53f9dae7f04005743a81be33 -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:58 + git config --global --add safe.directory /w/workspace/device-rest-go/229 [Pipeline] fileExists [Pipeline] sh 03:12:58 + make test 03:12:58 go test ./... -coverprofile=coverage.out ./... 03:13:04 ? github.com/edgexfoundry/device-rest-go [no test files] 03:17:26 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 03:17:26 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 32.2% of statements 03:17:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:17:26 go vet ./... 03:18:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:18:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:18:34 ./bin/test-attribution-txt.sh 03:18:34 An attribution for github.com/cespare/xxhash/v2 is missing from Attribution.txt, please add [Pipeline] echo 03:18:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:18:34 $ docker stop --time=1 30f20dab68b7e2a5ff7d5f4d3a3e4f6a7f6b9fdc53f9dae7f04005743a81be33 03:18:36 $ docker rm -f --volumes 30f20dab68b7e2a5ff7d5f4d3a3e4f6a7f6b9fdc53f9dae7f04005743a81be33 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:18:38 Warning: overwriting stash ‘coverage-report’ 03:18:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:18:39 + ls -al . 03:18:39 total 244 03:18:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 03:13 . 03:18:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 03:09 .. 03:18:39 -rw-rw-r-- 1 jenkins jenkins 151 Mar 16 03:10 .dockerignore 03:18:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 03:10 .git 03:18:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 03:10 .github 03:18:39 -rw-rw-r-- 1 jenkins jenkins 264 Mar 16 03:10 .gitignore 03:18:39 -rw-rw-r-- 1 jenkins jenkins 359 Mar 16 03:10 .golangci.yml 03:18:39 -rw-rw-r-- 1 jenkins jenkins 22791 Mar 16 03:10 Attribution.txt 03:18:39 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 16 03:10 CHANGELOG.md 03:18:39 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 16 03:10 Dockerfile 03:18:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 03:10 GOVERNANCE.md 03:18:39 -rw-rw-r-- 1 jenkins jenkins 704 Mar 16 03:10 Jenkinsfile 03:18:39 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 03:10 LICENSE 03:18:39 -rw-rw-r-- 1 jenkins jenkins 2597 Mar 16 03:10 Makefile 03:18:39 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 03:10 OWNERS.md 03:18:39 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 16 03:10 README.md 03:18:39 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 03:07 VERSION 03:18:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 03:10 bin 03:18:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 03:10 cmd 03:18:39 -rw-r--r-- 1 jenkins jenkins 14565 Mar 16 03:17 coverage.out 03:18:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 03:10 driver 03:18:39 -rw-rw-r-- 1 jenkins jenkins 6821 Mar 16 03:10 go.mod 03:18:39 -rw-rw-r-- 1 jenkins jenkins 89294 Mar 16 03:10 go.sum 03:18:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 03:10 openapi 03:18:39 -rw-rw-r-- 1 jenkins jenkins 713 Mar 16 03:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:39 + 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=3991c903302a7d9adf12b9af461746031ae8458c --label arch=arm64 --label version=4.1.0-dev.22 . 03:18:39 Sending build context to Docker daemon 160.3kB 03:18:40 Step 1/26 : ARG BASE=golang:1.25-alpine3.22 03:18:40 Step 2/26 : FROM ${BASE} AS builder 03:18:40 ---> cf0d7b338196 03:18:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:18:40 ---> Running in a0855f4bb995 03:18:40 Removing intermediate container a0855f4bb995 03:18:40 ---> c95e132c9dd5 03:18:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:18:40 ---> Running in aa9118992eed 03:18:41 Removing intermediate container aa9118992eed 03:18:41 ---> 850edca29a0f 03:18:41 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:18:41 ---> Running in ce90a6665363 03:18:41 Removing intermediate container ce90a6665363 03:18:41 ---> 88e66ce8645b 03:18:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:18:41 ---> Running in 0b454ea04cd6 03:18:41 Removing intermediate container 0b454ea04cd6 03:18:41 ---> 6383ee72a345 03:18:41 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:41 ---> Running in 89b53de6995b 03:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:18:45 OK: 259 MiB in 64 packages 03:18:48 Removing intermediate container 89b53de6995b 03:18:48 ---> e4ffe9633182 03:18:48 Step 8/26 : WORKDIR /device-rest-go 03:18:48 ---> Running in 9ef5b6473389 03:18:48 Removing intermediate container 9ef5b6473389 03:18:48 ---> d9699ff1f9d9 03:18:48 Step 9/26 : COPY go.mod vendor* ./ 03:18:48 ---> 36db65043c92 03:18:48 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:48 ---> Running in b1170b53eee7 03:18:51 Removing intermediate container b1170b53eee7 03:18:51 ---> c7b48d3054c1 03:18:51 Step 11/26 : COPY . . 03:18:51 ---> 9a41f56e6943 03:18:51 Step 12/26 : RUN $MAKE 03:18:51 ---> Running in 10ac40aac93c 03:18:52 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.57 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:23:14 Removing intermediate container 10ac40aac93c 03:23:14 ---> 030ac301ce07 03:23:14 Step 13/26 : FROM alpine:3.22 03:23:15 3.22: Pulling from library/alpine 03:23:15 d741ee1608f3: Pulling fs layer 03:23:15 d741ee1608f3: Download complete 03:23:16 d741ee1608f3: Pull complete 03:23:16 Digest: sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 03:23:16 Status: Downloaded newer image for alpine:3.22 03:23:16 ---> 5a766deef0c8 03:23:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:23:16 ---> Running in e8a9e25a6846 03:23:16 Removing intermediate container e8a9e25a6846 03:23:16 ---> 063610128e04 03:23:16 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:23:16 ---> Running in e354a62cc4c3 03:23:17 Removing intermediate container e354a62cc4c3 03:23:17 ---> d7fa77bc98d5 03:23:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:23:17 ---> Running in ae3154f5f380 03:23:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:23:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:23:20 (1/1) Installing dumb-init (1.2.5-r3) 03:23:20 Executing busybox-1.37.0-r20.trigger 03:23:20 OK: 8 MiB in 17 packages 03:23:22 Removing intermediate container ae3154f5f380 03:23:22 ---> b2cc221b0747 03:23:22 Step 17/26 : RUN apk --no-cache upgrade 03:23:22 ---> Running in e55c78896b12 03:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:23:25 OK: 8 MiB in 17 packages 03:23:26 Removing intermediate container e55c78896b12 03:23:26 ---> 38eecea1e6b8 03:23:26 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:23:30 ---> 325d22df630e 03:23:30 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:23:31 ---> dd5668279ae5 03:23:31 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:23:31 ---> 79d3d3c5ef30 03:23:31 Step 21/26 : EXPOSE 59986 03:23:31 ---> Running in 74efc01606e5 03:23:32 Removing intermediate container 74efc01606e5 03:23:32 ---> c40228323e91 03:23:32 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:23:32 ---> Running in 0ad7b79a3f59 03:23:32 Removing intermediate container 0ad7b79a3f59 03:23:32 ---> 667df07a9f88 03:23:32 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:23:32 ---> Running in 3992d6dc8de3 03:23:32 Removing intermediate container 3992d6dc8de3 03:23:32 ---> 6e4036c347b7 03:23:32 Step 24/26 : LABEL arch=arm64 03:23:32 ---> Running in 487ae5bc1078 03:23:33 Removing intermediate container 487ae5bc1078 03:23:33 ---> d00f841b6879 03:23:33 Step 25/26 : LABEL git_sha=3991c903302a7d9adf12b9af461746031ae8458c 03:23:33 ---> Running in 64bd8c9574c4 03:23:33 Removing intermediate container 64bd8c9574c4 03:23:33 ---> 4f560038d58f 03:23:33 Step 26/26 : LABEL version=4.1.0-dev.22 03:23:33 ---> Running in 57cf36eccfdf 03:23:34 Removing intermediate container 57cf36eccfdf 03:23:34 ---> 7dd1c79cfde2 03:23:34 [Warning] One or more build-args [ARCH] were not consumed 03:23:34 Successfully built 7dd1c79cfde2 03:23:34 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:34 provisioning config files... 03:23:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/229@tmp/config2457560825321162407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:34 ---> ****-login.sh 03:23:34 nexus3.edgexfoundry.org:10001 03:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:35 Configure a credential helper to remove this warning. See 03:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:35 03:23:35 Login Succeeded 03:23:35 nexus3.edgexfoundry.org:10002 03:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:35 Configure a credential helper to remove this warning. See 03:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:35 03:23:35 Login Succeeded 03:23:35 nexus3.edgexfoundry.org:10003 03:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:35 Configure a credential helper to remove this warning. See 03:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:35 03:23:35 Login Succeeded 03:23:35 nexus3.edgexfoundry.org:10004 03:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:36 Configure a credential helper to remove this warning. See 03:23:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:36 03:23:36 Login Succeeded 03:23:36 ****.io 03:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:37 Configure a credential helper to remove this warning. See 03:23:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:37 03:23:37 Login Succeeded 03:23:37 ---> ****-login.sh ends [Pipeline] } 03:23:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:23:37 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:23:37 3991c903302a7d9adf12b9af461746031ae8458c 03:23:37 latest 03:23:37 4.1.0-dev.22 03:23:37 3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:23:37 main 03:23:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c 03:23:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:37 01ca5b30ce65: Preparing 03:23:37 c616a61b47f7: Preparing 03:23:37 7325bfb68870: Preparing 03:23:37 ee3f135afbdb: Preparing 03:23:37 6018617de9bf: Preparing 03:23:37 c4e71c2a4573: Preparing 03:23:37 c4e71c2a4573: Waiting 03:23:38 01ca5b30ce65: Pushed 03:23:38 c616a61b47f7: Pushed 03:23:38 ee3f135afbdb: Pushed 03:23:38 6018617de9bf: Pushed 03:23:38 c4e71c2a4573: Layer already exists 03:23:48 7325bfb68870: Pushed 03:23:48 3991c903302a7d9adf12b9af461746031ae8458c: digest: sha256:4e00e156b20c49a536889668f27fa243695bcb9825ffa8df5db1008ea07ea36e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:23:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:48 01ca5b30ce65: Preparing 03:23:48 c616a61b47f7: Preparing 03:23:48 7325bfb68870: Preparing 03:23:48 ee3f135afbdb: Preparing 03:23:48 6018617de9bf: Preparing 03:23:48 c4e71c2a4573: Preparing 03:23:48 6018617de9bf: Layer already exists 03:23:48 ee3f135afbdb: Layer already exists 03:23:48 01ca5b30ce65: Layer already exists 03:23:48 7325bfb68870: Layer already exists 03:23:48 c616a61b47f7: Layer already exists 03:23:48 c4e71c2a4573: Layer already exists 03:23:49 latest: digest: sha256:4e00e156b20c49a536889668f27fa243695bcb9825ffa8df5db1008ea07ea36e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 03:23:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:49 01ca5b30ce65: Preparing 03:23:49 c616a61b47f7: Preparing 03:23:49 7325bfb68870: Preparing 03:23:49 ee3f135afbdb: Preparing 03:23:49 6018617de9bf: Preparing 03:23:49 c4e71c2a4573: Preparing 03:23:49 c4e71c2a4573: Waiting 03:23:49 6018617de9bf: Layer already exists 03:23:49 01ca5b30ce65: Layer already exists 03:23:49 c616a61b47f7: Layer already exists 03:23:49 7325bfb68870: Layer already exists 03:23:49 ee3f135afbdb: Layer already exists 03:23:49 c4e71c2a4573: Layer already exists 03:23:50 4.1.0-dev.22: digest: sha256:4e00e156b20c49a536889668f27fa243695bcb9825ffa8df5db1008ea07ea36e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:23:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:50 01ca5b30ce65: Preparing 03:23:50 c616a61b47f7: Preparing 03:23:50 7325bfb68870: Preparing 03:23:50 ee3f135afbdb: Preparing 03:23:50 6018617de9bf: Preparing 03:23:50 c4e71c2a4573: Preparing 03:23:50 c4e71c2a4573: Waiting 03:23:50 c616a61b47f7: Layer already exists 03:23:50 6018617de9bf: Layer already exists 03:23:50 ee3f135afbdb: Layer already exists 03:23:50 01ca5b30ce65: Layer already exists 03:23:50 7325bfb68870: Layer already exists 03:23:50 c4e71c2a4573: Layer already exists 03:23:51 3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22: digest: sha256:4e00e156b20c49a536889668f27fa243695bcb9825ffa8df5db1008ea07ea36e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:23:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:51 01ca5b30ce65: Preparing 03:23:51 c616a61b47f7: Preparing 03:23:51 7325bfb68870: Preparing 03:23:51 ee3f135afbdb: Preparing 03:23:51 6018617de9bf: Preparing 03:23:51 c4e71c2a4573: Preparing 03:23:51 c4e71c2a4573: Waiting 03:23:51 01ca5b30ce65: Layer already exists 03:23:51 6018617de9bf: Layer already exists 03:23:51 ee3f135afbdb: Layer already exists 03:23:51 c616a61b47f7: Layer already exists 03:23:51 7325bfb68870: Layer already exists 03:23:51 c4e71c2a4573: Layer already exists 03:23:52 main: digest: sha256:4e00e156b20c49a536889668f27fa243695bcb9825ffa8df5db1008ea07ea36e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:23:52 ===================================================== [Pipeline] echo 03:23:52 taggedImages: 03:23:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c 03:23:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:23:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 03:23:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 03:23:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 03:23:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c [Pipeline] echo 03:23:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 03:23:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 [Pipeline] echo 03:23:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:3991c903302a7d9adf12b9af461746031ae8458c-4.1.0-dev.22 [Pipeline] echo 03:23:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:52 03:23:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:53 arm64: Pulling from edgex-lftools-log-publisher 03:23:53 8998bd30e6a1: Pulling fs layer 03:23:53 04944245beec: Pulling fs layer 03:23:53 699f458cf7ca: Pulling fs layer 03:23:53 765212b225bb: Pulling fs layer 03:23:53 f23df028b6ca: Pulling fs layer 03:23:53 d65c8cfc05b1: Pulling fs layer 03:23:53 2437ff75d9bd: Pulling fs layer 03:23:53 765212b225bb: Waiting 03:23:53 f23df028b6ca: Waiting 03:23:53 2437ff75d9bd: Waiting 03:23:53 d65c8cfc05b1: Waiting 03:23:53 04944245beec: Verifying Checksum 03:23:53 765212b225bb: Verifying Checksum 03:23:53 765212b225bb: Download complete 03:23:53 f23df028b6ca: Verifying Checksum 03:23:53 f23df028b6ca: Download complete 03:23:53 d65c8cfc05b1: Verifying Checksum 03:23:53 d65c8cfc05b1: Download complete 03:23:53 699f458cf7ca: Verifying Checksum 03:23:53 699f458cf7ca: Download complete 03:23:53 8998bd30e6a1: Download complete 03:23:56 2437ff75d9bd: Verifying Checksum 03:23:56 2437ff75d9bd: Download complete 03:23:58 8998bd30e6a1: Pull complete 03:23:59 04944245beec: Pull complete 03:24:00 699f458cf7ca: Pull complete 03:24:00 765212b225bb: Pull complete 03:24:01 f23df028b6ca: Pull complete 03:24:01 d65c8cfc05b1: Pull complete 03:24:19 2437ff75d9bd: Pull complete 03:24:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:24:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:20 prd-ubuntu20.04-docker-arm64-4c-16g-3527 does not seem to be running inside a container 03:24:20 $ 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/229 -v /w/workspace/device-rest-go/229:/w/workspace/device-rest-go/229:rw,z -v /w/workspace/device-rest-go/229@tmp:/w/workspace/device-rest-go/229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:24:23 $ docker top 9be95f2a705ef900fbbf50ff8aefbb11e7c49c96651b57a51117f386ddceaa08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:24 ---> job-cost.sh 03:24:24 lf-activate-venv: SKIPPING 03:24:24 INFO: No Stack... 03:24:24 INFO: Retrieving Pricing Info for: v3-standard-4 03:24:25 INFO: Archiving Costs [Pipeline] sh 03:24:26 + cut -d, -f6 03:24:26 + cat /w/workspace/device-rest-go/229/archives/cost.csv [Pipeline] lock 03:24:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] 03:24:26 Resource [jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] did not exist. Created. 03:24:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:24:27 + echo total: 0.10999999940395355 [Pipeline] stash 03:24:27 Stashed 1 file(s) [Pipeline] } 03:24:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] [Pipeline] // lock [Pipeline] } 03:24:27 $ docker stop --time=1 9be95f2a705ef900fbbf50ff8aefbb11e7c49c96651b57a51117f386ddceaa08 03:24:28 $ docker rm -f --volumes 9be95f2a705ef900fbbf50ff8aefbb11e7c49c96651b57a51117f386ddceaa08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:06:46 Cancelling nested steps due to timeout 09:06:46 Sending interrupt signal to process 09:06:55 script returned exit code 143 [Pipeline] } 09:06:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:06:56 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 09:06:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:06:57 ---> package-listing.sh 09:06:57 ++ facter osfamily 09:06:57 ++ tr '[:upper:]' '[:lower:]' 09:06:57 + OS_FAMILY=redhat 09:06:57 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:06:57 + START_PACKAGES=/tmp/packages_start.txt 09:06:57 + END_PACKAGES=/tmp/packages_end.txt 09:06:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:06:57 + PACKAGES=/tmp/packages_start.txt 09:06:57 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:06:57 + PACKAGES=/tmp/packages_end.txt 09:06:57 + case "${OS_FAMILY}" in 09:06:57 + sort 09:06:57 + rpm -qa 09:06:58 + '[' -f /tmp/packages_start.txt ']' 09:06:58 + '[' -f /tmp/packages_end.txt ']' 09:06:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:06:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:06:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:06:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:06:58 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:06:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:06:58 09:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:06:59 latest: Pulling from edgex-lftools-log-publisher 09:06:59 5eb5b503b376: Pulling fs layer 09:06:59 5c69ac0246d0: Pulling fs layer 09:06:59 ec43610c2a17: Pulling fs layer 09:06:59 3a2ae6a8a46f: Pulling fs layer 09:06:59 33b1e0a273af: Pulling fs layer 09:06:59 5d3b04190fa2: Pulling fs layer 09:06:59 2f39f015ded8: Pulling fs layer 09:06:59 3a2ae6a8a46f: Waiting 09:06:59 33b1e0a273af: Waiting 09:06:59 5d3b04190fa2: Waiting 09:06:59 2f39f015ded8: Waiting 09:06:59 5c69ac0246d0: Verifying Checksum 09:06:59 5c69ac0246d0: Download complete 09:06:59 3a2ae6a8a46f: Verifying Checksum 09:06:59 3a2ae6a8a46f: Download complete 09:06:59 33b1e0a273af: Verifying Checksum 09:06:59 33b1e0a273af: Download complete 09:06:59 ec43610c2a17: Verifying Checksum 09:06:59 ec43610c2a17: Download complete 09:06:59 5d3b04190fa2: Verifying Checksum 09:06:59 5d3b04190fa2: Download complete 09:06:59 5eb5b503b376: Verifying Checksum 09:06:59 5eb5b503b376: Download complete 09:07:00 2f39f015ded8: Verifying Checksum 09:07:00 2f39f015ded8: Download complete 09:07:00 5eb5b503b376: Pull complete 09:07:00 5c69ac0246d0: Pull complete 09:07:01 ec43610c2a17: Pull complete 09:07:01 3a2ae6a8a46f: Pull complete 09:07:01 33b1e0a273af: Pull complete 09:07:01 5d3b04190fa2: Pull complete 09:07:05 2f39f015ded8: Pull complete 09:07:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:07:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:06 prd-centos7-docker-4c-2g-3530 does not seem to be running inside a container 09:07:06 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools-log-publisher:latest cat 09:07:09 $ docker top 3dbcbd84842c91a3aac0db1b27427bb189c0078e06114edac2dc4c540e42338c -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:09 + touch /tmp/pre-build-complete [Pipeline] sh 09:07:09 + mkdir -p /var/log/sysstat [Pipeline] sh 09:07:10 + ls /var/log/sa-host 09:07:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:10 provisioning config files... 09:07:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13665791129531983277tmp [Pipeline] { [Pipeline] echo 09:07:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:07:10 ---> create-netrc.sh [Pipeline] } 09:07:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:07:11 ---> python-tools-install.sh [Pipeline] echo 09:07:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:07:11 ---> sudo-logs.sh 09:07:11 Archiving 'sudo' log.. 09:07:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-3530.novalocal: Name or service not known 09:07:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-3530.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:07:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:07:11 ---> job-cost.sh 09:07:11 lf-activate-venv: SKIPPING 09:07:11 DEBUG: total: 0.10999999940395355 09:07:11 INFO: Retrieving Stack Cost... 09:07:11 INFO: Retrieving Pricing Info for: v3-standard-2 09:07:12 INFO: Archiving Costs [Pipeline] echo 09:07:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:07:12 ---> logs-deploy.sh 09:07:12 lf-activate-venv: SKIPPING 09:07:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/229 09:07:12 INFO: archiving workspace using pattern(s): 09:07:13 Archives upload complete. 09:07:13 INFO: archiving logs to Nexus 09:07:14 ---> uname -a: 09:07:14 Linux prd-centos7-docker-4c-2g-3530.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 09:07:14 09:07:14 09:07:14 ---> lscpu: 09:07:14 Architecture: x86_64 09:07:14 CPU op-mode(s): 32-bit, 64-bit 09:07:14 Byte Order: Little Endian 09:07:14 Address sizes: 40 bits physical, 48 bits virtual 09:07:14 CPU(s): 2 09:07:14 On-line CPU(s) list: 0,1 09:07:14 Thread(s) per core: 1 09:07:14 Core(s) per socket: 1 09:07:14 Socket(s): 2 09:07:14 NUMA node(s): 1 09:07:14 Vendor ID: AuthenticAMD 09:07:14 CPU family: 23 09:07:14 Model: 49 09:07:14 Model name: AMD EPYC-Rome Processor 09:07:14 Stepping: 0 09:07:14 CPU MHz: 2799.998 09:07:14 BogoMIPS: 5599.99 09:07:14 Virtualization: AMD-V 09:07:14 Hypervisor vendor: KVM 09:07:14 Virtualization type: full 09:07:14 L1d cache: 64 KiB 09:07:14 L1i cache: 64 KiB 09:07:14 L2 cache: 1 MiB 09:07:14 L3 cache: 32 MiB 09:07:14 NUMA node0 CPU(s): 0,1 09:07:14 Vulnerability Itlb multihit: Not affected 09:07:14 Vulnerability L1tf: Not affected 09:07:14 Vulnerability Mds: Not affected 09:07:14 Vulnerability Meltdown: Not affected 09:07:14 Vulnerability Mmio stale data: Not affected 09:07:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:07:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:07:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:07:14 Vulnerability Srbds: Not affected 09:07:14 Vulnerability Tsx async abort: Not affected 09:07:14 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 art rep_good nopl extd_apicid eagerfpu 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 09:07:14 09:07:14 09:07:14 ---> nproc: 09:07:14 2 09:07:14 09:07:14 09:07:14 ---> df -h: 09:07:14 Filesystem Size Used Avail Use% Mounted on 09:07:14 overlay 40G 6.8G 34G 17% / 09:07:14 tmpfs 64M 0 64M 0% /dev 09:07:14 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 09:07:14 shm 64M 0 64M 0% /dev/shm 09:07:14 /dev/vda1 40G 6.8G 34G 17% /facter-os 09:07:14 09:07:14 09:07:14 Cannot open /var/log/sysstat/sa16: No such file or directory 09:07:14 Please check if data collecting is enabled 09:07:14 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:07:14 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 09:07:14 $ docker stop --time=1 3dbcbd84842c91a3aac0db1b27427bb189c0078e06114edac2dc4c540e42338c 09:07:15 $ docker rm -f --volumes 3dbcbd84842c91a3aac0db1b27427bb189c0078e06114edac2dc4c540e42338c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 09:07:15 [WS-CLEANUP] Deleting project workspace... 09:07:15 [WS-CLEANUP] Deferred wipeout is used... 09:07:15 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:07:16 09:07:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:07:16 latest: Pulling from edgex-lftools-log-publisher 09:07:16 5eb5b503b376: Pulling fs layer 09:07:16 5c69ac0246d0: Pulling fs layer 09:07:16 ec43610c2a17: Pulling fs layer 09:07:16 3a2ae6a8a46f: Pulling fs layer 09:07:16 33b1e0a273af: Pulling fs layer 09:07:16 5d3b04190fa2: Pulling fs layer 09:07:16 2f39f015ded8: Pulling fs layer 09:07:16 3a2ae6a8a46f: Waiting 09:07:16 33b1e0a273af: Waiting 09:07:16 5d3b04190fa2: Waiting 09:07:16 2f39f015ded8: Waiting 09:07:16 5c69ac0246d0: Download complete 09:07:16 3a2ae6a8a46f: Download complete 09:07:16 33b1e0a273af: Verifying Checksum 09:07:16 33b1e0a273af: Download complete 09:07:16 ec43610c2a17: Verifying Checksum 09:07:16 ec43610c2a17: Download complete 09:07:16 5d3b04190fa2: Verifying Checksum 09:07:16 5d3b04190fa2: Download complete 09:07:16 5eb5b503b376: Verifying Checksum 09:07:16 5eb5b503b376: Download complete 09:07:17 2f39f015ded8: Verifying Checksum 09:07:17 2f39f015ded8: Download complete 09:07:18 5eb5b503b376: Pull complete 09:07:18 5c69ac0246d0: Pull complete 09:07:18 ec43610c2a17: Pull complete 09:07:18 3a2ae6a8a46f: Pull complete 09:07:19 33b1e0a273af: Pull complete 09:07:19 5d3b04190fa2: Pull complete 09:07:24 2f39f015ded8: Pull complete 09:07:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:07:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:07:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:24 prd-ubuntu20.04-docker-8c-8g-3523 does not seem to be running inside a container 09:07:24 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:07:25 $ docker top 5170131f7f78b43dc8d37f0fac1d4d3b9b15cd25f4a44ba7042cba11e2cfd170 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:26 ---> job-cost.sh 09:07:26 lf-activate-venv: SKIPPING 09:07:26 INFO: No Stack... 09:07:26 INFO: Retrieving Pricing Info for: v3-standard-8 09:07:26 INFO: Archiving Costs [Pipeline] sh 09:07:27 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 09:07:27 + cut -d, -f6 [Pipeline] lock 09:07:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] 09:07:27 Resource [jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] did not exist. Created. 09:07:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:07:27 /w/workspace/edgexfoundry_device-rest-go_main@tmp/durable-a1857c6e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:07:27 + echo total: 1.5299999713897705 [Pipeline] stash 09:07:27 Warning: overwriting stash ‘stack-cost’ 09:07:27 Stashed 1 file(s) [Pipeline] } 09:07:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-229-stack-cost] [Pipeline] // lock [Pipeline] } 09:07:27 $ docker stop --time=1 5170131f7f78b43dc8d37f0fac1d4d3b9b15cd25f4a44ba7042cba11e2cfd170 09:07:28 $ docker rm -f --volumes 5170131f7f78b43dc8d37f0fac1d4d3b9b15cd25f4a44ba7042cba11e2cfd170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:07:28 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:07:29 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 09:07:29 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:07:29 total 16 09:07:29 drwxr-xr-x 3 root root 4096 Mar 16 09:07 . 09:07:29 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 09:07 .. 09:07:29 drwxr-xr-x 2 root root 4096 Mar 16 09:07 cost 09:07:29 -rw-r--r-- 1 root root 88 Mar 16 09:07 cost.csv 09:07:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 09:07:29 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:07:29 total 16 09:07:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 09:07 . 09:07:29 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 09:07 .. 09:07:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 09:07 cost 09:07:29 -rw-r--r-- 1 jenkins jenkins 88 Mar 16 09:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:07:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:07:30 ---> package-listing.sh 09:07:30 ++ facter osfamily 09:07:30 ++ tr '[:upper:]' '[:lower:]' 09:07:31 + OS_FAMILY=debian 09:07:31 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:07:31 + START_PACKAGES=/tmp/packages_start.txt 09:07:31 + END_PACKAGES=/tmp/packages_end.txt 09:07:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:07:31 + PACKAGES=/tmp/packages_start.txt 09:07:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:07:31 + PACKAGES=/tmp/packages_end.txt 09:07:31 + case "${OS_FAMILY}" in 09:07:31 + dpkg -l 09:07:31 + grep '^ii' 09:07:31 + '[' -f /tmp/packages_start.txt ']' 09:07:31 + '[' -f /tmp/packages_end.txt ']' 09:07:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:07:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:07:31 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:07:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:07:31 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:07:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:31 prd-ubuntu20.04-docker-8c-8g-3523 does not seem to be running inside a container 09:07:32 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools-log-publisher:latest cat 09:07:32 $ docker top 846cf0acb3a36273397267aaaec9280ccab63dc256c0f1edd363991ce2b94223 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:32 + touch /tmp/pre-build-complete [Pipeline] sh 09:07:32 + mkdir -p /var/log/sysstat [Pipeline] sh 09:07:33 + ls /var/log/sa-host 09:07:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:33 provisioning config files... 09:07:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6981251086997496513tmp [Pipeline] { [Pipeline] echo 09:07:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:07:33 ---> create-netrc.sh [Pipeline] } 09:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:07:33 ---> python-tools-install.sh [Pipeline] echo 09:07:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:07:34 ---> sudo-logs.sh 09:07:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:07:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:07:34 ---> job-cost.sh 09:07:34 lf-activate-venv: SKIPPING 09:07:34 DEBUG: total: 1.5299999713897705 09:07:34 INFO: Retrieving Stack Cost... 09:07:34 INFO: Retrieving Pricing Info for: v3-standard-8 09:07:34 INFO: Archiving Costs [Pipeline] echo 09:07:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:07:34 ---> logs-deploy.sh 09:07:34 lf-activate-venv: SKIPPING 09:07:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/229 09:07:34 INFO: archiving workspace using pattern(s): 09:07:35 Archives upload complete. 09:07:35 INFO: archiving logs to Nexus