Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 629b5fd22bdbded9c224f315f990b52bbba2d066 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-ssh17664295835025602954.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17380836211683107809.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh5051953397495674576.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh12897275331530882053.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-ssh8298473136675150712.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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7045 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 > 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 Avoid second fetch Checking out Revision 629b5fd22bdbded9c224f315f990b52bbba2d066 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#488)" > git config core.sparsecheckout # timeout=10 > git checkout -f 629b5fd22bdbded9c224f315f990b52bbba2d066 # timeout=10 > git rev-list --no-walk 38fb2f72f8afe33a3dcf5a6cbd0d1c3596858885 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:12:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:12:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:12:53 ========================================================= 02:12:53 EdgeX Global Pipelines Version Info 02:12:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:12:54 ------------------- 02:12:54 stable info: 02:12:54 ------------------- 02:12:54 Commited By: Cherry Wang cherry@iotechsys.com 02:12:54 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 02:12:54 Message: update stable to v1.0.276 02:12:55 ------------------- 02:12:55 experimental info: 02:12:55 ------------------- 02:12:55 Commited By: **** collab-it+edgex@linuxfoundation.org 02:12:55 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 02:12:55 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] echo 02:12:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 629b5fd [Pipeline] echo 02:12:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:56 provisioning config files... 02:12:56 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11791366638789079749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:56 ---> ****-login.sh 02:12:56 nexus3.edgexfoundry.org:10001 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:56 02:12:56 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:12:56 Configure a credential helper to remove this warning. See 02:12:56 https://docs.****.com/go/credential-store/ 02:12:56 02:12:56 Login Succeeded 02:12:56 nexus3.edgexfoundry.org:10002 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:56 02:12:56 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:12:56 Configure a credential helper to remove this warning. See 02:12:56 https://docs.****.com/go/credential-store/ 02:12:56 02:12:56 Login Succeeded 02:12:56 nexus3.edgexfoundry.org:10003 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:56 02:12:56 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:12:56 Configure a credential helper to remove this warning. See 02:12:56 https://docs.****.com/go/credential-store/ 02:12:56 02:12:56 Login Succeeded 02:12:56 nexus3.edgexfoundry.org:10004 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:56 02:12:56 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:12:56 Configure a credential helper to remove this warning. See 02:12:56 https://docs.****.com/go/credential-store/ 02:12:56 02:12:56 Login Succeeded 02:12:56 ****.io 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:57 02:12:57 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:12:57 Configure a credential helper to remove this warning. See 02:12:57 https://docs.****.com/go/credential-store/ 02:12:57 02:12:57 Login Succeeded 02:12:57 ---> ****-login.sh ends [Pipeline] } 02:12:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:12:57 + git rev-list -1 --merges 629b5fd22bdbded9c224f315f990b52bbba2d066~1..629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] echo 02:12:57 -----------> git rev-list -1 --merges 629b5fd22bdbded9c224f315f990b52bbba2d066~1..629b5fd22bdbded9c224f315f990b52bbba2d066 629b5fd22bdbded9c224f315f990b52bbba2d066 [false] [Pipeline] sh 02:12:57 + git log --format=format:%s -1 629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] echo 02:12:57 ========================================================= 02:12:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:12:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:58 + git log --format=format:%s -1 629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] echo 02:12:58 [semverPrep] GIT_COMMIT: 629b5fd22bdbded9c224f315f990b52bbba2d066, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#488) [Pipeline] echo 02:12:58 [semverPrep] This is not a build commit. [Pipeline] sh 02:12:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:12:58 + grep -v github /etc/ssh/ssh_known_hosts 02:12:58 + [ -e /tmp/ssh_known_hosts ] 02:12:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:12:58 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:12:58 sudo tee -a /etc/ssh/ssh_known_hosts 02:12:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:12:59 02:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:12:59 0.1.4: Pulling from edgex-devops/py-git-semver 02:12:59 3dae71ba6b94: Pulling fs layer 02:12:59 6bf1a483ea7c: Pulling fs layer 02:12:59 f5dfc541a4d3: Pulling fs layer 02:12:59 461d9e800cba: Pulling fs layer 02:12:59 80192f66455f: Pulling fs layer 02:12:59 2e8e34ca0e6c: Pulling fs layer 02:12:59 a29436f7fd5d: Pulling fs layer 02:12:59 923cac83aea3: Pulling fs layer 02:12:59 25ad8b0a4227: Pulling fs layer 02:12:59 db01528c6b51: Pulling fs layer 02:12:59 28988de357af: Pulling fs layer 02:12:59 a29436f7fd5d: Waiting 02:12:59 923cac83aea3: Waiting 02:12:59 25ad8b0a4227: Waiting 02:12:59 db01528c6b51: Waiting 02:12:59 461d9e800cba: Waiting 02:12:59 28988de357af: Waiting 02:12:59 80192f66455f: Waiting 02:12:59 2e8e34ca0e6c: Waiting 02:12:59 6bf1a483ea7c: Verifying Checksum 02:12:59 6bf1a483ea7c: Download complete 02:12:59 461d9e800cba: Verifying Checksum 02:12:59 461d9e800cba: Download complete 02:12:59 80192f66455f: Verifying Checksum 02:12:59 80192f66455f: Download complete 02:12:59 f5dfc541a4d3: Verifying Checksum 02:12:59 f5dfc541a4d3: Download complete 02:12:59 3dae71ba6b94: Verifying Checksum 02:12:59 3dae71ba6b94: Download complete 02:12:59 923cac83aea3: Verifying Checksum 02:12:59 923cac83aea3: Download complete 02:12:59 25ad8b0a4227: Verifying Checksum 02:12:59 25ad8b0a4227: Download complete 02:12:59 db01528c6b51: Download complete 02:12:59 28988de357af: Download complete 02:12:59 a29436f7fd5d: Verifying Checksum 02:12:59 a29436f7fd5d: Download complete 02:13:00 2e8e34ca0e6c: Verifying Checksum 02:13:00 2e8e34ca0e6c: Download complete 02:13:01 3dae71ba6b94: Pull complete 02:13:01 6bf1a483ea7c: Pull complete 02:13:01 f5dfc541a4d3: Pull complete 02:13:01 461d9e800cba: Pull complete 02:13:01 80192f66455f: Pull complete 02:13:06 2e8e34ca0e6c: Pull complete 02:13:06 a29436f7fd5d: Pull complete 02:13:06 923cac83aea3: Pull complete 02:13:06 25ad8b0a4227: Pull complete 02:13:06 db01528c6b51: Pull complete 02:13:06 28988de357af: Pull complete 02:13:06 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:06 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:13:06 $ 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 02:13:09 $ docker top d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 -eo pid,comm 02:13:09 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). 02:13:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:09 [ssh-agent] Looking for ssh-agent implementation... 02:13:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:09 $ docker exec d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 ssh-agent 02:13:09 SSH_AUTH_SOCK=/tmp/ssh-H4m2krtfX5dK/agent.32 02:13:09 SSH_AGENT_PID=38 02:13:09 Running ssh-add (command line suppressed) 02:13:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16019295520400563682.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16019295520400563682.key) 02:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 02:13:10 + git tag --points-at HEAD [Pipeline] } 02:13:10 $ docker exec --env ******** --env ******** d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 ssh-agent -k 02:13:10 unset SSH_AUTH_SOCK; 02:13:10 unset SSH_AGENT_PID; 02:13:10 echo Agent pid 38 killed; 02:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:10 [ssh-agent] Looking for ssh-agent implementation... 02:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:10 $ docker exec d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 ssh-agent 02:13:11 SSH_AUTH_SOCK=/tmp/ssh-4lHqfA5ygecI/agent.85 02:13:11 SSH_AGENT_PID=91 02:13:11 Running ssh-add (command line suppressed) 02:13:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6758466507962350086.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6758466507962350086.key) 02:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:11 + git semver init 02:13:11 2025-08-15 02:13:11,657 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:13:11 2025-08-15 02:13:11,661 [run_init] DEBUG init version:0.0.0 force:False 02:13:11 2025-08-15 02:13:11,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:13:11 2025-08-15 02:13:11,662 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:13:11 2025-08-15 02:13:11,663 [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) 02:13:13 2025-08-15 02:13:13,060 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:13:13 2025-08-15 02:13:13,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:13:13 2025-08-15 02:13:13,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:13:13 2025-08-15 02:13:13,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:13:13 4.1.0-dev.10 [Pipeline] } 02:13:13 $ docker exec --env ******** --env ******** d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 ssh-agent -k 02:13:13 unset SSH_AUTH_SOCK; 02:13:13 unset SSH_AGENT_PID; 02:13:13 echo Agent pid 91 killed; 02:13:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:13 + git semver [Pipeline] } 02:13:14 $ docker stop --time=1 d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 02:13:15 $ docker rm -f --volumes d7ac4cd7b3a833ce24609cd9119c4416f9b1a198102e9b6e85c60967b9af66e6 [Pipeline] // withDockerContainer [Pipeline] sh 02:13:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:13:15 Stashed 1 file(s) [Pipeline] echo 02:13:15 [edgeXSemver]: initialized semver on version 4.1.0-dev.10 [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 02:13:16 provisioning config files... 02:13:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3902534142842515438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:16 ---> ****-login.sh 02:13:16 nexus3.edgexfoundry.org:10001 02:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:16 Login Succeeded 02:13:16 nexus3.edgexfoundry.org:10002 02:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:16 Login Succeeded 02:13:16 nexus3.edgexfoundry.org:10003 02:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:16 Login Succeeded 02:13:16 nexus3.edgexfoundry.org:10004 02:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:16 Login Succeeded 02:13:16 ****.io 02:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:16 Login Succeeded 02:13:16 ---> ****-login.sh ends [Pipeline] } 02:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:13:17 ========================================================= 02:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 02:13:18 #0 building with "default" instance using docker driver 02:13:18 02:13:18 #1 [internal] load build definition from Dockerfile 02:13:18 #1 transferring dockerfile: 1.74kB done 02:13:18 #1 DONE 0.0s 02:13:18 02:13:18 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:13:18 #2 DONE 0.1s 02:13:18 02:13:18 #3 [internal] load .dockerignore 02:13:18 #3 transferring context: 193B done 02:13:18 #3 DONE 0.0s 02:13:18 02:13:18 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 02:13:18 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 02:13:18 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 02:13:18 #4 ... 02:13:18 02:13:18 #5 [internal] load build context 02:13:18 #5 transferring context: 21.63MB 0.2s done 02:13:18 #5 DONE 0.2s 02:13:18 02:13:18 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 02:13:18 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.0s done 02:13:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.19MB / 74.06MB 0.1s 02:13:18 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 02:13:18 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 02:13:18 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 02:13:18 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0B / 32B 0.1s 02:13:18 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 02:13:18 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 02:13:18 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 02:13:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 32.51MB / 74.06MB 0.3s 02:13:18 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 02:13:18 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s done 02:13:18 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.1s done 02:13:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 7.34MB / 103.05MB 0.3s 02:13:18 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 02:13:18 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 1.05MB / 13.29MB 0.3s 02:13:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 47.19MB / 74.06MB 0.4s 02:13:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 14.68MB / 103.05MB 0.4s 02:13:18 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 02:13:18 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 5.24MB / 13.29MB 0.4s 02:13:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.6s 02:13:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 32.51MB / 103.05MB 0.6s 02:13:18 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.5s done 02:13:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s done 02:13:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 60.82MB / 103.05MB 0.8s 02:13:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 81.10MB / 103.05MB 0.9s 02:13:19 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 02:13:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.0s 02:13:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.3s done 02:13:23 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.3s done 02:13:23 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 02:13:23 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 02:13:23 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:13:23 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 02:13:23 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 02:13:23 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 02:13:23 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 02:13:26 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 2.5s done 02:13:26 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 02:13:26 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.5s done 02:13:26 #4 DONE 8.8s 02:13:26 02:13:26 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:13:27 #6 0.205 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:13:27 #6 0.276 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:13:27 #6 0.524 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:13:27 #6 0.541 (2/4) Installing libedit (20240517.3.1-r0) 02:13:27 #6 0.549 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:13:27 #6 0.572 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:13:27 #6 0.584 Executing busybox-1.36.1-r29.trigger 02:13:27 #6 0.593 OK: 252 MiB in 62 packages 02:13:29 #6 DONE 2.7s 02:13:29 02:13:29 #7 [builder 3/7] WORKDIR /device-rest-go 02:13:29 #7 DONE 0.0s 02:13:29 02:13:29 #8 [builder 4/7] COPY go.mod vendor* ./ 02:13:29 #8 DONE 0.0s 02:13:29 02:13:29 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:31 Still waiting to schedule task 02:13:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:13:56 #9 DONE 24.5s 02:13:56 02:13:56 #10 [builder 6/7] COPY . . 02:13:56 #10 DONE 0.1s 02:13:56 02:13:56 #11 [builder 7/7] RUN echo noop 02:13:56 #11 0.199 noop 02:13:56 #11 DONE 0.2s 02:13:56 02:13:56 #12 exporting to image 02:13:56 #12 exporting layers 02:14:03 #12 exporting layers 8.0s done 02:14:03 #12 writing image sha256:91b55cd4812f02e1fc2fc27e328f5f9b58bf73bd83521914a33afcdf1f77a993 done 02:14:03 #12 naming to docker.io/library/ci-base-image-x86_64 done 02:14:03 #12 DONE 8.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:03 + docker inspect -f . ci-base-image-x86_64 02:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:03 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:14:03 $ 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 02:14:04 $ docker top 311dfc6f53648b1ae8b4f965292c295f123c687f8b20fc24f838f5724c21b99d -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:04 + go version 02:14:04 go version go1.23.9 linux/amd64 [Pipeline] } 02:14:04 $ docker stop --time=1 311dfc6f53648b1ae8b4f965292c295f123c687f8b20fc24f838f5724c21b99d 02:14:06 $ docker rm -f --volumes 311dfc6f53648b1ae8b4f965292c295f123c687f8b20fc24f838f5724c21b99d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:07 + docker inspect -f . ci-base-image-x86_64 02:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:07 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:14:07 $ 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 02:14:08 $ docker top aef2cd9ebe9ae66a97a016b4a33a3c7cecc5d780fd5e6adf4c827be2c9c7b7d6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:14:08 + make test 02:14:08 go test ./... -coverprofile=coverage.out ./... 02:14:17 ? github.com/edgexfoundry/device-rest-go [no test files] 02:14:43 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:14:43 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 02:14:50 go vet ./... 02:15:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:15:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:15:13 ./bin/test-attribution-txt.sh 02:15:13 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 02:15:13 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 02:15:13 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 02:15:13 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 02:15:13 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 02:15:13 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 02:15:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:15:13 $ docker stop --time=1 aef2cd9ebe9ae66a97a016b4a33a3c7cecc5d780fd5e6adf4c827be2c9c7b7d6 02:15:15 $ docker rm -f --volumes aef2cd9ebe9ae66a97a016b4a33a3c7cecc5d780fd5e6adf4c827be2c9c7b7d6 [Pipeline] // withDockerContainer [Pipeline] sh 02:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:15:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:15:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:15:16 + ls -al . 02:15:16 total 244 02:15:16 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 02:14 . 02:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 02:12 .. 02:15:16 -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 02:12 .dockerignore 02:15:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 02:14 .git 02:15:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 02:12 .github 02:15:16 -rw-rw-r-- 1 jenkins jenkins 264 Aug 15 02:12 .gitignore 02:15:16 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 02:12 .golangci.yml 02:15:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 02:13 .semver 02:15:16 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 15 02:12 Attribution.txt 02:15:16 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 15 02:12 CHANGELOG.md 02:15:16 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 15 02:12 Dockerfile 02:15:16 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 02:12 GOVERNANCE.md 02:15:16 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 02:12 Jenkinsfile 02:15:16 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 02:12 LICENSE 02:15:16 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 15 02:12 Makefile 02:15:16 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 02:12 OWNERS.md 02:15:16 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 15 02:12 README.md 02:15:16 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 02:13 VERSION 02:15:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 02:12 bin 02:15:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 02:12 cmd 02:15:16 -rw-r--r-- 1 jenkins jenkins 14565 Aug 15 02:14 coverage.out 02:15:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 02:12 driver 02:15:16 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 15 02:12 go.mod 02:15:16 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 15 02:12 go.sum 02:15:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 02:12 openapi 02:15:16 -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:17 + 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=629b5fd22bdbded9c224f315f990b52bbba2d066 --label arch=amd64 --label version=4.1.0-dev.10 . 02:15:17 #0 building with "default" instance using docker driver 02:15:17 02:15:17 #1 [internal] load build definition from Dockerfile 02:15:17 #1 transferring dockerfile: 1.74kB done 02:15:17 #1 DONE 0.0s 02:15:17 02:15:17 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 02:15:17 #2 DONE 0.0s 02:15:17 02:15:17 #3 [internal] load metadata for docker.io/library/alpine:3.20 02:15:17 #3 DONE 0.2s 02:15:17 02:15:17 #4 [internal] load .dockerignore 02:15:17 #4 transferring context: 193B done 02:15:17 #4 DONE 0.0s 02:15:17 02:15:17 #5 [internal] load build context 02:15:17 #5 transferring context: 18.46kB done 02:15:17 #5 DONE 0.0s 02:15:17 02:15:17 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 02:15:17 #6 DONE 0.1s 02:15:17 02:15:17 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 02:15:17 #7 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 0.0s done 02:15:17 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 02:15:17 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 02:15:17 #7 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 02:15:17 #7 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 02:15:17 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s done 02:15:17 #7 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 02:15:17 #7 DONE 0.2s 02:15:17 02:15:17 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:15:18 #8 0.207 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:15:18 #8 0.367 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:15:18 #8 ... 02:15:18 02:15:18 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:15:18 #9 0.209 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:15:18 #9 0.289 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:15:18 #9 0.589 (1/1) Installing dumb-init (1.2.5-r3) 02:15:18 #9 0.593 Executing busybox-1.36.1-r29.trigger 02:15:18 #9 0.600 OK: 8 MiB in 15 packages 02:15:18 #9 DONE 0.7s 02:15:18 02:15:18 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:15:18 #8 0.729 OK: 252 MiB in 62 packages 02:15:18 #8 DONE 0.9s 02:15:18 02:15:18 #10 [builder 3/7] WORKDIR /device-rest-go 02:15:18 #10 DONE 0.0s 02:15:18 02:15:18 #11 [builder 4/7] COPY go.mod vendor* ./ 02:15:18 #11 DONE 0.0s 02:15:18 02:15:18 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:15:19 #12 DONE 0.6s 02:15:19 02:15:19 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:15:19 #13 0.509 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:15:19 #13 0.582 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:15:19 #13 0.892 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 02:15:19 #13 0.907 Executing busybox-1.36.1-r30.post-upgrade 02:15:19 #13 0.948 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 02:15:19 #13 0.953 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 02:15:19 #13 0.961 Executing busybox-1.36.1-r30.trigger 02:15:19 #13 0.964 OK: 8 MiB in 15 packages 02:15:19 #13 DONE 1.1s 02:15:19 02:15:19 #14 [builder 6/7] COPY . . 02:15:19 #14 DONE 0.2s 02:15:19 02:15:19 #15 [builder 7/7] RUN make build 02:15:19 #15 0.385 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.30 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:15:46 #15 DONE 22.5s 02:15:46 02:15:46 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 02:15:46 #16 DONE 0.2s 02:15:46 02:15:46 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 02:15:46 #17 DONE 0.0s 02:15:46 02:15:46 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 02:15:46 #18 DONE 0.0s 02:15:46 02:15:46 #19 exporting to image 02:15:46 #19 exporting layers 02:15:46 #19 exporting layers 0.2s done 02:15:46 #19 writing image sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 02:15:46 #19 writing image sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 done 02:15:46 #19 naming to docker.io/library/device-rest done 02:15:46 #19 DONE 0.2s 02:15:46 02:15:46 1 warning found (use docker --debug to expand): 02:15:46  - 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 02:15:46 provisioning config files... 02:15:46 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1011361610912179045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:46 ---> ****-login.sh 02:15:46 nexus3.edgexfoundry.org:10001 02:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:46 Login Succeeded 02:15:46 nexus3.edgexfoundry.org:10002 02:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:46 Login Succeeded 02:15:46 nexus3.edgexfoundry.org:10003 02:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:47 Login Succeeded 02:15:47 nexus3.edgexfoundry.org:10004 02:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:47 Login Succeeded 02:15:47 ****.io 02:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:47 Login Succeeded 02:15:47 ---> ****-login.sh ends [Pipeline] } 02:15:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:15:47 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:15:47 629b5fd22bdbded9c224f315f990b52bbba2d066 02:15:47 latest 02:15:47 4.1.0-dev.10 02:15:47 629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:15:47 main 02:15:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 02:15:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:48 ccb7ddb96791: Preparing 02:15:48 4f8827465488: Preparing 02:15:48 af30b9871fba: Preparing 02:15:48 92cd0c4646d3: Preparing 02:15:48 8e6df82e6d96: Preparing 02:15:48 097100c76c15: Preparing 02:15:48 097100c76c15: Waiting 02:15:48 8e6df82e6d96: Pushed 02:15:48 4f8827465488: Pushed 02:15:48 ccb7ddb96791: Pushed 02:15:48 097100c76c15: Layer already exists 02:15:48 92cd0c4646d3: Pushed 02:15:51 af30b9871fba: Pushed 02:15:51 629b5fd22bdbded9c224f315f990b52bbba2d066: digest: sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:15:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:52 ccb7ddb96791: Preparing 02:15:52 4f8827465488: Preparing 02:15:52 af30b9871fba: Preparing 02:15:52 92cd0c4646d3: Preparing 02:15:52 8e6df82e6d96: Preparing 02:15:52 097100c76c15: Preparing 02:15:52 097100c76c15: Waiting 02:15:52 8e6df82e6d96: Layer already exists 02:15:52 af30b9871fba: Layer already exists 02:15:52 92cd0c4646d3: Layer already exists 02:15:52 ccb7ddb96791: Layer already exists 02:15:52 4f8827465488: Layer already exists 02:15:52 097100c76c15: Layer already exists 02:15:52 latest: digest: sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 02:15:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:53 ccb7ddb96791: Preparing 02:15:53 4f8827465488: Preparing 02:15:53 af30b9871fba: Preparing 02:15:53 92cd0c4646d3: Preparing 02:15:53 8e6df82e6d96: Preparing 02:15:53 097100c76c15: Preparing 02:15:53 097100c76c15: Waiting 02:15:53 8e6df82e6d96: Layer already exists 02:15:53 af30b9871fba: Layer already exists 02:15:53 92cd0c4646d3: Layer already exists 02:15:53 ccb7ddb96791: Layer already exists 02:15:53 4f8827465488: Layer already exists 02:15:53 097100c76c15: Layer already exists 02:15:53 4.1.0-dev.10: digest: sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:15:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:54 ccb7ddb96791: Preparing 02:15:54 4f8827465488: Preparing 02:15:54 af30b9871fba: Preparing 02:15:54 92cd0c4646d3: Preparing 02:15:54 8e6df82e6d96: Preparing 02:15:54 097100c76c15: Preparing 02:15:54 097100c76c15: Waiting 02:15:54 8e6df82e6d96: Layer already exists 02:15:54 4f8827465488: Layer already exists 02:15:54 af30b9871fba: Layer already exists 02:15:54 ccb7ddb96791: Layer already exists 02:15:54 92cd0c4646d3: Layer already exists 02:15:54 097100c76c15: Layer already exists 02:15:54 629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10: digest: sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:15:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:54 ccb7ddb96791: Preparing 02:15:54 4f8827465488: Preparing 02:15:54 af30b9871fba: Preparing 02:15:54 92cd0c4646d3: Preparing 02:15:54 8e6df82e6d96: Preparing 02:15:54 097100c76c15: Preparing 02:15:54 097100c76c15: Waiting 02:15:54 92cd0c4646d3: Layer already exists 02:15:54 8e6df82e6d96: Layer already exists 02:15:54 ccb7ddb96791: Layer already exists 02:15:54 af30b9871fba: Layer already exists 02:15:54 4f8827465488: Layer already exists 02:15:54 097100c76c15: Layer already exists 02:15:54 main: digest: sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:15:54 ===================================================== [Pipeline] echo 02:15:54 taggedImages: 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 02:15:54 ========================================================= 02:15:54 [edgeXBuildMultiArch] RAW Config: 02:15:54 images: 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:15:54 - nexus3.edgexfoundry.org:10004/device-rest:main 02:15:54 settingsFile: 02:15:54 device-rest-go-settings 02:15:54 ========================================================= [Pipeline] node 02:16:09 Still waiting to schedule task 02:16:09 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7043’ 02:17:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7050 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:17:11 Running in /w/workspace/device-rest-go/213 [Pipeline] { [Pipeline] checkout 02:17:14 The recommended git tool is: git 02:17:20 using credential edgex-jenkins-ssh 02:17:20 Cloning the remote Git repository 02:17:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:17:20 > git init /w/workspace/device-rest-go/213 # timeout=10 02:17:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:17:21 > git --version # timeout=10 02:17:21 > git --version # 'git version 2.25.1' 02:17:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:17:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:17:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:17:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:17:26 Avoid second fetch 02:17:26 Checking out Revision 629b5fd22bdbded9c224f315f990b52bbba2d066 (main) 02:17:27 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#488)" 02:17:26 > git config core.sparsecheckout # timeout=10 02:17:26 > git checkout -f 629b5fd22bdbded9c224f315f990b52bbba2d066 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:17:32 provisioning config files... 02:17:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/213@tmp/config8044500711130451033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:17:33 ---> ****-login.sh 02:17:33 nexus3.edgexfoundry.org:10001 02:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:17:33 Configure a credential helper to remove this warning. See 02:17:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:17:33 02:17:33 Login Succeeded 02:17:34 nexus3.edgexfoundry.org:10002 02:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:17:34 Configure a credential helper to remove this warning. See 02:17:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:17:34 02:17:34 Login Succeeded 02:17:34 nexus3.edgexfoundry.org:10003 02:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:17:35 Configure a credential helper to remove this warning. See 02:17:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:17:35 02:17:35 Login Succeeded 02:17:35 nexus3.edgexfoundry.org:10004 02:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:17:35 Configure a credential helper to remove this warning. See 02:17:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:17:35 02:17:35 Login Succeeded 02:17:35 ****.io 02:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:17:35 Configure a credential helper to remove this warning. See 02:17:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:17:35 02:17:35 Login Succeeded 02:17:35 ---> ****-login.sh ends [Pipeline] } 02:17:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:17:36 ========================================================= 02:17:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:17:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 02:17:36 Sending build context to Docker daemon 141.8kB 02:17:37 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:17:37 Step 2/12 : FROM ${BASE} AS builder 02:17:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:17:37 94e9d8af2201: Pulling fs layer 02:17:37 a6c56e8762df: Pulling fs layer 02:17:37 f0f3c8884826: Pulling fs layer 02:17:37 c7e7622c144d: Pulling fs layer 02:17:37 4f4fb700ef54: Pulling fs layer 02:17:37 b4c3b6d88c5a: Pulling fs layer 02:17:37 ba8bce9d2590: Pulling fs layer 02:17:37 ca778ea9c289: Pulling fs layer 02:17:37 b4c3b6d88c5a: Waiting 02:17:37 ba8bce9d2590: Waiting 02:17:37 ca778ea9c289: Waiting 02:17:37 c7e7622c144d: Waiting 02:17:37 4f4fb700ef54: Waiting 02:17:37 a6c56e8762df: Verifying Checksum 02:17:37 a6c56e8762df: Download complete 02:17:37 c7e7622c144d: Verifying Checksum 02:17:37 c7e7622c144d: Download complete 02:17:37 4f4fb700ef54: Verifying Checksum 02:17:37 4f4fb700ef54: Download complete 02:17:37 b4c3b6d88c5a: Verifying Checksum 02:17:37 b4c3b6d88c5a: Download complete 02:17:37 94e9d8af2201: Verifying Checksum 02:17:37 94e9d8af2201: Download complete 02:17:38 ca778ea9c289: Verifying Checksum 02:17:38 ca778ea9c289: Download complete 02:17:38 94e9d8af2201: Pull complete 02:17:39 a6c56e8762df: Pull complete 02:17:39 f0f3c8884826: Verifying Checksum 02:17:39 f0f3c8884826: Download complete 02:17:40 ba8bce9d2590: Verifying Checksum 02:17:40 ba8bce9d2590: Download complete 02:17:55 f0f3c8884826: Pull complete 02:17:55 c7e7622c144d: Pull complete 02:17:55 4f4fb700ef54: Pull complete 02:17:55 b4c3b6d88c5a: Pull complete 02:18:05 ba8bce9d2590: Pull complete 02:18:06 ca778ea9c289: Pull complete 02:18:06 Digest: sha256:c70c257f76c0e97c87bd0187f74242a809c0afac30c2d5f44320df1de5715b93 02:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:18:06 ---> 47b25d7523d1 02:18:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:18:08 ---> Running in ccb93031c0fa 02:18:09 Removing intermediate container ccb93031c0fa 02:18:09 ---> 7029ab9c6ee3 02:18:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:18:09 ---> Running in 3610477446cc 02:18:09 Removing intermediate container 3610477446cc 02:18:09 ---> 5805e6a24a16 02:18:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:18:09 ---> Running in 3e14342d2e3f 02:18:10 Removing intermediate container 3e14342d2e3f 02:18:10 ---> 50f7beb59549 02:18:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:18:10 ---> Running in 3f6e571553f9 02:18:10 Removing intermediate container 3f6e571553f9 02:18:10 ---> 36fba5e07ec9 02:18:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:18:10 ---> Running in 3332e590c53c 02:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:18:14 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:18:14 (2/4) Installing libedit (20240517.3.1-r0) 02:18:14 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:18:14 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:18:14 Executing busybox-1.36.1-r29.trigger 02:18:14 OK: 244 MiB in 62 packages 02:18:15 Running on prd-centos7-docker-4c-2g-7053 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:15 provisioning config files... 02:18:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16337259528514709725tmp [Pipeline] { [Pipeline] libraryResource 02:18:15 Removing intermediate container 3332e590c53c 02:18:15 ---> e1cbf0064e2e 02:18:15 Step 8/12 : WORKDIR /device-rest-go 02:18:15 ---> Running in ef01761ada77 02:18:16 Removing intermediate container ef01761ada77 02:18:16 ---> f77657463bbf 02:18:16 Step 9/12 : COPY go.mod vendor* ./ 02:18:16 ---> b560556648f7 02:18:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:17 ---> Running in 7fac008b86d7 [Pipeline] sh 02:18:19 ---> ****-login.sh 02:18:19 nexus3.edgexfoundry.org:10001 02:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:19 Configure a credential helper to remove this warning. See 02:18:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:19 02:18:19 Login Succeeded 02:18:19 nexus3.edgexfoundry.org:10002 02:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:20 Configure a credential helper to remove this warning. See 02:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:20 02:18:20 Login Succeeded 02:18:20 nexus3.edgexfoundry.org:10003 02:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:20 Configure a credential helper to remove this warning. See 02:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:20 02:18:20 Login Succeeded 02:18:20 nexus3.edgexfoundry.org:10004 02:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:20 Configure a credential helper to remove this warning. See 02:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:20 02:18:20 Login Succeeded 02:18:20 ****.io 02:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:20 Configure a credential helper to remove this warning. See 02:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:20 02:18:20 Login Succeeded 02:18:20 ---> ****-login.sh ends [Pipeline] } 02:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:18:20 + docker buildx ls 02:18:20 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 02:18:20 default * docker 02:18:20 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 02:18:21 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 02:18:21 edgex-builder [Pipeline] sh 02:18:21 + docker buildx inspect --bootstrap 02:18:21 #1 [internal] booting buildkit 02:18:21 #1 pulling image moby/buildkit:buildx-stable-1 02:18:25 #1 pulling image moby/buildkit:buildx-stable-1 3.8s done 02:18:25 #1 creating container buildx_buildkit_edgex-builder0 02:18:26 #1 creating container buildx_buildkit_edgex-builder0 1.5s done 02:18:26 #1 DONE 5.3s 02:18:26 Name: edgex-builder 02:18:26 Driver: docker-container 02:18:26 02:18:26 Nodes: 02:18:26 Name: edgex-builder0 02:18:26 Endpoint: unix:///var/run/docker.sock 02:18:26 Status: running 02:18:26 Buildkit: v0.22.0 02:18:26 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 02:18:27 + docker buildx ls 02:18:27 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 02:18:27 edgex-builder * docker-container 02:18:27 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 02:18:27 default docker 02:18:27 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 02:18:27 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066' 02:18:27 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 --push - 02:18:27 #1 [internal] load build definition from Dockerfile 02:18:27 #1 transferring dockerfile: 196B done 02:18:27 #1 DONE 0.0s 02:18:27 02:18:27 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 02:18:27 #2 DONE 0.1s 02:18:27 02:18:27 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066 02:18:27 #3 DONE 0.1s 02:18:27 02:18:27 #4 [internal] load .dockerignore 02:18:27 #4 transferring context: 2B done 02:18:27 #4 DONE 0.0s 02:18:27 02:18:27 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:27 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:27 #5 DONE 0.0s 02:18:27 02:18:27 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:27 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:27 #6 DONE 0.1s 02:18:27 02:18:27 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:18:27 #7 DONE 0.0s 02:18:27 02:18:27 #8 exporting to image 02:18:27 #8 exporting layers done 02:18:27 #8 exporting manifest sha256:06bcf7d4cf91ac852773db4f9a88c8a3944684931720f0a99bd93874c0b4354d done 02:18:27 #8 exporting config sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 done 02:18:27 #8 exporting manifest sha256:428144d27bcf4768604627c9375752bafd1899509de6823e5b36f02b53a5736d done 02:18:27 #8 exporting config sha256:6052550515620742a2a3a117f28366fe537c91cacf8237ede5c9995541d10847 done 02:18:27 #8 exporting manifest list sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 0.0s done 02:18:27 #8 pushing layers 0.1s done 02:18:27 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066@sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 02:18:27 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:18:27 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066@sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 0.1s done 02:18:27 #8 DONE 0.2s 02:18:27 02:18:27 1 warning found (use --debug to expand): 02:18:27  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:18:28 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 02:18:28 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 02:18:28 #1 [internal] load build definition from Dockerfile 02:18:28 #1 transferring dockerfile: 162B done 02:18:28 #1 DONE 0.0s 02:18:28 02:18:28 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 02:18:28 #2 DONE 0.0s 02:18:28 02:18:28 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 02:18:28 #3 DONE 0.0s 02:18:28 02:18:28 #4 [internal] load .dockerignore 02:18:28 #4 transferring context: 2B done 02:18:28 #4 DONE 0.0s 02:18:28 02:18:28 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:28 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:28 #5 CACHED 02:18:28 02:18:28 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:28 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:28 #6 CACHED 02:18:28 02:18:28 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:18:28 #7 DONE 0.0s 02:18:28 02:18:28 #8 exporting to image 02:18:28 #8 exporting layers done 02:18:28 #8 exporting manifest sha256:06bcf7d4cf91ac852773db4f9a88c8a3944684931720f0a99bd93874c0b4354d done 02:18:28 #8 exporting config sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 done 02:18:28 #8 exporting manifest sha256:428144d27bcf4768604627c9375752bafd1899509de6823e5b36f02b53a5736d done 02:18:28 #8 exporting config sha256:6052550515620742a2a3a117f28366fe537c91cacf8237ede5c9995541d10847 done 02:18:28 #8 exporting manifest list sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 done 02:18:28 #8 pushing layers 0.0s done 02:18:28 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 0.1s done 02:18:28 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:18:28 #8 DONE 0.1s 02:18:28 02:18:28 1 warning found (use --debug to expand): 02:18:28  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:18:28 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 --push - 02:18:28 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10' 02:18:28 #1 [internal] load build definition from Dockerfile 02:18:28 #1 transferring dockerfile: 168B done 02:18:28 #1 DONE 0.0s 02:18:28 02:18:28 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 02:18:28 #2 DONE 0.0s 02:18:28 02:18:28 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10 02:18:28 #3 DONE 0.0s 02:18:28 02:18:28 #4 [internal] load .dockerignore 02:18:28 #4 transferring context: 2B done 02:18:28 #4 DONE 0.0s 02:18:28 02:18:28 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:28 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:28 #5 CACHED 02:18:28 02:18:28 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:28 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:28 #6 CACHED 02:18:28 02:18:28 #7 exporting to image 02:18:28 #7 exporting layers done 02:18:28 #7 exporting manifest sha256:06bcf7d4cf91ac852773db4f9a88c8a3944684931720f0a99bd93874c0b4354d 02:18:28 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:18:29 #7 exporting manifest sha256:06bcf7d4cf91ac852773db4f9a88c8a3944684931720f0a99bd93874c0b4354d done 02:18:29 #7 exporting config sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 done 02:18:29 #7 exporting manifest sha256:428144d27bcf4768604627c9375752bafd1899509de6823e5b36f02b53a5736d done 02:18:29 #7 exporting config sha256:6052550515620742a2a3a117f28366fe537c91cacf8237ede5c9995541d10847 done 02:18:29 #7 exporting manifest list sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 done 02:18:29 #7 pushing layers 0.0s done 02:18:29 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.10@sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 0.1s done 02:18:29 #7 DONE 0.1s 02:18:29 02:18:29 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:18:29 #8 DONE 0.0s 02:18:29 02:18:29 1 warning found (use --debug to expand): 02:18:29  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:18:29 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10' 02:18:29 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 --push - 02:18:29 #1 [internal] load build definition from Dockerfile 02:18:29 #1 transferring dockerfile: 209B done 02:18:29 #1 DONE 0.0s 02:18:29 02:18:29 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:18:29 #2 DONE 0.0s 02:18:29 02:18:29 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:18:29 #3 DONE 0.0s 02:18:29 02:18:29 #4 [internal] load .dockerignore 02:18:29 #4 transferring context: 2B done 02:18:29 #4 DONE 0.0s 02:18:29 02:18:29 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:29 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:29 #5 CACHED 02:18:29 02:18:29 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:29 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:29 #6 CACHED 02:18:29 02:18:29 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:18:29 #7 DONE 0.0s 02:18:29 02:18:29 #8 exporting to image 02:18:29 #8 exporting layers done 02:18:29 #8 exporting manifest sha256:06bcf7d4cf91ac852773db4f9a88c8a3944684931720f0a99bd93874c0b4354d done 02:18:29 #8 exporting config sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 done 02:18:29 #8 exporting manifest sha256:428144d27bcf4768604627c9375752bafd1899509de6823e5b36f02b53a5736d done 02:18:29 #8 exporting config sha256:6052550515620742a2a3a117f28366fe537c91cacf8237ede5c9995541d10847 done 02:18:29 #8 exporting manifest list sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 done 02:18:29 #8 pushing layers 0.0s done 02:18:29 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10@sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 0.1s done 02:18:29 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:18:29 #8 DONE 0.1s 02:18:29 02:18:29 1 warning found (use --debug to expand): 02:18:29  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:18:29 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 02:18:29 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 02:18:30 #1 [internal] load build definition from Dockerfile 02:18:30 #1 transferring dockerfile: 160B done 02:18:30 #1 DONE 0.0s 02:18:30 02:18:30 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 02:18:30 #2 DONE 0.0s 02:18:30 02:18:30 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 02:18:30 #3 DONE 0.0s 02:18:30 02:18:30 #4 [internal] load .dockerignore 02:18:30 #4 transferring context: 2B done 02:18:30 #4 DONE 0.0s 02:18:30 02:18:30 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:30 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:30 #5 CACHED 02:18:30 02:18:30 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 02:18:30 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:71d1b0a12199f335493bb776df02be05ff0ecc4024ff7efaa04029c894a3f1dd 0.0s done 02:18:30 #6 CACHED 02:18:30 02:18:30 #7 exporting to image 02:18:30 #7 exporting layers done 02:18:30 #7 exporting manifest sha256:06bcf7d4cf91ac852773db4f9a88c8a3944684931720f0a99bd93874c0b4354d done 02:18:30 #7 exporting config sha256:ad68471538d7ec4aa27ade11f9116c77285720237d63100c34a6c67f389535c0 done 02:18:30 #7 exporting manifest sha256:428144d27bcf4768604627c9375752bafd1899509de6823e5b36f02b53a5736d done 02:18:30 #7 exporting config sha256:6052550515620742a2a3a117f28366fe537c91cacf8237ede5c9995541d10847 done 02:18:30 #7 exporting manifest list sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 02:18:30 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:18:30 #7 exporting manifest list sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 done 02:18:30 #7 pushing layers 0.0s done 02:18:30 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:075ff469d00427731652b0bf27f0ba3c3af245b6f722eebebfc2d5f792d794b9 0.1s done 02:18:30 #7 DONE 0.1s 02:18:30 02:18:30 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:18:30 #8 DONE 0.0s 02:18:30 02:18:30 1 warning found (use --debug to expand): 02:18:30  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:18:30 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:18:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:18:31 ---> package-listing.sh 02:18:31 ++ facter osfamily 02:18:31 ++ tr '[:upper:]' '[:lower:]' 02:18:31 + OS_FAMILY=redhat 02:18:31 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:18:31 + START_PACKAGES=/tmp/packages_start.txt 02:18:31 + END_PACKAGES=/tmp/packages_end.txt 02:18:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:18:31 + PACKAGES=/tmp/packages_start.txt 02:18:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:18:31 + PACKAGES=/tmp/packages_end.txt 02:18:31 + case "${OS_FAMILY}" in 02:18:31 + rpm -qa 02:18:31 + sort 02:18:32 + '[' -f /tmp/packages_start.txt ']' 02:18:32 + '[' -f /tmp/packages_end.txt ']' 02:18:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:18:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:18:32 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:18:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:18:32 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 02:18:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:33 02:18:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:33 latest: Pulling from edgex-lftools-log-publisher 02:18:33 5eb5b503b376: Pulling fs layer 02:18:33 5c69ac0246d0: Pulling fs layer 02:18:33 ec43610c2a17: Pulling fs layer 02:18:33 3a2ae6a8a46f: Pulling fs layer 02:18:33 33b1e0a273af: Pulling fs layer 02:18:33 5d3b04190fa2: Pulling fs layer 02:18:33 2f39f015ded8: Pulling fs layer 02:18:33 33b1e0a273af: Waiting 02:18:33 5d3b04190fa2: Waiting 02:18:33 2f39f015ded8: Waiting 02:18:33 3a2ae6a8a46f: Waiting 02:18:33 5c69ac0246d0: Verifying Checksum 02:18:33 5c69ac0246d0: Download complete 02:18:33 3a2ae6a8a46f: Verifying Checksum 02:18:33 3a2ae6a8a46f: Download complete 02:18:33 ec43610c2a17: Verifying Checksum 02:18:33 ec43610c2a17: Download complete 02:18:33 5d3b04190fa2: Verifying Checksum 02:18:33 5d3b04190fa2: Download complete 02:18:33 33b1e0a273af: Verifying Checksum 02:18:33 33b1e0a273af: Download complete 02:18:34 5eb5b503b376: Verifying Checksum 02:18:34 5eb5b503b376: Download complete 02:18:34 2f39f015ded8: Verifying Checksum 02:18:34 2f39f015ded8: Download complete 02:18:35 5eb5b503b376: Pull complete 02:18:35 5c69ac0246d0: Pull complete 02:18:36 ec43610c2a17: Pull complete 02:18:36 3a2ae6a8a46f: Pull complete 02:18:36 33b1e0a273af: Pull complete 02:18:36 5d3b04190fa2: Pull complete 02:18:40 2f39f015ded8: Pull complete 02:18:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:18:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:40 prd-centos7-docker-4c-2g-7053 does not seem to be running inside a container 02:18:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:18:44 $ docker top 02d58b15b09918673a3f43b801a0de0d0776cd19ad69dba39b8729ba74a053b3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:18:44 + touch /tmp/pre-build-complete [Pipeline] sh 02:18:44 + mkdir -p /var/log/sysstat [Pipeline] sh 02:18:45 + ls /var/log/sa-host 02:18:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:45 provisioning config files... 02:18:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7131551064167483672tmp [Pipeline] { [Pipeline] echo 02:18:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:18:45 ---> create-netrc.sh [Pipeline] } 02:18:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:18:45 ---> python-tools-install.sh [Pipeline] echo 02:18:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:18:46 ---> sudo-logs.sh 02:18:46 Archiving 'sudo' log.. 02:18:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-7053.novalocal: Name or service not known 02:18:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-7053.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:18:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:18:46 ---> job-cost.sh 02:18:46 lf-activate-venv: SKIPPING 02:18:46 INFO: No Stack... 02:18:46 INFO: Retrieving Pricing Info for: v3-standard-2 02:18:47 INFO: Archiving Costs [Pipeline] echo 02:18:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:18:47 ---> logs-deploy.sh 02:18:47 lf-activate-venv: SKIPPING 02:18:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/213 02:18:47 INFO: archiving workspace using pattern(s): 02:18:48 Archives upload complete. 02:18:48 INFO: archiving logs to Nexus 02:18:49 ---> uname -a: 02:18:49 Linux prd-centos7-docker-4c-2g-7053.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 02:18:49 02:18:49 02:18:49 ---> lscpu: 02:18:49 Architecture: x86_64 02:18:49 CPU op-mode(s): 32-bit, 64-bit 02:18:49 Byte Order: Little Endian 02:18:49 Address sizes: 40 bits physical, 48 bits virtual 02:18:49 CPU(s): 2 02:18:49 On-line CPU(s) list: 0,1 02:18:49 Thread(s) per core: 1 02:18:49 Core(s) per socket: 1 02:18:49 Socket(s): 2 02:18:49 NUMA node(s): 1 02:18:49 Vendor ID: AuthenticAMD 02:18:49 CPU family: 23 02:18:49 Model: 49 02:18:49 Model name: AMD EPYC-Rome Processor 02:18:49 Stepping: 0 02:18:49 CPU MHz: 2799.998 02:18:49 BogoMIPS: 5599.99 02:18:49 Virtualization: AMD-V 02:18:49 Hypervisor vendor: KVM 02:18:49 Virtualization type: full 02:18:49 L1d cache: 64 KiB 02:18:49 L1i cache: 64 KiB 02:18:49 L2 cache: 1 MiB 02:18:49 L3 cache: 32 MiB 02:18:49 NUMA node0 CPU(s): 0,1 02:18:49 Vulnerability Itlb multihit: Not affected 02:18:49 Vulnerability L1tf: Not affected 02:18:49 Vulnerability Mds: Not affected 02:18:49 Vulnerability Meltdown: Not affected 02:18:49 Vulnerability Mmio stale data: Not affected 02:18:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:18:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:18:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:18:49 Vulnerability Srbds: Not affected 02:18:49 Vulnerability Tsx async abort: Not affected 02:18:49 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 02:18:49 02:18:49 02:18:49 ---> nproc: 02:18:49 2 02:18:49 02:18:49 02:18:49 ---> df -h: 02:18:49 Filesystem Size Used Avail Use% Mounted on 02:18:49 overlay 40G 7.3G 33G 19% / 02:18:49 tmpfs 64M 0 64M 0% /dev 02:18:49 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:18:49 shm 64M 0 64M 0% /dev/shm 02:18:49 /dev/vda1 40G 7.3G 33G 19% /facter-os 02:18:49 02:18:49 02:18:49 Cannot open /var/log/sysstat/sa15: No such file or directory 02:18:49 Please check if data collecting is enabled 02:18:49 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:18:49 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 02:18:49 $ docker stop --time=1 02d58b15b09918673a3f43b801a0de0d0776cd19ad69dba39b8729ba74a053b3 02:18:50 $ docker rm -f --volumes 02d58b15b09918673a3f43b801a0de0d0776cd19ad69dba39b8729ba74a053b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 02:18:50 [WS-CLEANUP] Deleting project workspace... 02:18:50 [WS-CLEANUP] Deferred wipeout is used... 02:18:50 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:51 02:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:51 latest: Pulling from edgex-lftools-log-publisher 02:18:51 5eb5b503b376: Pulling fs layer 02:18:51 5c69ac0246d0: Pulling fs layer 02:18:51 ec43610c2a17: Pulling fs layer 02:18:51 3a2ae6a8a46f: Pulling fs layer 02:18:51 33b1e0a273af: Pulling fs layer 02:18:51 5d3b04190fa2: Pulling fs layer 02:18:51 2f39f015ded8: Pulling fs layer 02:18:51 3a2ae6a8a46f: Waiting 02:18:51 33b1e0a273af: Waiting 02:18:51 5d3b04190fa2: Waiting 02:18:51 2f39f015ded8: Waiting 02:18:51 5c69ac0246d0: Verifying Checksum 02:18:51 5c69ac0246d0: Download complete 02:18:51 3a2ae6a8a46f: Download complete 02:18:51 33b1e0a273af: Verifying Checksum 02:18:51 33b1e0a273af: Download complete 02:18:51 ec43610c2a17: Verifying Checksum 02:18:51 ec43610c2a17: Download complete 02:18:51 5d3b04190fa2: Verifying Checksum 02:18:51 5d3b04190fa2: Download complete 02:18:51 5eb5b503b376: Verifying Checksum 02:18:51 5eb5b503b376: Download complete 02:18:52 2f39f015ded8: Verifying Checksum 02:18:52 2f39f015ded8: Download complete 02:18:53 5eb5b503b376: Pull complete 02:18:53 5c69ac0246d0: Pull complete 02:18:57 ec43610c2a17: Pull complete 02:18:57 3a2ae6a8a46f: Pull complete 02:18:57 33b1e0a273af: Pull complete 02:18:57 5d3b04190fa2: Pull complete 02:19:00 2f39f015ded8: Pull complete 02:19:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:01 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:19:01 $ 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 02:19:07 $ docker top 7895cb63ec030336d880a34a6b2323837138f7513290f57f9040034ad9d2ad0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:19:07 ---> job-cost.sh 02:19:07 lf-activate-venv: SKIPPING 02:19:07 INFO: No Stack... 02:19:07 INFO: Retrieving Pricing Info for: v3-standard-8 02:19:08 INFO: Archiving Costs [Pipeline] sh 02:19:08 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 02:19:08 + cut -d, -f6 [Pipeline] lock 02:19:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] 02:19:08 Resource [jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] did not exist. Created. 02:19:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:19:08 + echo total: 0.2199999988079071 [Pipeline] stash 02:19:08 Stashed 1 file(s) [Pipeline] } 02:19:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] [Pipeline] // lock [Pipeline] } 02:19:08 $ docker stop --time=1 7895cb63ec030336d880a34a6b2323837138f7513290f57f9040034ad9d2ad0b 02:19:10 $ docker rm -f --volumes 7895cb63ec030336d880a34a6b2323837138f7513290f57f9040034ad9d2ad0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:20:27 Removing intermediate container 7fac008b86d7 02:20:27 ---> 90b9aee809a2 02:20:27 Step 11/12 : COPY . . 02:20:27 ---> 47d1783a0208 02:20:27 Step 12/12 : RUN $MAKE 02:20:27 ---> Running in 08ef84e38d9e 02:20:27 noop 02:20:27 Removing intermediate container 08ef84e38d9e 02:20:27 ---> 1bbd0516956d 02:20:27 Successfully built 1bbd0516956d 02:20:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:27 + docker inspect -f . ci-base-image-arm64 02:20:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:27 prd-ubuntu20.04-docker-arm64-4c-16g-7050 does not seem to be running inside a container 02:20:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/213 -v /w/workspace/device-rest-go/213:/w/workspace/device-rest-go/213:rw,z -v /w/workspace/device-rest-go/213@tmp:/w/workspace/device-rest-go/213@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 02:20:29 $ docker top 340ce91e1e2e860f19bf3bf8a4cf6a898dcf354dc91d26e30637b18648893b55 -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:30 + go version 02:20:30 go version go1.23.9 linux/arm64 [Pipeline] } 02:20:30 $ docker stop --time=1 340ce91e1e2e860f19bf3bf8a4cf6a898dcf354dc91d26e30637b18648893b55 02:20:32 $ docker rm -f --volumes 340ce91e1e2e860f19bf3bf8a4cf6a898dcf354dc91d26e30637b18648893b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:33 + docker inspect -f . ci-base-image-arm64 02:20:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:33 prd-ubuntu20.04-docker-arm64-4c-16g-7050 does not seem to be running inside a container 02:20:33 $ 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/213 -v /w/workspace/device-rest-go/213:/w/workspace/device-rest-go/213:rw,z -v /w/workspace/device-rest-go/213@tmp:/w/workspace/device-rest-go/213@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 02:20:35 $ docker top 2b0e042fa967070930c55b6bb6952548d749d964f75a79632aaabfbdc63e040e -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:35 + git config --global --add safe.directory /w/workspace/device-rest-go/213 [Pipeline] fileExists [Pipeline] sh 02:20:36 + make test 02:20:36 go test ./... -coverprofile=coverage.out ./... 02:20:43 ? github.com/edgexfoundry/device-rest-go [no test files] 02:25:20 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:25:22 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 32.2% of statements 02:25:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:25:24 go vet ./... 02:26:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:26:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:26:21 ./bin/test-attribution-txt.sh 02:26:21 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 02:26:21 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 02:26:21 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 02:26:21 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 02:26:21 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 02:26:21 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 02:26:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:26:22 $ docker stop --time=1 2b0e042fa967070930c55b6bb6952548d749d964f75a79632aaabfbdc63e040e 02:26:24 $ docker rm -f --volumes 2b0e042fa967070930c55b6bb6952548d749d964f75a79632aaabfbdc63e040e [Pipeline] // withDockerContainer [Pipeline] sh 02:26:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:26:25 Warning: overwriting stash ‘coverage-report’ 02:26:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:26:27 + ls -al . 02:26:27 total 240 02:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 02:20 . 02:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 02:17 .. 02:26:27 -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 02:17 .dockerignore 02:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 02:17 .git 02:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 02:17 .github 02:26:27 -rw-rw-r-- 1 jenkins jenkins 264 Aug 15 02:17 .gitignore 02:26:27 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 02:17 .golangci.yml 02:26:27 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 15 02:17 Attribution.txt 02:26:27 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 15 02:17 CHANGELOG.md 02:26:27 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 15 02:17 Dockerfile 02:26:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 02:17 GOVERNANCE.md 02:26:27 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 02:17 Jenkinsfile 02:26:27 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 02:17 LICENSE 02:26:27 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 15 02:17 Makefile 02:26:27 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 02:17 OWNERS.md 02:26:27 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 15 02:17 README.md 02:26:27 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 02:13 VERSION 02:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 02:17 bin 02:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 02:17 cmd 02:26:27 -rw-r--r-- 1 jenkins jenkins 14565 Aug 15 02:25 coverage.out 02:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 02:17 driver 02:26:27 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 15 02:17 go.mod 02:26:27 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 15 02:17 go.sum 02:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 02:17 openapi 02:26:27 -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 02:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:27 + 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=629b5fd22bdbded9c224f315f990b52bbba2d066 --label arch=arm64 --label version=4.1.0-dev.10 . 02:26:27 Sending build context to Docker daemon 157.2kB 02:26:27 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:26:27 Step 2/26 : FROM ${BASE} AS builder 02:26:27 ---> 1bbd0516956d 02:26:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:26:28 ---> Running in d9f3dc99a0e4 02:26:28 Removing intermediate container d9f3dc99a0e4 02:26:28 ---> a9eb81d15aff 02:26:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:26:28 ---> Running in e4815c033cad 02:26:29 Removing intermediate container e4815c033cad 02:26:29 ---> ac9624669bb2 02:26:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:26:29 ---> Running in 20acc382ec0e 02:26:29 Removing intermediate container 20acc382ec0e 02:26:29 ---> 2da0c7b349d2 02:26:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:26:29 ---> Running in 0da7dd59c655 02:26:29 Removing intermediate container 0da7dd59c655 02:26:29 ---> 764794491810 02:26:29 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:26:29 ---> Running in f75130d9191c 02:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:26:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:26:32 OK: 244 MiB in 62 packages 02:26:33 Removing intermediate container f75130d9191c 02:26:33 ---> 622500587b5f 02:26:33 Step 8/26 : WORKDIR /device-rest-go 02:26:33 ---> Running in ed3b90566597 02:26:34 Removing intermediate container ed3b90566597 02:26:34 ---> 86091d607bee 02:26:34 Step 9/26 : COPY go.mod vendor* ./ 02:26:34 ---> 48afd15b4d04 02:26:34 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:26:34 ---> Running in d571b8bf123f 02:26:37 Removing intermediate container d571b8bf123f 02:26:37 ---> 3970142665f9 02:26:37 Step 11/26 : COPY . . 02:26:37 ---> 86e11941ac90 02:26:37 Step 12/26 : RUN $MAKE 02:26:37 ---> Running in 7bbd98de383d 02:26:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.30 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:30:45 Removing intermediate container 7bbd98de383d 02:30:45 ---> 60b91c4ce8fd 02:30:45 Step 13/26 : FROM alpine:3.20 02:30:45 3.20: Pulling from library/alpine 02:30:45 13e713f82565: Pulling fs layer 02:30:45 13e713f82565: Verifying Checksum 02:30:45 13e713f82565: Download complete 02:30:45 13e713f82565: Pull complete 02:30:45 Digest: sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 02:30:45 Status: Downloaded newer image for alpine:3.20 02:30:45 ---> c88e9dceb6cb 02:30:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:30:45 ---> Running in 47b0392745ab 02:30:45 Removing intermediate container 47b0392745ab 02:30:45 ---> b95f5f9caa64 02:30:45 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:30:45 ---> Running in 6eb5b026568a 02:30:45 Removing intermediate container 6eb5b026568a 02:30:45 ---> 42857214ea9e 02:30:45 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:30:45 ---> Running in 6d38c699d3b6 02:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:30:45 (1/1) Installing dumb-init (1.2.5-r3) 02:30:45 Executing busybox-1.36.1-r29.trigger 02:30:45 OK: 9 MiB in 15 packages 02:30:45 Removing intermediate container 6d38c699d3b6 02:30:45 ---> c8b89599ba66 02:30:45 Step 17/26 : RUN apk --no-cache upgrade 02:30:45 ---> Running in 5b338454c443 02:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:30:45 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 02:30:45 Executing busybox-1.36.1-r30.post-upgrade 02:30:45 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 02:30:45 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 02:30:45 Executing busybox-1.36.1-r30.trigger 02:30:45 OK: 9 MiB in 15 packages 02:30:46 Removing intermediate container 5b338454c443 02:30:46 ---> fb1a64b3997e 02:30:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:30:47 ---> 4e8671cfd194 02:30:47 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:30:48 ---> fc5247264ad0 02:30:48 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:30:49 ---> c30fad1633da 02:30:49 Step 21/26 : EXPOSE 59986 02:30:49 ---> Running in da3538c372ed 02:30:49 Removing intermediate container da3538c372ed 02:30:49 ---> 8aee7fb5ee80 02:30:49 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:30:49 ---> Running in 3aa5ed0a2b95 02:30:49 Removing intermediate container 3aa5ed0a2b95 02:30:49 ---> 5e3d456113da 02:30:49 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:30:49 ---> Running in 9c2d48aed76b 02:30:50 Removing intermediate container 9c2d48aed76b 02:30:50 ---> 8cf1250ef58f 02:30:50 Step 24/26 : LABEL arch=arm64 02:30:50 ---> Running in 10d8c12fb35f 02:30:50 Removing intermediate container 10d8c12fb35f 02:30:50 ---> 5e4a5a33a57a 02:30:50 Step 25/26 : LABEL git_sha=629b5fd22bdbded9c224f315f990b52bbba2d066 02:30:50 ---> Running in d2c6f6a6ef13 02:30:51 Removing intermediate container d2c6f6a6ef13 02:30:51 ---> a7d90c699698 02:30:51 Step 26/26 : LABEL version=4.1.0-dev.10 02:30:51 ---> Running in 06377edd4d05 02:30:51 Removing intermediate container 06377edd4d05 02:30:51 ---> 2128d67005b5 02:30:51 [Warning] One or more build-args [ARCH] were not consumed 02:30:51 Successfully built 2128d67005b5 02:30:51 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 02:30:51 provisioning config files... 02:30:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/213@tmp/config3280042269357949658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:52 ---> ****-login.sh 02:30:52 nexus3.edgexfoundry.org:10001 02:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:52 Configure a credential helper to remove this warning. See 02:30:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:52 02:30:52 Login Succeeded 02:30:52 nexus3.edgexfoundry.org:10002 02:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:53 Configure a credential helper to remove this warning. See 02:30:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:53 02:30:53 Login Succeeded 02:30:53 nexus3.edgexfoundry.org:10003 02:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:53 Configure a credential helper to remove this warning. See 02:30:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:53 02:30:53 Login Succeeded 02:30:53 nexus3.edgexfoundry.org:10004 02:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:53 Configure a credential helper to remove this warning. See 02:30:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:53 02:30:53 Login Succeeded 02:30:53 ****.io 02:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:54 Configure a credential helper to remove this warning. See 02:30:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:54 02:30:54 Login Succeeded 02:30:54 ---> ****-login.sh ends [Pipeline] } 02:30:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:30:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:30:54 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:30:54 629b5fd22bdbded9c224f315f990b52bbba2d066 02:30:54 latest 02:30:54 4.1.0-dev.10 02:30:54 629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:30:54 main 02:30:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066 02:30:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:30:55 a052536d8b55: Preparing 02:30:55 fac0db1a3ce3: Preparing 02:30:55 99e54925944b: Preparing 02:30:55 93389df63b7b: Preparing 02:30:55 cf7267694307: Preparing 02:30:55 1e890da81ec9: Preparing 02:30:55 1e890da81ec9: Waiting 02:30:55 a052536d8b55: Pushed 02:30:55 fac0db1a3ce3: Pushed 02:30:55 cf7267694307: Pushed 02:30:55 1e890da81ec9: Layer already exists 02:30:55 93389df63b7b: Pushed 02:31:03 99e54925944b: Pushed 02:31:03 629b5fd22bdbded9c224f315f990b52bbba2d066: digest: sha256:c1cb41b820dc5aebdecdf492c9bb3bbc7d4b2ecdc0dc40302b2f7862c33ca44a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:31:04 a052536d8b55: Preparing 02:31:04 fac0db1a3ce3: Preparing 02:31:04 99e54925944b: Preparing 02:31:04 93389df63b7b: Preparing 02:31:04 cf7267694307: Preparing 02:31:04 1e890da81ec9: Preparing 02:31:04 1e890da81ec9: Waiting 02:31:04 fac0db1a3ce3: Layer already exists 02:31:04 93389df63b7b: Layer already exists 02:31:04 cf7267694307: Layer already exists 02:31:04 a052536d8b55: Layer already exists 02:31:04 99e54925944b: Layer already exists 02:31:04 1e890da81ec9: Layer already exists 02:31:04 latest: digest: sha256:c1cb41b820dc5aebdecdf492c9bb3bbc7d4b2ecdc0dc40302b2f7862c33ca44a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.10 02:31:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:31:05 a052536d8b55: Preparing 02:31:05 fac0db1a3ce3: Preparing 02:31:05 99e54925944b: Preparing 02:31:05 93389df63b7b: Preparing 02:31:05 cf7267694307: Preparing 02:31:05 1e890da81ec9: Preparing 02:31:05 1e890da81ec9: Waiting 02:31:05 cf7267694307: Layer already exists 02:31:05 a052536d8b55: Layer already exists 02:31:05 93389df63b7b: Layer already exists 02:31:05 99e54925944b: Layer already exists 02:31:05 fac0db1a3ce3: Layer already exists 02:31:05 1e890da81ec9: Layer already exists 02:31:06 4.1.0-dev.10: digest: sha256:c1cb41b820dc5aebdecdf492c9bb3bbc7d4b2ecdc0dc40302b2f7862c33ca44a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:31:06 a052536d8b55: Preparing 02:31:06 fac0db1a3ce3: Preparing 02:31:06 99e54925944b: Preparing 02:31:06 93389df63b7b: Preparing 02:31:06 cf7267694307: Preparing 02:31:06 1e890da81ec9: Preparing 02:31:06 1e890da81ec9: Waiting 02:31:06 fac0db1a3ce3: Layer already exists 02:31:06 a052536d8b55: Layer already exists 02:31:06 cf7267694307: Layer already exists 02:31:06 93389df63b7b: Layer already exists 02:31:06 99e54925944b: Layer already exists 02:31:06 1e890da81ec9: Layer already exists 02:31:07 629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10: digest: sha256:c1cb41b820dc5aebdecdf492c9bb3bbc7d4b2ecdc0dc40302b2f7862c33ca44a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:31:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:31:07 a052536d8b55: Preparing 02:31:07 fac0db1a3ce3: Preparing 02:31:07 99e54925944b: Preparing 02:31:07 93389df63b7b: Preparing 02:31:07 cf7267694307: Preparing 02:31:07 1e890da81ec9: Preparing 02:31:07 cf7267694307: Layer already exists 02:31:07 a052536d8b55: Layer already exists 02:31:07 fac0db1a3ce3: Layer already exists 02:31:07 93389df63b7b: Layer already exists 02:31:07 99e54925944b: Layer already exists 02:31:07 1e890da81ec9: Layer already exists 02:31:08 main: digest: sha256:c1cb41b820dc5aebdecdf492c9bb3bbc7d4b2ecdc0dc40302b2f7862c33ca44a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:31:08 ===================================================== [Pipeline] echo 02:31:08 taggedImages: 02:31:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066 02:31:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:31:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.10 02:31:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 02:31:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 02:31:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] echo 02:31:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 02:31:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.10 [Pipeline] echo 02:31:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:629b5fd22bdbded9c224f315f990b52bbba2d066-4.1.0-dev.10 [Pipeline] echo 02:31:08 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 02:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:31:08 02:31:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:31:08 arm64: Pulling from edgex-lftools-log-publisher 02:31:08 8998bd30e6a1: Pulling fs layer 02:31:08 04944245beec: Pulling fs layer 02:31:09 699f458cf7ca: Pulling fs layer 02:31:09 765212b225bb: Pulling fs layer 02:31:09 f23df028b6ca: Pulling fs layer 02:31:09 d65c8cfc05b1: Pulling fs layer 02:31:09 2437ff75d9bd: Pulling fs layer 02:31:09 765212b225bb: Waiting 02:31:09 f23df028b6ca: Waiting 02:31:09 d65c8cfc05b1: Waiting 02:31:09 2437ff75d9bd: Waiting 02:31:09 04944245beec: Verifying Checksum 02:31:09 04944245beec: Download complete 02:31:09 765212b225bb: Verifying Checksum 02:31:09 765212b225bb: Download complete 02:31:09 f23df028b6ca: Verifying Checksum 02:31:09 f23df028b6ca: Download complete 02:31:09 d65c8cfc05b1: Verifying Checksum 02:31:09 d65c8cfc05b1: Download complete 02:31:09 699f458cf7ca: Verifying Checksum 02:31:09 699f458cf7ca: Download complete 02:31:10 8998bd30e6a1: Verifying Checksum 02:31:10 8998bd30e6a1: Download complete 02:31:12 2437ff75d9bd: Verifying Checksum 02:31:12 2437ff75d9bd: Download complete 02:31:14 8998bd30e6a1: Pull complete 02:31:15 04944245beec: Pull complete 02:31:17 699f458cf7ca: Pull complete 02:31:17 765212b225bb: Pull complete 02:31:18 f23df028b6ca: Pull complete 02:31:18 d65c8cfc05b1: Pull complete 02:31:36 2437ff75d9bd: Pull complete 02:31:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:31:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:36 prd-ubuntu20.04-docker-arm64-4c-16g-7050 does not seem to be running inside a container 02:31:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/213 -v /w/workspace/device-rest-go/213:/w/workspace/device-rest-go/213:rw,z -v /w/workspace/device-rest-go/213@tmp:/w/workspace/device-rest-go/213@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 02:31:39 $ docker top 4b066741ffcba0d92a6160d80f206dc63076805d0875477533dbec6e7419c3d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:40 ---> job-cost.sh 02:31:40 lf-activate-venv: SKIPPING 02:31:40 INFO: No Stack... 02:31:40 INFO: Retrieving Pricing Info for: v3-standard-4 02:31:41 INFO: Archiving Costs [Pipeline] sh 02:31:42 + cut -d, -f6 02:31:42 + cat /w/workspace/device-rest-go/213/archives/cost.csv [Pipeline] lock 02:31:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] 02:31:42 Resource [jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] did not exist. Created. 02:31:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:43 /w/workspace/device-rest-go/213@tmp/durable-2f44dd70/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:31:43 + echo total: 0.10999999940395355 [Pipeline] stash 02:31:43 Warning: overwriting stash ‘stack-cost’ 02:31:44 Stashed 1 file(s) [Pipeline] } 02:31:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-213-stack-cost] [Pipeline] // lock [Pipeline] } 02:31:44 $ docker stop --time=1 4b066741ffcba0d92a6160d80f206dc63076805d0875477533dbec6e7419c3d3 02:31:45 $ docker rm -f --volumes 4b066741ffcba0d92a6160d80f206dc63076805d0875477533dbec6e7419c3d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:31:46 provisioning config files... 02:31:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12236776858029923880tmp [Pipeline] { [Pipeline] sh 02:31:46 + set +x 02:31:46 + curl -s https://codecov.io/bash 02:31:46 + bash -s -- 02:31:46 02:31:46 _____ _ 02:31:46 / ____| | | 02:31:46 | | ___ __| | ___ ___ _____ __ 02:31:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:31:46 | |___| (_) | (_| | __/ (_| (_) \ V / 02:31:46 \_____\___/ \__,_|\___|\___\___/ \_/ 02:31:46 Bash-1.0.6 02:31:46 02:31:46 02:31:46 ==> git version 2.25.1 found 02:31:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:31:46 Release-Date: 2020-01-08 02:31:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:31:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:31:46 ==> Jenkins CI detected. 02:31:46 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:31:46 project root: . 02:31:46 --> token set from env 02:31:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:31:46 ==> Running gcov in . (disable via -X gcov) 02:31:46 ==> Python coveragepy not found 02:31:46 ==> Searching for coverage reports in: 02:31:46 + . 02:31:46 -> Found 1 reports 02:31:46 ==> Detecting git/mercurial file structure 02:31:46 ==> Reading reports 02:31:46 + ./coverage.out bytes=14565 02:31:46 ==> Appending adjustments 02:31:46 https://docs.codecov.io/docs/fixing-reports 02:31:47 + Found adjustments 02:31:47 ==> Gzipping contents 02:31:47 4.0K /tmp/codecov.jWb4nJ.gz 02:31:47 ==> Uploading reports 02:31:47 url: https://codecov.io 02:31:47 query: branch=main&commit=629b5fd22bdbded9c224f315f990b52bbba2d066&build=213&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F213%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:31:47 -> Pinging Codecov 02:31:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=629b5fd22bdbded9c224f315f990b52bbba2d066&build=213&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F213%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:31:47 -> Uploading to 02:31:47 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/629b5fd22bdbded9c224f315f990b52bbba2d066/03077b87-839b-4761-b5cf-d9b8b5ae0cf3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250815%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250815T023146Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=f047a640a21cffe412ce30c5d7814af09ba612723191589242306ed67bd17802 02:31:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:31:47 Dload Upload Total Spent Left Speed 02:31:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 12780 --:--:-- --:--:-- --:--:-- 12780 02:31:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] } 02:31:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:31:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:31:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:31:47 02:31:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:31:48 latest: Pulling from edgex-devops/edgex-snyk-go 02:31:48 0a9a5dfd008f: Already exists 02:31:48 36466aa92d05: Already exists 02:31:48 e10405b45d13: Already exists 02:31:48 096b7ceb2af7: Already exists 02:31:48 4f4fb700ef54: Already exists 02:31:48 e50aa161e22a: Pulling fs layer 02:31:48 d3c8db5fb9df: Pulling fs layer 02:31:48 e50aa161e22a: Verifying Checksum 02:31:48 e50aa161e22a: Download complete 02:31:48 e50aa161e22a: Pull complete 02:31:49 d3c8db5fb9df: Verifying Checksum 02:31:49 d3c8db5fb9df: Download complete 02:31:52 d3c8db5fb9df: Pull complete 02:31:52 Digest: sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 02:31:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:31:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:52 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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-devops/edgex-snyk-go:latest cat 02:31:53 $ docker top a0b5b11a8eda7dd5f0f698b99b67ed48fbb65ca004b20df0a2f7369398fbebf6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 02:31:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:31:54 + set -o pipefail 02:31:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:32:01 02:32:01 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:32:01 02:32:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/2c6a6e5a-480c-4a8d-bd70-74a91f27622e 02:32:01 02:32:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:32:01 02:32:01 02:32:01 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:32:01 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:32:01 $ docker stop --time=1 a0b5b11a8eda7dd5f0f698b99b67ed48fbb65ca004b20df0a2f7369398fbebf6 02:32:04 $ docker rm -f --volumes a0b5b11a8eda7dd5f0f698b99b67ed48fbb65ca004b20df0a2f7369398fbebf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:05 + git log --format=format:%s -1 629b5fd22bdbded9c224f315f990b52bbba2d066 [Pipeline] sh 02:32:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:05 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:32:05 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:32:06 $ docker top c4a1a7b64f03847321618b087185863d07bc3b88efca6e548681dd99cdf92b97 -eo pid,comm 02:32:06 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). 02:32:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:06 [ssh-agent] Looking for ssh-agent implementation... 02:32:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:06 $ docker exec c4a1a7b64f03847321618b087185863d07bc3b88efca6e548681dd99cdf92b97 ssh-agent 02:32:06 SSH_AUTH_SOCK=/tmp/ssh-qKAEky63H8Wc/agent.32 02:32:06 SSH_AGENT_PID=38 02:32:06 Running ssh-add (command line suppressed) 02:32:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3145318149282847697.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3145318149282847697.key) 02:32:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:06 + git semver tag 02:32:07 2025-08-15 02:32:07,074 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:32:07 2025-08-15 02:32:07,080 [run_tag] DEBUG tag force:False 02:32:07 2025-08-15 02:32:07,080 [check_head_tag] DEBUG check head tag 02:32:07 2025-08-15 02:32:07,080 [execute] INFO git cat-file --batch-check 02:32:07 2025-08-15 02:32:07,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 02:32:07 2025-08-15 02:32:07,082 [execute] INFO git cat-file --batch 02:32:07 2025-08-15 02:32:07,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 02:32:07 2025-08-15 02:32:07,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:07 2025-08-15 02:32:07,096 [execute] INFO git tag -a v4.1.0-dev.10 -m v4.1.0-dev.10 02:32:07 2025-08-15 02:32:07,096 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.10', '-m', 'v4.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 02:32:07 2025-08-15 02:32:07,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:07 4.1.0-dev.10 [Pipeline] } 02:32:07 $ docker exec --env ******** --env ******** c4a1a7b64f03847321618b087185863d07bc3b88efca6e548681dd99cdf92b97 ssh-agent -k 02:32:07 unset SSH_AUTH_SOCK; 02:32:07 unset SSH_AGENT_PID; 02:32:07 echo Agent pid 38 killed; 02:32:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:07 + git semver [Pipeline] } 02:32:08 $ docker stop --time=1 c4a1a7b64f03847321618b087185863d07bc3b88efca6e548681dd99cdf92b97 02:32:09 $ docker rm -f --volumes c4a1a7b64f03847321618b087185863d07bc3b88efca6e548681dd99cdf92b97 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:32:09 02:32:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:32:10 0.23.1-centos7: Pulling from edgex-lftools 02:32:10 ab5ef0e58194: Pulling fs layer 02:32:10 9712f1f96733: Pulling fs layer 02:32:10 63f879dbbcfc: Pulling fs layer 02:32:10 0d9ebad4ef96: Pulling fs layer 02:32:10 e9a5061849ea: Pulling fs layer 02:32:10 d747dcd14b5f: Pulling fs layer 02:32:10 2de7ff778b66: Pulling fs layer 02:32:10 e9a5061849ea: Waiting 02:32:10 d747dcd14b5f: Waiting 02:32:10 2de7ff778b66: Waiting 02:32:10 0d9ebad4ef96: Waiting 02:32:10 9712f1f96733: Download complete 02:32:10 63f879dbbcfc: Verifying Checksum 02:32:10 63f879dbbcfc: Download complete 02:32:10 e9a5061849ea: Verifying Checksum 02:32:10 e9a5061849ea: Download complete 02:32:10 d747dcd14b5f: Download complete 02:32:10 0d9ebad4ef96: Verifying Checksum 02:32:10 0d9ebad4ef96: Download complete 02:32:10 ab5ef0e58194: Verifying Checksum 02:32:10 ab5ef0e58194: Download complete 02:32:10 2de7ff778b66: Download complete 02:32:14 ab5ef0e58194: Pull complete 02:32:14 9712f1f96733: Pull complete 02:32:15 63f879dbbcfc: Pull complete 02:32:20 0d9ebad4ef96: Pull complete 02:32:20 e9a5061849ea: Pull complete 02:32:20 d747dcd14b5f: Pull complete 02:32:21 2de7ff778b66: Pull complete 02:32:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:32:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:32:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:21 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:32:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:32:23 $ docker top 0e61ba25f9b12bbdf4e823b15a78ba84aaa2ef9ab8fae3bb1223f2c3c6ce8aee -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:32:23 provisioning config files... 02:32:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4792361841299749688tmp 02:32:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16143353112765842403tmp 02:32:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12418385978085894479tmp [Pipeline] { [Pipeline] echo 02:32:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:32:24 ---> sigul-configuration.sh 02:32:24 gpg: directory `/root/.gnupg' created 02:32:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:32:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:32:24 gpg: keyring `/root/.gnupg/secring.gpg' created 02:32:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:32:24 gpg: CAST5 encrypted data 02:32:24 gpg: encrypted with 1 passphrase 02:32:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:32:24 + mkdir /home/jenkins 02:32:24 + mkdir /home/jenkins/sigul [Pipeline] sh 02:32:24 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:32:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:32:24 ---> sigul-install.sh 02:32:24 Sigul already installed; skipping installation. [Pipeline] sh 02:32:25 + git tag --list 02:32:25 v1.0.0 02:32:25 v1.1.0 02:32:25 v1.1.1 02:32:25 v1.1.2 02:32:25 v1.2.0 02:32:25 v1.2.1 02:32:25 v2.0.0 02:32:25 v2.1.0 02:32:25 v2.1.1 02:32:25 v2.2.0 02:32:25 v2.3.0 02:32:25 v3.0 02:32:25 v3.0.0 02:32:25 v3.1 02:32:25 v3.1.0 02:32:25 v3.1.1 02:32:25 v4.0 02:32:25 v4.0.0 02:32:25 v4.1.0-dev.1 02:32:25 v4.1.0-dev.10 02:32:25 v4.1.0-dev.2 02:32:25 v4.1.0-dev.3 02:32:25 v4.1.0-dev.4 02:32:25 v4.1.0-dev.5 02:32:25 v4.1.0-dev.6 02:32:25 v4.1.0-dev.7 02:32:25 v4.1.0-dev.8 02:32:25 v4.1.0-dev.9 [Pipeline] sh 02:32:25 + lftools sign git-tag v4.1.0-dev.10 02:32:26 Signing Git tag with Sigul... 02:32:26 Signing v4.1.0-dev.10 [Pipeline] echo 02:32:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:32:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:32:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:32:26 $ docker stop --time=1 0e61ba25f9b12bbdf4e823b15a78ba84aaa2ef9ab8fae3bb1223f2c3c6ce8aee 02:32:28 $ docker rm -f --volumes 0e61ba25f9b12bbdf4e823b15a78ba84aaa2ef9ab8fae3bb1223f2c3c6ce8aee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:32:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:29 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:32:29 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:32:29 $ docker top 50c448dce78298ff6f4540f7f9942565b89493a1f3a0142d68d1c64e8ddf53ee -eo pid,comm 02:32:29 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). 02:32:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:29 [ssh-agent] Looking for ssh-agent implementation... 02:32:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:29 $ docker exec 50c448dce78298ff6f4540f7f9942565b89493a1f3a0142d68d1c64e8ddf53ee ssh-agent 02:32:29 SSH_AUTH_SOCK=/tmp/ssh-E71V1djZ0aU3/agent.32 02:32:29 SSH_AGENT_PID=38 02:32:29 Running ssh-add (command line suppressed) 02:32:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15373317988802974302.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15373317988802974302.key) 02:32:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:30 + git semver bump pre 02:32:30 2025-08-15 02:32:30,294 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:32:30 2025-08-15 02:32:30,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:30 2025-08-15 02:32:30,298 [bump_version] DEBUG bumping version:4.1.0-dev.10 on axis:pre with prefix:dev 02:32:30 2025-08-15 02:32:30,298 [bump_version] DEBUG bumped version:4.1.0-dev.11 02:32:30 2025-08-15 02:32:30,298 [write_version] DEBUG write version:4.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 02:32:30 2025-08-15 02:32:30,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:30 2025-08-15 02:32:30,298 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:30 2025-08-15 02:32:30,300 [execute] INFO git cat-file --batch-check 02:32:30 2025-08-15 02:32:30,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 02:32:30 2025-08-15 02:32:30,304 [execute] INFO git cat-file --batch 02:32:30 2025-08-15 02:32:30,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 02:32:30 2025-08-15 02:32:30,308 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:30 4.1.0-dev.11 [Pipeline] } 02:32:30 $ docker exec --env ******** --env ******** 50c448dce78298ff6f4540f7f9942565b89493a1f3a0142d68d1c64e8ddf53ee ssh-agent -k 02:32:30 unset SSH_AUTH_SOCK; 02:32:30 unset SSH_AGENT_PID; 02:32:30 echo Agent pid 38 killed; 02:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:31 + git semver [Pipeline] } 02:32:31 $ docker stop --time=1 50c448dce78298ff6f4540f7f9942565b89493a1f3a0142d68d1c64e8ddf53ee 02:32:32 $ docker rm -f --volumes 50c448dce78298ff6f4540f7f9942565b89493a1f3a0142d68d1c64e8ddf53ee [Pipeline] // withDockerContainer [Pipeline] sh 02:32:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:33 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:32:33 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:32:33 $ docker top c75d65cca6820b0267890aa2859c367c40c6881a2c5a263e2bfb201984db08ec -eo pid,comm 02:32:33 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). 02:32:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:33 [ssh-agent] Looking for ssh-agent implementation... 02:32:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:33 $ docker exec c75d65cca6820b0267890aa2859c367c40c6881a2c5a263e2bfb201984db08ec ssh-agent 02:32:33 SSH_AUTH_SOCK=/tmp/ssh-v49H0sjQGFv8/agent.32 02:32:33 SSH_AGENT_PID=38 02:32:33 Running ssh-add (command line suppressed) 02:32:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10321809209893388065.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10321809209893388065.key) 02:32:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:34 + git semver push 02:32:34 2025-08-15 02:32:34,504 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:32:34 2025-08-15 02:32:34,508 [run_push] DEBUG push 02:32:34 2025-08-15 02:32:34,509 [execute] INFO git cat-file --batch-check 02:32:34 2025-08-15 02:32:34,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 02:32:34 2025-08-15 02:32:34,511 [execute] INFO git rev-list b9206b665225611ab85f7318e32a058e38be8b1c -- 02:32:34 2025-08-15 02:32:34,511 [execute] DEBUG Popen(['git', 'rev-list', 'b9206b665225611ab85f7318e32a058e38be8b1c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 02:32:34 2025-08-15 02:32:34,522 [execute] INFO git fetch -v -- origin 02:32:34 2025-08-15 02:32:34,522 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 02:32:35 2025-08-15 02:32:34,980 [run_push] DEBUG no remote changes detected 02:32:35 2025-08-15 02:32:34,980 [execute] INFO git push origin semver 02:32:35 2025-08-15 02:32:34,980 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 02:32:36 2025-08-15 02:32:36,001 [run_push] DEBUG push all version tags 02:32:36 2025-08-15 02:32:36,001 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:32:36 2025-08-15 02:32:36,001 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 02:32:36 2025-08-15 02:32:36,969 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:36 4.1.0-dev.11 [Pipeline] } 02:32:37 $ docker exec --env ******** --env ******** c75d65cca6820b0267890aa2859c367c40c6881a2c5a263e2bfb201984db08ec ssh-agent -k 02:32:37 unset SSH_AUTH_SOCK; 02:32:37 unset SSH_AGENT_PID; 02:32:37 echo Agent pid 38 killed; 02:32:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:37 + git semver [Pipeline] } 02:32:37 $ docker stop --time=1 c75d65cca6820b0267890aa2859c367c40c6881a2c5a263e2bfb201984db08ec 02:32:39 $ docker rm -f --volumes c75d65cca6820b0267890aa2859c367c40c6881a2c5a263e2bfb201984db08ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:32:40 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:32:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:32:40 total 16 02:32:40 drwxr-xr-x 3 root root 4096 Aug 15 02:19 . 02:32:40 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 02:32 .. 02:32:40 drwxr-xr-x 2 root root 4096 Aug 15 02:19 cost 02:32:40 -rw-r--r-- 1 root root 86 Aug 15 02:19 cost.csv 02:32:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:32:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:32:40 total 16 02:32:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 02:19 . 02:32:40 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 02:32 .. 02:32:40 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 02:19 cost 02:32:40 -rw-r--r-- 1 jenkins jenkins 86 Aug 15 02:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:32:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:32:41 ---> package-listing.sh 02:32:41 ++ facter osfamily 02:32:41 ++ tr '[:upper:]' '[:lower:]' 02:32:41 + OS_FAMILY=debian 02:32:41 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:32:41 + START_PACKAGES=/tmp/packages_start.txt 02:32:41 + END_PACKAGES=/tmp/packages_end.txt 02:32:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:32:41 + PACKAGES=/tmp/packages_start.txt 02:32:41 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:32:41 + PACKAGES=/tmp/packages_end.txt 02:32:41 + case "${OS_FAMILY}" in 02:32:41 + dpkg -l 02:32:41 + grep '^ii' 02:32:41 + '[' -f /tmp/packages_start.txt ']' 02:32:41 + '[' -f /tmp/packages_end.txt ']' 02:32:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:32:41 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:32:41 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:32:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:32:41 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 02:32:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:42 prd-ubuntu20.04-docker-8c-8g-7045 does not seem to be running inside a container 02:32:42 $ 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 02:32:42 $ docker top 0301dea7dd5733a363f4a03089a07c5a30f849392d71a3aa2f4b3fc0c6a45450 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:43 + touch /tmp/pre-build-complete [Pipeline] sh 02:32:43 + mkdir -p /var/log/sysstat [Pipeline] sh 02:32:44 + ls /var/log/sa-host 02:32:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:44 provisioning config files... 02:32:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config997012740758095546tmp [Pipeline] { [Pipeline] echo 02:32:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:32:44 ---> create-netrc.sh [Pipeline] } 02:32:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:32:47 ---> python-tools-install.sh [Pipeline] echo 02:32:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:32:49 ---> sudo-logs.sh 02:32:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:32:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:32:49 ---> job-cost.sh 02:32:49 lf-activate-venv: SKIPPING 02:32:49 DEBUG: total: 0.2199999988079071 02:32:49 INFO: Retrieving Stack Cost... 02:32:50 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:50 INFO: Archiving Costs [Pipeline] echo 02:32:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:32:50 ---> logs-deploy.sh 02:32:50 lf-activate-venv: SKIPPING 02:32:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/213 02:32:50 INFO: archiving workspace using pattern(s): 02:32:51 Archives upload complete. 02:32:51 INFO: archiving logs to Nexus