Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd4b122dfb0a4010481292c64dce67798bdd73bb 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-ssh3057605562207067603.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-ssh10605235661769774561.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-ssh11308119552024097511.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-ssh1312274596232684961.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-ssh2859682547920609271.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7678 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bd4b122dfb0a4010481292c64dce67798bdd73bb (main) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#491)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd4b122dfb0a4010481292c64dce67798bdd73bb # timeout=10 > git rev-list --no-walk cd526e34f6015168fb3eb01d3dab0004615c0f07 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:07:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:07:19 ========================================================= 05:07:19 EdgeX Global Pipelines Version Info 05:07:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:07:19 ------------------- 05:07:19 stable info: 05:07:19 ------------------- 05:07:19 Commited By: Cherry Wang cherry@iotechsys.com 05:07:19 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 05:07:19 Message: update stable to v1.0.276 05:07:20 ------------------- 05:07:20 experimental info: 05:07:20 ------------------- 05:07:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:07:20 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 05:07:20 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:07:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:07:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:07:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd4b122 [Pipeline] echo 05:07:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:21 provisioning config files... 05:07:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16958878262010629665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:22 ---> ****-login.sh 05:07:22 nexus3.edgexfoundry.org:10001 05:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:22 05:07:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:07:22 Configure a credential helper to remove this warning. See 05:07:22 https://docs.****.com/go/credential-store/ 05:07:22 05:07:22 Login Succeeded 05:07:22 nexus3.edgexfoundry.org:10002 05:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:22 05:07:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:07:22 Configure a credential helper to remove this warning. See 05:07:22 https://docs.****.com/go/credential-store/ 05:07:22 05:07:22 Login Succeeded 05:07:22 nexus3.edgexfoundry.org:10003 05:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:22 05:07:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:07:22 Configure a credential helper to remove this warning. See 05:07:22 https://docs.****.com/go/credential-store/ 05:07:22 05:07:22 Login Succeeded 05:07:22 nexus3.edgexfoundry.org:10004 05:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:22 05:07:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:07:22 Configure a credential helper to remove this warning. See 05:07:22 https://docs.****.com/go/credential-store/ 05:07:22 05:07:22 Login Succeeded 05:07:22 ****.io 05:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:22 05:07:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:07:22 Configure a credential helper to remove this warning. See 05:07:22 https://docs.****.com/go/credential-store/ 05:07:22 05:07:22 Login Succeeded 05:07:22 ---> ****-login.sh ends [Pipeline] } 05:07:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:07:23 + git rev-list -1 --merges bd4b122dfb0a4010481292c64dce67798bdd73bb~1..bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] echo 05:07:23 -----------> git rev-list -1 --merges bd4b122dfb0a4010481292c64dce67798bdd73bb~1..bd4b122dfb0a4010481292c64dce67798bdd73bb bd4b122dfb0a4010481292c64dce67798bdd73bb [false] [Pipeline] sh 05:07:23 + git log --format=format:%s -1 bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] echo 05:07:23 ========================================================= 05:07:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:07:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:24 + git log --format=format:%s -1 bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] echo 05:07:24 [semverPrep] GIT_COMMIT: bd4b122dfb0a4010481292c64dce67798bdd73bb, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#491) [Pipeline] echo 05:07:24 [semverPrep] This is not a build commit. [Pipeline] sh 05:07:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:07:24 + grep -v github /etc/ssh/ssh_known_hosts 05:07:24 + [ -e /tmp/ssh_known_hosts ] 05:07:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:07:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:07:24 + sudo tee -a /etc/ssh/ssh_known_hosts 05:07:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:24 05:07:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:25 0.1.4: Pulling from edgex-devops/py-git-semver 05:07:25 3dae71ba6b94: Pulling fs layer 05:07:25 6bf1a483ea7c: Pulling fs layer 05:07:25 f5dfc541a4d3: Pulling fs layer 05:07:25 461d9e800cba: Pulling fs layer 05:07:25 80192f66455f: Pulling fs layer 05:07:25 2e8e34ca0e6c: Pulling fs layer 05:07:25 a29436f7fd5d: Pulling fs layer 05:07:25 923cac83aea3: Pulling fs layer 05:07:25 25ad8b0a4227: Pulling fs layer 05:07:25 db01528c6b51: Pulling fs layer 05:07:25 28988de357af: Pulling fs layer 05:07:25 461d9e800cba: Waiting 05:07:25 2e8e34ca0e6c: Waiting 05:07:25 80192f66455f: Waiting 05:07:25 a29436f7fd5d: Waiting 05:07:25 923cac83aea3: Waiting 05:07:25 db01528c6b51: Waiting 05:07:25 25ad8b0a4227: Waiting 05:07:25 6bf1a483ea7c: Verifying Checksum 05:07:25 6bf1a483ea7c: Download complete 05:07:25 461d9e800cba: Verifying Checksum 05:07:25 461d9e800cba: Download complete 05:07:25 80192f66455f: Verifying Checksum 05:07:25 80192f66455f: Download complete 05:07:25 f5dfc541a4d3: Verifying Checksum 05:07:25 f5dfc541a4d3: Download complete 05:07:25 3dae71ba6b94: Verifying Checksum 05:07:25 3dae71ba6b94: Download complete 05:07:25 923cac83aea3: Download complete 05:07:25 25ad8b0a4227: Verifying Checksum 05:07:25 25ad8b0a4227: Download complete 05:07:25 db01528c6b51: Verifying Checksum 05:07:25 db01528c6b51: Download complete 05:07:25 28988de357af: Download complete 05:07:25 a29436f7fd5d: Verifying Checksum 05:07:25 a29436f7fd5d: Download complete 05:07:25 2e8e34ca0e6c: Verifying Checksum 05:07:25 2e8e34ca0e6c: Download complete 05:07:26 3dae71ba6b94: Pull complete 05:07:27 6bf1a483ea7c: Pull complete 05:07:28 f5dfc541a4d3: Pull complete 05:07:28 461d9e800cba: Pull complete 05:07:28 80192f66455f: Pull complete 05:07:32 2e8e34ca0e6c: Pull complete 05:07:32 a29436f7fd5d: Pull complete 05:07:32 923cac83aea3: Pull complete 05:07:32 25ad8b0a4227: Pull complete 05:07:32 db01528c6b51: Pull complete 05:07:32 28988de357af: Pull complete 05:07:32 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:32 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:07:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:07:35 $ docker top 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 -eo pid,comm 05:07:35 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). 05:07:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:35 [ssh-agent] Looking for ssh-agent implementation... 05:07:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:35 $ docker exec 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 ssh-agent 05:07:35 SSH_AUTH_SOCK=/tmp/ssh-fjWsa018m2gd/agent.33 05:07:35 SSH_AGENT_PID=39 05:07:35 Running ssh-add (command line suppressed) 05:07:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15170233198121255115.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15170233198121255115.key) 05:07:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 05:07:36 + git tag --points-at HEAD [Pipeline] } 05:07:36 $ docker exec --env ******** --env ******** 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 ssh-agent -k 05:07:36 unset SSH_AUTH_SOCK; 05:07:36 unset SSH_AGENT_PID; 05:07:36 echo Agent pid 39 killed; 05:07:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:36 [ssh-agent] Looking for ssh-agent implementation... 05:07:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:36 $ docker exec 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 ssh-agent 05:07:36 SSH_AUTH_SOCK=/tmp/ssh-OgxBLfIV5Hm5/agent.87 05:07:36 SSH_AGENT_PID=93 05:07:36 Running ssh-add (command line suppressed) 05:07:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6742172980672668883.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6742172980672668883.key) 05:07:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:36 + git semver init 05:07:37 2025-08-27 05:07:37,188 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:07:37 2025-08-27 05:07:37,192 [run_init] DEBUG init version:0.0.0 force:False 05:07:37 2025-08-27 05:07:37,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 05:07:37 2025-08-27 05:07:37,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 05:07:37 2025-08-27 05:07:37,193 [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) 05:07:38 2025-08-27 05:07:38,581 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 05:07:38 2025-08-27 05:07:38,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 05:07:38 2025-08-27 05:07:38,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:07:38 2025-08-27 05:07:38,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:07:38 4.1.0-dev.12 [Pipeline] } 05:07:38 $ docker exec --env ******** --env ******** 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 ssh-agent -k 05:07:38 unset SSH_AUTH_SOCK; 05:07:38 unset SSH_AGENT_PID; 05:07:38 echo Agent pid 93 killed; 05:07:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:39 + git semver [Pipeline] } 05:07:39 $ docker stop --time=1 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 05:07:40 $ docker rm -f --volumes 6cf4da973cad6217c7a072cda6be2742275b0f141277337888685bf3ff5a4350 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:41 Stashed 1 file(s) [Pipeline] echo 05:07:41 [edgeXSemver]: initialized semver on version 4.1.0-dev.12 [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 05:07:41 provisioning config files... 05:07:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15017064155288739900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:42 ---> ****-login.sh 05:07:42 nexus3.edgexfoundry.org:10001 05:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:42 Login Succeeded 05:07:42 nexus3.edgexfoundry.org:10002 05:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:42 Login Succeeded 05:07:42 nexus3.edgexfoundry.org:10003 05:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:42 Login Succeeded 05:07:42 nexus3.edgexfoundry.org:10004 05:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:42 Login Succeeded 05:07:42 ****.io 05:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:42 Login Succeeded 05:07:42 ---> ****-login.sh ends [Pipeline] } 05:07:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:07:42 ========================================================= 05:07:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:07:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:43 + 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 . 05:07:44 #0 building with "default" instance using docker driver 05:07:44 05:07:44 #1 [internal] load build definition from Dockerfile 05:07:44 #1 transferring dockerfile: 1.74kB done 05:07:44 #1 DONE 0.0s 05:07:44 05:07:44 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:07:44 #2 DONE 0.1s 05:07:44 05:07:44 #3 [internal] load .dockerignore 05:07:44 #3 transferring context: 193B done 05:07:44 #3 DONE 0.0s 05:07:44 05:07:44 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 05:07:44 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 05:07:44 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 05:07:44 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 05:07:44 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 05:07:44 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s 05:07:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 3.15MB / 74.06MB 0.1s 05:07:44 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 05:07:44 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 05:07:44 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 05:07:44 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 05:07:44 #4 ... 05:07:44 05:07:44 #5 [internal] load build context 05:07:44 #5 transferring context: 21.63MB 0.2s done 05:07:44 #5 DONE 0.2s 05:07:44 05:07:44 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 05:07:44 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 05:07:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 27.26MB / 74.06MB 0.3s 05:07:44 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 05:07:44 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.1s done 05:07:44 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s done 05:07:44 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 4.19MB / 103.05MB 0.3s 05:07:44 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 1.05MB / 13.29MB 0.3s 05:07:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 54.53MB / 74.06MB 0.5s 05:07:44 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 15.73MB / 103.05MB 0.5s 05:07:44 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 4.19MB / 13.29MB 0.5s 05:07:44 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 05:07:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.6s 05:07:44 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 25.17MB / 103.05MB 0.6s 05:07:44 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 11.53MB / 13.29MB 0.6s 05:07:44 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 36.70MB / 103.05MB 0.7s 05:07:44 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.7s 05:07:44 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.9s done 05:07:44 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 69.21MB / 103.05MB 0.9s 05:07:44 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.9s done 05:07:44 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 93.32MB / 103.05MB 1.0s 05:07:44 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 0.1s 05:07:45 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.1s 05:07:45 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.3s done 05:07:50 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 5.0s done 05:07:50 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 05:07:50 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 05:07:50 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 05:07:50 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 05:07:50 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 05:07:50 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 05:07:50 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 05:07:53 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 3.0s done 05:07:53 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 05:07:54 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.6s done 05:07:54 #4 DONE 10.2s 05:07:54 05:07:54 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:07:54 #6 0.245 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:07:54 #6 0.402 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:07:54 #6 0.782 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:07:54 #6 0.793 (2/4) Installing libedit (20240517.3.1-r0) 05:07:54 #6 0.799 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:07:54 #6 0.823 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:07:54 #6 0.833 Executing busybox-1.36.1-r29.trigger 05:07:54 #6 0.844 OK: 252 MiB in 62 packages 05:07:56 Still waiting to schedule task 05:07:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:07:57 #6 DONE 3.0s 05:07:57 05:07:57 #7 [builder 3/7] WORKDIR /device-rest-go 05:07:57 #7 DONE 0.0s 05:07:57 05:07:57 #8 [builder 4/7] COPY go.mod vendor* ./ 05:07:57 #8 DONE 0.0s 05:07:57 05:07:57 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:19 #9 DONE 19.0s 05:08:19 05:08:19 #10 [builder 6/7] COPY . . 05:08:19 #10 DONE 0.1s 05:08:19 05:08:19 #11 [builder 7/7] RUN echo noop 05:08:19 #11 0.208 noop 05:08:19 #11 DONE 0.3s 05:08:19 05:08:19 #12 exporting to image 05:08:19 #12 exporting layers 05:08:23 #12 exporting layers 6.9s done 05:08:23 #12 writing image sha256:806001180c9bc7805beb081b408e1c856b26a896f4cc13cb30513aa10236973e done 05:08:23 #12 naming to docker.io/library/ci-base-image-x86_64 done 05:08:23 #12 DONE 6.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:23 + docker inspect -f . ci-base-image-x86_64 05:08:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:24 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:08:24 $ 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 ******** ci-base-image-x86_64 cat 05:08:24 $ docker top cb055526f5d5289d7043543233019ee604549b2aacbfe535340a0cbf1cecdf80 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:24 + go version 05:08:24 go version go1.23.9 linux/amd64 [Pipeline] } 05:08:24 $ docker stop --time=1 cb055526f5d5289d7043543233019ee604549b2aacbfe535340a0cbf1cecdf80 05:08:25 $ docker rm -f --volumes cb055526f5d5289d7043543233019ee604549b2aacbfe535340a0cbf1cecdf80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:26 + docker inspect -f . ci-base-image-x86_64 05:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:26 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:08:26 $ 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 ******** ci-base-image-x86_64 cat 05:08:26 $ docker top d3d887248c6ccc8e24e6806f425214ae6e6106d1d025885e677202d85c058500 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 05:08:27 + make test 05:08:27 go test ./... -coverprofile=coverage.out ./... 05:08:28 ? github.com/edgexfoundry/device-rest-go [no test files] 05:08:50 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:08:50 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements 05:09:00 go vet ./... 05:09:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:04 ./bin/test-attribution-txt.sh 05:09:05 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 05:09:05 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 05:09:05 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 05:09:05 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 05:09:05 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 05:09:05 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 05:09:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:09:05 $ docker stop --time=1 d3d887248c6ccc8e24e6806f425214ae6e6106d1d025885e677202d85c058500 05:09:07 $ docker rm -f --volumes d3d887248c6ccc8e24e6806f425214ae6e6106d1d025885e677202d85c058500 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:09:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:08 + ls -al . 05:09:08 total 244 05:09:08 drwxrwxr-x 9 jenkins jenkins 4096 Aug 27 05:08 . 05:09:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 05:07 .. 05:09:08 -rw-rw-r-- 1 jenkins jenkins 151 Aug 27 05:07 .dockerignore 05:09:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 05:08 .git 05:09:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:07 .github 05:09:08 -rw-rw-r-- 1 jenkins jenkins 264 Aug 27 05:07 .gitignore 05:09:08 -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 05:07 .golangci.yml 05:09:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 05:07 .semver 05:09:08 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 27 05:07 Attribution.txt 05:09:08 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 27 05:07 CHANGELOG.md 05:09:08 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 27 05:07 Dockerfile 05:09:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 05:07 GOVERNANCE.md 05:09:08 -rw-rw-r-- 1 jenkins jenkins 680 Aug 27 05:07 Jenkinsfile 05:09:08 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 27 05:07 LICENSE 05:09:08 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 27 05:07 Makefile 05:09:08 -rw-rw-r-- 1 jenkins jenkins 620 Aug 27 05:07 OWNERS.md 05:09:08 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 27 05:07 README.md 05:09:08 -rw-rw-r-- 1 jenkins jenkins 12 Aug 27 05:07 VERSION 05:09:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 05:07 bin 05:09:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:07 cmd 05:09:08 -rw-r--r-- 1 jenkins jenkins 14565 Aug 27 05:08 coverage.out 05:09:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 05:07 driver 05:09:08 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 27 05:07 go.mod 05:09:08 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 27 05:07 go.sum 05:09:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:07 openapi 05:09:08 -rw-rw-r-- 1 jenkins jenkins 713 Aug 27 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:09 + 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=bd4b122dfb0a4010481292c64dce67798bdd73bb --label arch=amd64 --label version=4.1.0-dev.12 . 05:09:09 #0 building with "default" instance using docker driver 05:09:09 05:09:09 #1 [internal] load build definition from Dockerfile 05:09:09 #1 transferring dockerfile: 1.74kB done 05:09:09 #1 WARN: UndefinedVar: Usage of undefined variable '$VERSION' (line 41) 05:09:09 #1 DONE 0.0s 05:09:09 05:09:09 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 05:09:09 #2 DONE 0.0s 05:09:09 05:09:09 #3 [internal] load metadata for docker.io/library/alpine:3.20 05:09:09 #3 DONE 0.1s 05:09:09 05:09:09 #4 [internal] load .dockerignore 05:09:09 #4 transferring context: 193B done 05:09:09 #4 DONE 0.0s 05:09:09 05:09:09 #5 [internal] load build context 05:09:09 #5 transferring context: 18.46kB 0.0s done 05:09:09 #5 DONE 0.0s 05:09:09 05:09:09 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 05:09:09 #6 DONE 0.1s 05:09:09 05:09:09 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 05:09:09 #7 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d done 05:09:09 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 05:09:09 #7 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 05:09:09 #7 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 05:09:09 #7 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 05:09:09 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s done 05:09:09 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 05:09:09 #7 DONE 0.3s 05:09:09 05:09:09 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:09:09 #8 0.201 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:09:10 #8 0.294 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:09:10 #8 0.626 (1/1) Installing dumb-init (1.2.5-r3) 05:09:10 #8 ... 05:09:10 05:09:10 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:09:10 #9 0.218 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:09:10 #9 0.506 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:09:10 #9 0.852 OK: 252 MiB in 62 packages 05:09:10 #9 DONE 1.0s 05:09:10 05:09:10 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:09:10 #8 0.631 Executing busybox-1.36.1-r29.trigger 05:09:10 #8 0.640 OK: 8 MiB in 15 packages 05:09:10 #8 DONE 0.7s 05:09:10 05:09:10 #10 [builder 3/7] WORKDIR /device-rest-go 05:09:10 #10 DONE 0.0s 05:09:10 05:09:10 #11 [builder 4/7] COPY go.mod vendor* ./ 05:09:10 #11 DONE 0.0s 05:09:10 05:09:10 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:10 #12 DONE 0.5s 05:09:10 05:09:10 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:09:10 #13 0.434 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:09:10 #13 0.505 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:09:11 #13 ... 05:09:11 05:09:11 #14 [builder 6/7] COPY . . 05:09:11 #14 DONE 0.1s 05:09:11 05:09:11 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:09:11 #13 0.781 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 05:09:11 #13 0.796 Executing busybox-1.36.1-r30.post-upgrade 05:09:11 #13 0.833 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 05:09:11 #13 0.922 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 05:09:11 #13 1.010 Executing busybox-1.36.1-r30.trigger 05:09:11 #13 1.015 OK: 8 MiB in 15 packages 05:09:11 #13 DONE 1.1s 05:09:11 05:09:11 #15 [builder 7/7] RUN make build 05:09:11 #15 0.211 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.32 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 05:09:37 #15 DONE 23.1s 05:09:37 05:09:37 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 05:09:37 #16 DONE 0.1s 05:09:37 05:09:37 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 05:09:37 #17 DONE 0.0s 05:09:37 05:09:37 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 05:09:37 #18 DONE 0.0s 05:09:37 05:09:37 #19 exporting to image 05:09:37 #19 exporting layers 0.1s done 05:09:37 #19 writing image sha256:032001e3a71fcbddd728a224a2d9e388e597628b997f837b7a6b5e96f7166894 done 05:09:37 #19 naming to docker.io/library/device-rest done 05:09:37 #19 DONE 0.1s 05:09:37 05:09:37 1 warning found (use docker --debug to expand): 05:09:37  - 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 05:09:38 provisioning config files... 05:09:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8745790559686020861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:38 ---> ****-login.sh 05:09:38 nexus3.edgexfoundry.org:10001 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10002 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10003 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10004 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 Login Succeeded 05:09:38 ****.io 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 Login Succeeded 05:09:38 ---> ****-login.sh ends [Pipeline] } 05:09:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:09:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:09:38 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:09:38 bd4b122dfb0a4010481292c64dce67798bdd73bb 05:09:38 latest 05:09:38 4.1.0-dev.12 05:09:38 bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:09:38 main 05:09:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:09:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:09:39 c11361043c29: Preparing 05:09:39 5b3bb49a4d2b: Preparing 05:09:39 973064c9b0c3: Preparing 05:09:39 96eb98f1d4f5: Preparing 05:09:39 bc59b401855d: Preparing 05:09:39 097100c76c15: Preparing 05:09:39 5b3bb49a4d2b: Pushed 05:09:39 c11361043c29: Pushed 05:09:39 bc59b401855d: Pushed 05:09:39 097100c76c15: Layer already exists 05:09:39 96eb98f1d4f5: Pushed 05:09:43 973064c9b0c3: Pushed 05:09:43 bd4b122dfb0a4010481292c64dce67798bdd73bb: digest: sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:09:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:09:44 c11361043c29: Preparing 05:09:44 5b3bb49a4d2b: Preparing 05:09:44 973064c9b0c3: Preparing 05:09:44 96eb98f1d4f5: Preparing 05:09:44 bc59b401855d: Preparing 05:09:44 097100c76c15: Preparing 05:09:44 097100c76c15: Waiting 05:09:44 c11361043c29: Layer already exists 05:09:44 5b3bb49a4d2b: Layer already exists 05:09:44 973064c9b0c3: Layer already exists 05:09:44 bc59b401855d: Layer already exists 05:09:44 96eb98f1d4f5: Layer already exists 05:09:44 097100c76c15: Layer already exists 05:09:44 latest: digest: sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 05:09:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:09:45 c11361043c29: Preparing 05:09:45 5b3bb49a4d2b: Preparing 05:09:45 973064c9b0c3: Preparing 05:09:45 96eb98f1d4f5: Preparing 05:09:45 bc59b401855d: Preparing 05:09:45 097100c76c15: Preparing 05:09:45 097100c76c15: Waiting 05:09:45 973064c9b0c3: Layer already exists 05:09:45 c11361043c29: Layer already exists 05:09:45 5b3bb49a4d2b: Layer already exists 05:09:45 96eb98f1d4f5: Layer already exists 05:09:45 bc59b401855d: Layer already exists 05:09:45 097100c76c15: Layer already exists 05:09:45 4.1.0-dev.12: digest: sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:09:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:09:45 c11361043c29: Preparing 05:09:45 5b3bb49a4d2b: Preparing 05:09:45 973064c9b0c3: Preparing 05:09:45 96eb98f1d4f5: Preparing 05:09:45 bc59b401855d: Preparing 05:09:45 097100c76c15: Preparing 05:09:45 097100c76c15: Waiting 05:09:45 5b3bb49a4d2b: Layer already exists 05:09:45 96eb98f1d4f5: Layer already exists 05:09:45 973064c9b0c3: Layer already exists 05:09:45 c11361043c29: Layer already exists 05:09:45 bc59b401855d: Layer already exists 05:09:45 097100c76c15: Layer already exists 05:09:45 bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12: digest: sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 05:09:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:09:46 c11361043c29: Preparing 05:09:46 5b3bb49a4d2b: Preparing 05:09:46 973064c9b0c3: Preparing 05:09:46 96eb98f1d4f5: Preparing 05:09:46 bc59b401855d: Preparing 05:09:46 097100c76c15: Preparing 05:09:46 097100c76c15: Waiting 05:09:46 96eb98f1d4f5: Layer already exists 05:09:46 973064c9b0c3: Layer already exists 05:09:46 5b3bb49a4d2b: Layer already exists 05:09:46 c11361043c29: Layer already exists 05:09:46 bc59b401855d: Layer already exists 05:09:46 097100c76c15: Layer already exists 05:09:46 main: digest: sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:09:46 ===================================================== [Pipeline] echo 05:09:46 taggedImages: 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 05:09:46 ========================================================= 05:09:46 [edgeXBuildMultiArch] RAW Config: 05:09:46 images: 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:09:46 - nexus3.edgexfoundry.org:10004/device-rest:main 05:09:46 settingsFile: 05:09:46 device-rest-go-settings 05:09:46 ========================================================= [Pipeline] node 05:10:01 Still waiting to schedule task 05:10:01 All nodes of label ‘centos7-docker-4c-2g’ are offline 05:10:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7681 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 05:10:33 Running in /w/workspace/device-rest-go/216 [Pipeline] { [Pipeline] checkout 05:10:33 The recommended git tool is: git 05:10:38 using credential edgex-jenkins-ssh 05:10:38 Cloning the remote Git repository 05:10:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:10:39 > git init /w/workspace/device-rest-go/216 # timeout=10 05:10:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:10:39 > git --version # timeout=10 05:10:39 > git --version # 'git version 2.25.1' 05:10:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:10:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:44 Avoid second fetch 05:10:44 Checking out Revision bd4b122dfb0a4010481292c64dce67798bdd73bb (main) 05:10:44 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#491)" 05:10:44 > git config core.sparsecheckout # timeout=10 05:10:44 > git checkout -f bd4b122dfb0a4010481292c64dce67798bdd73bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:49 provisioning config files... 05:10:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/216@tmp/config3675548785833514985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:49 ---> ****-login.sh 05:10:49 nexus3.edgexfoundry.org:10001 05:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:50 Configure a credential helper to remove this warning. See 05:10:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:50 05:10:50 Login Succeeded 05:10:50 nexus3.edgexfoundry.org:10002 05:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:50 Configure a credential helper to remove this warning. See 05:10:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:50 05:10:50 Login Succeeded 05:10:50 nexus3.edgexfoundry.org:10003 05:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:51 Configure a credential helper to remove this warning. See 05:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:51 05:10:51 Login Succeeded 05:10:51 nexus3.edgexfoundry.org:10004 05:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:51 Configure a credential helper to remove this warning. See 05:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:51 05:10:51 Login Succeeded 05:10:51 ****.io 05:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:51 Configure a credential helper to remove this warning. See 05:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:51 05:10:51 Login Succeeded 05:10:51 ---> ****-login.sh ends [Pipeline] } 05:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:10:52 ========================================================= 05:10:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:10:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:52 + 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 . 05:10:52 Sending build context to Docker daemon 141.8kB 05:10:52 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:10:52 Step 2/12 : FROM ${BASE} AS builder 05:10:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:53 94e9d8af2201: Pulling fs layer 05:10:53 a6c56e8762df: Pulling fs layer 05:10:53 f0f3c8884826: Pulling fs layer 05:10:53 c7e7622c144d: Pulling fs layer 05:10:53 4f4fb700ef54: Pulling fs layer 05:10:53 b4c3b6d88c5a: Pulling fs layer 05:10:53 ba8bce9d2590: Pulling fs layer 05:10:53 ca778ea9c289: Pulling fs layer 05:10:53 c7e7622c144d: Waiting 05:10:53 b4c3b6d88c5a: Waiting 05:10:53 ca778ea9c289: Waiting 05:10:53 ba8bce9d2590: Waiting 05:10:53 4f4fb700ef54: Waiting 05:10:53 a6c56e8762df: Verifying Checksum 05:10:53 a6c56e8762df: Download complete 05:10:53 c7e7622c144d: Verifying Checksum 05:10:53 c7e7622c144d: Download complete 05:10:53 4f4fb700ef54: Verifying Checksum 05:10:53 4f4fb700ef54: Download complete 05:10:53 b4c3b6d88c5a: Download complete 05:10:53 94e9d8af2201: Verifying Checksum 05:10:53 94e9d8af2201: Download complete 05:10:53 ca778ea9c289: Verifying Checksum 05:10:53 ca778ea9c289: Download complete 05:10:54 94e9d8af2201: Pull complete 05:10:55 a6c56e8762df: Pull complete 05:10:55 f0f3c8884826: Verifying Checksum 05:10:55 f0f3c8884826: Download complete 05:10:56 ba8bce9d2590: Verifying Checksum 05:10:56 ba8bce9d2590: Download complete 05:11:08 Running on prd-centos7-docker-4c-2g-7682 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:08 provisioning config files... 05:11:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11807981840762747040tmp [Pipeline] { [Pipeline] libraryResource 05:11:11 f0f3c8884826: Pull complete 05:11:11 c7e7622c144d: Pull complete 05:11:11 4f4fb700ef54: Pull complete 05:11:11 b4c3b6d88c5a: Pull complete [Pipeline] sh 05:11:12 ---> ****-login.sh 05:11:12 nexus3.edgexfoundry.org:10001 05:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:12 Configure a credential helper to remove this warning. See 05:11:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:12 05:11:12 Login Succeeded 05:11:12 nexus3.edgexfoundry.org:10002 05:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:12 Configure a credential helper to remove this warning. See 05:11:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:12 05:11:12 Login Succeeded 05:11:12 nexus3.edgexfoundry.org:10003 05:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:12 Configure a credential helper to remove this warning. See 05:11:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:12 05:11:12 Login Succeeded 05:11:12 nexus3.edgexfoundry.org:10004 05:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:12 Configure a credential helper to remove this warning. See 05:11:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:12 05:11:12 Login Succeeded 05:11:12 ****.io 05:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:13 Configure a credential helper to remove this warning. See 05:11:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:13 05:11:13 Login Succeeded 05:11:13 ---> ****-login.sh ends [Pipeline] } 05:11:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:11:13 + docker buildx ls 05:11:13 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 05:11:13 default * docker 05:11:13 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 05:11:14 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 05:11:14 edgex-builder [Pipeline] sh 05:11:14 + docker buildx inspect --bootstrap 05:11:14 #1 [internal] booting buildkit 05:11:14 #1 pulling image moby/buildkit:buildx-stable-1 05:11:17 #1 pulling image moby/buildkit:buildx-stable-1 3.1s done 05:11:17 #1 creating container buildx_buildkit_edgex-builder0 05:11:18 ba8bce9d2590: Pull complete 05:11:19 #1 creating container buildx_buildkit_edgex-builder0 1.6s done 05:11:19 #1 DONE 4.7s 05:11:19 Name: edgex-builder 05:11:19 Driver: docker-container 05:11:19 05:11:19 Nodes: 05:11:19 Name: edgex-builder0 05:11:19 Endpoint: unix:///var/run/docker.sock 05:11:19 Status: running 05:11:19 Buildkit: v0.23.2 05:11:19 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 05:11:19 + docker buildx ls 05:11:19 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 05:11:19 edgex-builder * docker-container 05:11:19 edgex-builder0 unix:///var/run/docker.sock running v0.23.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 05:11:19 default docker 05:11:19 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 05:11:19 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb' 05:11:19 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb --push - 05:11:19 #1 [internal] load build definition from Dockerfile 05:11:19 #1 transferring dockerfile: 196B done 05:11:19 #1 DONE 0.0s 05:11:19 05:11:19 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:11:19 #2 DONE 0.1s 05:11:19 05:11:19 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:11:19 ca778ea9c289: Pull complete 05:11:19 Digest: sha256:c70c257f76c0e97c87bd0187f74242a809c0afac30c2d5f44320df1de5715b93 05:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:11:19 ---> 47b25d7523d1 05:11:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:11:19 #3 DONE 0.1s 05:11:19 05:11:19 #4 [internal] load .dockerignore 05:11:19 #4 transferring context: 2B done 05:11:19 #4 DONE 0.0s 05:11:19 05:11:19 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:19 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:19 #5 DONE 0.0s 05:11:19 05:11:19 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:19 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:19 #6 DONE 0.1s 05:11:19 05:11:19 #7 exporting to image 05:11:19 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:11:19 #7 ... 05:11:19 05:11:19 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 05:11:19 #8 DONE 0.0s 05:11:19 05:11:19 #7 exporting to image 05:11:19 #7 exporting layers done 05:11:19 #7 exporting manifest sha256:f9508e76f265647001cce429244c1aab1a20e1d0c6d2d282e67f15c643e1f751 done 05:11:19 #7 exporting config sha256:032001e3a71fcbddd728a224a2d9e388e597628b997f837b7a6b5e96f7166894 done 05:11:19 #7 exporting manifest sha256:e5eb2f9131c86a47b818fdf67acb8d87631b357693f4b15a8df79eb8e774f5a0 done 05:11:19 #7 exporting config sha256:ee67114fa206ee87ab16731ef5779670e397c83622cccdcef3e4215e0078e40d done 05:11:19 #7 exporting manifest list sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c done 05:11:19 #7 pushing layers 0.1s done 05:11:19 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 05:11:20 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 0.1s done 05:11:20 #7 DONE 0.2s 05:11:20 05:11:20 1 warning found (use --debug to expand): 05:11:20  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:11:20 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 05:11:20 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 05:11:20 #1 [internal] load build definition from Dockerfile 05:11:20 #1 transferring dockerfile: 162B done 05:11:20 #1 DONE 0.0s 05:11:20 05:11:20 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 05:11:20 #2 DONE 0.0s 05:11:20 05:11:20 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 05:11:20 #3 DONE 0.0s 05:11:20 05:11:20 #4 [internal] load .dockerignore 05:11:20 #4 transferring context: 2B done 05:11:20 #4 DONE 0.0s 05:11:20 05:11:20 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:20 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:20 #5 DONE 0.0s 05:11:20 05:11:20 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:20 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:20 #6 CACHED 05:11:20 05:11:20 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:20 #5 CACHED 05:11:20 05:11:20 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 05:11:20 #7 DONE 0.0s 05:11:20 05:11:20 #8 exporting to image 05:11:20 #8 exporting layers done 05:11:20 #8 exporting manifest sha256:f9508e76f265647001cce429244c1aab1a20e1d0c6d2d282e67f15c643e1f751 done 05:11:20 #8 exporting config sha256:032001e3a71fcbddd728a224a2d9e388e597628b997f837b7a6b5e96f7166894 done 05:11:20 #8 exporting manifest sha256:e5eb2f9131c86a47b818fdf67acb8d87631b357693f4b15a8df79eb8e774f5a0 done 05:11:20 #8 exporting config sha256:ee67114fa206ee87ab16731ef5779670e397c83622cccdcef3e4215e0078e40d done 05:11:20 #8 exporting manifest list sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c done 05:11:20 #8 pushing layers 0.0s done 05:11:20 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 05:11:20 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:11:20 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 0.1s done 05:11:20 #8 DONE 0.2s 05:11:20 05:11:20 1 warning found (use --debug to expand): 05:11:20  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:11:21 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12' 05:11:21 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 --push - 05:11:21 #1 [internal] load build definition from Dockerfile 05:11:21 #1 transferring dockerfile: 168B done 05:11:21 #1 DONE 0.0s 05:11:21 05:11:21 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 05:11:21 #2 DONE 0.0s 05:11:21 05:11:21 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12 05:11:21 #3 DONE 0.0s 05:11:21 05:11:21 #4 [internal] load .dockerignore 05:11:21 #4 transferring context: 2B done 05:11:21 #4 DONE 0.0s 05:11:21 05:11:21 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:21 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 done 05:11:21 #5 CACHED 05:11:21 05:11:21 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:21 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:21 #6 CACHED 05:11:21 05:11:21 #7 exporting to image 05:11:21 #7 exporting layers done 05:11:21 #7 exporting manifest sha256:f9508e76f265647001cce429244c1aab1a20e1d0c6d2d282e67f15c643e1f751 done 05:11:21 #7 exporting config sha256:032001e3a71fcbddd728a224a2d9e388e597628b997f837b7a6b5e96f7166894 done 05:11:21 #7 exporting manifest sha256:e5eb2f9131c86a47b818fdf67acb8d87631b357693f4b15a8df79eb8e774f5a0 done 05:11:21 #7 exporting config sha256:ee67114fa206ee87ab16731ef5779670e397c83622cccdcef3e4215e0078e40d done 05:11:21 #7 exporting manifest list sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c done 05:11:21 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:11:21 #7 pushing layers 0.0s done 05:11:21 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.12@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 0.1s done 05:11:21 #7 DONE 0.1s 05:11:21 05:11:21 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 05:11:21 #8 DONE 0.0s 05:11:21 05:11:21 1 warning found (use --debug to expand): 05:11:21  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:11:21 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12' 05:11:21 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 --push - 05:11:21 #1 [internal] load build definition from Dockerfile 05:11:21 #1 transferring dockerfile: 209B done 05:11:21 #1 DONE 0.0s 05:11:21 05:11:21 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:11:21 #2 DONE 0.0s 05:11:21 05:11:21 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:11:21 #3 DONE 0.0s 05:11:21 05:11:21 #4 [internal] load .dockerignore 05:11:21 #4 transferring context: 2B done 05:11:21 #4 DONE 0.0s 05:11:21 05:11:21 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:21 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:21 #5 CACHED 05:11:21 05:11:21 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:21 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:21 #6 CACHED 05:11:21 05:11:21 #7 exporting to image 05:11:21 #7 exporting layers done 05:11:21 #7 exporting manifest sha256:f9508e76f265647001cce429244c1aab1a20e1d0c6d2d282e67f15c643e1f751 done 05:11:21 #7 exporting config sha256:032001e3a71fcbddd728a224a2d9e388e597628b997f837b7a6b5e96f7166894 done 05:11:21 #7 exporting manifest sha256:e5eb2f9131c86a47b818fdf67acb8d87631b357693f4b15a8df79eb8e774f5a0 done 05:11:21 #7 exporting config sha256:ee67114fa206ee87ab16731ef5779670e397c83622cccdcef3e4215e0078e40d done 05:11:21 #7 exporting manifest list sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c done 05:11:21 #7 pushing layers 05:11:21 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:11:21 #7 pushing layers 0.1s done 05:11:21 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 0.1s done 05:11:21 #7 DONE 0.2s 05:11:21 05:11:21 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 05:11:21 #8 DONE 0.0s 05:11:21 05:11:21 1 warning found (use --debug to expand): 05:11:21  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:11:21 ---> Running in fd2d320df07d 05:11:21 Removing intermediate container fd2d320df07d 05:11:21 ---> aa0950e33763 05:11:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:21 ---> Running in 139fb86a762e 05:11:22 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 05:11:22 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 05:11:22 #1 [internal] load build definition from Dockerfile 05:11:22 #1 transferring dockerfile: 160B done 05:11:22 #1 DONE 0.0s 05:11:22 05:11:22 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 05:11:22 #2 DONE 0.0s 05:11:22 05:11:22 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 05:11:22 #3 DONE 0.0s 05:11:22 05:11:22 #4 [internal] load .dockerignore 05:11:22 #4 transferring context: 2B done 05:11:22 #4 DONE 0.0s 05:11:22 05:11:22 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:22 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:22 #5 CACHED 05:11:22 05:11:22 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 05:11:22 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:d87274f719af0c28c2a433fb850af904f6d630c1711e77eedfa972c803a461f4 0.0s done 05:11:22 #6 CACHED 05:11:22 05:11:22 #7 exporting to image 05:11:22 #7 exporting layers done 05:11:22 #7 exporting manifest sha256:f9508e76f265647001cce429244c1aab1a20e1d0c6d2d282e67f15c643e1f751 done 05:11:22 #7 exporting config sha256:032001e3a71fcbddd728a224a2d9e388e597628b997f837b7a6b5e96f7166894 done 05:11:22 #7 exporting manifest sha256:e5eb2f9131c86a47b818fdf67acb8d87631b357693f4b15a8df79eb8e774f5a0 done 05:11:22 #7 exporting config sha256:ee67114fa206ee87ab16731ef5779670e397c83622cccdcef3e4215e0078e40d done 05:11:22 #7 exporting manifest list sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c done 05:11:22 #7 pushing layers 0.0s done 05:11:22 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 05:11:22 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:11:22 Removing intermediate container 139fb86a762e 05:11:22 ---> b66829b9c307 05:11:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:11:22 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:b4647663c4aef0590c38444ff3218c13abc83812438e2224a723d6f9502ec44c 0.1s done 05:11:22 #7 DONE 0.1s 05:11:22 05:11:22 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 05:11:22 #8 DONE 0.0s 05:11:22 05:11:22 1 warning found (use --debug to expand): 05:11:22  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage 05:11:22 ---> Running in 8b2ed6565fb7 [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:11:22 Removing intermediate container 8b2ed6565fb7 05:11:22 ---> 5e03e6d7c2a6 05:11:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:11:22 ---> Running in 6d524e3e2bd8 05:11:22 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:11:23 Removing intermediate container 6d524e3e2bd8 05:11:23 ---> 558426fdf83e 05:11:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:23 ---> sysstat.sh 05:11:23 ---> Running in c9a3c42e9ea9 [Pipeline] libraryResource [Pipeline] sh 05:11:23 ---> package-listing.sh 05:11:23 ++ tr '[:upper:]' '[:lower:]' 05:11:23 ++ facter osfamily 05:11:23 + OS_FAMILY=redhat 05:11:23 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:11:23 + START_PACKAGES=/tmp/packages_start.txt 05:11:23 + END_PACKAGES=/tmp/packages_end.txt 05:11:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:23 + PACKAGES=/tmp/packages_start.txt 05:11:23 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:11:23 + PACKAGES=/tmp/packages_end.txt 05:11:23 + case "${OS_FAMILY}" in 05:11:23 + rpm -qa 05:11:23 + sort 05:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:11:24 + '[' -f /tmp/packages_start.txt ']' 05:11:24 + '[' -f /tmp/packages_end.txt ']' 05:11:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:11:24 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:11:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 05:11:24 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 05:11:24 + facter operatingsystem [Pipeline] isUnix 05:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:25 05:11:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:25 latest: Pulling from edgex-lftools-log-publisher 05:11:25 5eb5b503b376: Pulling fs layer 05:11:25 5c69ac0246d0: Pulling fs layer 05:11:25 ec43610c2a17: Pulling fs layer 05:11:25 3a2ae6a8a46f: Pulling fs layer 05:11:25 33b1e0a273af: Pulling fs layer 05:11:25 5d3b04190fa2: Pulling fs layer 05:11:25 2f39f015ded8: Pulling fs layer 05:11:25 3a2ae6a8a46f: Waiting 05:11:25 33b1e0a273af: Waiting 05:11:25 5d3b04190fa2: Waiting 05:11:25 2f39f015ded8: Waiting 05:11:25 5c69ac0246d0: Verifying Checksum 05:11:25 5c69ac0246d0: Download complete 05:11:25 3a2ae6a8a46f: Verifying Checksum 05:11:25 3a2ae6a8a46f: Download complete 05:11:25 ec43610c2a17: Verifying Checksum 05:11:25 ec43610c2a17: Download complete 05:11:25 5d3b04190fa2: Verifying Checksum 05:11:25 5d3b04190fa2: Download complete 05:11:25 33b1e0a273af: Verifying Checksum 05:11:25 33b1e0a273af: Download complete 05:11:25 5eb5b503b376: Verifying Checksum 05:11:25 5eb5b503b376: Download complete 05:11:26 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:11:26 (2/4) Installing libedit (20240517.3.1-r0) 05:11:26 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:11:26 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:11:26 Executing busybox-1.36.1-r29.trigger 05:11:26 OK: 244 MiB in 62 packages 05:11:26 2f39f015ded8: Verifying Checksum 05:11:26 2f39f015ded8: Download complete 05:11:26 5eb5b503b376: Pull complete 05:11:27 5c69ac0246d0: Pull complete 05:11:27 ec43610c2a17: Pull complete 05:11:27 3a2ae6a8a46f: Pull complete 05:11:27 33b1e0a273af: Pull complete 05:11:27 Removing intermediate container c9a3c42e9ea9 05:11:27 ---> 4107a080b4b4 05:11:27 Step 8/12 : WORKDIR /device-rest-go 05:11:27 ---> Running in dbe889c92518 05:11:27 Removing intermediate container dbe889c92518 05:11:27 ---> f147767afc5c 05:11:27 Step 9/12 : COPY go.mod vendor* ./ 05:11:27 5d3b04190fa2: Pull complete 05:11:30 ---> e054ad3a75a4 05:11:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:30 ---> Running in 94c8414dbd46 05:11:31 2f39f015ded8: Pull complete 05:11:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:31 prd-centos7-docker-4c-2g-7682 does not seem to be running inside a container 05:11:31 $ 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 05:11:37 $ docker top 3c6e4b9941b3cfabf6143d37937d22dfba6458fd9f298f2d8ee29d6d36e3f48e -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:37 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:37 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:38 + ls /var/log/sa-host 05:11:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:38 provisioning config files... 05:11:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13892549297816102212tmp [Pipeline] { [Pipeline] echo 05:11:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:38 ---> create-netrc.sh [Pipeline] } 05:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:38 ---> python-tools-install.sh [Pipeline] echo 05:11:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:39 ---> sudo-logs.sh 05:11:39 Archiving 'sudo' log.. 05:11:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-7682.novalocal: Name or service not known 05:11:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-7682.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:11:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:39 ---> job-cost.sh 05:11:39 lf-activate-venv: SKIPPING 05:11:39 INFO: No Stack... 05:11:39 INFO: Retrieving Pricing Info for: v3-standard-2 05:11:40 INFO: Archiving Costs [Pipeline] echo 05:11:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:40 ---> logs-deploy.sh 05:11:40 lf-activate-venv: SKIPPING 05:11:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/216 05:11:40 INFO: archiving workspace using pattern(s): 05:11:41 Archives upload complete. 05:11:41 INFO: archiving logs to Nexus 05:11:42 ---> uname -a: 05:11:42 Linux prd-centos7-docker-4c-2g-7682.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 05:11:42 05:11:42 05:11:42 ---> lscpu: 05:11:42 Architecture: x86_64 05:11:42 CPU op-mode(s): 32-bit, 64-bit 05:11:42 Byte Order: Little Endian 05:11:42 Address sizes: 40 bits physical, 48 bits virtual 05:11:42 CPU(s): 2 05:11:42 On-line CPU(s) list: 0,1 05:11:42 Thread(s) per core: 1 05:11:42 Core(s) per socket: 1 05:11:42 Socket(s): 2 05:11:42 NUMA node(s): 1 05:11:42 Vendor ID: AuthenticAMD 05:11:42 CPU family: 23 05:11:42 Model: 49 05:11:42 Model name: AMD EPYC-Rome Processor 05:11:42 Stepping: 0 05:11:42 CPU MHz: 2800.000 05:11:42 BogoMIPS: 5600.00 05:11:42 Virtualization: AMD-V 05:11:42 Hypervisor vendor: KVM 05:11:42 Virtualization type: full 05:11:42 L1d cache: 64 KiB 05:11:42 L1i cache: 64 KiB 05:11:42 L2 cache: 1 MiB 05:11:42 L3 cache: 32 MiB 05:11:42 NUMA node0 CPU(s): 0,1 05:11:42 Vulnerability Itlb multihit: Not affected 05:11:42 Vulnerability L1tf: Not affected 05:11:42 Vulnerability Mds: Not affected 05:11:42 Vulnerability Meltdown: Not affected 05:11:42 Vulnerability Mmio stale data: Not affected 05:11:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:11:42 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:11:42 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:11:42 Vulnerability Srbds: Not affected 05:11:42 Vulnerability Tsx async abort: Not affected 05:11:42 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 05:11:42 05:11:42 05:11:42 ---> nproc: 05:11:42 2 05:11:42 05:11:42 05:11:42 ---> df -h: 05:11:42 Filesystem Size Used Avail Use% Mounted on 05:11:42 overlay 40G 7.3G 33G 19% / 05:11:42 tmpfs 64M 0 64M 0% /dev 05:11:42 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 05:11:42 shm 64M 0 64M 0% /dev/shm 05:11:42 /dev/vda1 40G 7.3G 33G 19% /facter-os 05:11:42 05:11:42 05:11:42 Cannot open /var/log/sysstat/sa27: No such file or directory 05:11:42 Please check if data collecting is enabled 05:11:42 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:11:42 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 05:11:42 $ docker stop --time=1 3c6e4b9941b3cfabf6143d37937d22dfba6458fd9f298f2d8ee29d6d36e3f48e 05:11:43 $ docker rm -f --volumes 3c6e4b9941b3cfabf6143d37937d22dfba6458fd9f298f2d8ee29d6d36e3f48e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 05:11:43 [WS-CLEANUP] Deleting project workspace... 05:11:43 [WS-CLEANUP] Deferred wipeout is used... 05:11:44 [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 05:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:44 05:11:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:44 latest: Pulling from edgex-lftools-log-publisher 05:11:44 5eb5b503b376: Pulling fs layer 05:11:44 5c69ac0246d0: Pulling fs layer 05:11:44 ec43610c2a17: Pulling fs layer 05:11:44 3a2ae6a8a46f: Pulling fs layer 05:11:44 33b1e0a273af: Pulling fs layer 05:11:44 5d3b04190fa2: Pulling fs layer 05:11:44 2f39f015ded8: Pulling fs layer 05:11:44 33b1e0a273af: Waiting 05:11:44 3a2ae6a8a46f: Waiting 05:11:44 5d3b04190fa2: Waiting 05:11:44 5c69ac0246d0: Download complete 05:11:44 3a2ae6a8a46f: Verifying Checksum 05:11:44 3a2ae6a8a46f: Download complete 05:11:44 33b1e0a273af: Verifying Checksum 05:11:44 33b1e0a273af: Download complete 05:11:44 ec43610c2a17: Verifying Checksum 05:11:44 ec43610c2a17: Download complete 05:11:44 5d3b04190fa2: Download complete 05:11:45 5eb5b503b376: Verifying Checksum 05:11:45 5eb5b503b376: Download complete 05:11:45 2f39f015ded8: Download complete 05:11:46 5eb5b503b376: Pull complete 05:11:46 5c69ac0246d0: Pull complete 05:11:47 ec43610c2a17: Pull complete 05:11:47 3a2ae6a8a46f: Pull complete 05:11:47 33b1e0a273af: Pull complete 05:11:47 5d3b04190fa2: Pull complete 05:11:54 2f39f015ded8: Pull complete 05:11:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:54 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:11:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:11:55 $ docker top 2059739024ed6feafaa8e73a612eb92629dd6717c0e5f5cada501e34273c3ef0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:56 ---> job-cost.sh 05:11:56 lf-activate-venv: SKIPPING 05:11:56 INFO: No Stack... 05:11:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:56 INFO: Archiving Costs [Pipeline] sh 05:11:57 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 05:11:57 + cut -d, -f6 [Pipeline] lock 05:11:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] 05:11:57 Resource [jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] did not exist. Created. 05:11:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:57 + echo total: 0.2199999988079071 [Pipeline] stash 05:11:57 Stashed 1 file(s) [Pipeline] } 05:11:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:57 $ docker stop --time=1 2059739024ed6feafaa8e73a612eb92629dd6717c0e5f5cada501e34273c3ef0 05:11:58 $ docker rm -f --volumes 2059739024ed6feafaa8e73a612eb92629dd6717c0e5f5cada501e34273c3ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:13:21 Removing intermediate container 94c8414dbd46 05:13:21 ---> a1a024b15850 05:13:21 Step 11/12 : COPY . . 05:13:21 ---> 6717f6f2a1d9 05:13:21 Step 12/12 : RUN $MAKE 05:13:21 ---> Running in dc32825e4247 05:13:21 noop 05:13:21 Removing intermediate container dc32825e4247 05:13:21 ---> ffc0e912dfa1 05:13:21 Successfully built ffc0e912dfa1 05:13:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:22 + docker inspect -f . ci-base-image-arm64 05:13:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:22 prd-ubuntu20.04-docker-arm64-4c-16g-7681 does not seem to be running inside a container 05:13:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/216 -v /w/workspace/device-rest-go/216:/w/workspace/device-rest-go/216:rw,z -v /w/workspace/device-rest-go/216@tmp:/w/workspace/device-rest-go/216@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 05:13:24 $ docker top b387434482931cab7a5e426f35e66d2378e6038f971f050fb8736d26fe958a43 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:25 + go version 05:13:25 go version go1.23.9 linux/arm64 [Pipeline] } 05:13:25 $ docker stop --time=1 b387434482931cab7a5e426f35e66d2378e6038f971f050fb8736d26fe958a43 05:13:26 $ docker rm -f --volumes b387434482931cab7a5e426f35e66d2378e6038f971f050fb8736d26fe958a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:27 + docker inspect -f . ci-base-image-arm64 05:13:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:27 prd-ubuntu20.04-docker-arm64-4c-16g-7681 does not seem to be running inside a container 05:13:27 $ 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/216 -v /w/workspace/device-rest-go/216:/w/workspace/device-rest-go/216:rw,z -v /w/workspace/device-rest-go/216@tmp:/w/workspace/device-rest-go/216@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 05:13:28 $ docker top c75fc0ef27b77cfebd124f48e8257a802f5a6367adced7ae84d1d24d94a9e204 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:29 + git config --global --add safe.directory /w/workspace/device-rest-go/216 [Pipeline] fileExists [Pipeline] sh 05:13:30 + make test 05:13:30 go test ./... -coverprofile=coverage.out ./... 05:13:35 ? github.com/edgexfoundry/device-rest-go [no test files] 05:17:12 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:17:12 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 32.2% of statements 05:17:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:17:12 go vet ./... 05:18:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:18:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:18:09 ./bin/test-attribution-txt.sh 05:18:09 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 05:18:09 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 05:18:09 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 05:18:09 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 05:18:09 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 05:18:09 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 05:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:18:09 $ docker stop --time=1 c75fc0ef27b77cfebd124f48e8257a802f5a6367adced7ae84d1d24d94a9e204 05:18:11 $ docker rm -f --volumes c75fc0ef27b77cfebd124f48e8257a802f5a6367adced7ae84d1d24d94a9e204 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:18:12 Warning: overwriting stash ‘coverage-report’ 05:18:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:18:14 + ls -al . 05:18:14 total 240 05:18:14 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 05:13 . 05:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 05:10 .. 05:18:14 -rw-rw-r-- 1 jenkins jenkins 151 Aug 27 05:10 .dockerignore 05:18:14 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 05:10 .git 05:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:10 .github 05:18:14 -rw-rw-r-- 1 jenkins jenkins 264 Aug 27 05:10 .gitignore 05:18:14 -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 05:10 .golangci.yml 05:18:14 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 27 05:10 Attribution.txt 05:18:14 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 27 05:10 CHANGELOG.md 05:18:14 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 27 05:10 Dockerfile 05:18:14 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 05:10 GOVERNANCE.md 05:18:14 -rw-rw-r-- 1 jenkins jenkins 680 Aug 27 05:10 Jenkinsfile 05:18:14 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 27 05:10 LICENSE 05:18:14 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 27 05:10 Makefile 05:18:14 -rw-rw-r-- 1 jenkins jenkins 620 Aug 27 05:10 OWNERS.md 05:18:14 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 27 05:10 README.md 05:18:14 -rw-rw-r-- 1 jenkins jenkins 12 Aug 27 05:07 VERSION 05:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 05:10 bin 05:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:10 cmd 05:18:14 -rw-r--r-- 1 jenkins jenkins 14565 Aug 27 05:17 coverage.out 05:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 05:10 driver 05:18:14 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 27 05:10 go.mod 05:18:14 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 27 05:10 go.sum 05:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:10 openapi 05:18:14 -rw-rw-r-- 1 jenkins jenkins 713 Aug 27 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:14 + 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=bd4b122dfb0a4010481292c64dce67798bdd73bb --label arch=arm64 --label version=4.1.0-dev.12 . 05:18:14 Sending build context to Docker daemon 157.2kB 05:18:14 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 05:18:14 Step 2/26 : FROM ${BASE} AS builder 05:18:14 ---> ffc0e912dfa1 05:18:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:18:15 ---> Running in fa5feb360a7c 05:18:15 Removing intermediate container fa5feb360a7c 05:18:15 ---> 4f74e24afcd5 05:18:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:18:15 ---> Running in 784d1e29efac 05:18:15 Removing intermediate container 784d1e29efac 05:18:15 ---> 58036c815024 05:18:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:18:16 ---> Running in 823424cadcdf 05:18:16 Removing intermediate container 823424cadcdf 05:18:16 ---> b4e54fb589ac 05:18:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:18:16 ---> Running in e7ab1919efe6 05:18:16 Removing intermediate container e7ab1919efe6 05:18:16 ---> 7fc05c909304 05:18:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:18:16 ---> Running in fd8cc26e293d 05:18:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:18:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:18:20 OK: 244 MiB in 62 packages 05:18:20 Removing intermediate container fd8cc26e293d 05:18:20 ---> 42bd625574d3 05:18:20 Step 8/26 : WORKDIR /device-rest-go 05:18:21 ---> Running in 64419da72611 05:18:21 Removing intermediate container 64419da72611 05:18:21 ---> 8cb09970239c 05:18:21 Step 9/26 : COPY go.mod vendor* ./ 05:18:21 ---> fd6f8e60ea0e 05:18:21 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:21 ---> Running in 10002271c44c 05:18:24 Removing intermediate container 10002271c44c 05:18:24 ---> d5b8ceea8abd 05:18:24 Step 11/26 : COPY . . 05:18:24 ---> 3ea032b33d7e 05:18:24 Step 12/26 : RUN $MAKE 05:18:24 ---> Running in 49b0acc81bd0 05:18:25 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.32 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 05:22:02 Removing intermediate container 49b0acc81bd0 05:22:02 ---> 7a2792de67be 05:22:02 Step 13/26 : FROM alpine:3.20 05:22:02 3.20: Pulling from library/alpine 05:22:02 13e713f82565: Pulling fs layer 05:22:02 13e713f82565: Verifying Checksum 05:22:02 13e713f82565: Download complete 05:22:02 13e713f82565: Pull complete 05:22:02 Digest: sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 05:22:02 Status: Downloaded newer image for alpine:3.20 05:22:02 ---> c88e9dceb6cb 05:22:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:22:02 ---> Running in 6adeaad4fbff 05:22:02 Removing intermediate container 6adeaad4fbff 05:22:02 ---> 5bd4d41746ea 05:22:02 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:22:02 ---> Running in 092dc7b6acb8 05:22:02 Removing intermediate container 092dc7b6acb8 05:22:02 ---> 7c2406201e56 05:22:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:22:02 ---> Running in da89fdd6d1c2 05:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:22:02 (1/1) Installing dumb-init (1.2.5-r3) 05:22:02 Executing busybox-1.36.1-r29.trigger 05:22:02 OK: 9 MiB in 15 packages 05:22:03 Removing intermediate container da89fdd6d1c2 05:22:03 ---> 41333bda0b67 05:22:03 Step 17/26 : RUN apk --no-cache upgrade 05:22:04 ---> Running in 22c2679af7d3 05:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:22:06 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 05:22:06 Executing busybox-1.36.1-r30.post-upgrade 05:22:06 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 05:22:06 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 05:22:06 Executing busybox-1.36.1-r30.trigger 05:22:06 OK: 9 MiB in 15 packages 05:22:07 Removing intermediate container 22c2679af7d3 05:22:07 ---> 97a45844b6f4 05:22:07 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:22:09 ---> a8eafd450c50 05:22:09 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:22:10 ---> 19e634c7b091 05:22:10 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:22:11 ---> 526e07c8d86b 05:22:11 Step 21/26 : EXPOSE 59986 05:22:11 ---> Running in 6623b7e3c05d 05:22:11 Removing intermediate container 6623b7e3c05d 05:22:11 ---> ea0a4831a580 05:22:11 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:22:11 ---> Running in 040987e8ecef 05:22:11 Removing intermediate container 040987e8ecef 05:22:11 ---> 277494b231d3 05:22:11 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:22:11 ---> Running in 70d5a816ca73 05:22:12 Removing intermediate container 70d5a816ca73 05:22:12 ---> 25dcc16685f9 05:22:12 Step 24/26 : LABEL arch=arm64 05:22:12 ---> Running in c12981ce58b7 05:22:12 Removing intermediate container c12981ce58b7 05:22:12 ---> 7f886f7e5101 05:22:12 Step 25/26 : LABEL git_sha=bd4b122dfb0a4010481292c64dce67798bdd73bb 05:22:12 ---> Running in 31e4d90f7c50 05:22:12 Removing intermediate container 31e4d90f7c50 05:22:12 ---> 0b1ecb523b71 05:22:12 Step 26/26 : LABEL version=4.1.0-dev.12 05:22:12 ---> Running in 2217839f2d3f 05:22:13 Removing intermediate container 2217839f2d3f 05:22:13 ---> 774e2bbcd9a2 05:22:13 [Warning] One or more build-args [ARCH] were not consumed 05:22:13 Successfully built 774e2bbcd9a2 05:22:13 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 05:22:13 provisioning config files... 05:22:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/216@tmp/config17318217613736061286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:13 ---> ****-login.sh 05:22:13 nexus3.edgexfoundry.org:10001 05:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:14 Configure a credential helper to remove this warning. See 05:22:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:14 05:22:14 Login Succeeded 05:22:14 nexus3.edgexfoundry.org:10002 05:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:14 Configure a credential helper to remove this warning. See 05:22:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:14 05:22:14 Login Succeeded 05:22:14 nexus3.edgexfoundry.org:10003 05:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:14 Configure a credential helper to remove this warning. See 05:22:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:14 05:22:14 Login Succeeded 05:22:14 nexus3.edgexfoundry.org:10004 05:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:15 Configure a credential helper to remove this warning. See 05:22:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:15 05:22:15 Login Succeeded 05:22:15 ****.io 05:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:15 Configure a credential helper to remove this warning. See 05:22:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:15 05:22:15 Login Succeeded 05:22:15 ---> ****-login.sh ends [Pipeline] } 05:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:22:15 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 05:22:15 bd4b122dfb0a4010481292c64dce67798bdd73bb 05:22:15 latest 05:22:15 4.1.0-dev.12 05:22:15 bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:22:15 main 05:22:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:22:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:22:16 115616881aa7: Preparing 05:22:16 cd7064bec550: Preparing 05:22:16 296fcc4edbed: Preparing 05:22:16 f74ab227e441: Preparing 05:22:16 6ec52102a710: Preparing 05:22:16 1e890da81ec9: Preparing 05:22:16 1e890da81ec9: Waiting 05:22:16 115616881aa7: Pushed 05:22:16 cd7064bec550: Pushed 05:22:16 6ec52102a710: Pushed 05:22:16 1e890da81ec9: Layer already exists 05:22:16 f74ab227e441: Pushed 05:22:23 296fcc4edbed: Pushed 05:22:23 bd4b122dfb0a4010481292c64dce67798bdd73bb: digest: sha256:33fe0ecf18b03d4bda5b7421aeaa9a4953a2f1264ba2cde8f250ac6543fbf904 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:22:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:22:24 115616881aa7: Preparing 05:22:24 cd7064bec550: Preparing 05:22:24 296fcc4edbed: Preparing 05:22:24 f74ab227e441: Preparing 05:22:24 6ec52102a710: Preparing 05:22:24 1e890da81ec9: Preparing 05:22:24 1e890da81ec9: Waiting 05:22:24 296fcc4edbed: Layer already exists 05:22:24 f74ab227e441: Layer already exists 05:22:24 cd7064bec550: Layer already exists 05:22:24 6ec52102a710: Layer already exists 05:22:24 115616881aa7: Layer already exists 05:22:24 1e890da81ec9: Layer already exists 05:22:24 latest: digest: sha256:33fe0ecf18b03d4bda5b7421aeaa9a4953a2f1264ba2cde8f250ac6543fbf904 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.12 05:22:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:22:25 115616881aa7: Preparing 05:22:25 cd7064bec550: Preparing 05:22:25 296fcc4edbed: Preparing 05:22:25 f74ab227e441: Preparing 05:22:25 6ec52102a710: Preparing 05:22:25 1e890da81ec9: Preparing 05:22:25 1e890da81ec9: Waiting 05:22:25 115616881aa7: Layer already exists 05:22:25 296fcc4edbed: Layer already exists 05:22:25 6ec52102a710: Layer already exists 05:22:25 cd7064bec550: Layer already exists 05:22:25 f74ab227e441: Layer already exists 05:22:25 1e890da81ec9: Layer already exists 05:22:25 4.1.0-dev.12: digest: sha256:33fe0ecf18b03d4bda5b7421aeaa9a4953a2f1264ba2cde8f250ac6543fbf904 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:22:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:22:26 115616881aa7: Preparing 05:22:26 cd7064bec550: Preparing 05:22:26 296fcc4edbed: Preparing 05:22:26 f74ab227e441: Preparing 05:22:26 6ec52102a710: Preparing 05:22:26 1e890da81ec9: Preparing 05:22:26 1e890da81ec9: Waiting 05:22:26 cd7064bec550: Layer already exists 05:22:26 296fcc4edbed: Layer already exists 05:22:26 115616881aa7: Layer already exists 05:22:26 6ec52102a710: Layer already exists 05:22:26 f74ab227e441: Layer already exists 05:22:26 1e890da81ec9: Layer already exists 05:22:26 bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12: digest: sha256:33fe0ecf18b03d4bda5b7421aeaa9a4953a2f1264ba2cde8f250ac6543fbf904 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 05:22:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:22:27 115616881aa7: Preparing 05:22:27 cd7064bec550: Preparing 05:22:27 296fcc4edbed: Preparing 05:22:27 f74ab227e441: Preparing 05:22:27 6ec52102a710: Preparing 05:22:27 1e890da81ec9: Preparing 05:22:27 1e890da81ec9: Waiting 05:22:27 f74ab227e441: Layer already exists 05:22:27 115616881aa7: Layer already exists 05:22:27 cd7064bec550: Layer already exists 05:22:27 6ec52102a710: Layer already exists 05:22:27 296fcc4edbed: Layer already exists 05:22:27 1e890da81ec9: Layer already exists 05:22:27 main: digest: sha256:33fe0ecf18b03d4bda5b7421aeaa9a4953a2f1264ba2cde8f250ac6543fbf904 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:27 ===================================================== [Pipeline] echo 05:22:27 taggedImages: 05:22:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb 05:22:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:22:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.12 05:22:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 05:22:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 05:22:27 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] echo 05:22:28 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 05:22:28 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.12 [Pipeline] echo 05:22:28 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:bd4b122dfb0a4010481292c64dce67798bdd73bb-4.1.0-dev.12 [Pipeline] echo 05:22:28 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 05:22:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:28 05:22:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:28 arm64: Pulling from edgex-lftools-log-publisher 05:22:28 8998bd30e6a1: Pulling fs layer 05:22:28 04944245beec: Pulling fs layer 05:22:28 699f458cf7ca: Pulling fs layer 05:22:28 765212b225bb: Pulling fs layer 05:22:28 f23df028b6ca: Pulling fs layer 05:22:28 d65c8cfc05b1: Pulling fs layer 05:22:28 2437ff75d9bd: Pulling fs layer 05:22:28 765212b225bb: Waiting 05:22:28 f23df028b6ca: Waiting 05:22:28 2437ff75d9bd: Waiting 05:22:28 d65c8cfc05b1: Waiting 05:22:29 04944245beec: Verifying Checksum 05:22:29 04944245beec: Download complete 05:22:29 765212b225bb: Verifying Checksum 05:22:29 765212b225bb: Download complete 05:22:29 f23df028b6ca: Verifying Checksum 05:22:29 d65c8cfc05b1: Verifying Checksum 05:22:29 d65c8cfc05b1: Download complete 05:22:29 699f458cf7ca: Verifying Checksum 05:22:29 699f458cf7ca: Download complete 05:22:29 8998bd30e6a1: Verifying Checksum 05:22:29 8998bd30e6a1: Download complete 05:22:32 2437ff75d9bd: Verifying Checksum 05:22:32 2437ff75d9bd: Download complete 05:22:34 8998bd30e6a1: Pull complete 05:22:34 04944245beec: Pull complete 05:22:36 699f458cf7ca: Pull complete 05:22:36 765212b225bb: Pull complete 05:22:37 f23df028b6ca: Pull complete 05:22:37 d65c8cfc05b1: Pull complete 05:22:55 2437ff75d9bd: Pull complete 05:22:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:56 prd-ubuntu20.04-docker-arm64-4c-16g-7681 does not seem to be running inside a container 05:22:56 $ 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/216 -v /w/workspace/device-rest-go/216:/w/workspace/device-rest-go/216:rw,z -v /w/workspace/device-rest-go/216@tmp:/w/workspace/device-rest-go/216@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 05:22:58 $ docker top 18d5114b8005aecbd280c1c1bb8b54811d38f6ef3febede923a04de40dfa41fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:59 ---> job-cost.sh 05:22:59 lf-activate-venv: SKIPPING 05:22:59 INFO: No Stack... 05:23:00 INFO: Retrieving Pricing Info for: v3-standard-4 05:23:00 INFO: Archiving Costs [Pipeline] sh 05:23:01 + cat /w/workspace/device-rest-go/216/archives/cost.csv 05:23:01 + cut -d, -f6 [Pipeline] lock 05:23:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] 05:23:01 Resource [jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] did not exist. Created. 05:23:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:23:02 /w/workspace/device-rest-go/216@tmp/durable-45e7f51f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:23:03 + echo total: 0.10999999940395355 [Pipeline] stash 05:23:03 Warning: overwriting stash ‘stack-cost’ 05:23:03 Stashed 1 file(s) [Pipeline] } 05:23:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-216-stack-cost] [Pipeline] // lock [Pipeline] } 05:23:03 $ docker stop --time=1 18d5114b8005aecbd280c1c1bb8b54811d38f6ef3febede923a04de40dfa41fd 05:23:05 $ docker rm -f --volumes 18d5114b8005aecbd280c1c1bb8b54811d38f6ef3febede923a04de40dfa41fd [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 05:23:06 provisioning config files... 05:23:06 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12183237938178570702tmp [Pipeline] { [Pipeline] sh 05:23:06 + set +x 05:23:06 + curl -s+ https://codecov.io/bash 05:23:06 bash -s -- 05:23:06 05:23:06 _____ _ 05:23:06 / ____| | | 05:23:06 | | ___ __| | ___ ___ _____ __ 05:23:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:23:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:23:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:23:06 Bash-1.0.6 05:23:06 05:23:06 05:23:06 ==> git version 2.25.1 found 05:23:06 ==> 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 05:23:06 Release-Date: 2020-01-08 05:23:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:23:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:23:06 ==> Jenkins CI detected. 05:23:06 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 05:23:06 project root: . 05:23:06 --> token set from env 05:23:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:23:06 ==> Running gcov in . (disable via -X gcov) 05:23:06 ==> Python coveragepy not found 05:23:06 ==> Searching for coverage reports in: 05:23:06 + . 05:23:06 -> Found 1 reports 05:23:06 ==> Detecting git/mercurial file structure 05:23:06 ==> Reading reports 05:23:06 + ./coverage.out bytes=14565 05:23:06 ==> Appending adjustments 05:23:06 https://docs.codecov.io/docs/fixing-reports 05:23:06 + Found adjustments 05:23:06 ==> Gzipping contents 05:23:06 4.0K /tmp/codecov.zVyIzx.gz 05:23:06 ==> Uploading reports 05:23:06 url: https://codecov.io 05:23:06 query: branch=main&commit=bd4b122dfb0a4010481292c64dce67798bdd73bb&build=216&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F216%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:23:06 -> Pinging Codecov 05:23:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=bd4b122dfb0a4010481292c64dce67798bdd73bb&build=216&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F216%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:23:06 -> Uploading to 05:23:06 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/bd4b122dfb0a4010481292c64dce67798bdd73bb/5772ec4e-94fc-4339-9f36-58ba11447718.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250827%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250827T052306Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e6d5c0854656787ecf5692430f37633eb771ac6e4ea6146a39f3427728f231e5 05:23:06 % Total % Received % Xferd Average Speed Time Time Time Current 05:23:06 Dload Upload Total Spent Left Speed 05:23:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 13602 --:--:-- --:--:-- --:--:-- 13602 05:23:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] } 05:23:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:23:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:23:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:23:07 05:23:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:23:07 latest: Pulling from edgex-devops/edgex-snyk-go 05:23:07 0a9a5dfd008f: Already exists 05:23:07 36466aa92d05: Already exists 05:23:07 e10405b45d13: Already exists 05:23:07 096b7ceb2af7: Already exists 05:23:07 4f4fb700ef54: Already exists 05:23:07 e50aa161e22a: Pulling fs layer 05:23:07 d3c8db5fb9df: Pulling fs layer 05:23:08 e50aa161e22a: Verifying Checksum 05:23:08 e50aa161e22a: Download complete 05:23:08 e50aa161e22a: Pull complete 05:23:09 d3c8db5fb9df: Verifying Checksum 05:23:09 d3c8db5fb9df: Download complete 05:23:13 d3c8db5fb9df: Pull complete 05:23:13 Digest: sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 05:23:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:23:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:13 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:23:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:23:14 $ docker top f06e1192850969eb94815131fa554784936a34c95e450c7e22e9d19866953d55 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 05:23:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 05:23:15 + set -o pipefail 05:23:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 05:23:23 05:23:23 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 05:23:23 05:23:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/5d90782c-a6f6-48e1-b99b-c1d5b41d4b05 05:23:23 05:23:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:23:23 [Pipeline] } 05:23:23 $ docker stop --time=1 f06e1192850969eb94815131fa554784936a34c95e450c7e22e9d19866953d55 05:23:25 $ docker rm -f --volumes f06e1192850969eb94815131fa554784936a34c95e450c7e22e9d19866953d55 [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 05:23:26 + git log --format=format:%s -1 bd4b122dfb0a4010481292c64dce67798bdd73bb [Pipeline] sh 05:23:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:23:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:23:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:27 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:23:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:23:27 $ docker top 5f1cc939c6e7968935f5c2576b4bcf2eca1870e8fd5ab0a93d6e14a1e1ef0346 -eo pid,comm 05:23:27 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). 05:23:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:27 [ssh-agent] Looking for ssh-agent implementation... 05:23:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:27 $ docker exec 5f1cc939c6e7968935f5c2576b4bcf2eca1870e8fd5ab0a93d6e14a1e1ef0346 ssh-agent 05:23:27 SSH_AUTH_SOCK=/tmp/ssh-hi4ADkaPmERJ/agent.33 05:23:27 SSH_AGENT_PID=39 05:23:27 Running ssh-add (command line suppressed) 05:23:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8613386268511209987.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8613386268511209987.key) 05:23:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:28 + git semver tag 05:23:28 2025-08-27 05:23:28,412 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:23:28 2025-08-27 05:23:28,416 [run_tag] DEBUG tag force:False 05:23:28 2025-08-27 05:23:28,416 [check_head_tag] DEBUG check head tag 05:23:28 2025-08-27 05:23:28,417 [execute] INFO git cat-file --batch-check 05:23:28 2025-08-27 05:23:28,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 05:23:28 2025-08-27 05:23:28,419 [execute] INFO git cat-file --batch 05:23:28 2025-08-27 05:23:28,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 05:23:28 2025-08-27 05:23:28,430 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:23:28 2025-08-27 05:23:28,430 [execute] INFO git tag -a v4.1.0-dev.12 -m v4.1.0-dev.12 05:23:28 2025-08-27 05:23:28,430 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.12', '-m', 'v4.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 05:23:28 2025-08-27 05:23:28,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:23:28 4.1.0-dev.12 [Pipeline] } 05:23:28 $ docker exec --env ******** --env ******** 5f1cc939c6e7968935f5c2576b4bcf2eca1870e8fd5ab0a93d6e14a1e1ef0346 ssh-agent -k 05:23:28 unset SSH_AUTH_SOCK; 05:23:28 unset SSH_AGENT_PID; 05:23:28 echo Agent pid 39 killed; 05:23:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:28 + git semver [Pipeline] } 05:23:29 $ docker stop --time=1 5f1cc939c6e7968935f5c2576b4bcf2eca1870e8fd5ab0a93d6e14a1e1ef0346 05:23:30 $ docker rm -f --volumes 5f1cc939c6e7968935f5c2576b4bcf2eca1870e8fd5ab0a93d6e14a1e1ef0346 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:30 05:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:31 0.23.1-centos7: Pulling from edgex-lftools 05:23:31 ab5ef0e58194: Pulling fs layer 05:23:31 9712f1f96733: Pulling fs layer 05:23:31 63f879dbbcfc: Pulling fs layer 05:23:31 0d9ebad4ef96: Pulling fs layer 05:23:31 e9a5061849ea: Pulling fs layer 05:23:31 d747dcd14b5f: Pulling fs layer 05:23:31 2de7ff778b66: Pulling fs layer 05:23:31 0d9ebad4ef96: Waiting 05:23:31 e9a5061849ea: Waiting 05:23:31 d747dcd14b5f: Waiting 05:23:31 2de7ff778b66: Waiting 05:23:31 63f879dbbcfc: Download complete 05:23:31 e9a5061849ea: Verifying Checksum 05:23:31 e9a5061849ea: Download complete 05:23:31 d747dcd14b5f: Verifying Checksum 05:23:31 d747dcd14b5f: Download complete 05:23:31 0d9ebad4ef96: Verifying Checksum 05:23:31 0d9ebad4ef96: Download complete 05:23:31 2de7ff778b66: Verifying Checksum 05:23:31 2de7ff778b66: Download complete 05:23:31 ab5ef0e58194: Verifying Checksum 05:23:31 ab5ef0e58194: Download complete 05:23:36 ab5ef0e58194: Pull complete 05:23:36 9712f1f96733: Pull complete 05:23:36 63f879dbbcfc: Pull complete 05:23:41 0d9ebad4ef96: Pull complete 05:23:41 e9a5061849ea: Pull complete 05:23:41 d747dcd14b5f: Pull complete 05:23:43 2de7ff778b66: Pull complete 05:23:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:43 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:23:44 $ docker top 627ab27108fe59213563dc02649a3abdf06fa8f4c9b3f2074c9f90549b62e82a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:23:44 provisioning config files... 05:23:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15604953732959158278tmp 05:23:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13409027547573361107tmp 05:23:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5251383442607237888tmp [Pipeline] { [Pipeline] echo 05:23:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:23:45 ---> sigul-configuration.sh 05:23:45 gpg: directory `/root/.gnupg' created 05:23:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:23:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:23:45 gpg: keyring `/root/.gnupg/secring.gpg' created 05:23:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:23:45 gpg: CAST5 encrypted data 05:23:45 gpg: encrypted with 1 passphrase 05:23:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:23:45 + mkdir /home/jenkins 05:23:45 + mkdir /home/jenkins/sigul [Pipeline] sh 05:23:45 + 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 05:23:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:23:46 ---> sigul-install.sh 05:23:46 Sigul already installed; skipping installation. [Pipeline] sh 05:23:46 + git tag --list 05:23:46 v1.0.0 05:23:46 v1.1.0 05:23:46 v1.1.1 05:23:46 v1.1.2 05:23:46 v1.2.0 05:23:46 v1.2.1 05:23:46 v2.0.0 05:23:46 v2.1.0 05:23:46 v2.1.1 05:23:46 v2.2.0 05:23:46 v2.3.0 05:23:46 v3.0 05:23:46 v3.0.0 05:23:46 v3.1 05:23:46 v3.1.0 05:23:46 v3.1.1 05:23:46 v4.0 05:23:46 v4.0.0 05:23:46 v4.1.0-dev.1 05:23:46 v4.1.0-dev.10 05:23:46 v4.1.0-dev.11 05:23:46 v4.1.0-dev.12 05:23:46 v4.1.0-dev.2 05:23:46 v4.1.0-dev.3 05:23:46 v4.1.0-dev.4 05:23:46 v4.1.0-dev.5 05:23:46 v4.1.0-dev.6 05:23:46 v4.1.0-dev.7 05:23:46 v4.1.0-dev.8 05:23:46 v4.1.0-dev.9 [Pipeline] sh 05:23:46 + lftools sign git-tag v4.1.0-dev.12 05:23:47 Signing Git tag with Sigul... 05:23:47 Signing v4.1.0-dev.12 [Pipeline] echo 05:23:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:23:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:23:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:23:50 $ docker stop --time=1 627ab27108fe59213563dc02649a3abdf06fa8f4c9b3f2074c9f90549b62e82a 05:23:52 $ docker rm -f --volumes 627ab27108fe59213563dc02649a3abdf06fa8f4c9b3f2074c9f90549b62e82a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:23:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:23:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:53 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:23:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:23:53 $ docker top a07e9f2952ff5574cb788f4ad323c86379d17322c1fd84db95ddb2274b85747f -eo pid,comm 05:23:53 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). 05:23:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:53 [ssh-agent] Looking for ssh-agent implementation... 05:23:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:53 $ docker exec a07e9f2952ff5574cb788f4ad323c86379d17322c1fd84db95ddb2274b85747f ssh-agent 05:23:53 SSH_AUTH_SOCK=/tmp/ssh-z3Rt1AOjkwUU/agent.32 05:23:53 SSH_AGENT_PID=38 05:23:53 Running ssh-add (command line suppressed) 05:23:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17229334796110429806.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17229334796110429806.key) 05:23:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:54 + git semver bump pre 05:23:54 2025-08-27 05:23:54,376 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:23:54 2025-08-27 05:23:54,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:23:54 2025-08-27 05:23:54,381 [bump_version] DEBUG bumping version:4.1.0-dev.12 on axis:pre with prefix:dev 05:23:54 2025-08-27 05:23:54,381 [bump_version] DEBUG bumped version:4.1.0-dev.13 05:23:54 2025-08-27 05:23:54,381 [write_version] DEBUG write version:4.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 05:23:54 2025-08-27 05:23:54,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:23:54 2025-08-27 05:23:54,381 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:23:54 2025-08-27 05:23:54,383 [execute] INFO git cat-file --batch-check 05:23:54 2025-08-27 05:23:54,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 05:23:54 2025-08-27 05:23:54,387 [execute] INFO git cat-file --batch 05:23:54 2025-08-27 05:23:54,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 05:23:54 2025-08-27 05:23:54,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:23:54 4.1.0-dev.13 [Pipeline] } 05:23:54 $ docker exec --env ******** --env ******** a07e9f2952ff5574cb788f4ad323c86379d17322c1fd84db95ddb2274b85747f ssh-agent -k 05:23:54 unset SSH_AUTH_SOCK; 05:23:54 unset SSH_AGENT_PID; 05:23:54 echo Agent pid 38 killed; 05:23:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:54 + git semver [Pipeline] } 05:23:55 $ docker stop --time=1 a07e9f2952ff5574cb788f4ad323c86379d17322c1fd84db95ddb2274b85747f 05:23:56 $ docker rm -f --volumes a07e9f2952ff5574cb788f4ad323c86379d17322c1fd84db95ddb2274b85747f [Pipeline] // withDockerContainer [Pipeline] sh 05:23:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:23:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:57 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:23:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:23:57 $ docker top a789d7c5fcfb71264cc3be480170d3df233c0b1143dfcc66656f5f8847bc25ed -eo pid,comm 05:23:57 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). 05:23:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:57 [ssh-agent] Looking for ssh-agent implementation... 05:23:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:57 $ docker exec a789d7c5fcfb71264cc3be480170d3df233c0b1143dfcc66656f5f8847bc25ed ssh-agent 05:23:57 SSH_AUTH_SOCK=/tmp/ssh-k2Vmtuah2F4v/agent.32 05:23:57 SSH_AGENT_PID=38 05:23:57 Running ssh-add (command line suppressed) 05:23:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13456335629818730418.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13456335629818730418.key) 05:23:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:58 + git semver push 05:23:58 2025-08-27 05:23:58,325 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:23:58 2025-08-27 05:23:58,330 [run_push] DEBUG push 05:23:58 2025-08-27 05:23:58,331 [execute] INFO git cat-file --batch-check 05:23:58 2025-08-27 05:23:58,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 05:23:58 2025-08-27 05:23:58,333 [execute] INFO git rev-list d8af796377cc093aaf6d3d5bee5bfb8c93e6c766 -- 05:23:58 2025-08-27 05:23:58,333 [execute] DEBUG Popen(['git', 'rev-list', 'd8af796377cc093aaf6d3d5bee5bfb8c93e6c766', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 05:23:58 2025-08-27 05:23:58,341 [execute] INFO git fetch -v -- origin 05:23:58 2025-08-27 05:23:58,341 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 05:23:58 2025-08-27 05:23:58,805 [run_push] DEBUG no remote changes detected 05:23:58 2025-08-27 05:23:58,805 [execute] INFO git push origin semver 05:23:58 2025-08-27 05:23:58,806 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 05:23:59 2025-08-27 05:23:59,445 [run_push] DEBUG push all version tags 05:23:59 2025-08-27 05:23:59,445 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:23:59 2025-08-27 05:23:59,445 [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) 05:24:00 2025-08-27 05:24:00,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:24:00 4.1.0-dev.13 [Pipeline] } 05:24:00 $ docker exec --env ******** --env ******** a789d7c5fcfb71264cc3be480170d3df233c0b1143dfcc66656f5f8847bc25ed ssh-agent -k 05:24:00 unset SSH_AUTH_SOCK; 05:24:00 unset SSH_AGENT_PID; 05:24:00 echo Agent pid 38 killed; 05:24:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:24:00 + git semver [Pipeline] } 05:24:01 $ docker stop --time=1 a789d7c5fcfb71264cc3be480170d3df233c0b1143dfcc66656f5f8847bc25ed 05:24:02 $ docker rm -f --volumes a789d7c5fcfb71264cc3be480170d3df233c0b1143dfcc66656f5f8847bc25ed [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 05:24:02 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 05:24:02 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:24:02 total 16 05:24:02 drwxr-xr-x 3 root root 4096 Aug 27 05:11 . 05:24:02 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 05:23 .. 05:24:02 drwxr-xr-x 2 root root 4096 Aug 27 05:11 cost 05:24:02 -rw-r--r-- 1 root root 86 Aug 27 05:11 cost.csv 05:24:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 05:24:02 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:24:02 total 16 05:24:02 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 05:11 . 05:24:02 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 05:23 .. 05:24:02 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 05:11 cost 05:24:02 -rw-r--r-- 1 jenkins jenkins 86 Aug 27 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:24:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:24:04 ---> package-listing.sh 05:24:04 ++ facter osfamily 05:24:04 ++ tr '[:upper:]' '[:lower:]' 05:24:04 + OS_FAMILY=debian 05:24:04 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:24:04 + START_PACKAGES=/tmp/packages_start.txt 05:24:04 + END_PACKAGES=/tmp/packages_end.txt 05:24:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:24:04 + PACKAGES=/tmp/packages_start.txt 05:24:04 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:24:04 + PACKAGES=/tmp/packages_end.txt 05:24:04 + case "${OS_FAMILY}" in 05:24:04 + dpkg -l 05:24:04 + grep '^ii' 05:24:04 + '[' -f /tmp/packages_start.txt ']' 05:24:04 + '[' -f /tmp/packages_end.txt ']' 05:24:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:24:04 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:24:04 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:24:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 05:24:04 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 05:24:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:05 prd-ubuntu20.04-docker-8c-8g-7678 does not seem to be running inside a container 05:24:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:24:05 $ docker top 5cf14bfc8e3c1aec6718c8809e32b0e8a84e839cd871374bbb7b2d6424c6323a -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:05 + touch /tmp/pre-build-complete [Pipeline] sh 05:24:06 + mkdir -p /var/log/sysstat [Pipeline] sh 05:24:06 + ls /var/log/sa-host 05:24:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:06 provisioning config files... 05:24:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18167081455890713992tmp [Pipeline] { [Pipeline] echo 05:24:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:24:06 ---> create-netrc.sh [Pipeline] } 05:24:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:24:07 ---> python-tools-install.sh [Pipeline] echo 05:24:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:24:07 ---> sudo-logs.sh 05:24:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:24:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:24:07 ---> job-cost.sh 05:24:07 lf-activate-venv: SKIPPING 05:24:07 DEBUG: total: 0.2199999988079071 05:24:07 INFO: Retrieving Stack Cost... 05:24:07 INFO: Retrieving Pricing Info for: v3-standard-8 05:24:08 INFO: Archiving Costs [Pipeline] echo 05:24:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:24:08 ---> logs-deploy.sh 05:24:08 lf-activate-venv: SKIPPING 05:24:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/216 05:24:08 INFO: archiving workspace using pattern(s): 05:24:09 Archives upload complete. 05:24:09 INFO: archiving logs to Nexus