Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 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-ssh15105505661805335956.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh5026385748290162732.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh927374752393186509.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh14815355332181360825.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-ssh13470701163801023536.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 ‘prd-ubuntu20.04-docker-8c-8g-887’ is offline Running on prd-ubuntu20.04-docker-8c-8g-896 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e (main) Commit message: "build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.8.0 (#464)" > git config core.sparsecheckout # timeout=10 > git checkout -f b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e # timeout=10 > git rev-list --no-walk ea8efc1bdf50fce9abd2053ea9328b28ead432ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:28:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:28:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:28:26 ========================================================= 01:28:26 EdgeX Global Pipelines Version Info 01:28:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:28:27 ------------------- 01:28:27 stable info: 01:28:27 ------------------- 01:28:27 Commited By: Ginny Guan ginny@iotechsys.com 01:28:27 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:28:27 Message: update stable to v1.0.274 01:28:27 ------------------- 01:28:27 experimental info: 01:28:27 ------------------- 01:28:27 Commited By: Ginny Guan ginny@iotechsys.com 01:28:27 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 01:28:27 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8df6c2 [Pipeline] echo 01:28:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:28 provisioning config files... 01:28:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6489977714488363917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:29 ---> ****-login.sh 01:28:29 nexus3.edgexfoundry.org:10001 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 nexus3.edgexfoundry.org:10002 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 nexus3.edgexfoundry.org:10003 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 nexus3.edgexfoundry.org:10004 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 ****.io 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 ---> ****-login.sh ends [Pipeline] } 01:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:28:30 + git rev-list -1 --merges b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e~1..b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] echo 01:28:30 -----------> git rev-list -1 --merges b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e~1..b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [false] [Pipeline] sh 01:28:30 + git log --format=format:%s -1 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] echo 01:28:30 ========================================================= 01:28:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:28:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:30 + git log --format=format:%s -1 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] echo 01:28:31 [semverPrep] GIT_COMMIT: b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e, Commit Message: build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.8.0 (#464) [Pipeline] echo 01:28:31 [semverPrep] This is not a build commit. [Pipeline] sh 01:28:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:31 + grep -v github /etc/ssh/ssh_known_hosts 01:28:31 + [ -e /tmp/ssh_known_hosts ] 01:28:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:28:31 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 01:28:31 -a /etc/ssh/ssh_known_hosts 01:28:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:31 01:28:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:32 0.1.4: Pulling from edgex-devops/py-git-semver 01:28:32 b85a868b505f: Pulling fs layer 01:28:32 e2be974225ed: Pulling fs layer 01:28:32 339a4e72a1f5: Pulling fs layer 01:28:32 988bab9f4d93: Pulling fs layer 01:28:32 1469e6f7b9e6: Pulling fs layer 01:28:32 eaf3925da568: Pulling fs layer 01:28:32 bab4dde63d76: Pulling fs layer 01:28:32 bde34c3a00c8: Pulling fs layer 01:28:32 b352a97aabf1: Pulling fs layer 01:28:32 4872d77fe225: Pulling fs layer 01:28:32 5851b861e8e6: Pulling fs layer 01:28:32 eaf3925da568: Waiting 01:28:32 bab4dde63d76: Waiting 01:28:32 bde34c3a00c8: Waiting 01:28:32 b352a97aabf1: Waiting 01:28:32 4872d77fe225: Waiting 01:28:32 5851b861e8e6: Waiting 01:28:32 988bab9f4d93: Waiting 01:28:32 1469e6f7b9e6: Waiting 01:28:32 e2be974225ed: Verifying Checksum 01:28:32 e2be974225ed: Download complete 01:28:32 988bab9f4d93: Download complete 01:28:32 1469e6f7b9e6: Verifying Checksum 01:28:32 1469e6f7b9e6: Download complete 01:28:32 339a4e72a1f5: Download complete 01:28:32 eaf3925da568: Verifying Checksum 01:28:32 eaf3925da568: Download complete 01:28:32 bde34c3a00c8: Verifying Checksum 01:28:32 bde34c3a00c8: Download complete 01:28:32 b352a97aabf1: Download complete 01:28:32 4872d77fe225: Download complete 01:28:32 5851b861e8e6: Verifying Checksum 01:28:32 b85a868b505f: Verifying Checksum 01:28:32 b85a868b505f: Download complete 01:28:32 bab4dde63d76: Verifying Checksum 01:28:32 bab4dde63d76: Download complete 01:28:33 b85a868b505f: Pull complete 01:28:33 e2be974225ed: Pull complete 01:28:33 339a4e72a1f5: Pull complete 01:28:34 988bab9f4d93: Pull complete 01:28:34 1469e6f7b9e6: Pull complete 01:28:34 eaf3925da568: Pull complete 01:28:35 bab4dde63d76: Pull complete 01:28:36 bde34c3a00c8: Pull complete 01:28:36 b352a97aabf1: Pull complete 01:28:36 4872d77fe225: Pull complete 01:28:36 5851b861e8e6: Pull complete 01:28:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:36 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:28:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:37 $ docker top 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 -eo pid,comm 01:28:37 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). 01:28:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:38 [ssh-agent] Looking for ssh-agent implementation... 01:28:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:38 $ docker exec 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 ssh-agent 01:28:38 SSH_AUTH_SOCK=/tmp/ssh-npnJ8GzANHsK/agent.32 01:28:38 SSH_AGENT_PID=38 01:28:38 Running ssh-add (command line suppressed) 01:28:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6759174125105071363.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6759174125105071363.key) 01:28:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:38 + git tag --points-at HEAD [Pipeline] } 01:28:38 $ docker exec --env ******** --env ******** 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 ssh-agent -k 01:28:38 unset SSH_AUTH_SOCK; 01:28:38 unset SSH_AGENT_PID; 01:28:38 echo Agent pid 38 killed; 01:28:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:28:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:38 [ssh-agent] Looking for ssh-agent implementation... 01:28:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:38 $ docker exec 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 ssh-agent 01:28:39 SSH_AUTH_SOCK=/tmp/ssh-ajQMWK56P2F8/agent.71 01:28:39 SSH_AGENT_PID=77 01:28:39 Running ssh-add (command line suppressed) 01:28:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6062542189868768421.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6062542189868768421.key) 01:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:39 + git semver init 01:28:39 2025-05-05 01:28:39,654 [run_init] DEBUG init version:0.0.0 force:False 01:28:39 2025-05-05 01:28:39,654 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:28:39 2025-05-05 01:28:39,655 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:28:39 2025-05-05 01:28:39,655 [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, universal_newlines=False, shell=None, istream=None) 01:28:41 2025-05-05 01:28:41,029 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:28:41 2025-05-05 01:28:41,030 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:28:41 2025-05-05 01:28:41,030 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:28:41 2025-05-05 01:28:41,030 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:28:41 4.1.0-dev.1 [Pipeline] } 01:28:41 $ docker exec --env ******** --env ******** 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 ssh-agent -k 01:28:41 unset SSH_AUTH_SOCK; 01:28:41 unset SSH_AGENT_PID; 01:28:41 echo Agent pid 77 killed; 01:28:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:41 + git semver [Pipeline] } 01:28:41 $ docker stop --time=1 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 01:28:43 $ docker rm -f --volumes 295f6f516e6569c6160d3239984c37ca7c4afe8b0db92b2de1c022f4819e0084 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:28:43 Stashed 1 file(s) [Pipeline] echo 01:28:43 [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [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 01:28:43 provisioning config files... 01:28:43 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5550444099661200402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:44 ---> ****-login.sh 01:28:44 nexus3.edgexfoundry.org:10001 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 nexus3.edgexfoundry.org:10002 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 nexus3.edgexfoundry.org:10003 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 nexus3.edgexfoundry.org:10004 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 ****.io 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 ---> ****-login.sh ends [Pipeline] } 01:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:44 ========================================================= 01:28:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:28:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:45 + 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 . 01:28:45 Sending build context to Docker daemon 21.63MB 01:28:45 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:28:45 Step 2/12 : FROM ${BASE} AS builder 01:28:45 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:28:45 0a9a5dfd008f: Pulling fs layer 01:28:45 dbfa0bcfca99: Pulling fs layer 01:28:45 70eabb1d9476: Pulling fs layer 01:28:45 957bedc73fa3: Pulling fs layer 01:28:45 4f4fb700ef54: Pulling fs layer 01:28:45 f40432e63723: Pulling fs layer 01:28:45 90b4343acab7: Pulling fs layer 01:28:45 9f67ea4ac784: Pulling fs layer 01:28:45 9228b9a606be: Pulling fs layer 01:28:45 f40432e63723: Waiting 01:28:45 90b4343acab7: Waiting 01:28:45 9f67ea4ac784: Waiting 01:28:45 9228b9a606be: Waiting 01:28:45 957bedc73fa3: Waiting 01:28:45 4f4fb700ef54: Waiting 01:28:45 dbfa0bcfca99: Verifying Checksum 01:28:45 dbfa0bcfca99: Download complete 01:28:45 957bedc73fa3: Verifying Checksum 01:28:45 957bedc73fa3: Download complete 01:28:45 4f4fb700ef54: Verifying Checksum 01:28:45 4f4fb700ef54: Download complete 01:28:45 f40432e63723: Download complete 01:28:45 0a9a5dfd008f: Download complete 01:28:45 90b4343acab7: Verifying Checksum 01:28:45 90b4343acab7: Download complete 01:28:45 0a9a5dfd008f: Pull complete 01:28:45 9228b9a606be: Verifying Checksum 01:28:45 9228b9a606be: Download complete 01:28:45 dbfa0bcfca99: Pull complete 01:28:45 70eabb1d9476: Download complete 01:28:46 9f67ea4ac784: Verifying Checksum 01:28:46 9f67ea4ac784: Download complete 01:28:49 70eabb1d9476: Pull complete 01:28:49 957bedc73fa3: Pull complete 01:28:49 4f4fb700ef54: Pull complete 01:28:49 f40432e63723: Pull complete 01:28:49 90b4343acab7: Pull complete 01:28:51 9f67ea4ac784: Pull complete 01:28:51 9228b9a606be: Pull complete 01:28:51 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 01:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:28:51 ---> 69404ca5bff2 01:28:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:28:54 ---> Running in f0c78a156a19 01:28:54 Removing intermediate container f0c78a156a19 01:28:54 ---> 600fdbcc2237 01:28:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:28:54 ---> Running in d69c2983cef2 01:28:54 Removing intermediate container d69c2983cef2 01:28:54 ---> c1e323925bc6 01:28:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:28:54 ---> Running in 133b1eaec25a 01:28:54 Removing intermediate container 133b1eaec25a 01:28:54 ---> 8cf3c42cddcf 01:28:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:28:54 ---> Running in 26e19427dc48 01:28:54 Removing intermediate container 26e19427dc48 01:28:54 ---> 05fa5dfbf32f 01:28:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:54 ---> Running in f3a48b81da45 01:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:28:54 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:28:54 (2/4) Installing libedit (20240517.3.1-r0) 01:28:54 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:28:54 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:28:54 Executing busybox-1.36.1-r29.trigger 01:28:54 OK: 252 MiB in 62 packages 01:28:55 Removing intermediate container f3a48b81da45 01:28:55 ---> b749e162e119 01:28:55 Step 8/12 : WORKDIR /device-rest-go 01:28:55 ---> Running in 4ed0361e3f04 01:28:55 Removing intermediate container 4ed0361e3f04 01:28:55 ---> 4e947253f6fc 01:28:55 Step 9/12 : COPY go.mod vendor* ./ 01:28:55 ---> 6ab2219636a7 01:28:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:55 ---> Running in 766a8d5a855f 01:28:58 Still waiting to schedule task 01:28:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:29:42 Removing intermediate container 766a8d5a855f 01:29:42 ---> 6f5b7715a7e4 01:29:42 Step 11/12 : COPY . . 01:29:42 ---> 927c12cc7ea6 01:29:42 Step 12/12 : RUN $MAKE 01:29:42 ---> Running in 8bc5d83c9b3f 01:29:42 noop 01:29:42 Removing intermediate container 8bc5d83c9b3f 01:29:42 ---> ea026c01884c 01:29:42 Successfully built ea026c01884c 01:29:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:42 + docker inspect -f . ci-base-image-x86_64 01:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:42 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:29:43 $ docker top 0d9d85bf60454ed7bf029c816567018b58a575b8c5d5c8965567698b8240f5e5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:43 + go version 01:29:43 go version go1.23.8 linux/amd64 [Pipeline] } 01:29:43 $ docker stop --time=1 0d9d85bf60454ed7bf029c816567018b58a575b8c5d5c8965567698b8240f5e5 01:29:44 $ docker rm -f --volumes 0d9d85bf60454ed7bf029c816567018b58a575b8c5d5c8965567698b8240f5e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:45 + docker inspect -f . ci-base-image-x86_64 01:29:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:45 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:29:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:29:45 $ docker top 1d1c4794822135cacf744e221fff71b8044dd6f3990cafa7f57f3f9e4f6ea63e -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:29:46 + make test 01:29:46 go test ./... -coverprofile=coverage.out ./... 01:29:47 ? github.com/edgexfoundry/device-rest-go [no test files] 01:30:05 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:30:05 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 01:30:18 go vet ./... 01:30:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:30:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:30:24 ./bin/test-attribution-txt.sh [Pipeline] echo 01:30:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:30:24 $ docker stop --time=1 1d1c4794822135cacf744e221fff71b8044dd6f3990cafa7f57f3f9e4f6ea63e 01:30:26 $ docker rm -f --volumes 1d1c4794822135cacf744e221fff71b8044dd6f3990cafa7f57f3f9e4f6ea63e [Pipeline] // withDockerContainer [Pipeline] sh 01:30:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:30:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:30:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:30:28 + ls -al . 01:30:28 total 244 01:30:28 drwxrwxr-x 9 jenkins jenkins 4096 May 5 01:29 . 01:30:28 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:28 .. 01:30:28 -rw-rw-r-- 1 jenkins jenkins 151 May 5 01:28 .dockerignore 01:30:28 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:30 .git 01:30:28 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:28 .github 01:30:28 -rw-rw-r-- 1 jenkins jenkins 264 May 5 01:28 .gitignore 01:30:28 -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:28 .golangci.yml 01:30:28 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:28 .semver 01:30:28 -rw-rw-r-- 1 jenkins jenkins 20138 May 5 01:28 Attribution.txt 01:30:28 -rw-rw-r-- 1 jenkins jenkins 18492 May 5 01:28 CHANGELOG.md 01:30:28 -rw-rw-r-- 1 jenkins jenkins 1697 May 5 01:28 Dockerfile 01:30:28 -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:28 GOVERNANCE.md 01:30:28 -rw-rw-r-- 1 jenkins jenkins 680 May 5 01:28 Jenkinsfile 01:30:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:28 LICENSE 01:30:28 -rw-rw-r-- 1 jenkins jenkins 2598 May 5 01:28 Makefile 01:30:28 -rw-rw-r-- 1 jenkins jenkins 620 May 5 01:28 OWNERS.md 01:30:28 -rw-rw-r-- 1 jenkins jenkins 3989 May 5 01:28 README.md 01:30:28 -rw-rw-r-- 1 jenkins jenkins 11 May 5 01:28 VERSION 01:30:28 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:28 bin 01:30:28 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:28 cmd 01:30:28 -rw-r--r-- 1 jenkins jenkins 14565 May 5 01:30 coverage.out 01:30:28 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:28 driver 01:30:28 -rw-rw-r-- 1 jenkins jenkins 6244 May 5 01:28 go.mod 01:30:28 -rw-rw-r-- 1 jenkins jenkins 86532 May 5 01:28 go.sum 01:30:28 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:28 openapi 01:30:28 -rw-rw-r-- 1 jenkins jenkins 713 May 5 01:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:28 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e --label arch=amd64 --label version=4.1.0-dev.1 . 01:30:28 Sending build context to Docker daemon 21.64MB 01:30:28 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:30:28 Step 2/26 : FROM ${BASE} AS builder 01:30:28 ---> ea026c01884c 01:30:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:30:28 ---> Running in 9d8a7f281b07 01:30:28 Removing intermediate container 9d8a7f281b07 01:30:28 ---> 3e9b536729aa 01:30:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:28 ---> Running in 1ff1a9514bce 01:30:28 Removing intermediate container 1ff1a9514bce 01:30:28 ---> 9b1b90a1bb62 01:30:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:29 ---> Running in 385bcc92964c 01:30:29 Removing intermediate container 385bcc92964c 01:30:29 ---> c2c430390e71 01:30:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:30:29 ---> Running in 6bb834cedc74 01:30:29 Removing intermediate container 6bb834cedc74 01:30:29 ---> 12e53ec226f7 01:30:29 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:29 ---> Running in 37d4f63f26dc 01:30:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:30:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:30:29 OK: 252 MiB in 62 packages 01:30:30 Removing intermediate container 37d4f63f26dc 01:30:30 ---> 2f01ea0af9bc 01:30:30 Step 8/26 : WORKDIR /device-rest-go 01:30:30 ---> Running in 017c15f795d9 01:30:30 Removing intermediate container 017c15f795d9 01:30:30 ---> 78ce411e74c1 01:30:30 Step 9/26 : COPY go.mod vendor* ./ 01:30:30 ---> 0b5f20553d6c 01:30:30 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:30 ---> Running in 4f23d54309e0 01:30:30 Removing intermediate container 4f23d54309e0 01:30:30 ---> db0fa40dad9e 01:30:30 Step 11/26 : COPY . . 01:30:31 ---> 3970226c9782 01:30:31 Step 12/26 : RUN $MAKE 01:30:31 ---> Running in f928e14e44a8 01:30:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:31:04 Removing intermediate container f928e14e44a8 01:31:04 ---> ac96dafc7b3a 01:31:04 Step 13/26 : FROM alpine:3.20 01:31:04 3.20: Pulling from library/alpine 01:31:04 0a9a5dfd008f: Already exists 01:31:04 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:31:04 Status: Downloaded newer image for alpine:3.20 01:31:04 ---> ff221270b9fb 01:31:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:31:04 ---> Running in 67b8c8dd726d 01:31:04 Removing intermediate container 67b8c8dd726d 01:31:04 ---> eadd33a4d35f 01:31:04 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:31:04 ---> Running in 53e593c75440 01:31:04 Removing intermediate container 53e593c75440 01:31:04 ---> 144cf5bf9339 01:31:04 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:31:04 ---> Running in 742beaf01614 01:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:31:04 (1/1) Installing dumb-init (1.2.5-r3) 01:31:04 Executing busybox-1.36.1-r29.trigger 01:31:04 OK: 8 MiB in 15 packages 01:31:04 Removing intermediate container 742beaf01614 01:31:04 ---> 6269cde8eb09 01:31:04 Step 17/26 : RUN apk --no-cache upgrade 01:31:04 ---> Running in fd2bdd4405a9 01:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:31:04 OK: 8 MiB in 15 packages 01:31:04 Removing intermediate container fd2bdd4405a9 01:31:04 ---> b8e61157f08d 01:31:04 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:31:04 ---> 0382c2a132f5 01:31:04 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:31:04 ---> 4d5dd1ef119a 01:31:04 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:31:04 ---> ad06710d1ef8 01:31:04 Step 21/26 : EXPOSE 59986 01:31:04 ---> Running in 0435fc19ec22 01:31:04 Removing intermediate container 0435fc19ec22 01:31:04 ---> 501e43a8f514 01:31:04 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:31:04 ---> Running in 261df541909c 01:31:04 Removing intermediate container 261df541909c 01:31:04 ---> 8ba36a87f838 01:31:04 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:31:04 ---> Running in 88d286d77c76 01:31:04 Removing intermediate container 88d286d77c76 01:31:04 ---> 3bc0d16d6a2f 01:31:04 Step 24/26 : LABEL arch=amd64 01:31:04 ---> Running in c9a3cc022518 01:31:04 Removing intermediate container c9a3cc022518 01:31:04 ---> a24492fc760b 01:31:04 Step 25/26 : LABEL git_sha=b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:31:04 ---> Running in 4a3c64c7ae1c 01:31:04 Removing intermediate container 4a3c64c7ae1c 01:31:04 ---> 7dc7bd64584f 01:31:04 Step 26/26 : LABEL version=4.1.0-dev.1 01:31:04 ---> Running in 450554a781e8 01:31:04 Removing intermediate container 450554a781e8 01:31:04 ---> 805a484dc369 01:31:04 [Warning] One or more build-args [ARCH] were not consumed 01:31:04 Successfully built 805a484dc369 01:31:04 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:04 provisioning config files... 01:31:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17495459145797583313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:04 ---> ****-login.sh 01:31:04 nexus3.edgexfoundry.org:10001 01:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:04 Configure a credential helper to remove this warning. See 01:31:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:04 01:31:04 Login Succeeded 01:31:04 nexus3.edgexfoundry.org:10002 01:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:04 Configure a credential helper to remove this warning. See 01:31:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:04 01:31:04 Login Succeeded 01:31:04 nexus3.edgexfoundry.org:10003 01:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:05 Configure a credential helper to remove this warning. See 01:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:05 01:31:05 Login Succeeded 01:31:05 nexus3.edgexfoundry.org:10004 01:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:05 Configure a credential helper to remove this warning. See 01:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:05 01:31:05 Login Succeeded 01:31:05 ****.io 01:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:31:05 Configure a credential helper to remove this warning. See 01:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:31:05 01:31:05 Login Succeeded 01:31:05 ---> ****-login.sh ends [Pipeline] } 01:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:31:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:31:05 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:31:05 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:31:05 latest 01:31:05 4.1.0-dev.1 01:31:05 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:31:05 main 01:31:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:31:06 8d282348dc89: Preparing 01:31:06 e12f48168852: Preparing 01:31:06 a2e721a2b46f: Preparing 01:31:06 116134d9a509: Preparing 01:31:06 4191898524cc: Preparing 01:31:06 994456c4fd7b: Preparing 01:31:06 116134d9a509: Pushed 01:31:06 4191898524cc: Pushed 01:31:06 e12f48168852: Pushed 01:31:06 8d282348dc89: Pushed 01:31:06 994456c4fd7b: Layer already exists 01:31:09 a2e721a2b46f: Pushed 01:31:09 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e: digest: sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:31:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:31:10 8d282348dc89: Preparing 01:31:10 e12f48168852: Preparing 01:31:10 a2e721a2b46f: Preparing 01:31:10 116134d9a509: Preparing 01:31:10 4191898524cc: Preparing 01:31:10 994456c4fd7b: Preparing 01:31:10 994456c4fd7b: Waiting 01:31:10 4191898524cc: Layer already exists 01:31:10 8d282348dc89: Layer already exists 01:31:10 116134d9a509: Layer already exists 01:31:10 e12f48168852: Layer already exists 01:31:10 a2e721a2b46f: Layer already exists 01:31:10 994456c4fd7b: Layer already exists 01:31:10 latest: digest: sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 01:31:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:31:11 8d282348dc89: Preparing 01:31:11 e12f48168852: Preparing 01:31:11 a2e721a2b46f: Preparing 01:31:11 116134d9a509: Preparing 01:31:11 4191898524cc: Preparing 01:31:11 994456c4fd7b: Preparing 01:31:11 994456c4fd7b: Waiting 01:31:11 8d282348dc89: Layer already exists 01:31:11 a2e721a2b46f: Layer already exists 01:31:11 116134d9a509: Layer already exists 01:31:11 4191898524cc: Layer already exists 01:31:11 e12f48168852: Layer already exists 01:31:11 994456c4fd7b: Layer already exists 01:31:11 4.1.0-dev.1: digest: sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:31:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:31:11 8d282348dc89: Preparing 01:31:11 e12f48168852: Preparing 01:31:11 a2e721a2b46f: Preparing 01:31:11 116134d9a509: Preparing 01:31:11 4191898524cc: Preparing 01:31:11 994456c4fd7b: Preparing 01:31:11 994456c4fd7b: Waiting 01:31:11 8d282348dc89: Layer already exists 01:31:11 a2e721a2b46f: Layer already exists 01:31:11 e12f48168852: Layer already exists 01:31:11 116134d9a509: Layer already exists 01:31:11 4191898524cc: Layer already exists 01:31:11 994456c4fd7b: Layer already exists 01:31:11 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1: digest: sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:31:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:31:12 8d282348dc89: Preparing 01:31:12 e12f48168852: Preparing 01:31:12 a2e721a2b46f: Preparing 01:31:12 116134d9a509: Preparing 01:31:12 4191898524cc: Preparing 01:31:12 994456c4fd7b: Preparing 01:31:12 994456c4fd7b: Waiting 01:31:12 4191898524cc: Layer already exists 01:31:12 8d282348dc89: Layer already exists 01:31:12 116134d9a509: Layer already exists 01:31:12 a2e721a2b46f: Layer already exists 01:31:12 e12f48168852: Layer already exists 01:31:12 994456c4fd7b: Layer already exists 01:31:12 main: digest: sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:31:12 ===================================================== [Pipeline] echo 01:31:12 taggedImages: 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:31:12 ========================================================= 01:31:12 [edgeXBuildMultiArch] RAW Config: 01:31:12 images: 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:31:12 - nexus3.edgexfoundry.org:10004/device-rest:main 01:31:12 settingsFile: 01:31:12 device-rest-go-settings 01:31:12 ========================================================= [Pipeline] node 01:31:27 Still waiting to schedule task 01:31:27 All nodes of label ‘centos7-docker-4c-2g’ are offline 01:31:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-903 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:31:37 Running in /w/workspace/device-rest-go/194 [Pipeline] { [Pipeline] checkout 01:31:38 The recommended git tool is: git 01:31:44 using credential edgex-jenkins-ssh 01:31:44 Cloning the remote Git repository 01:31:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:31:44 > git init /w/workspace/device-rest-go/194 # timeout=10 01:31:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:31:45 > git --version # timeout=10 01:31:45 > git --version # 'git version 2.25.1' 01:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:50 Avoid second fetch 01:31:50 Checking out Revision b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e (main) 01:31:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:31:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:50 > git config core.sparsecheckout # timeout=10 01:31:50 > git checkout -f b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e # timeout=10 01:31:51 Commit message: "build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.8.0 (#464)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:31:56 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:56 Dload Upload Total Spent Left Speed 01:31:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 01:31:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:31:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:31:56 + sudo tee /etc/docker/daemon.new 01:31:56 { 01:31:56 "registry-mirrors": [ 01:31:56 "https://nexus3.edgexfoundry.org:10001" 01:31:56 ], 01:31:56 "bip": "10.250.0.254/24", 01:31:56 "hosts": [ 01:31:56 "tcp://0.0.0.0:5555", 01:31:56 "unix:///var/run/docker.sock" 01:31:56 ], 01:31:56 "mtu": 1458, 01:31:56 "selinux-enabled": true, 01:31:56 "seccomp-profile": "/etc/docker/seccomp.json" 01:31:56 } [Pipeline] sh 01:31:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:31:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:16 provisioning config files... 01:32:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/194@tmp/config5441833341882934555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:16 ---> ****-login.sh 01:32:16 nexus3.edgexfoundry.org:10001 01:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:17 Configure a credential helper to remove this warning. See 01:32:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:17 01:32:17 Login Succeeded 01:32:17 nexus3.edgexfoundry.org:10002 01:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:17 Configure a credential helper to remove this warning. See 01:32:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:17 01:32:17 Login Succeeded 01:32:17 nexus3.edgexfoundry.org:10003 01:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:17 Configure a credential helper to remove this warning. See 01:32:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:17 01:32:17 Login Succeeded 01:32:17 nexus3.edgexfoundry.org:10004 01:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:18 Configure a credential helper to remove this warning. See 01:32:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:18 01:32:18 Login Succeeded 01:32:18 ****.io 01:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:19 Configure a credential helper to remove this warning. See 01:32:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:19 01:32:19 Login Succeeded 01:32:19 ---> ****-login.sh ends [Pipeline] } 01:32:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:32:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:32:19 ========================================================= 01:32:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:32:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:19 + 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 . 01:32:19 Sending build context to Docker daemon 141.8kB 01:32:20 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:32:20 Step 2/12 : FROM ${BASE} AS builder 01:32:20 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:32:20 94e9d8af2201: Pulling fs layer 01:32:20 634366ca850b: Pulling fs layer 01:32:20 f66ade281fe9: Pulling fs layer 01:32:20 13fd4ce6e94e: Pulling fs layer 01:32:20 4f4fb700ef54: Pulling fs layer 01:32:20 4cccf3f17d63: Pulling fs layer 01:32:20 2d8010953d95: Pulling fs layer 01:32:20 ec743f232bc5: Pulling fs layer 01:32:20 4f4fb700ef54: Waiting 01:32:20 4cccf3f17d63: Waiting 01:32:20 2d8010953d95: Waiting 01:32:20 ec743f232bc5: Waiting 01:32:20 13fd4ce6e94e: Waiting 01:32:20 634366ca850b: Verifying Checksum 01:32:20 634366ca850b: Download complete 01:32:20 13fd4ce6e94e: Verifying Checksum 01:32:20 13fd4ce6e94e: Download complete 01:32:20 4f4fb700ef54: Verifying Checksum 01:32:20 4f4fb700ef54: Download complete 01:32:20 4cccf3f17d63: Verifying Checksum 01:32:20 4cccf3f17d63: Download complete 01:32:20 94e9d8af2201: Download complete 01:32:21 ec743f232bc5: Verifying Checksum 01:32:21 ec743f232bc5: Download complete 01:32:21 Running on prd-centos7-docker-4c-2g-904 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { 01:32:21 94e9d8af2201: Pull complete [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:21 provisioning config files... 01:32:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2494731785371460011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:22 634366ca850b: Pull complete 01:32:22 f66ade281fe9: Verifying Checksum 01:32:22 f66ade281fe9: Download complete 01:32:23 2d8010953d95: Verifying Checksum 01:32:23 2d8010953d95: Download complete 01:32:23 ---> ****-login.sh 01:32:23 nexus3.edgexfoundry.org:10001 01:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:24 Configure a credential helper to remove this warning. See 01:32:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:24 01:32:24 Login Succeeded 01:32:24 nexus3.edgexfoundry.org:10002 01:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:24 Configure a credential helper to remove this warning. See 01:32:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:24 01:32:24 Login Succeeded 01:32:24 nexus3.edgexfoundry.org:10003 01:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:24 Configure a credential helper to remove this warning. See 01:32:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:24 01:32:24 Login Succeeded 01:32:24 nexus3.edgexfoundry.org:10004 01:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:24 Configure a credential helper to remove this warning. See 01:32:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:24 01:32:24 Login Succeeded 01:32:24 ****.io 01:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:25 Configure a credential helper to remove this warning. See 01:32:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:25 01:32:25 Login Succeeded 01:32:25 ---> ****-login.sh ends [Pipeline] } 01:32:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:25 + docker buildx ls 01:32:25 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:32:25 default * docker 01:32:25 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:32:25 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:32:25 edgex-builder [Pipeline] sh 01:32:26 + docker buildx inspect --bootstrap 01:32:26 #1 [internal] booting buildkit 01:32:26 #1 pulling image moby/buildkit:buildx-stable-1 01:32:30 #1 pulling image moby/buildkit:buildx-stable-1 3.4s done 01:32:30 #1 creating container buildx_buildkit_edgex-builder0 01:32:30 #1 creating container buildx_buildkit_edgex-builder0 1.3s done 01:32:30 #1 DONE 4.7s 01:32:30 Name: edgex-builder 01:32:30 Driver: docker-container 01:32:30 01:32:30 Nodes: 01:32:30 Name: edgex-builder0 01:32:30 Endpoint: unix:///var/run/docker.sock 01:32:30 Status: running 01:32:30 Buildkit: v0.20.2 01:32:30 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:32:31 + docker buildx ls 01:32:31 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:32:31 edgex-builder * docker-container 01:32:31 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:32:31 default docker 01:32:31 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:32:31 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e' 01:32:31 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e --push - 01:32:31 #1 [internal] load build definition from Dockerfile 01:32:31 #1 transferring dockerfile: 196B done 01:32:31 #1 DONE 0.0s 01:32:31 01:32:31 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:32:31 #2 DONE 0.1s 01:32:31 01:32:31 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:32:31 #3 DONE 0.1s 01:32:31 01:32:31 #4 [internal] load .dockerignore 01:32:31 #4 transferring context: 2B done 01:32:31 #4 DONE 0.0s 01:32:31 01:32:31 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:31 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:31 #5 DONE 0.0s 01:32:31 01:32:31 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:31 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:31 #6 DONE 0.1s 01:32:31 01:32:31 #7 exporting to image 01:32:31 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:32:31 #7 ... 01:32:31 01:32:31 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:32:31 #8 DONE 0.0s 01:32:31 01:32:31 #7 exporting to image 01:32:31 #7 exporting layers done 01:32:31 #7 exporting manifest sha256:03d7457f28be6fb03793bd71094bd1193d6a8eacf8b3beea2b79161382dfc9a3 done 01:32:31 #7 exporting config sha256:6c9cd25fd3252509d5c1e3ed8752d4e910c56e285dffa506a2494269a35ed215 done 01:32:31 #7 exporting manifest sha256:ef257135bf612e3f4fc70586bf12e591440dde17454ddbc9166dee505f2d5d20 done 01:32:31 #7 exporting config sha256:e458ef9f852592ec2db68dbee440a1fbeea092e2a546966d408b159a411b5d9d done 01:32:31 #7 exporting manifest list sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 done 01:32:31 #7 pushing layers 01:32:31 #7 pushing layers 0.1s done 01:32:31 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e@sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 0.1s done 01:32:31 #7 DONE 0.2s 01:32:31 01:32:31 1 warning found (use --debug to expand): 01:32:31  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:32:32 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:32:32 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:32:32 #1 [internal] load build definition from Dockerfile 01:32:32 #1 transferring dockerfile: 162B done 01:32:32 #1 DONE 0.0s 01:32:32 01:32:32 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:32:32 #2 DONE 0.0s 01:32:32 01:32:32 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:32:32 #3 DONE 0.0s 01:32:32 01:32:32 #4 [internal] load .dockerignore 01:32:32 #4 transferring context: 2B done 01:32:32 #4 DONE 0.0s 01:32:32 01:32:32 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:32 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:32 #5 CACHED 01:32:32 01:32:32 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:32 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:32 #6 CACHED 01:32:32 01:32:32 #7 exporting to image 01:32:32 #7 exporting layers done 01:32:32 #7 exporting manifest sha256:03d7457f28be6fb03793bd71094bd1193d6a8eacf8b3beea2b79161382dfc9a3 done 01:32:32 #7 exporting config sha256:6c9cd25fd3252509d5c1e3ed8752d4e910c56e285dffa506a2494269a35ed215 done 01:32:32 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:32:32 #7 exporting manifest sha256:ef257135bf612e3f4fc70586bf12e591440dde17454ddbc9166dee505f2d5d20 done 01:32:32 #7 exporting config sha256:e458ef9f852592ec2db68dbee440a1fbeea092e2a546966d408b159a411b5d9d done 01:32:32 #7 exporting manifest list sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 done 01:32:32 #7 pushing layers 0.0s done 01:32:32 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 0.1s done 01:32:32 #7 DONE 0.1s 01:32:32 01:32:32 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:32:32 #8 DONE 0.0s 01:32:32 01:32:32 1 warning found (use --debug to expand): 01:32:32  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:32:32 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 --push - 01:32:32 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1' 01:32:32 #1 [internal] load build definition from Dockerfile 01:32:32 #1 transferring dockerfile: 167B done 01:32:32 #1 DONE 0.0s 01:32:32 01:32:32 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 01:32:32 #2 DONE 0.0s 01:32:32 01:32:32 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 01:32:32 #3 DONE 0.0s 01:32:32 01:32:32 #4 [internal] load .dockerignore 01:32:32 #4 transferring context: 2B done 01:32:32 #4 DONE 0.0s 01:32:33 01:32:33 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:33 #5 CACHED 01:32:33 01:32:33 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:33 #6 CACHED 01:32:33 01:32:33 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:32:33 #7 DONE 0.0s 01:32:33 01:32:33 #8 exporting to image 01:32:33 #8 exporting layers done 01:32:33 #8 exporting manifest sha256:03d7457f28be6fb03793bd71094bd1193d6a8eacf8b3beea2b79161382dfc9a3 done 01:32:33 #8 exporting config sha256:6c9cd25fd3252509d5c1e3ed8752d4e910c56e285dffa506a2494269a35ed215 done 01:32:33 #8 exporting manifest sha256:ef257135bf612e3f4fc70586bf12e591440dde17454ddbc9166dee505f2d5d20 done 01:32:33 #8 exporting config sha256:e458ef9f852592ec2db68dbee440a1fbeea092e2a546966d408b159a411b5d9d done 01:32:33 #8 exporting manifest list sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 done 01:32:33 #8 pushing layers 0.0s done 01:32:33 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1@sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 0.1s done 01:32:33 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:32:33 #8 DONE 0.1s 01:32:33 01:32:33 1 warning found (use --debug to expand): 01:32:33  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:32:33 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 --push - 01:32:33 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1' 01:32:33 #1 [internal] load build definition from Dockerfile 01:32:33 #1 transferring dockerfile: 208B done 01:32:33 #1 DONE 0.0s 01:32:33 01:32:33 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:32:33 #2 DONE 0.0s 01:32:33 01:32:33 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:32:33 #3 DONE 0.0s 01:32:33 01:32:33 #4 [internal] load .dockerignore 01:32:33 #4 transferring context: 2B done 01:32:33 #4 DONE 0.0s 01:32:33 01:32:33 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:33 #5 CACHED 01:32:33 01:32:33 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:33 #6 CACHED 01:32:33 01:32:33 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:32:33 #7 DONE 0.0s 01:32:33 01:32:33 #8 exporting to image 01:32:33 #8 exporting layers done 01:32:33 #8 exporting manifest sha256:03d7457f28be6fb03793bd71094bd1193d6a8eacf8b3beea2b79161382dfc9a3 done 01:32:33 #8 exporting config sha256:6c9cd25fd3252509d5c1e3ed8752d4e910c56e285dffa506a2494269a35ed215 done 01:32:33 #8 exporting manifest sha256:ef257135bf612e3f4fc70586bf12e591440dde17454ddbc9166dee505f2d5d20 done 01:32:33 #8 exporting config sha256:e458ef9f852592ec2db68dbee440a1fbeea092e2a546966d408b159a411b5d9d done 01:32:33 #8 exporting manifest list sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 done 01:32:33 #8 pushing layers 0.0s done 01:32:33 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1@sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 0.1s done 01:32:33 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:32:33 #8 DONE 0.1s 01:32:33 01:32:33 1 warning found (use --debug to expand): 01:32:33  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:32:33 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:32:33 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:32:33 #1 [internal] load build definition from Dockerfile 01:32:33 #1 transferring dockerfile: 160B done 01:32:33 #1 DONE 0.0s 01:32:33 01:32:33 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:32:33 #2 DONE 0.0s 01:32:33 01:32:33 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:32:33 #3 DONE 0.0s 01:32:33 01:32:33 #4 [internal] load .dockerignore 01:32:33 #4 transferring context: 2B done 01:32:33 #4 DONE 0.0s 01:32:33 01:32:33 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:33 #5 CACHED 01:32:33 01:32:33 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 01:32:33 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:bfded23efca70d62551f78c8ac654ac15af095aa833dc2d57a5574d9522ba8ae 0.0s done 01:32:33 #6 CACHED 01:32:33 01:32:33 #7 exporting to image 01:32:33 #7 exporting layers 01:32:33 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:32:34 #7 exporting layers done 01:32:34 #7 exporting manifest sha256:03d7457f28be6fb03793bd71094bd1193d6a8eacf8b3beea2b79161382dfc9a3 done 01:32:34 #7 exporting config sha256:6c9cd25fd3252509d5c1e3ed8752d4e910c56e285dffa506a2494269a35ed215 done 01:32:34 #7 exporting manifest sha256:ef257135bf612e3f4fc70586bf12e591440dde17454ddbc9166dee505f2d5d20 done 01:32:34 #7 exporting config sha256:e458ef9f852592ec2db68dbee440a1fbeea092e2a546966d408b159a411b5d9d done 01:32:34 #7 exporting manifest list sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 done 01:32:34 #7 pushing layers 0.0s done 01:32:34 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:735abf47e522727676805431ceee6dc480377a6c90c0d38da32574ec553d5b04 0.1s done 01:32:34 #7 DONE 0.1s 01:32:34 01:32:34 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:32:34 #8 DONE 0.0s 01:32:34 01:32:34 1 warning found (use --debug to expand): 01:32:34  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:32:34 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:32:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:32:35 ---> package-listing.sh 01:32:35 ++ facter osfamily 01:32:35 ++ tr '[:upper:]' '[:lower:]' 01:32:35 + OS_FAMILY=redhat 01:32:35 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:32:35 + START_PACKAGES=/tmp/packages_start.txt 01:32:35 + END_PACKAGES=/tmp/packages_end.txt 01:32:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:32:35 + PACKAGES=/tmp/packages_start.txt 01:32:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:32:35 + PACKAGES=/tmp/packages_end.txt 01:32:35 + case "${OS_FAMILY}" in 01:32:35 + rpm -qa 01:32:35 + sort 01:32:36 + '[' -f /tmp/packages_start.txt ']' 01:32:36 + '[' -f /tmp/packages_end.txt ']' 01:32:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:32:36 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:32:36 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:32:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:32:36 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 01:32:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:37 01:32:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:37 latest: Pulling from edgex-lftools-log-publisher 01:32:37 5eb5b503b376: Pulling fs layer 01:32:37 5c69ac0246d0: Pulling fs layer 01:32:37 ec43610c2a17: Pulling fs layer 01:32:37 3a2ae6a8a46f: Pulling fs layer 01:32:37 33b1e0a273af: Pulling fs layer 01:32:37 5d3b04190fa2: Pulling fs layer 01:32:37 2f39f015ded8: Pulling fs layer 01:32:37 33b1e0a273af: Waiting 01:32:37 5d3b04190fa2: Waiting 01:32:37 2f39f015ded8: Waiting 01:32:37 3a2ae6a8a46f: Waiting 01:32:37 5c69ac0246d0: Verifying Checksum 01:32:37 5c69ac0246d0: Download complete 01:32:37 3a2ae6a8a46f: Verifying Checksum 01:32:37 3a2ae6a8a46f: Download complete 01:32:37 33b1e0a273af: Verifying Checksum 01:32:37 33b1e0a273af: Download complete 01:32:37 5d3b04190fa2: Verifying Checksum 01:32:37 5d3b04190fa2: Download complete 01:32:37 ec43610c2a17: Verifying Checksum 01:32:37 ec43610c2a17: Download complete 01:32:37 5eb5b503b376: Verifying Checksum 01:32:37 5eb5b503b376: Download complete 01:32:38 2f39f015ded8: Verifying Checksum 01:32:38 2f39f015ded8: Download complete 01:32:38 f66ade281fe9: Pull complete 01:32:38 13fd4ce6e94e: Pull complete 01:32:38 4f4fb700ef54: Pull complete 01:32:38 4cccf3f17d63: Pull complete 01:32:39 5eb5b503b376: Pull complete 01:32:39 5c69ac0246d0: Pull complete 01:32:39 ec43610c2a17: Pull complete 01:32:39 3a2ae6a8a46f: Pull complete 01:32:39 33b1e0a273af: Pull complete 01:32:39 5d3b04190fa2: Pull complete 01:32:44 2f39f015ded8: Pull complete 01:32:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:32:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:44 prd-centos7-docker-4c-2g-904 does not seem to be running inside a container 01:32:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:32:47 2d8010953d95: Pull complete 01:32:48 $ docker top 9c7979c86ad167d123e5cc36aa06d19b88e1aaa3d8f5fe0338da3ffa1db042b3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:48 + touch /tmp/pre-build-complete [Pipeline] sh 01:32:48 + mkdir -p /var/log/sysstat [Pipeline] sh 01:32:48 + ls /var/log/sa-host 01:32:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:49 provisioning config files... 01:32:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12522650778077305564tmp [Pipeline] { [Pipeline] echo 01:32:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:32:49 ec743f232bc5: Pull complete 01:32:49 Digest: sha256:a6e51edf931e1c2109943d1a62f1c16b78b2281728f1935e6b3d8efd9a0c5dda 01:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:32:49 ---> 12c1d4c06be1 01:32:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:32:49 ---> create-netrc.sh [Pipeline] } 01:32:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:32:49 ---> python-tools-install.sh [Pipeline] echo 01:32:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:32:50 ---> sudo-logs.sh 01:32:50 Archiving 'sudo' log.. 01:32:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-904.novalocal: Name or service not known 01:32:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-904.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:32:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:32:50 ---> job-cost.sh 01:32:50 lf-activate-venv: SKIPPING 01:32:50 INFO: No Stack... 01:32:50 INFO: Retrieving Pricing Info for: v3-standard-2 01:32:50 INFO: Archiving Costs [Pipeline] echo 01:32:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:32:51 ---> logs-deploy.sh 01:32:51 lf-activate-venv: SKIPPING 01:32:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/194 01:32:51 INFO: archiving workspace using pattern(s): 01:32:51 ---> Running in d401c16b24bf 01:32:51 Removing intermediate container d401c16b24bf 01:32:51 ---> 3bafd1d9dde5 01:32:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:51 ---> Running in f558383566e7 01:32:52 Archives upload complete. 01:32:52 INFO: archiving logs to Nexus 01:32:52 Removing intermediate container f558383566e7 01:32:52 ---> 0c9b67f565a5 01:32:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:32:52 ---> Running in 79e9959c0615 01:32:52 Removing intermediate container 79e9959c0615 01:32:52 ---> 7bb39966eb6f 01:32:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:32:52 ---> Running in c0b38d45aa1d 01:32:52 ---> uname -a: 01:32:52 Linux prd-centos7-docker-4c-2g-904.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 01:32:52 01:32:52 01:32:52 ---> lscpu: 01:32:52 Architecture: x86_64 01:32:52 CPU op-mode(s): 32-bit, 64-bit 01:32:52 Byte Order: Little Endian 01:32:52 Address sizes: 40 bits physical, 48 bits virtual 01:32:52 CPU(s): 2 01:32:52 On-line CPU(s) list: 0,1 01:32:52 Thread(s) per core: 1 01:32:52 Core(s) per socket: 1 01:32:52 Socket(s): 2 01:32:52 NUMA node(s): 1 01:32:52 Vendor ID: AuthenticAMD 01:32:52 CPU family: 23 01:32:52 Model: 49 01:32:52 Model name: AMD EPYC-Rome Processor 01:32:52 Stepping: 0 01:32:52 CPU MHz: 2800.000 01:32:52 BogoMIPS: 5600.00 01:32:52 Virtualization: AMD-V 01:32:52 Hypervisor vendor: KVM 01:32:52 Virtualization type: full 01:32:52 L1d cache: 64 KiB 01:32:52 L1i cache: 64 KiB 01:32:52 L2 cache: 1 MiB 01:32:52 L3 cache: 32 MiB 01:32:52 NUMA node0 CPU(s): 0,1 01:32:52 Vulnerability Itlb multihit: Not affected 01:32:52 Vulnerability L1tf: Not affected 01:32:52 Vulnerability Mds: Not affected 01:32:52 Vulnerability Meltdown: Not affected 01:32:52 Vulnerability Mmio stale data: Not affected 01:32:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:32:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:32:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:32:52 Vulnerability Srbds: Not affected 01:32:52 Vulnerability Tsx async abort: Not affected 01:32:52 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 01:32:52 01:32:52 01:32:52 ---> nproc: 01:32:52 2 01:32:52 01:32:52 01:32:52 ---> df -h: 01:32:52 Filesystem Size Used Avail Use% Mounted on 01:32:52 overlay 40G 7.3G 33G 19% / 01:32:52 tmpfs 64M 0 64M 0% /dev 01:32:52 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:32:52 shm 64M 0 64M 0% /dev/shm 01:32:52 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:32:52 01:32:52 01:32:52 Cannot open /var/log/sysstat/sa05: No such file or directory 01:32:52 Please check if data collecting is enabled 01:32:52 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:32:52 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:32:52 $ docker stop --time=1 9c7979c86ad167d123e5cc36aa06d19b88e1aaa3d8f5fe0338da3ffa1db042b3 01:32:53 Removing intermediate container c0b38d45aa1d 01:32:53 ---> 37e54687f644 01:32:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:53 ---> Running in 197ba2db8aa0 01:32:54 $ docker rm -f --volumes 9c7979c86ad167d123e5cc36aa06d19b88e1aaa3d8f5fe0338da3ffa1db042b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:32:54 [WS-CLEANUP] Deleting project workspace... 01:32:54 [WS-CLEANUP] Deferred wipeout is used... 01:32:54 [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 01:32:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:54 01:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:32:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:54 latest: Pulling from edgex-lftools-log-publisher 01:32:54 5eb5b503b376: Pulling fs layer 01:32:54 5c69ac0246d0: Pulling fs layer 01:32:54 ec43610c2a17: Pulling fs layer 01:32:54 3a2ae6a8a46f: Pulling fs layer 01:32:54 33b1e0a273af: Pulling fs layer 01:32:54 5d3b04190fa2: Pulling fs layer 01:32:54 2f39f015ded8: Pulling fs layer 01:32:54 3a2ae6a8a46f: Waiting 01:32:54 33b1e0a273af: Waiting 01:32:54 5d3b04190fa2: Waiting 01:32:54 2f39f015ded8: Waiting 01:32:54 5c69ac0246d0: Download complete 01:32:54 3a2ae6a8a46f: Verifying Checksum 01:32:54 3a2ae6a8a46f: Download complete 01:32:54 33b1e0a273af: Verifying Checksum 01:32:54 33b1e0a273af: Download complete 01:32:54 5d3b04190fa2: Verifying Checksum 01:32:54 5d3b04190fa2: Download complete 01:32:54 ec43610c2a17: Download complete 01:32:55 5eb5b503b376: Verifying Checksum 01:32:55 5eb5b503b376: Download complete 01:32:55 2f39f015ded8: Verifying Checksum 01:32:55 2f39f015ded8: Download complete 01:32:56 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:32:56 (2/4) Installing libedit (20240517.3.1-r0) 01:32:56 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:32:56 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:32:56 5eb5b503b376: Pull complete 01:32:56 Executing busybox-1.36.1-r29.trigger 01:32:56 OK: 244 MiB in 62 packages 01:32:56 5c69ac0246d0: Pull complete 01:32:56 ec43610c2a17: Pull complete 01:32:56 3a2ae6a8a46f: Pull complete 01:32:57 33b1e0a273af: Pull complete 01:32:57 5d3b04190fa2: Pull complete 01:32:57 Removing intermediate container 197ba2db8aa0 01:32:57 ---> f59e301eeaa4 01:32:57 Step 8/12 : WORKDIR /device-rest-go 01:32:57 ---> Running in 28d708f79517 01:32:57 Removing intermediate container 28d708f79517 01:32:57 ---> 6634e3c5770b 01:32:57 Step 9/12 : COPY go.mod vendor* ./ 01:32:58 ---> ab1ff1a4040d 01:32:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:58 ---> Running in 4b6daa239307 01:33:02 2f39f015ded8: Pull complete 01:33:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:33:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:02 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:33:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:33:03 $ docker top 0fa22e3c7780df4f983f732169431ce4ed976629d0b55d075a2c89b4477785b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:03 ---> job-cost.sh 01:33:03 lf-activate-venv: SKIPPING 01:33:03 INFO: No Stack... 01:33:03 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:04 INFO: Archiving Costs [Pipeline] sh 01:33:04 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:33:04 + cut -d, -f6 [Pipeline] lock 01:33:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] 01:33:04 Resource [jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] did not exist. Created. 01:33:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:33:04 + echo total: 0.2199999988079071 [Pipeline] stash 01:33:04 Stashed 1 file(s) [Pipeline] } 01:33:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] [Pipeline] // lock [Pipeline] } 01:33:04 $ docker stop --time=1 0fa22e3c7780df4f983f732169431ce4ed976629d0b55d075a2c89b4477785b7 01:33:06 $ docker rm -f --volumes 0fa22e3c7780df4f983f732169431ce4ed976629d0b55d075a2c89b4477785b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:35:05 Removing intermediate container 4b6daa239307 01:35:05 ---> 52313b4b16a9 01:35:05 Step 11/12 : COPY . . 01:35:05 ---> 8c2fa785c312 01:35:05 Step 12/12 : RUN $MAKE 01:35:05 ---> Running in 29ef61a6aaa3 01:35:05 noop 01:35:05 Removing intermediate container 29ef61a6aaa3 01:35:05 ---> fb4484bc3851 01:35:05 Successfully built fb4484bc3851 01:35:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:05 + docker inspect -f . ci-base-image-arm64 01:35:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:05 prd-ubuntu20.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 01:35:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/194 -v /w/workspace/device-rest-go/194:/w/workspace/device-rest-go/194:rw,z -v /w/workspace/device-rest-go/194@tmp:/w/workspace/device-rest-go/194@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 01:35:07 $ docker top 38359da9b1ee28b7e54f2f33b49e53cf63770d02000ca37c62fe41e80c830e87 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:08 + go version 01:35:08 go version go1.23.8 linux/arm64 [Pipeline] } 01:35:08 $ docker stop --time=1 38359da9b1ee28b7e54f2f33b49e53cf63770d02000ca37c62fe41e80c830e87 01:35:09 $ docker rm -f --volumes 38359da9b1ee28b7e54f2f33b49e53cf63770d02000ca37c62fe41e80c830e87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:10 + docker inspect -f . ci-base-image-arm64 01:35:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:10 prd-ubuntu20.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 01:35:10 $ 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/194 -v /w/workspace/device-rest-go/194:/w/workspace/device-rest-go/194:rw,z -v /w/workspace/device-rest-go/194@tmp:/w/workspace/device-rest-go/194@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 01:35:12 $ docker top 31070ac3571c331f15e7e917c14f75b597dd646523f7dfb05ade4465b7017822 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:12 + git config --global --add safe.directory /w/workspace/device-rest-go/194 [Pipeline] fileExists [Pipeline] sh 01:35:13 + make test 01:35:13 go test ./... -coverprofile=coverage.out ./... 01:35:20 ? github.com/edgexfoundry/device-rest-go [no test files] 01:38:57 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:38:57 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 33.2% of statements 01:38:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:38:57 go vet ./... 01:39:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:39:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:39:44 ./bin/test-attribution-txt.sh [Pipeline] echo 01:39:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:39:44 $ docker stop --time=1 31070ac3571c331f15e7e917c14f75b597dd646523f7dfb05ade4465b7017822 01:39:46 $ docker rm -f --volumes 31070ac3571c331f15e7e917c14f75b597dd646523f7dfb05ade4465b7017822 [Pipeline] // withDockerContainer [Pipeline] sh 01:39:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:39:47 Warning: overwriting stash ‘coverage-report’ 01:39:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:39:49 + ls -al . 01:39:49 total 240 01:39:49 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:35 . 01:39:49 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:31 .. 01:39:49 -rw-rw-r-- 1 jenkins jenkins 151 May 5 01:31 .dockerignore 01:39:49 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:31 .git 01:39:49 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:31 .github 01:39:49 -rw-rw-r-- 1 jenkins jenkins 264 May 5 01:31 .gitignore 01:39:49 -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:31 .golangci.yml 01:39:49 -rw-rw-r-- 1 jenkins jenkins 20138 May 5 01:31 Attribution.txt 01:39:49 -rw-rw-r-- 1 jenkins jenkins 18492 May 5 01:31 CHANGELOG.md 01:39:49 -rw-rw-r-- 1 jenkins jenkins 1697 May 5 01:31 Dockerfile 01:39:49 -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:31 GOVERNANCE.md 01:39:49 -rw-rw-r-- 1 jenkins jenkins 680 May 5 01:31 Jenkinsfile 01:39:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:31 LICENSE 01:39:49 -rw-rw-r-- 1 jenkins jenkins 2598 May 5 01:31 Makefile 01:39:49 -rw-rw-r-- 1 jenkins jenkins 620 May 5 01:31 OWNERS.md 01:39:49 -rw-rw-r-- 1 jenkins jenkins 3989 May 5 01:31 README.md 01:39:49 -rw-rw-r-- 1 jenkins jenkins 11 May 5 01:28 VERSION 01:39:49 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:31 bin 01:39:49 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:31 cmd 01:39:49 -rw-r--r-- 1 jenkins jenkins 14565 May 5 01:38 coverage.out 01:39:49 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:31 driver 01:39:49 -rw-rw-r-- 1 jenkins jenkins 6244 May 5 01:31 go.mod 01:39:49 -rw-rw-r-- 1 jenkins jenkins 86532 May 5 01:31 go.sum 01:39:49 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:31 openapi 01:39:49 -rw-rw-r-- 1 jenkins jenkins 713 May 5 01:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:49 + 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=b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e --label arch=arm64 --label version=4.1.0-dev.1 . 01:39:49 Sending build context to Docker daemon 157.2kB 01:39:49 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:39:49 Step 2/26 : FROM ${BASE} AS builder 01:39:49 ---> fb4484bc3851 01:39:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:39:49 ---> Running in 4b92ced0d281 01:39:50 Removing intermediate container 4b92ced0d281 01:39:50 ---> b017a83f508b 01:39:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:39:50 ---> Running in 2441677f28f4 01:39:50 Removing intermediate container 2441677f28f4 01:39:50 ---> 76a38ec3f47a 01:39:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:39:50 ---> Running in 4bb87d358be0 01:39:50 Removing intermediate container 4bb87d358be0 01:39:50 ---> 4bc02fe57bf7 01:39:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:39:51 ---> Running in 6466a8e603dd 01:39:51 Removing intermediate container 6466a8e603dd 01:39:51 ---> 5f6c08002c8d 01:39:51 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:51 ---> Running in 87d60a2e49da 01:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:39:54 OK: 244 MiB in 62 packages 01:39:55 Removing intermediate container 87d60a2e49da 01:39:55 ---> 64dd70d2a93c 01:39:55 Step 8/26 : WORKDIR /device-rest-go 01:39:55 ---> Running in d378716f30cd 01:39:55 Removing intermediate container d378716f30cd 01:39:55 ---> 8fbf4dd46427 01:39:55 Step 9/26 : COPY go.mod vendor* ./ 01:39:56 ---> cd930cf89858 01:39:56 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:56 ---> Running in 1d37536befe8 01:39:59 Removing intermediate container 1d37536befe8 01:39:59 ---> 224cfaa83b78 01:39:59 Step 11/26 : COPY . . 01:39:59 ---> d7772832a258 01:39:59 Step 12/26 : RUN $MAKE 01:39:59 ---> Running in 4d7a8b4da62e 01:40:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:43:37 Removing intermediate container 4d7a8b4da62e 01:43:37 ---> d8e17289453b 01:43:37 Step 13/26 : FROM alpine:3.20 01:43:37 3.20: Pulling from library/alpine 01:43:37 94e9d8af2201: Already exists 01:43:37 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:43:37 Status: Downloaded newer image for alpine:3.20 01:43:37 ---> 7aab056cecc6 01:43:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:43:37 ---> Running in 53f7488cf35c 01:43:37 Removing intermediate container 53f7488cf35c 01:43:37 ---> 1298de58b1c9 01:43:37 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:43:37 ---> Running in 06cf5d5c8273 01:43:37 Removing intermediate container 06cf5d5c8273 01:43:37 ---> 80edde575d4e 01:43:37 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:43:37 ---> Running in f789d0e7e23a 01:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:43:37 (1/1) Installing dumb-init (1.2.5-r3) 01:43:37 Executing busybox-1.36.1-r29.trigger 01:43:37 OK: 9 MiB in 15 packages 01:43:37 Removing intermediate container f789d0e7e23a 01:43:37 ---> 9383f0bf6590 01:43:37 Step 17/26 : RUN apk --no-cache upgrade 01:43:37 ---> Running in 8050a883ab66 01:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:43:39 OK: 9 MiB in 15 packages 01:43:40 Removing intermediate container 8050a883ab66 01:43:40 ---> 1e37f8cb7e9a 01:43:40 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:43:42 ---> 4e957c6419be 01:43:42 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:43:43 ---> c5b6b7eddbed 01:43:43 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:43:43 ---> 26cb3c5e13c5 01:43:43 Step 21/26 : EXPOSE 59986 01:43:43 ---> Running in d35125beeee7 01:43:43 Removing intermediate container d35125beeee7 01:43:43 ---> bdfc568e746a 01:43:43 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:43:43 ---> Running in 19a41f653a66 01:43:44 Removing intermediate container 19a41f653a66 01:43:44 ---> f23fab2c1fae 01:43:44 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:43:44 ---> Running in 964128a342c0 01:43:44 Removing intermediate container 964128a342c0 01:43:44 ---> fc04c2b8faf5 01:43:44 Step 24/26 : LABEL arch=arm64 01:43:44 ---> Running in 952ac1e8e3b3 01:43:45 Removing intermediate container 952ac1e8e3b3 01:43:45 ---> 00ec6c1bf1b6 01:43:45 Step 25/26 : LABEL git_sha=b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:43:45 ---> Running in e6ecc35c1aca 01:43:45 Removing intermediate container e6ecc35c1aca 01:43:45 ---> 4e290a5814cb 01:43:45 Step 26/26 : LABEL version=4.1.0-dev.1 01:43:45 ---> Running in 24193de5ce52 01:43:45 Removing intermediate container 24193de5ce52 01:43:45 ---> bcded275f203 01:43:45 [Warning] One or more build-args [ARCH] were not consumed 01:43:45 Successfully built bcded275f203 01:43:45 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 01:43:45 provisioning config files... 01:43:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/194@tmp/config9284409144355840984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:46 ---> ****-login.sh 01:43:46 nexus3.edgexfoundry.org:10001 01:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:46 Configure a credential helper to remove this warning. See 01:43:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:46 01:43:46 Login Succeeded 01:43:46 nexus3.edgexfoundry.org:10002 01:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:47 Configure a credential helper to remove this warning. See 01:43:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:47 01:43:47 Login Succeeded 01:43:47 nexus3.edgexfoundry.org:10003 01:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:47 Configure a credential helper to remove this warning. See 01:43:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:47 01:43:47 Login Succeeded 01:43:47 nexus3.edgexfoundry.org:10004 01:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:47 Configure a credential helper to remove this warning. See 01:43:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:47 01:43:47 Login Succeeded 01:43:47 ****.io 01:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:48 Configure a credential helper to remove this warning. See 01:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:48 01:43:48 Login Succeeded 01:43:48 ---> ****-login.sh ends [Pipeline] } 01:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:43:48 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:43:48 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:43:48 latest 01:43:48 4.1.0-dev.1 01:43:48 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:43:48 main 01:43:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:43:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:43:49 52958eebb2c1: Preparing 01:43:49 24fbee8e8971: Preparing 01:43:49 b1621d2d40df: Preparing 01:43:49 b2d17bf230db: Preparing 01:43:49 0aee2a057b41: Preparing 01:43:49 dd9c8f8612c8: Preparing 01:43:49 dd9c8f8612c8: Waiting 01:43:49 24fbee8e8971: Pushed 01:43:49 52958eebb2c1: Pushed 01:43:49 b2d17bf230db: Pushed 01:43:49 0aee2a057b41: Pushed 01:43:49 dd9c8f8612c8: Layer already exists 01:43:56 b1621d2d40df: Pushed 01:43:56 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e: digest: sha256:3bb7a2c2a07eb585bdb2130aadff44a812bb878c75deb000c668884c2c69f5d0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:43:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:43:56 52958eebb2c1: Preparing 01:43:56 24fbee8e8971: Preparing 01:43:56 b1621d2d40df: Preparing 01:43:56 b2d17bf230db: Preparing 01:43:56 0aee2a057b41: Preparing 01:43:56 dd9c8f8612c8: Preparing 01:43:56 dd9c8f8612c8: Waiting 01:43:56 24fbee8e8971: Layer already exists 01:43:56 b1621d2d40df: Layer already exists 01:43:56 b2d17bf230db: Layer already exists 01:43:56 0aee2a057b41: Layer already exists 01:43:56 52958eebb2c1: Layer already exists 01:43:56 dd9c8f8612c8: Layer already exists 01:43:57 latest: digest: sha256:3bb7a2c2a07eb585bdb2130aadff44a812bb878c75deb000c668884c2c69f5d0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 01:43:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:43:57 52958eebb2c1: Preparing 01:43:57 24fbee8e8971: Preparing 01:43:57 b1621d2d40df: Preparing 01:43:57 b2d17bf230db: Preparing 01:43:57 0aee2a057b41: Preparing 01:43:57 dd9c8f8612c8: Preparing 01:43:57 dd9c8f8612c8: Waiting 01:43:57 52958eebb2c1: Layer already exists 01:43:57 b2d17bf230db: Layer already exists 01:43:57 0aee2a057b41: Layer already exists 01:43:57 b1621d2d40df: Layer already exists 01:43:57 24fbee8e8971: Layer already exists 01:43:57 dd9c8f8612c8: Layer already exists 01:43:58 4.1.0-dev.1: digest: sha256:3bb7a2c2a07eb585bdb2130aadff44a812bb878c75deb000c668884c2c69f5d0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:43:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:43:59 52958eebb2c1: Preparing 01:43:59 24fbee8e8971: Preparing 01:43:59 b1621d2d40df: Preparing 01:43:59 b2d17bf230db: Preparing 01:43:59 0aee2a057b41: Preparing 01:43:59 dd9c8f8612c8: Preparing 01:43:59 dd9c8f8612c8: Waiting 01:43:59 b2d17bf230db: Layer already exists 01:43:59 b1621d2d40df: Layer already exists 01:43:59 24fbee8e8971: Layer already exists 01:43:59 0aee2a057b41: Layer already exists 01:43:59 52958eebb2c1: Layer already exists 01:43:59 dd9c8f8612c8: Layer already exists 01:43:59 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1: digest: sha256:3bb7a2c2a07eb585bdb2130aadff44a812bb878c75deb000c668884c2c69f5d0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:44:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:44:00 52958eebb2c1: Preparing 01:44:00 24fbee8e8971: Preparing 01:44:00 b1621d2d40df: Preparing 01:44:00 b2d17bf230db: Preparing 01:44:00 0aee2a057b41: Preparing 01:44:00 dd9c8f8612c8: Preparing 01:44:00 dd9c8f8612c8: Waiting 01:44:00 52958eebb2c1: Layer already exists 01:44:00 0aee2a057b41: Layer already exists 01:44:00 b1621d2d40df: Layer already exists 01:44:00 b2d17bf230db: Layer already exists 01:44:00 24fbee8e8971: Layer already exists 01:44:00 dd9c8f8612c8: Layer already exists 01:44:00 main: digest: sha256:3bb7a2c2a07eb585bdb2130aadff44a812bb878c75deb000c668884c2c69f5d0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:44:00 ===================================================== [Pipeline] echo 01:44:00 taggedImages: 01:44:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e 01:44:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:44:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 01:44:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 01:44:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 01:44:00 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] echo 01:44:00 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 01:44:00 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 [Pipeline] echo 01:44:00 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e-4.1.0-dev.1 [Pipeline] echo 01:44:00 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 01:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:00 01:44:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:01 arm64: Pulling from edgex-lftools-log-publisher 01:44:01 8998bd30e6a1: Pulling fs layer 01:44:01 04944245beec: Pulling fs layer 01:44:01 699f458cf7ca: Pulling fs layer 01:44:01 765212b225bb: Pulling fs layer 01:44:01 f23df028b6ca: Pulling fs layer 01:44:01 d65c8cfc05b1: Pulling fs layer 01:44:01 2437ff75d9bd: Pulling fs layer 01:44:01 f23df028b6ca: Waiting 01:44:01 d65c8cfc05b1: Waiting 01:44:01 2437ff75d9bd: Waiting 01:44:01 765212b225bb: Waiting 01:44:01 04944245beec: Verifying Checksum 01:44:01 04944245beec: Download complete 01:44:01 765212b225bb: Verifying Checksum 01:44:01 765212b225bb: Download complete 01:44:01 f23df028b6ca: Download complete 01:44:01 d65c8cfc05b1: Verifying Checksum 01:44:01 d65c8cfc05b1: Download complete 01:44:01 699f458cf7ca: Verifying Checksum 01:44:01 699f458cf7ca: Download complete 01:44:02 8998bd30e6a1: Download complete 01:44:04 2437ff75d9bd: Verifying Checksum 01:44:04 2437ff75d9bd: Download complete 01:44:06 8998bd30e6a1: Pull complete 01:44:07 04944245beec: Pull complete 01:44:09 699f458cf7ca: Pull complete 01:44:09 765212b225bb: Pull complete 01:44:10 f23df028b6ca: Pull complete 01:44:10 d65c8cfc05b1: Pull complete 01:44:28 2437ff75d9bd: Pull complete 01:44:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:28 prd-ubuntu20.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 01:44:28 $ 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/194 -v /w/workspace/device-rest-go/194:/w/workspace/device-rest-go/194:rw,z -v /w/workspace/device-rest-go/194@tmp:/w/workspace/device-rest-go/194@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 01:44:31 $ docker top b44fa20ceb43f71f3b11f8fb24ac3fc87b705a24d2c9ab5080ac4797d16a10e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:32 ---> job-cost.sh 01:44:32 lf-activate-venv: SKIPPING 01:44:32 INFO: No Stack... 01:44:33 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:33 INFO: Archiving Costs [Pipeline] sh 01:44:34 + cat /w/workspace/device-rest-go/194/archives/cost.csv 01:44:34 + cut -d, -f6 [Pipeline] lock 01:44:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] 01:44:34 Resource [jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] did not exist. Created. 01:44:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:35 /w/workspace/device-rest-go/194@tmp/durable-d6e07743/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:36 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:36 Warning: overwriting stash ‘stack-cost’ 01:44:36 Stashed 1 file(s) [Pipeline] } 01:44:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-194-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:36 $ docker stop --time=1 b44fa20ceb43f71f3b11f8fb24ac3fc87b705a24d2c9ab5080ac4797d16a10e0 01:44:37 $ docker rm -f --volumes b44fa20ceb43f71f3b11f8fb24ac3fc87b705a24d2c9ab5080ac4797d16a10e0 [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 01:44:38 provisioning config files... 01:44:38 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config785045356811773479tmp [Pipeline] { [Pipeline] sh 01:44:38 + set +x 01:44:38 + curl -s https://codecov.io/bash 01:44:38 + bash -s -- 01:44:38 01:44:38 _____ _ 01:44:38 / ____| | | 01:44:38 | | ___ __| | ___ ___ _____ __ 01:44:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:38 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:38 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:38 Bash-1.0.6 01:44:38 01:44:38 01:44:38 ==> git version 2.25.1 found 01:44:38 ==> 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 01:44:38 Release-Date: 2020-01-08 01:44:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:38 ==> Jenkins CI detected. 01:44:38 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:44:38 project root: . 01:44:38 --> token set from env 01:44:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:38 ==> Running gcov in . (disable via -X gcov) 01:44:38 ==> Python coveragepy not found 01:44:38 ==> Searching for coverage reports in: 01:44:38 + . 01:44:38 -> Found 1 reports 01:44:38 ==> Detecting git/mercurial file structure 01:44:38 ==> Reading reports 01:44:38 + ./coverage.out bytes=14565 01:44:38 ==> Appending adjustments 01:44:38 https://docs.codecov.io/docs/fixing-reports 01:44:38 + Found adjustments 01:44:38 ==> Gzipping contents 01:44:38 4.0K /tmp/codecov.6J4PQy.gz 01:44:38 ==> Uploading reports 01:44:38 url: https://codecov.io 01:44:38 query: branch=main&commit=b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e&build=194&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F194%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:44:38 -> Pinging Codecov 01:44:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e&build=194&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F194%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:44:39 -> Uploading to 01:44:39 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e/54208003-9ee9-4499-904a-2b1269492665.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250505%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250505T014438Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=5d683df5fed69450a4390fc71ee1b62e1b867bed2338522db635004292f549e6 01:44:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:39 Dload Upload Total Spent Left Speed 01:44:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 7387 --:--:-- --:--:-- --:--:-- 7363 01:44:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] } 01:44:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:44:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:44:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:44:40 01:44:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:44:40 latest: Pulling from edgex-devops/edgex-snyk-go 01:44:40 43c4264eed91: Pulling fs layer 01:44:40 4cc291be95ef: Pulling fs layer 01:44:40 2ac1f1163629: Pulling fs layer 01:44:40 5c3c966382ef: Pulling fs layer 01:44:40 4f4fb700ef54: Pulling fs layer 01:44:40 d9c7d2e4e75e: Pulling fs layer 01:44:40 9c3e1370e548: Pulling fs layer 01:44:40 5c3c966382ef: Waiting 01:44:40 4f4fb700ef54: Waiting 01:44:40 d9c7d2e4e75e: Waiting 01:44:40 9c3e1370e548: Waiting 01:44:40 4cc291be95ef: Download complete 01:44:40 5c3c966382ef: Verifying Checksum 01:44:40 5c3c966382ef: Download complete 01:44:40 4f4fb700ef54: Verifying Checksum 01:44:40 4f4fb700ef54: Download complete 01:44:40 43c4264eed91: Download complete 01:44:40 43c4264eed91: Pull complete 01:44:40 d9c7d2e4e75e: Verifying Checksum 01:44:40 d9c7d2e4e75e: Download complete 01:44:40 4cc291be95ef: Pull complete 01:44:40 2ac1f1163629: Download complete 01:44:41 9c3e1370e548: Verifying Checksum 01:44:41 9c3e1370e548: Download complete 01:44:43 2ac1f1163629: Pull complete 01:44:43 5c3c966382ef: Pull complete 01:44:43 4f4fb700ef54: Pull complete 01:44:44 d9c7d2e4e75e: Pull complete 01:44:47 9c3e1370e548: Pull complete 01:44:47 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 01:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:44:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:47 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:44:50 $ docker top 4224c6a434ee6586c13e28f33dffcf2476ff804c2319d69b696fdc2ff23c98b2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:44:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:44:51 + set -o pipefail 01:44:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:44:58 01:44:58 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:44:58 01:44:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/8d566ef2-4c92-477b-939b-812b2a65b383 01:44:58 01:44:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:44:58 01:44:58 01:44:58 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 01:44:58 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:44:58 $ docker stop --time=1 4224c6a434ee6586c13e28f33dffcf2476ff804c2319d69b696fdc2ff23c98b2 01:45:00 $ docker rm -f --volumes 4224c6a434ee6586c13e28f33dffcf2476ff804c2319d69b696fdc2ff23c98b2 [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 01:45:01 + git log --format=format:%s -1 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e [Pipeline] sh 01:45:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:02 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:45:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:02 $ docker top af12b6799d07fe22f3d7656bd11bbb10cce14d01dac4334a66a8bd16736c4d48 -eo pid,comm 01:45:02 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). 01:45:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:02 [ssh-agent] Looking for ssh-agent implementation... 01:45:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:03 $ docker exec af12b6799d07fe22f3d7656bd11bbb10cce14d01dac4334a66a8bd16736c4d48 ssh-agent 01:45:03 SSH_AUTH_SOCK=/tmp/ssh-A0zSnhEQCeqz/agent.32 01:45:03 SSH_AGENT_PID=38 01:45:03 Running ssh-add (command line suppressed) 01:45:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8996992832790664338.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8996992832790664338.key) 01:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:03 + git semver tag 01:45:03 2025-05-05 01:45:03,738 [run_tag] DEBUG tag force:False 01:45:03 2025-05-05 01:45:03,738 [check_head_tag] DEBUG check head tag 01:45:03 2025-05-05 01:45:03,739 [execute] INFO git cat-file --batch-check 01:45:03 2025-05-05 01:45:03,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:45:03 2025-05-05 01:45:03,742 [execute] INFO git cat-file --batch 01:45:03 2025-05-05 01:45:03,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:45:03 2025-05-05 01:45:03,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:03 2025-05-05 01:45:03,753 [execute] INFO git tag -a v4.1.0-dev.1 -m v4.1.0-dev.1 01:45:03 2025-05-05 01:45:03,754 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.1', '-m', 'v4.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:45:03 2025-05-05 01:45:03,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:03 4.1.0-dev.1 [Pipeline] } 01:45:03 $ docker exec --env ******** --env ******** af12b6799d07fe22f3d7656bd11bbb10cce14d01dac4334a66a8bd16736c4d48 ssh-agent -k 01:45:03 unset SSH_AUTH_SOCK; 01:45:03 unset SSH_AGENT_PID; 01:45:03 echo Agent pid 38 killed; 01:45:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:04 + git semver [Pipeline] } 01:45:04 $ docker stop --time=1 af12b6799d07fe22f3d7656bd11bbb10cce14d01dac4334a66a8bd16736c4d48 01:45:05 $ docker rm -f --volumes af12b6799d07fe22f3d7656bd11bbb10cce14d01dac4334a66a8bd16736c4d48 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:45:06 01:45:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:45:06 0.23.1-centos7: Pulling from edgex-lftools 01:45:06 ab5ef0e58194: Pulling fs layer 01:45:06 9712f1f96733: Pulling fs layer 01:45:06 63f879dbbcfc: Pulling fs layer 01:45:06 0d9ebad4ef96: Pulling fs layer 01:45:06 e9a5061849ea: Pulling fs layer 01:45:06 d747dcd14b5f: Pulling fs layer 01:45:06 2de7ff778b66: Pulling fs layer 01:45:06 e9a5061849ea: Waiting 01:45:06 d747dcd14b5f: Waiting 01:45:06 2de7ff778b66: Waiting 01:45:06 9712f1f96733: Verifying Checksum 01:45:06 9712f1f96733: Download complete 01:45:06 63f879dbbcfc: Verifying Checksum 01:45:06 63f879dbbcfc: Download complete 01:45:07 0d9ebad4ef96: Verifying Checksum 01:45:07 0d9ebad4ef96: Download complete 01:45:07 e9a5061849ea: Verifying Checksum 01:45:07 e9a5061849ea: Download complete 01:45:07 d747dcd14b5f: Verifying Checksum 01:45:07 d747dcd14b5f: Download complete 01:45:07 ab5ef0e58194: Verifying Checksum 01:45:07 ab5ef0e58194: Download complete 01:45:07 2de7ff778b66: Verifying Checksum 01:45:07 2de7ff778b66: Download complete 01:45:09 ab5ef0e58194: Pull complete 01:45:09 9712f1f96733: Pull complete 01:45:10 63f879dbbcfc: Pull complete 01:45:13 0d9ebad4ef96: Pull complete 01:45:13 e9a5061849ea: Pull complete 01:45:13 d747dcd14b5f: Pull complete 01:45:14 2de7ff778b66: Pull complete 01:45:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:45:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:14 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:45:17 $ docker top eb07d6fa27f9f6e77fdef0db99999ebd011bdb73a245be40c8b13d591d19df34 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:45:17 provisioning config files... 01:45:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3943513046880208717tmp 01:45:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14616488170425541618tmp 01:45:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15337348875162156658tmp [Pipeline] { [Pipeline] echo 01:45:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:45:17 ---> sigul-configuration.sh 01:45:17 gpg: directory `/root/.gnupg' created 01:45:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:45:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:45:17 gpg: keyring `/root/.gnupg/secring.gpg' created 01:45:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:45:17 gpg: CAST5 encrypted data 01:45:17 gpg: encrypted with 1 passphrase 01:45:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:45:17 + mkdir /home/jenkins 01:45:17 + mkdir /home/jenkins/sigul [Pipeline] sh 01:45:18 + 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 01:45:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:45:18 ---> sigul-install.sh 01:45:18 Sigul already installed; skipping installation. [Pipeline] sh 01:45:18 + git tag --list 01:45:18 v1.0.0 01:45:18 v1.1.0 01:45:18 v1.1.1 01:45:18 v1.1.2 01:45:18 v1.2.0 01:45:18 v1.2.1 01:45:18 v2.0.0 01:45:18 v2.1.0 01:45:18 v2.1.1 01:45:18 v2.2.0 01:45:18 v2.3.0 01:45:18 v3.0 01:45:18 v3.0.0 01:45:18 v3.1 01:45:18 v3.1.0 01:45:18 v3.1.1 01:45:18 v4.0 01:45:18 v4.0.0 01:45:18 v4.1.0-dev.1 [Pipeline] sh 01:45:18 + lftools sign git-tag v4.1.0-dev.1 01:45:19 Signing Git tag with Sigul... 01:45:19 Signing v4.1.0-dev.1 [Pipeline] echo 01:45:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:45:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:45:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:45:20 $ docker stop --time=1 eb07d6fa27f9f6e77fdef0db99999ebd011bdb73a245be40c8b13d591d19df34 01:45:21 $ docker rm -f --volumes eb07d6fa27f9f6e77fdef0db99999ebd011bdb73a245be40c8b13d591d19df34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:45:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:22 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:45:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:22 $ docker top 8872df28cd6e9b821cbc8a75ed13935f8d166d66715e8097d6c82fe12e816518 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:22 [ssh-agent] Looking for ssh-agent implementation... 01:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:22 $ docker exec 8872df28cd6e9b821cbc8a75ed13935f8d166d66715e8097d6c82fe12e816518 ssh-agent 01:45:22 SSH_AUTH_SOCK=/tmp/ssh-2p1Y1TEQwc0j/agent.33 01:45:22 SSH_AGENT_PID=39 01:45:23 Running ssh-add (command line suppressed) 01:45:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12689486184761335059.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12689486184761335059.key) 01:45:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:23 + git semver bump pre 01:45:23 2025-05-05 01:45:23,557 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:23 2025-05-05 01:45:23,557 [bump_version] DEBUG bumping version:4.1.0-dev.1 on axis:pre with prefix:dev 01:45:23 2025-05-05 01:45:23,557 [bump_version] DEBUG bumped version:4.1.0-dev.2 01:45:23 2025-05-05 01:45:23,557 [write_version] DEBUG write version:4.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:45:23 2025-05-05 01:45:23,557 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:23 2025-05-05 01:45:23,558 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:23 2025-05-05 01:45:23,560 [execute] INFO git cat-file --batch-check 01:45:23 2025-05-05 01:45:23,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:45:23 2025-05-05 01:45:23,565 [execute] INFO git cat-file --batch 01:45:23 2025-05-05 01:45:23,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:45:23 2025-05-05 01:45:23,570 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:23 4.1.0-dev.2 [Pipeline] } 01:45:23 $ docker exec --env ******** --env ******** 8872df28cd6e9b821cbc8a75ed13935f8d166d66715e8097d6c82fe12e816518 ssh-agent -k 01:45:23 unset SSH_AUTH_SOCK; 01:45:23 unset SSH_AGENT_PID; 01:45:23 echo Agent pid 39 killed; 01:45:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:24 + git semver [Pipeline] } 01:45:24 $ docker stop --time=1 8872df28cd6e9b821cbc8a75ed13935f8d166d66715e8097d6c82fe12e816518 01:45:25 $ docker rm -f --volumes 8872df28cd6e9b821cbc8a75ed13935f8d166d66715e8097d6c82fe12e816518 [Pipeline] // withDockerContainer [Pipeline] sh 01:45:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:26 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:26 $ docker top cd65ef16f214dc9a27b2899e9825aee9c6024a1642222a9c6f5a2d7aebeed878 -eo pid,comm 01:45:26 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). 01:45:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:26 [ssh-agent] Looking for ssh-agent implementation... 01:45:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:26 $ docker exec cd65ef16f214dc9a27b2899e9825aee9c6024a1642222a9c6f5a2d7aebeed878 ssh-agent 01:45:26 SSH_AUTH_SOCK=/tmp/ssh-npg7Km3Ya1Pj/agent.32 01:45:26 SSH_AGENT_PID=38 01:45:26 Running ssh-add (command line suppressed) 01:45:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11480424356702345071.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11480424356702345071.key) 01:45:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:27 + git semver push 01:45:27 2025-05-05 01:45:27,549 [run_push] DEBUG push 01:45:27 2025-05-05 01:45:27,550 [execute] INFO git cat-file --batch-check 01:45:27 2025-05-05 01:45:27,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:45:27 2025-05-05 01:45:27,554 [execute] INFO git rev-list 92eaa5740c4a89f5251449a0df4db02089a0bf52 -- 01:45:27 2025-05-05 01:45:27,554 [execute] DEBUG Popen(['git', 'rev-list', '92eaa5740c4a89f5251449a0df4db02089a0bf52', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:45:27 2025-05-05 01:45:27,564 [execute] INFO git fetch -v origin 01:45:27 2025-05-05 01:45:27,564 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:45:28 2025-05-05 01:45:28,014 [run_push] DEBUG no remote changes detected 01:45:28 2025-05-05 01:45:28,014 [execute] INFO git push origin semver 01:45:28 2025-05-05 01:45:28,015 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:45:28 2025-05-05 01:45:28,683 [run_push] DEBUG push all version tags 01:45:28 2025-05-05 01:45:28,683 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:45:28 2025-05-05 01:45:28,684 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:45:29 2025-05-05 01:45:29,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:45:29 4.1.0-dev.2 [Pipeline] } 01:45:29 $ docker exec --env ******** --env ******** cd65ef16f214dc9a27b2899e9825aee9c6024a1642222a9c6f5a2d7aebeed878 ssh-agent -k 01:45:29 unset SSH_AUTH_SOCK; 01:45:29 unset SSH_AGENT_PID; 01:45:29 echo Agent pid 38 killed; 01:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:30 + git semver [Pipeline] } 01:45:30 $ docker stop --time=1 cd65ef16f214dc9a27b2899e9825aee9c6024a1642222a9c6f5a2d7aebeed878 01:45:31 $ docker rm -f --volumes cd65ef16f214dc9a27b2899e9825aee9c6024a1642222a9c6f5a2d7aebeed878 [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 01:45:32 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:45:32 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:45:32 total 16 01:45:32 drwxr-xr-x 3 root root 4096 May 5 01:33 . 01:45:32 drwxrwxr-x 10 jenkins jenkins 4096 May 5 01:45 .. 01:45:32 drwxr-xr-x 2 root root 4096 May 5 01:33 cost 01:45:32 -rw-r--r-- 1 root root 86 May 5 01:33 cost.csv 01:45:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:45:32 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:45:32 total 16 01:45:32 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:33 . 01:45:32 drwxrwxr-x 10 jenkins jenkins 4096 May 5 01:45 .. 01:45:32 drwxr-xr-x 2 jenkins jenkins 4096 May 5 01:33 cost 01:45:32 -rw-r--r-- 1 jenkins jenkins 86 May 5 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:45:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:45:33 ---> package-listing.sh 01:45:33 ++ facter osfamily 01:45:33 ++ tr '[:upper:]' '[:lower:]' 01:45:33 + OS_FAMILY=debian 01:45:33 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:45:33 + START_PACKAGES=/tmp/packages_start.txt 01:45:33 + END_PACKAGES=/tmp/packages_end.txt 01:45:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:45:33 + PACKAGES=/tmp/packages_start.txt 01:45:33 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:45:33 + PACKAGES=/tmp/packages_end.txt 01:45:33 + case "${OS_FAMILY}" in 01:45:33 + dpkg -l 01:45:33 + grep '^ii' 01:45:33 + '[' -f /tmp/packages_start.txt ']' 01:45:33 + '[' -f /tmp/packages_end.txt ']' 01:45:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:45:33 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:45:33 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:45:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:45:33 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 01:45:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:34 prd-ubuntu20.04-docker-8c-8g-896 does not seem to be running inside a container 01:45:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:45:34 $ docker top 08c93c9be354624af2870c262f80f33f6c5502692c9df7fed7235318e8199c9a -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:35 + touch /tmp/pre-build-complete [Pipeline] sh 01:45:35 + mkdir -p /var/log/sysstat [Pipeline] sh 01:45:35 + ls /var/log/sa-host 01:45:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:35 provisioning config files... 01:45:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config247221223840499077tmp [Pipeline] { [Pipeline] echo 01:45:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:45:36 ---> create-netrc.sh [Pipeline] } 01:45:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:45:36 ---> python-tools-install.sh [Pipeline] echo 01:45:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:45:36 ---> sudo-logs.sh 01:45:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:45:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:45:37 ---> job-cost.sh 01:45:37 lf-activate-venv: SKIPPING 01:45:37 DEBUG: total: 0.2199999988079071 01:45:37 INFO: Retrieving Stack Cost... 01:45:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:45:37 INFO: Archiving Costs [Pipeline] echo 01:45:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:45:38 ---> logs-deploy.sh 01:45:38 lf-activate-venv: SKIPPING 01:45:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/194 01:45:38 INFO: archiving workspace using pattern(s): 01:45:39 Archives upload complete. 01:45:39 INFO: archiving logs to Nexus