Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4f17faf2e16114a38b478a37b6b27c0e73285e1 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-ssh16325629353511135681.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16752228581166327081.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5662909404746776169.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10629134095112089070.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-ssh8185021445419063524.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-centos7-blackbox-4c-2g-7129’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7323’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7325 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 a4f17faf2e16114a38b478a37b6b27c0e73285e1 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#489)" > git config core.sparsecheckout # timeout=10 > git checkout -f a4f17faf2e16114a38b478a37b6b27c0e73285e1 # timeout=10 > git rev-list --no-walk 629b5fd22bdbded9c224f315f990b52bbba2d066 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:24:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:28 ========================================================= 01:24:28 EdgeX Global Pipelines Version Info 01:24:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:24:29 ------------------- 01:24:29 stable info: 01:24:29 ------------------- 01:24:29 Commited By: Cherry Wang cherry@iotechsys.com 01:24:29 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:24:29 Message: update stable to v1.0.276 01:24:30 ------------------- 01:24:30 experimental info: 01:24:30 ------------------- 01:24:30 Commited By: **** collab-it+edgex@linuxfoundation.org 01:24:30 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:24:30 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:24:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4f17fa [Pipeline] echo 01:24:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:31 provisioning config files... 01:24:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13280943936389680100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:31 ---> ****-login.sh 01:24:31 nexus3.edgexfoundry.org:10001 01:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:31 01:24:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:31 Configure a credential helper to remove this warning. See 01:24:31 https://docs.****.com/go/credential-store/ 01:24:31 01:24:31 Login Succeeded 01:24:31 nexus3.edgexfoundry.org:10002 01:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:31 01:24:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:31 Configure a credential helper to remove this warning. See 01:24:31 https://docs.****.com/go/credential-store/ 01:24:31 01:24:31 Login Succeeded 01:24:31 nexus3.edgexfoundry.org:10003 01:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:31 01:24:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:31 Configure a credential helper to remove this warning. See 01:24:31 https://docs.****.com/go/credential-store/ 01:24:31 01:24:31 Login Succeeded 01:24:31 nexus3.edgexfoundry.org:10004 01:24:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:32 01:24:32 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:32 Configure a credential helper to remove this warning. See 01:24:32 https://docs.****.com/go/credential-store/ 01:24:32 01:24:32 Login Succeeded 01:24:32 ****.io 01:24:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:32 01:24:32 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:32 Configure a credential helper to remove this warning. See 01:24:32 https://docs.****.com/go/credential-store/ 01:24:32 01:24:32 Login Succeeded 01:24:32 ---> ****-login.sh ends [Pipeline] } 01:24:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:32 + git rev-list -1 --merges a4f17faf2e16114a38b478a37b6b27c0e73285e1~1..a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] echo 01:24:32 -----------> git rev-list -1 --merges a4f17faf2e16114a38b478a37b6b27c0e73285e1~1..a4f17faf2e16114a38b478a37b6b27c0e73285e1 a4f17faf2e16114a38b478a37b6b27c0e73285e1 [false] [Pipeline] sh 01:24:33 + git log --format=format:%s -1 a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] echo 01:24:33 ========================================================= 01:24:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:33 + git log --format=format:%s -1 a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] echo 01:24:33 [semverPrep] GIT_COMMIT: a4f17faf2e16114a38b478a37b6b27c0e73285e1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#489) [Pipeline] echo 01:24:33 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:33 + grep -v github /etc/ssh/ssh_known_hosts 01:24:33 + [ -e /tmp/ssh_known_hosts ] 01:24:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:33 + sudo tee -a /etc/ssh/ssh_known_hosts 01:24:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:34 01:24:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:34 0.1.4: Pulling from edgex-devops/py-git-semver 01:24:34 3dae71ba6b94: Pulling fs layer 01:24:34 6bf1a483ea7c: Pulling fs layer 01:24:34 f5dfc541a4d3: Pulling fs layer 01:24:34 461d9e800cba: Pulling fs layer 01:24:34 80192f66455f: Pulling fs layer 01:24:34 2e8e34ca0e6c: Pulling fs layer 01:24:34 a29436f7fd5d: Pulling fs layer 01:24:34 923cac83aea3: Pulling fs layer 01:24:34 25ad8b0a4227: Pulling fs layer 01:24:34 db01528c6b51: Pulling fs layer 01:24:34 28988de357af: Pulling fs layer 01:24:34 25ad8b0a4227: Waiting 01:24:34 a29436f7fd5d: Waiting 01:24:34 28988de357af: Waiting 01:24:34 923cac83aea3: Waiting 01:24:34 db01528c6b51: Waiting 01:24:34 80192f66455f: Waiting 01:24:34 2e8e34ca0e6c: Waiting 01:24:34 461d9e800cba: Waiting 01:24:34 6bf1a483ea7c: Verifying Checksum 01:24:34 6bf1a483ea7c: Download complete 01:24:34 461d9e800cba: Verifying Checksum 01:24:34 461d9e800cba: Download complete 01:24:34 80192f66455f: Verifying Checksum 01:24:34 80192f66455f: Download complete 01:24:34 f5dfc541a4d3: Download complete 01:24:34 3dae71ba6b94: Verifying Checksum 01:24:34 3dae71ba6b94: Download complete 01:24:34 923cac83aea3: Verifying Checksum 01:24:34 923cac83aea3: Download complete 01:24:34 25ad8b0a4227: Verifying Checksum 01:24:34 25ad8b0a4227: Download complete 01:24:34 db01528c6b51: Verifying Checksum 01:24:34 db01528c6b51: Download complete 01:24:34 28988de357af: Verifying Checksum 01:24:34 28988de357af: Download complete 01:24:35 a29436f7fd5d: Verifying Checksum 01:24:35 2e8e34ca0e6c: Verifying Checksum 01:24:35 2e8e34ca0e6c: Download complete 01:24:36 3dae71ba6b94: Pull complete 01:24:36 6bf1a483ea7c: Pull complete 01:24:36 f5dfc541a4d3: Pull complete 01:24:37 461d9e800cba: Pull complete 01:24:37 80192f66455f: Pull complete 01:24:41 2e8e34ca0e6c: Pull complete 01:24:41 a29436f7fd5d: Pull complete 01:24:41 923cac83aea3: Pull complete 01:24:41 25ad8b0a4227: Pull complete 01:24:41 db01528c6b51: Pull complete 01:24:41 28988de357af: Pull complete 01:24:41 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:41 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:24:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:24:44 $ docker top 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 -eo pid,comm 01:24:44 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:24:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:44 [ssh-agent] Looking for ssh-agent implementation... 01:24:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:44 $ docker exec 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 ssh-agent 01:24:44 SSH_AUTH_SOCK=/tmp/ssh-BbaDskRh0CMl/agent.32 01:24:44 SSH_AGENT_PID=38 01:24:44 Running ssh-add (command line suppressed) 01:24:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11477749180688447825.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11477749180688447825.key) 01:24:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 01:24:45 + git tag --points-at HEAD [Pipeline] } 01:24:45 $ docker exec --env ******** --env ******** 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 ssh-agent -k 01:24:45 unset SSH_AUTH_SOCK; 01:24:45 unset SSH_AGENT_PID; 01:24:45 echo Agent pid 38 killed; 01:24:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:24:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:45 [ssh-agent] Looking for ssh-agent implementation... 01:24:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:45 $ docker exec 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 ssh-agent 01:24:45 SSH_AUTH_SOCK=/tmp/ssh-bdWg7NSL9B3N/agent.85 01:24:45 SSH_AGENT_PID=91 01:24:45 Running ssh-add (command line suppressed) 01:24:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10848318589157280603.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10848318589157280603.key) 01:24:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:45 + git semver init 01:24:46 2025-08-21 01:24:46,008 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:24:46 2025-08-21 01:24:46,012 [run_init] DEBUG init version:0.0.0 force:False 01:24:46 2025-08-21 01:24:46,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:24:46 2025-08-21 01:24:46,013 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:24:46 2025-08-21 01:24:46,013 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:24:47 2025-08-21 01:24:47,423 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:24:47 2025-08-21 01:24:47,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:24:47 2025-08-21 01:24:47,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:24:47 2025-08-21 01:24:47,424 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:24:47 4.1.0-dev.11 [Pipeline] } 01:24:47 $ docker exec --env ******** --env ******** 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 ssh-agent -k 01:24:47 unset SSH_AUTH_SOCK; 01:24:47 unset SSH_AGENT_PID; 01:24:47 echo Agent pid 91 killed; 01:24:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:47 + git semver [Pipeline] } 01:24:48 $ docker stop --time=1 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 01:24:49 $ docker rm -f --volumes 26d66228833bf5c627f2c22598456fe7e5e174a4f9a10c7a683057ce1f5efbb7 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:24:50 Stashed 1 file(s) [Pipeline] echo 01:24:50 [edgeXSemver]: initialized semver on version 4.1.0-dev.11 [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:24:50 provisioning config files... 01:24:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9097174509830823948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:50 ---> ****-login.sh 01:24:50 nexus3.edgexfoundry.org:10001 01:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:50 Login Succeeded 01:24:50 nexus3.edgexfoundry.org:10002 01:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:50 Login Succeeded 01:24:50 nexus3.edgexfoundry.org:10003 01:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:50 Login Succeeded 01:24:50 nexus3.edgexfoundry.org:10004 01:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:50 Login Succeeded 01:24:50 ****.io 01:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:51 Login Succeeded 01:24:51 ---> ****-login.sh ends [Pipeline] } 01:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:24:51 ========================================================= 01:24:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:24:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:51 + 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:24:52 #0 building with "default" instance using docker driver 01:24:52 01:24:52 #1 [internal] load build definition from Dockerfile 01:24:52 #1 transferring dockerfile: 1.74kB done 01:24:52 #1 DONE 0.0s 01:24:52 01:24:52 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:24:52 #2 DONE 0.1s 01:24:52 01:24:52 #3 [internal] load .dockerignore 01:24:52 #3 transferring context: 193B done 01:24:52 #3 DONE 0.0s 01:24:52 01:24:52 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 01:24:52 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 01:24:52 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 01:24:52 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 01:24:52 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.19MB / 74.06MB 0.1s 01:24:52 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 01:24:52 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 01:24:52 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 01:24:52 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 01:24:52 #4 ... 01:24:52 01:24:52 #5 [internal] load build context 01:24:52 #5 transferring context: 21.63MB 0.2s done 01:24:52 #5 DONE 0.2s 01:24:52 01:24:52 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 01:24:52 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.2s done 01:24:52 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 30.41MB / 74.06MB 0.3s 01:24:52 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:24:52 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.1s done 01:24:52 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 01:24:52 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s done 01:24:52 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 7.34MB / 103.05MB 0.3s 01:24:52 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0B / 13.29MB 0.3s 01:24:52 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 62.91MB / 74.06MB 0.5s 01:24:52 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 27.26MB / 103.05MB 0.5s 01:24:52 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.5s done 01:24:52 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 01:24:52 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.6s 01:24:52 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 42.99MB / 103.05MB 0.6s 01:24:52 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 67.11MB / 103.05MB 0.7s 01:24:52 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.8s done 01:24:52 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 91.23MB / 103.05MB 0.8s 01:24:52 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 01:24:53 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 0.9s 01:24:53 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.1s done 01:24:57 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.2s done 01:24:57 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 01:24:57 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 01:24:57 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:24:57 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 01:24:57 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 01:24:57 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 01:24:57 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 01:25:00 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 2.6s done 01:25:00 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.1s 01:25:00 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.6s done 01:25:00 #4 DONE 8.8s 01:25:01 01:25:01 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:25:01 #6 0.208 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:25:01 #6 0.281 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:25:01 #6 0.539 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:25:01 #6 0.567 (2/4) Installing libedit (20240517.3.1-r0) 01:25:01 #6 0.587 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:25:01 #6 0.656 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:25:01 #6 0.677 Executing busybox-1.36.1-r29.trigger 01:25:01 #6 0.685 OK: 252 MiB in 62 packages 01:25:03 #6 DONE 2.6s 01:25:03 01:25:03 #7 [builder 3/7] WORKDIR /device-rest-go 01:25:03 #7 DONE 0.0s 01:25:03 01:25:03 #8 [builder 4/7] COPY go.mod vendor* ./ 01:25:03 #8 DONE 0.0s 01:25:03 01:25:03 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:05 Still waiting to schedule task 01:25:05 ‘prd-centos7-blackbox-4c-2g-7129’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:25:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7328’ is offline 01:25:24 #9 DONE 20.5s 01:25:24 01:25:24 #10 [builder 6/7] COPY . . 01:25:24 #10 DONE 0.1s 01:25:24 01:25:24 #11 [builder 7/7] RUN echo noop 01:25:24 #11 0.203 noop 01:25:24 #11 DONE 0.3s 01:25:24 01:25:24 #12 exporting to image 01:25:24 #12 exporting layers 01:25:33 #12 exporting layers 7.7s done 01:25:33 #12 writing image sha256:0756ef045203dad7c8c82b7e3b03c1773a89792e6f95de332f24528f1bce2167 done 01:25:33 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:25:33 #12 DONE 7.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:33 + docker inspect -f . ci-base-image-x86_64 01:25:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:33 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:25:33 $ docker top f9e9857b2fbcc16e13048d777e3179959514aa2b66e931fa4a073f2b46d23e22 -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:34 + go version 01:25:34 go version go1.23.9 linux/amd64 [Pipeline] } 01:25:34 $ docker stop --time=1 f9e9857b2fbcc16e13048d777e3179959514aa2b66e931fa4a073f2b46d23e22 01:25:35 $ docker rm -f --volumes f9e9857b2fbcc16e13048d777e3179959514aa2b66e931fa4a073f2b46d23e22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:35 + docker inspect -f . ci-base-image-x86_64 01:25:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:36 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:25:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:25:36 $ docker top de9a8a41953ecd3a015f542ac1fbb4d64a7444fcfe62d445432e321b43c9f066 -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:25:36 + make test 01:25:36 go test ./... -coverprofile=coverage.out ./... 01:25:38 ? github.com/edgexfoundry/device-rest-go [no test files] 01:25:56 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:25:56 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 01:26:04 go vet ./... 01:26:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:26:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:26:09 ./bin/test-attribution-txt.sh 01:26:09 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:26:09 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:26:09 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:26:09 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:26:09 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 01:26:09 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 01:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:26:09 $ docker stop --time=1 de9a8a41953ecd3a015f542ac1fbb4d64a7444fcfe62d445432e321b43c9f066 01:26:12 $ docker rm -f --volumes de9a8a41953ecd3a015f542ac1fbb4d64a7444fcfe62d445432e321b43c9f066 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:26:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:26:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:26:16 + ls -al . 01:26:16 total 244 01:26:16 drwxrwxr-x 9 jenkins jenkins 4096 Aug 21 01:25 . 01:26:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 21 01:24 .. 01:26:16 -rw-rw-r-- 1 jenkins jenkins 151 Aug 21 01:24 .dockerignore 01:26:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 01:25 .git 01:26:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:24 .github 01:26:16 -rw-rw-r-- 1 jenkins jenkins 264 Aug 21 01:24 .gitignore 01:26:16 -rw-rw-r-- 1 jenkins jenkins 41 Aug 21 01:24 .golangci.yml 01:26:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 01:24 .semver 01:26:16 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 21 01:24 Attribution.txt 01:26:16 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 21 01:24 CHANGELOG.md 01:26:16 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 21 01:24 Dockerfile 01:26:16 -rw-rw-r-- 1 jenkins jenkins 677 Aug 21 01:24 GOVERNANCE.md 01:26:16 -rw-rw-r-- 1 jenkins jenkins 680 Aug 21 01:24 Jenkinsfile 01:26:16 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 21 01:24 LICENSE 01:26:16 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 21 01:24 Makefile 01:26:16 -rw-rw-r-- 1 jenkins jenkins 620 Aug 21 01:24 OWNERS.md 01:26:16 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 21 01:24 README.md 01:26:16 -rw-rw-r-- 1 jenkins jenkins 12 Aug 21 01:24 VERSION 01:26:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:24 bin 01:26:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:24 cmd 01:26:16 -rw-r--r-- 1 jenkins jenkins 14565 Aug 21 01:25 coverage.out 01:26:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:24 driver 01:26:16 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 21 01:24 go.mod 01:26:16 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 21 01:24 go.sum 01:26:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:24 openapi 01:26:16 -rw-rw-r-- 1 jenkins jenkins 713 Aug 21 01:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:16 + 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=a4f17faf2e16114a38b478a37b6b27c0e73285e1 --label arch=amd64 --label version=4.1.0-dev.11 . 01:26:17 #0 building with "default" instance using docker driver 01:26:17 01:26:17 #1 [internal] load build definition from Dockerfile 01:26:17 #1 transferring dockerfile: 1.74kB done 01:26:17 #1 WARN: UndefinedVar: Usage of undefined variable '$VERSION' (line 41) 01:26:17 #1 DONE 0.0s 01:26:17 01:26:17 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:26:17 #2 DONE 0.0s 01:26:17 01:26:17 #3 [internal] load metadata for docker.io/library/alpine:3.20 01:26:17 #3 DONE 0.1s 01:26:17 01:26:17 #4 [internal] load .dockerignore 01:26:17 #4 transferring context: 193B done 01:26:17 #4 DONE 0.0s 01:26:17 01:26:17 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:26:17 #5 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 0.0s done 01:26:17 #5 ... 01:26:17 01:26:17 #6 [internal] load build context 01:26:17 #6 transferring context: 18.46kB done 01:26:17 #6 DONE 0.0s 01:26:17 01:26:17 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:26:17 #7 DONE 0.1s 01:26:17 01:26:17 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:26:17 #5 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 01:26:17 #5 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 01:26:17 #5 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s done 01:26:17 #5 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 01:26:17 #5 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 01:26:17 #5 DONE 0.2s 01:26:17 01:26:17 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:26:17 #8 0.189 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:26:17 #8 0.253 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:26:17 #8 0.506 (1/1) Installing dumb-init (1.2.5-r3) 01:26:17 #8 0.530 Executing busybox-1.36.1-r29.trigger 01:26:17 #8 0.539 OK: 8 MiB in 15 packages 01:26:17 #8 DONE 0.7s 01:26:17 01:26:17 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:26:17 #9 0.181 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:26:17 #9 0.266 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:26:17 #9 0.561 OK: 252 MiB in 62 packages 01:26:17 #9 DONE 0.7s 01:26:17 01:26:17 #10 [builder 3/7] WORKDIR /device-rest-go 01:26:17 #10 DONE 0.0s 01:26:17 01:26:17 #11 [builder 4/7] COPY go.mod vendor* ./ 01:26:17 #11 DONE 0.0s 01:26:17 01:26:17 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:18 #12 DONE 0.6s 01:26:18 01:26:18 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:26:18 #13 0.321 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:26:18 #13 0.391 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:26:18 #13 ... 01:26:18 01:26:18 #14 [builder 6/7] COPY . . 01:26:18 #14 DONE 0.1s 01:26:18 01:26:18 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:26:18 #13 0.699 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 01:26:18 #13 0.746 Executing busybox-1.36.1-r30.post-upgrade 01:26:18 #13 0.778 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 01:26:18 #13 0.802 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 01:26:18 #13 0.808 Executing busybox-1.36.1-r30.trigger 01:26:18 #13 0.813 OK: 8 MiB in 15 packages 01:26:18 #13 DONE 0.9s 01:26:18 01:26:18 #15 [builder 7/7] RUN make build 01:26:18 #15 0.207 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.31 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:26:40 #15 DONE 21.9s 01:26:40 01:26:40 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:26:40 #16 DONE 0.2s 01:26:40 01:26:40 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:26:40 #17 DONE 0.0s 01:26:40 01:26:40 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:26:40 #18 DONE 0.0s 01:26:40 01:26:40 #19 exporting to image 01:26:40 #19 exporting layers 0.1s done 01:26:40 #19 writing image sha256:60266d8f0b303948cb6743ed67141f218318a95a08a9ff0b9dbc4573785828e1 done 01:26:40 #19 naming to docker.io/library/device-rest done 01:26:40 #19 DONE 0.1s 01:26:40 01:26:40 1 warning found (use docker --debug to expand): 01:26:40  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:41 provisioning config files... 01:26:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6617458317037539055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:41 ---> ****-login.sh 01:26:41 nexus3.edgexfoundry.org:10001 01:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:41 Login Succeeded 01:26:41 nexus3.edgexfoundry.org:10002 01:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:41 Login Succeeded 01:26:41 nexus3.edgexfoundry.org:10003 01:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:41 Login Succeeded 01:26:41 nexus3.edgexfoundry.org:10004 01:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:41 Login Succeeded 01:26:41 ****.io 01:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:41 Login Succeeded 01:26:41 ---> ****-login.sh ends [Pipeline] } 01:26:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:26:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:26:41 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:26:41 a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:26:41 latest 01:26:41 4.1.0-dev.11 01:26:41 a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:26:41 main 01:26:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:26:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:26:42 c1824f896562: Preparing 01:26:42 f247b92212f2: Preparing 01:26:42 cfb11ef7217d: Preparing 01:26:42 ad2fb5b35c2e: Preparing 01:26:42 3f8b1e323f0b: Preparing 01:26:42 097100c76c15: Preparing 01:26:42 097100c76c15: Waiting 01:26:42 3f8b1e323f0b: Pushed 01:26:42 f247b92212f2: Pushed 01:26:42 c1824f896562: Pushed 01:26:42 097100c76c15: Layer already exists 01:26:42 ad2fb5b35c2e: Pushed 01:26:45 cfb11ef7217d: Pushed 01:26:45 a4f17faf2e16114a38b478a37b6b27c0e73285e1: digest: sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:26:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:26:46 c1824f896562: Preparing 01:26:46 f247b92212f2: Preparing 01:26:46 cfb11ef7217d: Preparing 01:26:46 ad2fb5b35c2e: Preparing 01:26:46 3f8b1e323f0b: Preparing 01:26:46 097100c76c15: Preparing 01:26:46 097100c76c15: Waiting 01:26:46 ad2fb5b35c2e: Layer already exists 01:26:46 cfb11ef7217d: Layer already exists 01:26:46 c1824f896562: Layer already exists 01:26:46 3f8b1e323f0b: Layer already exists 01:26:46 f247b92212f2: Layer already exists 01:26:46 097100c76c15: Layer already exists 01:26:46 latest: digest: sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 01:26:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:26:47 c1824f896562: Preparing 01:26:47 f247b92212f2: Preparing 01:26:47 cfb11ef7217d: Preparing 01:26:47 ad2fb5b35c2e: Preparing 01:26:47 3f8b1e323f0b: Preparing 01:26:47 097100c76c15: Preparing 01:26:47 097100c76c15: Waiting 01:26:47 c1824f896562: Layer already exists 01:26:47 3f8b1e323f0b: Layer already exists 01:26:47 cfb11ef7217d: Layer already exists 01:26:47 f247b92212f2: Layer already exists 01:26:47 ad2fb5b35c2e: Layer already exists 01:26:47 097100c76c15: Layer already exists 01:26:47 4.1.0-dev.11: digest: sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:26:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:26:47 c1824f896562: Preparing 01:26:47 f247b92212f2: Preparing 01:26:47 cfb11ef7217d: Preparing 01:26:47 ad2fb5b35c2e: Preparing 01:26:47 3f8b1e323f0b: Preparing 01:26:47 097100c76c15: Preparing 01:26:47 097100c76c15: Waiting 01:26:47 cfb11ef7217d: Layer already exists 01:26:47 f247b92212f2: Layer already exists 01:26:47 3f8b1e323f0b: Layer already exists 01:26:47 ad2fb5b35c2e: Layer already exists 01:26:47 c1824f896562: Layer already exists 01:26:47 097100c76c15: Layer already exists 01:26:47 a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11: digest: sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:26:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:26:48 c1824f896562: Preparing 01:26:48 f247b92212f2: Preparing 01:26:48 cfb11ef7217d: Preparing 01:26:48 ad2fb5b35c2e: Preparing 01:26:48 3f8b1e323f0b: Preparing 01:26:48 097100c76c15: Preparing 01:26:48 097100c76c15: Waiting 01:26:48 c1824f896562: Layer already exists 01:26:48 f247b92212f2: Layer already exists 01:26:48 ad2fb5b35c2e: Layer already exists 01:26:48 cfb11ef7217d: Layer already exists 01:26:48 3f8b1e323f0b: Layer already exists 01:26:48 097100c76c15: Layer already exists 01:26:48 main: digest: sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:26:48 ===================================================== [Pipeline] echo 01:26:48 taggedImages: 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:26:48 ========================================================= 01:26:48 [edgeXBuildMultiArch] RAW Config: 01:26:48 images: 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:26:48 - nexus3.edgexfoundry.org:10004/device-rest:main 01:26:48 settingsFile: 01:26:48 device-rest-go-settings 01:26:48 ========================================================= [Pipeline] node 01:27:03 Still waiting to schedule task 01:27:03 ‘prd-centos7-docker-4c-2g-7331’ is offline 01:28:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7332 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:28:03 Running in /w/workspace/device-rest-go/214 [Pipeline] { [Pipeline] checkout 01:28:06 The recommended git tool is: git 01:28:13 using credential edgex-jenkins-ssh 01:28:13 Cloning the remote Git repository 01:28:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:28:13 > git init /w/workspace/device-rest-go/214 # timeout=10 01:28:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:28:13 > git --version # timeout=10 01:28:13 > git --version # 'git version 2.25.1' 01:28:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:16 Running on prd-centos7-docker-4c-2g-7335 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:16 provisioning config files... 01:28:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14270296317572210848tmp [Pipeline] { [Pipeline] libraryResource 01:28:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:28:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:19 Avoid second fetch 01:28:19 Checking out Revision a4f17faf2e16114a38b478a37b6b27c0e73285e1 (main) [Pipeline] sh 01:28:19 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#489)" 01:28:20 ---> ****-login.sh 01:28:20 nexus3.edgexfoundry.org:10001 01:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:19 > git config core.sparsecheckout # timeout=10 01:28:19 > git checkout -f a4f17faf2e16114a38b478a37b6b27c0e73285e1 # timeout=10 01:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:20 Configure a credential helper to remove this warning. See 01:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:20 01:28:20 Login Succeeded 01:28:20 nexus3.edgexfoundry.org:10002 01:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:20 Configure a credential helper to remove this warning. See 01:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:20 01:28:20 Login Succeeded 01:28:20 nexus3.edgexfoundry.org:10003 01:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:20 Configure a credential helper to remove this warning. See 01:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:20 01:28:20 Login Succeeded 01:28:20 nexus3.edgexfoundry.org:10004 01:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:20 Configure a credential helper to remove this warning. See 01:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:20 01:28:20 Login Succeeded 01:28:20 ****.io 01:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:20 Configure a credential helper to remove this warning. See 01:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:20 01:28:20 Login Succeeded 01:28:20 ---> ****-login.sh ends [Pipeline] } 01:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:21 + docker buildx ls 01:28:21 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:28:21 default * docker 01:28:21 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:28:21 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:28:21 edgex-builder [Pipeline] sh 01:28:21 + docker buildx inspect --bootstrap 01:28:21 #1 [internal] booting buildkit 01:28:21 #1 pulling image moby/buildkit:buildx-stable-1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:25 provisioning config files... 01:28:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/214@tmp/config9560403140232268532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:26 #1 pulling image moby/buildkit:buildx-stable-1 3.5s done 01:28:26 #1 creating container buildx_buildkit_edgex-builder0 01:28:26 ---> ****-login.sh 01:28:26 nexus3.edgexfoundry.org:10001 01:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:26 Configure a credential helper to remove this warning. See 01:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:26 01:28:26 Login Succeeded 01:28:26 nexus3.edgexfoundry.org:10002 01:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:27 Configure a credential helper to remove this warning. See 01:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:27 01:28:27 Login Succeeded 01:28:27 nexus3.edgexfoundry.org:10003 01:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:27 Configure a credential helper to remove this warning. See 01:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:27 01:28:27 Login Succeeded 01:28:27 nexus3.edgexfoundry.org:10004 01:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 ****.io 01:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 #1 creating container buildx_buildkit_edgex-builder0 3.1s done 01:28:28 #1 DONE 6.6s 01:28:28 Name: edgex-builder 01:28:28 Driver: docker-container 01:28:28 01:28:28 Nodes: 01:28:28 Name: edgex-builder0 01:28:28 Endpoint: unix:///var/run/docker.sock 01:28:28 Status: running 01:28:28 Buildkit: v0.23.2 01:28:28 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 ---> ****-login.sh ends [Pipeline] sh [Pipeline] } 01:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 01:28:28 + docker buildx ls 01:28:28 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:28:28 edgex-builder * docker-container 01:28:28 edgex-builder0 unix:///var/run/docker.sock running v0.23.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:28:28 default docker 01:28:28 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh [Pipeline] echo 01:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:29 ========================================================= 01:28:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:28:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:29 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 --push - 01:28:29 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1' 01:28:29 #1 [internal] load build definition from Dockerfile 01:28:29 #1 transferring dockerfile: 196B done 01:28:29 #1 DONE 0.0s 01:28:29 01:28:29 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:28:29 #2 DONE 0.1s 01:28:29 01:28:29 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:28:29 #3 DONE 0.1s 01:28:29 01:28:29 #4 [internal] load .dockerignore 01:28:29 #4 transferring context: 2B done 01:28:29 #4 DONE 0.0s 01:28:29 01:28:29 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:29 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:29 #5 DONE 0.0s 01:28:29 01:28:29 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:29 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:29 #6 DONE 0.1s 01:28:29 + 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:28:29 Sending build context to Docker daemon 141.8kB 01:28:29 01:28:29 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:28:29 #7 DONE 0.0s 01:28:29 01:28:29 #8 exporting to image 01:28:29 #8 exporting layers done 01:28:29 #8 exporting manifest sha256:5a620d098177848823d839a6fdbc35761711f62c8f6eda6d4d3e32aa5433bdc2 done 01:28:29 #8 exporting config sha256:60266d8f0b303948cb6743ed67141f218318a95a08a9ff0b9dbc4573785828e1 done 01:28:29 #8 exporting manifest sha256:e8c06b2a5327e4132d5416ef7073e5bf52e53000a79787f3eee7f1801c486cf1 done 01:28:29 #8 exporting config sha256:47dc5641cfe42fdaf6dc3eefc18d18402d2f72fb86ff46d4cf40279d5b3cab63 0.0s done 01:28:29 #8 exporting manifest list sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b done 01:28:29 #8 pushing layers 01:28:29 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:28:29 #8 pushing layers 0.1s done 01:28:29 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1@sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b 0.1s done 01:28:29 #8 DONE 0.3s 01:28:29 01:28:29 1 warning found (use --debug to expand): 01:28:29  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:28:29 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:28:29 Step 2/12 : FROM ${BASE} AS builder 01:28:30 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:28:30 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:28:30 #1 [internal] load build definition from Dockerfile 01:28:30 #1 transferring dockerfile: 162B done 01:28:30 #1 DONE 0.0s 01:28:30 01:28:30 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:28:30 #2 DONE 0.0s 01:28:30 01:28:30 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:28:30 #3 DONE 0.0s 01:28:30 01:28:30 #4 [internal] load .dockerignore 01:28:30 #4 transferring context: 2B done 01:28:30 #4 DONE 0.0s 01:28:30 01:28:30 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:30 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:30 #5 DONE 0.0s 01:28:30 01:28:30 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:30 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:28:30 94e9d8af2201: Pulling fs layer 01:28:30 a6c56e8762df: Pulling fs layer 01:28:30 f0f3c8884826: Pulling fs layer 01:28:30 c7e7622c144d: Pulling fs layer 01:28:30 4f4fb700ef54: Pulling fs layer 01:28:30 b4c3b6d88c5a: Pulling fs layer 01:28:30 ba8bce9d2590: Pulling fs layer 01:28:30 ca778ea9c289: Pulling fs layer 01:28:30 b4c3b6d88c5a: Waiting 01:28:30 ba8bce9d2590: Waiting 01:28:30 ca778ea9c289: Waiting 01:28:30 4f4fb700ef54: Waiting 01:28:30 c7e7622c144d: Waiting 01:28:30 a6c56e8762df: Verifying Checksum 01:28:30 a6c56e8762df: Download complete 01:28:30 c7e7622c144d: Verifying Checksum 01:28:30 c7e7622c144d: Download complete 01:28:30 4f4fb700ef54: Verifying Checksum 01:28:30 4f4fb700ef54: Download complete 01:28:30 b4c3b6d88c5a: Verifying Checksum 01:28:30 b4c3b6d88c5a: Download complete 01:28:30 94e9d8af2201: Verifying Checksum 01:28:30 94e9d8af2201: Download complete 01:28:30 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:30 #6 CACHED 01:28:30 01:28:30 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:30 #5 CACHED 01:28:30 01:28:30 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:28:30 #7 DONE 0.0s 01:28:30 01:28:30 #8 exporting to image 01:28:30 #8 exporting layers done 01:28:30 #8 exporting manifest sha256:5a620d098177848823d839a6fdbc35761711f62c8f6eda6d4d3e32aa5433bdc2 done 01:28:30 #8 exporting config sha256:60266d8f0b303948cb6743ed67141f218318a95a08a9ff0b9dbc4573785828e1 done 01:28:30 #8 exporting manifest sha256:e8c06b2a5327e4132d5416ef7073e5bf52e53000a79787f3eee7f1801c486cf1 done 01:28:30 #8 exporting config sha256:47dc5641cfe42fdaf6dc3eefc18d18402d2f72fb86ff46d4cf40279d5b3cab63 done 01:28:30 #8 exporting manifest list sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b done 01:28:30 #8 pushing layers 0.0s done 01:28:30 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b 01:28:30 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:28:30 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b 0.1s done 01:28:30 #8 DONE 0.1s 01:28:30 01:28:30 1 warning found (use --debug to expand): 01:28:30  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:28:30 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11' 01:28:30 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 --push - 01:28:30 ca778ea9c289: Verifying Checksum 01:28:30 ca778ea9c289: Download complete 01:28:31 #1 [internal] load build definition from Dockerfile 01:28:31 #1 transferring dockerfile: 01:28:31 94e9d8af2201: Pull complete 01:28:31 #1 transferring dockerfile: 168B done 01:28:31 #1 DONE 0.0s 01:28:31 01:28:31 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 01:28:31 #2 DONE 0.0s 01:28:31 01:28:31 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11 01:28:31 #3 DONE 0.0s 01:28:31 01:28:31 #4 [internal] load .dockerignore 01:28:31 #4 transferring context: 2B done 01:28:31 #4 DONE 0.0s 01:28:31 01:28:31 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:31 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:31 #5 DONE 0.0s 01:28:31 01:28:31 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:31 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:31 #6 CACHED 01:28:31 01:28:31 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:31 #5 CACHED 01:28:31 01:28:31 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:28:31 #7 DONE 0.0s 01:28:31 01:28:31 #8 exporting to image 01:28:31 #8 exporting layers done 01:28:31 #8 exporting manifest sha256:5a620d098177848823d839a6fdbc35761711f62c8f6eda6d4d3e32aa5433bdc2 done 01:28:31 #8 exporting config sha256:60266d8f0b303948cb6743ed67141f218318a95a08a9ff0b9dbc4573785828e1 done 01:28:31 #8 exporting manifest sha256:e8c06b2a5327e4132d5416ef7073e5bf52e53000a79787f3eee7f1801c486cf1 done 01:28:31 #8 exporting config sha256:47dc5641cfe42fdaf6dc3eefc18d18402d2f72fb86ff46d4cf40279d5b3cab63 done 01:28:31 #8 exporting manifest list sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b done 01:28:31 #8 pushing layers 0.0s done 01:28:31 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.11@sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b 0.1s done 01:28:31 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:28:31 #8 DONE 0.1s 01:28:31 01:28:31 1 warning found (use --debug to expand): 01:28:31  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:28:31 a6c56e8762df: Pull complete 01:28:32 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11' 01:28:32 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 --push - 01:28:32 #1 [internal] load build definition from Dockerfile 01:28:32 #1 transferring dockerfile: 209B done 01:28:32 #1 DONE 0.0s 01:28:32 01:28:32 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:28:32 #2 DONE 0.0s 01:28:32 01:28:32 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:28:32 #3 DONE 0.0s 01:28:32 01:28:32 #4 [internal] load .dockerignore 01:28:32 #4 transferring context: 2B done 01:28:32 #4 DONE 0.0s 01:28:32 01:28:32 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:32 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:32 #5 CACHED 01:28:32 01:28:32 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:32 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:32 #6 CACHED 01:28:32 01:28:32 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:28:32 #7 DONE 0.0s 01:28:32 01:28:32 #8 exporting to image 01:28:32 #8 exporting layers done 01:28:32 #8 exporting manifest sha256:5a620d098177848823d839a6fdbc35761711f62c8f6eda6d4d3e32aa5433bdc2 done 01:28:32 #8 exporting config sha256:60266d8f0b303948cb6743ed67141f218318a95a08a9ff0b9dbc4573785828e1 done 01:28:32 #8 exporting manifest sha256:e8c06b2a5327e4132d5416ef7073e5bf52e53000a79787f3eee7f1801c486cf1 done 01:28:32 #8 exporting config sha256:47dc5641cfe42fdaf6dc3eefc18d18402d2f72fb86ff46d4cf40279d5b3cab63 done 01:28:32 #8 exporting manifest list sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b done 01:28:32 #8 pushing layers 0.0s done 01:28:32 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11@sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b 0.1s done 01:28:32 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:28:32 #8 DONE 0.1s 01:28:32 01:28:32 1 warning found (use --debug to expand): 01:28:32  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:28:32 f0f3c8884826: Verifying Checksum 01:28:32 f0f3c8884826: Download complete 01:28:32 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:28:32 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:28:32 #1 [internal] load build definition from Dockerfile 01:28:32 #1 transferring dockerfile: 160B done 01:28:32 #1 DONE 0.0s 01:28:32 01:28:32 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:28:32 #2 DONE 0.0s 01:28:32 01:28:32 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:28:32 #3 DONE 0.0s 01:28:32 01:28:32 #4 [internal] load .dockerignore 01:28:32 #4 transferring context: 2B done 01:28:32 #4 DONE 0.0s 01:28:32 01:28:32 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:32 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:32 #5 DONE 0.0s 01:28:32 01:28:32 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:32 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 0.0s done 01:28:32 #6 CACHED 01:28:32 01:28:32 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:66a60efccf570626fba113224de371de61c582d06d30e432f2432619a26be96a 01:28:32 #5 CACHED 01:28:32 01:28:32 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:28:32 #7 DONE 0.0s 01:28:32 01:28:32 #8 exporting to image 01:28:32 #8 exporting layers done 01:28:32 #8 exporting manifest sha256:5a620d098177848823d839a6fdbc35761711f62c8f6eda6d4d3e32aa5433bdc2 done 01:28:32 #8 exporting config sha256:60266d8f0b303948cb6743ed67141f218318a95a08a9ff0b9dbc4573785828e1 done 01:28:32 #8 exporting manifest sha256:e8c06b2a5327e4132d5416ef7073e5bf52e53000a79787f3eee7f1801c486cf1 done 01:28:32 #8 exporting config sha256:47dc5641cfe42fdaf6dc3eefc18d18402d2f72fb86ff46d4cf40279d5b3cab63 done 01:28:32 #8 exporting manifest list sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b done 01:28:32 #8 pushing layers 0.0s done 01:28:32 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:f1a84ba274f08908c539e81f26886fd63495d5766e9b7e59c46aa9538a1d0a5b 0.1s done 01:28:32 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:28:32 #8 DONE 0.1s 01:28:32 01:28:32 1 warning found (use --debug to expand): 01:28:32  - 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:28:33 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:28:33 ---> sysstat.sh 01:28:33 ba8bce9d2590: Verifying Checksum 01:28:33 ba8bce9d2590: Download complete [Pipeline] libraryResource [Pipeline] sh 01:28:34 ---> package-listing.sh 01:28:34 ++ tr '[:upper:]' '[:lower:]' 01:28:34 ++ facter osfamily 01:28:34 + OS_FAMILY=redhat 01:28:34 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:28:34 + START_PACKAGES=/tmp/packages_start.txt 01:28:34 + END_PACKAGES=/tmp/packages_end.txt 01:28:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:28:34 + PACKAGES=/tmp/packages_start.txt 01:28:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:28:34 + PACKAGES=/tmp/packages_end.txt 01:28:34 + case "${OS_FAMILY}" in 01:28:34 + rpm -qa 01:28:34 + sort 01:28:34 + '[' -f /tmp/packages_start.txt ']' 01:28:34 + '[' -f /tmp/packages_end.txt ']' 01:28:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:28:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:28:34 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:28:34 + 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:28:34 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:28:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:35 01:28:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:36 latest: Pulling from edgex-lftools-log-publisher 01:28:36 5eb5b503b376: Pulling fs layer 01:28:36 5c69ac0246d0: Pulling fs layer 01:28:36 ec43610c2a17: Pulling fs layer 01:28:36 3a2ae6a8a46f: Pulling fs layer 01:28:36 33b1e0a273af: Pulling fs layer 01:28:36 5d3b04190fa2: Pulling fs layer 01:28:36 2f39f015ded8: Pulling fs layer 01:28:36 33b1e0a273af: Waiting 01:28:36 5d3b04190fa2: Waiting 01:28:36 2f39f015ded8: Waiting 01:28:36 3a2ae6a8a46f: Waiting 01:28:36 5c69ac0246d0: Verifying Checksum 01:28:36 5c69ac0246d0: Download complete 01:28:36 3a2ae6a8a46f: Verifying Checksum 01:28:36 3a2ae6a8a46f: Download complete 01:28:36 33b1e0a273af: Verifying Checksum 01:28:36 33b1e0a273af: Download complete 01:28:36 5d3b04190fa2: Verifying Checksum 01:28:36 5d3b04190fa2: Download complete 01:28:36 ec43610c2a17: Verifying Checksum 01:28:36 ec43610c2a17: Download complete 01:28:36 5eb5b503b376: Verifying Checksum 01:28:36 5eb5b503b376: Download complete 01:28:36 2f39f015ded8: Verifying Checksum 01:28:36 2f39f015ded8: Download complete 01:28:37 5eb5b503b376: Pull complete 01:28:37 5c69ac0246d0: Pull complete 01:28:38 ec43610c2a17: Pull complete 01:28:38 3a2ae6a8a46f: Pull complete 01:28:39 33b1e0a273af: Pull complete 01:28:39 5d3b04190fa2: Pull complete 01:28:43 2f39f015ded8: Pull complete 01:28:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:43 prd-centos7-docker-4c-2g-7335 does not seem to be running inside a container 01:28:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:28:47 $ docker top f3d11293564be82f61f95853626963b9142e4115924312da9733762f56554fd5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:48 + touch /tmp/pre-build-complete [Pipeline] sh 01:28:48 + mkdir -p /var/log/sysstat [Pipeline] sh 01:28:48 f0f3c8884826: Pull complete 01:28:48 c7e7622c144d: Pull complete 01:28:48 4f4fb700ef54: Pull complete 01:28:48 b4c3b6d88c5a: Pull complete 01:28:48 + ls /var/log/sa-host 01:28:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:48 provisioning config files... 01:28:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1820636892015803725tmp [Pipeline] { [Pipeline] echo 01:28:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> create-netrc.sh [Pipeline] } 01:28:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> python-tools-install.sh [Pipeline] echo 01:28:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> sudo-logs.sh 01:28:49 Archiving 'sudo' log.. 01:28:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-7335.novalocal: Name or service not known 01:28:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-7335.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:28:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:28:50 ---> job-cost.sh 01:28:50 lf-activate-venv: SKIPPING 01:28:50 INFO: No Stack... 01:28:50 INFO: Retrieving Pricing Info for: v3-standard-2 01:28:50 INFO: Archiving Costs [Pipeline] echo 01:28:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:28:50 ---> logs-deploy.sh 01:28:50 lf-activate-venv: SKIPPING 01:28:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/214 01:28:50 INFO: archiving workspace using pattern(s): 01:28:51 Archives upload complete. 01:28:51 INFO: archiving logs to Nexus 01:28:52 ---> uname -a: 01:28:52 Linux prd-centos7-docker-4c-2g-7335.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:28:52 01:28:52 01:28:52 ---> lscpu: 01:28:52 Architecture: x86_64 01:28:52 CPU op-mode(s): 32-bit, 64-bit 01:28:52 Byte Order: Little Endian 01:28:52 Address sizes: 40 bits physical, 48 bits virtual 01:28:52 CPU(s): 2 01:28:52 On-line CPU(s) list: 0,1 01:28:52 Thread(s) per core: 1 01:28:52 Core(s) per socket: 1 01:28:52 Socket(s): 2 01:28:52 NUMA node(s): 1 01:28:52 Vendor ID: AuthenticAMD 01:28:52 CPU family: 23 01:28:52 Model: 49 01:28:52 Model name: AMD EPYC-Rome Processor 01:28:52 Stepping: 0 01:28:52 CPU MHz: 2799.998 01:28:52 BogoMIPS: 5599.99 01:28:52 Virtualization: AMD-V 01:28:52 Hypervisor vendor: KVM 01:28:52 Virtualization type: full 01:28:52 L1d cache: 64 KiB 01:28:52 L1i cache: 64 KiB 01:28:52 L2 cache: 1 MiB 01:28:52 L3 cache: 32 MiB 01:28:52 NUMA node0 CPU(s): 0,1 01:28:52 Vulnerability Itlb multihit: Not affected 01:28:52 Vulnerability L1tf: Not affected 01:28:52 Vulnerability Mds: Not affected 01:28:52 Vulnerability Meltdown: Not affected 01:28:52 Vulnerability Mmio stale data: Not affected 01:28:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:28:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:28:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:28:52 Vulnerability Srbds: Not affected 01:28:52 Vulnerability Tsx async abort: Not affected 01:28: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:28:52 01:28:52 01:28:52 ---> nproc: 01:28:52 2 01:28:52 01:28:52 01:28:52 ---> df -h: 01:28:52 Filesystem Size Used Avail Use% Mounted on 01:28:52 overlay 40G 7.3G 33G 19% / 01:28:52 tmpfs 64M 0 64M 0% /dev 01:28:52 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:28:52 shm 64M 0 64M 0% /dev/shm 01:28:52 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:28:52 01:28:52 01:28:52 Cannot open /var/log/sysstat/sa21: No such file or directory 01:28:52 Please check if data collecting is enabled 01:28:52 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:28:52 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:28:52 $ docker stop --time=1 f3d11293564be82f61f95853626963b9142e4115924312da9733762f56554fd5 01:28:53 $ docker rm -f --volumes f3d11293564be82f61f95853626963b9142e4115924312da9733762f56554fd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:28:53 [WS-CLEANUP] Deleting project workspace... 01:28:53 [WS-CLEANUP] Deferred wipeout is used... 01:28:53 [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:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:54 01:28:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:54 latest: Pulling from edgex-lftools-log-publisher 01:28:54 5eb5b503b376: Pulling fs layer 01:28:54 5c69ac0246d0: Pulling fs layer 01:28:54 ec43610c2a17: Pulling fs layer 01:28:54 3a2ae6a8a46f: Pulling fs layer 01:28:54 33b1e0a273af: Pulling fs layer 01:28:54 5d3b04190fa2: Pulling fs layer 01:28:54 2f39f015ded8: Pulling fs layer 01:28:54 3a2ae6a8a46f: Waiting 01:28:54 33b1e0a273af: Waiting 01:28:54 5d3b04190fa2: Waiting 01:28:54 2f39f015ded8: Waiting 01:28:54 5c69ac0246d0: Download complete 01:28:54 3a2ae6a8a46f: Verifying Checksum 01:28:54 3a2ae6a8a46f: Download complete 01:28:54 ec43610c2a17: Verifying Checksum 01:28:54 ec43610c2a17: Download complete 01:28:54 33b1e0a273af: Verifying Checksum 01:28:54 33b1e0a273af: Download complete 01:28:54 5d3b04190fa2: Verifying Checksum 01:28:54 5d3b04190fa2: Download complete 01:28:54 5eb5b503b376: Verifying Checksum 01:28:54 5eb5b503b376: Download complete 01:28:55 2f39f015ded8: Verifying Checksum 01:28:55 2f39f015ded8: Download complete 01:28:56 5eb5b503b376: Pull complete 01:28:56 5c69ac0246d0: Pull complete 01:28:56 ba8bce9d2590: Pull complete 01:28:57 ec43610c2a17: Pull complete 01:28:57 3a2ae6a8a46f: Pull complete 01:28:57 33b1e0a273af: Pull complete 01:28:57 5d3b04190fa2: Pull complete 01:28:58 ca778ea9c289: Pull complete 01:28:58 Digest: sha256:c70c257f76c0e97c87bd0187f74242a809c0afac30c2d5f44320df1de5715b93 01:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:28:58 ---> 47b25d7523d1 01:28:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:29:00 ---> Running in 38f7ee7ef862 01:29:00 Removing intermediate container 38f7ee7ef862 01:29:00 ---> cad841d6aa85 01:29:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:00 ---> Running in 558749a1392c 01:29:01 Removing intermediate container 558749a1392c 01:29:01 ---> dce646f9de77 01:29:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:29:01 ---> Running in e8155e47b9b1 01:29:01 Removing intermediate container e8155e47b9b1 01:29:01 ---> f74a79c393cf 01:29:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:29:01 ---> Running in 59713e70a937 01:29:02 Removing intermediate container 59713e70a937 01:29:02 ---> 2a86c8d47ecd 01:29:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:02 ---> Running in aaf025ba18f1 01:29:02 2f39f015ded8: Pull complete 01:29:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:02 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:29: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:29:03 $ docker top 6a71bbc36d37aafbec20233812b13b93c38ce6e4e8b10319bb76db7b1f66658c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:29:04 ---> job-cost.sh 01:29:04 lf-activate-venv: SKIPPING 01:29:04 INFO: No Stack... 01:29:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:04 INFO: Archiving Costs [Pipeline] sh 01:29:05 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:29:05 + cut -d, -f6 [Pipeline] lock 01:29:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] 01:29:05 Resource [jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] did not exist. Created. 01:29:05 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:29:05 (2/4) Installing libedit (20240517.3.1-r0) 01:29:05 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:29:05 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:29:05 Executing busybox-1.36.1-r29.trigger 01:29:05 OK: 244 MiB in 62 packages 01:29:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:05 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:05 Stashed 1 file(s) [Pipeline] } 01:29:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:05 $ docker stop --time=1 6a71bbc36d37aafbec20233812b13b93c38ce6e4e8b10319bb76db7b1f66658c 01:29:06 Removing intermediate container aaf025ba18f1 01:29:06 ---> 15e02eb2245c 01:29:06 Step 8/12 : WORKDIR /device-rest-go 01:29:06 ---> Running in 358a843f38ad 01:29:06 $ docker rm -f --volumes 6a71bbc36d37aafbec20233812b13b93c38ce6e4e8b10319bb76db7b1f66658c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:06 Removing intermediate container 358a843f38ad 01:29:06 ---> cff6e185cea0 01:29:06 Step 9/12 : COPY go.mod vendor* ./ 01:29:07 ---> 091dd45293e9 01:29:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:07 ---> Running in 3060fe9a4a93 01:30:59 Removing intermediate container 3060fe9a4a93 01:30:59 ---> ed19b5ceca55 01:30:59 Step 11/12 : COPY . . 01:31:00 ---> 706b7f04b009 01:31:00 Step 12/12 : RUN $MAKE 01:31:00 ---> Running in 056ead3e9b0f 01:31:01 noop 01:31:02 Removing intermediate container 056ead3e9b0f 01:31:02 ---> 10dd216a7b8f 01:31:02 Successfully built 10dd216a7b8f 01:31:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:02 + docker inspect -f . ci-base-image-arm64 01:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:02 prd-ubuntu20.04-docker-arm64-4c-16g-7332 does not seem to be running inside a container 01:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/214 -v /w/workspace/device-rest-go/214:/w/workspace/device-rest-go/214:rw,z -v /w/workspace/device-rest-go/214@tmp:/w/workspace/device-rest-go/214@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:31:04 $ docker top e19ec3f112791de692361bc3dd0c2aff1ddbb5efb7b13d69592067bfa579e162 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:05 + go version 01:31:05 go version go1.23.9 linux/arm64 [Pipeline] } 01:31:05 $ docker stop --time=1 e19ec3f112791de692361bc3dd0c2aff1ddbb5efb7b13d69592067bfa579e162 01:31:07 $ docker rm -f --volumes e19ec3f112791de692361bc3dd0c2aff1ddbb5efb7b13d69592067bfa579e162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:07 + docker inspect -f . ci-base-image-arm64 01:31:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:07 prd-ubuntu20.04-docker-arm64-4c-16g-7332 does not seem to be running inside a container 01:31:08 $ 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/214 -v /w/workspace/device-rest-go/214:/w/workspace/device-rest-go/214:rw,z -v /w/workspace/device-rest-go/214@tmp:/w/workspace/device-rest-go/214@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:31:09 $ docker top 1546a936c96f9f742a298ede68ef5cc18508eda2b9584962f7fb24253007b8ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:10 + git config --global --add safe.directory /w/workspace/device-rest-go/214 [Pipeline] fileExists [Pipeline] sh 01:31:11 + make test 01:31:11 go test ./... -coverprofile=coverage.out ./... 01:31:17 ? github.com/edgexfoundry/device-rest-go [no test files] 01:36:09 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:36:10 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 32.2% of statements 01:36:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:36:12 go vet ./... 01:37:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:37:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:37:20 ./bin/test-attribution-txt.sh 01:37:20 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:37:20 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:37:20 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:37:20 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:37:20 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 01:37:20 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 01:37:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:37:20 $ docker stop --time=1 1546a936c96f9f742a298ede68ef5cc18508eda2b9584962f7fb24253007b8ff 01:37:22 $ docker rm -f --volumes 1546a936c96f9f742a298ede68ef5cc18508eda2b9584962f7fb24253007b8ff [Pipeline] // withDockerContainer [Pipeline] sh 01:37:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:37:24 Warning: overwriting stash ‘coverage-report’ 01:37:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:37:25 + ls -al . 01:37:25 total 240 01:37:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 01:31 . 01:37:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 21 01:28 .. 01:37:25 -rw-rw-r-- 1 jenkins jenkins 151 Aug 21 01:28 .dockerignore 01:37:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 01:28 .git 01:37:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:28 .github 01:37:25 -rw-rw-r-- 1 jenkins jenkins 264 Aug 21 01:28 .gitignore 01:37:25 -rw-rw-r-- 1 jenkins jenkins 41 Aug 21 01:28 .golangci.yml 01:37:25 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 21 01:28 Attribution.txt 01:37:25 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 21 01:28 CHANGELOG.md 01:37:25 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 21 01:28 Dockerfile 01:37:25 -rw-rw-r-- 1 jenkins jenkins 677 Aug 21 01:28 GOVERNANCE.md 01:37:25 -rw-rw-r-- 1 jenkins jenkins 680 Aug 21 01:28 Jenkinsfile 01:37:25 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 21 01:28 LICENSE 01:37:25 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 21 01:28 Makefile 01:37:25 -rw-rw-r-- 1 jenkins jenkins 620 Aug 21 01:28 OWNERS.md 01:37:25 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 21 01:28 README.md 01:37:25 -rw-rw-r-- 1 jenkins jenkins 12 Aug 21 01:24 VERSION 01:37:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:28 bin 01:37:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:28 cmd 01:37:25 -rw-r--r-- 1 jenkins jenkins 14565 Aug 21 01:36 coverage.out 01:37:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:28 driver 01:37:25 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 21 01:28 go.mod 01:37:25 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 21 01:28 go.sum 01:37:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:28 openapi 01:37:25 -rw-rw-r-- 1 jenkins jenkins 713 Aug 21 01:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:26 + 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=a4f17faf2e16114a38b478a37b6b27c0e73285e1 --label arch=arm64 --label version=4.1.0-dev.11 . 01:37:26 Sending build context to Docker daemon 157.2kB 01:37:26 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:37:26 Step 2/26 : FROM ${BASE} AS builder 01:37:26 ---> 10dd216a7b8f 01:37:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:37:26 ---> Running in d8b50c7b67bd 01:37:27 Removing intermediate container d8b50c7b67bd 01:37:27 ---> cd06c8f38d37 01:37:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:27 ---> Running in 79eb4511699c 01:37:27 Removing intermediate container 79eb4511699c 01:37:27 ---> 7bbaf1aa30a5 01:37:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:37:27 ---> Running in c788dd613c09 01:37:27 Removing intermediate container c788dd613c09 01:37:27 ---> edbd3ed84cf5 01:37:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:37:28 ---> Running in ccedc688899b 01:37:28 Removing intermediate container ccedc688899b 01:37:28 ---> 1e53cd298dd4 01:37:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:28 ---> Running in 86154ef6e3c7 01:37:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:37:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:37:32 OK: 244 MiB in 62 packages 01:37:32 Removing intermediate container 86154ef6e3c7 01:37:32 ---> 45778402d10c 01:37:32 Step 8/26 : WORKDIR /device-rest-go 01:37:32 ---> Running in 20202a4bc61c 01:37:33 Removing intermediate container 20202a4bc61c 01:37:33 ---> 286523b7a961 01:37:33 Step 9/26 : COPY go.mod vendor* ./ 01:37:33 ---> 326a67e8352e 01:37:33 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:33 ---> Running in 3974b9d80adb 01:37:36 Removing intermediate container 3974b9d80adb 01:37:36 ---> 7d7f8194ba7d 01:37:36 Step 11/26 : COPY . . 01:37:36 ---> c413bc8cba5a 01:37:36 Step 12/26 : RUN $MAKE 01:37:36 ---> Running in 42444290b672 01:37:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.31 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:42:14 Removing intermediate container 42444290b672 01:42:14 ---> 380d207f38b5 01:42:14 Step 13/26 : FROM alpine:3.20 01:42:14 3.20: Pulling from library/alpine 01:42:14 13e713f82565: Pulling fs layer 01:42:14 13e713f82565: Verifying Checksum 01:42:14 13e713f82565: Download complete 01:42:14 13e713f82565: Pull complete 01:42:14 Digest: sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:42:14 Status: Downloaded newer image for alpine:3.20 01:42:14 ---> c88e9dceb6cb 01:42:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:42:14 ---> Running in 0c98d357db95 01:42:14 Removing intermediate container 0c98d357db95 01:42:14 ---> 70b244fd1a6c 01:42:14 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:42:14 ---> Running in c0be2ad9a04f 01:42:14 Removing intermediate container c0be2ad9a04f 01:42:14 ---> 2f5a890cedc6 01:42:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:42:14 ---> Running in 28452911b783 01:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:42:14 (1/1) Installing dumb-init (1.2.5-r3) 01:42:14 Executing busybox-1.36.1-r29.trigger 01:42:14 OK: 9 MiB in 15 packages 01:42:14 Removing intermediate container 28452911b783 01:42:14 ---> fdf2c44ee749 01:42:14 Step 17/26 : RUN apk --no-cache upgrade 01:42:14 ---> Running in 740f74f813d6 01:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:42:14 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 01:42:14 Executing busybox-1.36.1-r30.post-upgrade 01:42:14 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 01:42:14 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 01:42:14 Executing busybox-1.36.1-r30.trigger 01:42:14 OK: 9 MiB in 15 packages 01:42:14 Removing intermediate container 740f74f813d6 01:42:14 ---> 0baabda6f01e 01:42:14 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:42:15 ---> aea3e75c3703 01:42:15 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:42:15 ---> 9efb2d9d5880 01:42:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:42:16 ---> cb15728e49c4 01:42:16 Step 21/26 : EXPOSE 59986 01:42:16 ---> Running in 2a9354aaeaf3 01:42:16 Removing intermediate container 2a9354aaeaf3 01:42:16 ---> f3b68ef04859 01:42:16 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:42:16 ---> Running in 1c305889b361 01:42:17 Removing intermediate container 1c305889b361 01:42:17 ---> 82599797e50d 01:42:17 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:42:17 ---> Running in 0d2c1d357656 01:42:17 Removing intermediate container 0d2c1d357656 01:42:17 ---> d14950e38929 01:42:17 Step 24/26 : LABEL arch=arm64 01:42:18 ---> Running in e18f09cdc1bc 01:42:18 Removing intermediate container e18f09cdc1bc 01:42:18 ---> 3180fc5641f0 01:42:18 Step 25/26 : LABEL git_sha=a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:42:18 ---> Running in e3b24d86ca31 01:42:18 Removing intermediate container e3b24d86ca31 01:42:18 ---> e2195c002a09 01:42:18 Step 26/26 : LABEL version=4.1.0-dev.11 01:42:18 ---> Running in 863f49d8d73a 01:42:19 Removing intermediate container 863f49d8d73a 01:42:19 ---> cea29af023e1 01:42:19 [Warning] One or more build-args [ARCH] were not consumed 01:42:19 Successfully built cea29af023e1 01:42:19 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:42:19 provisioning config files... 01:42:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/214@tmp/config12063110238033842793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:19 ---> ****-login.sh 01:42:19 nexus3.edgexfoundry.org:10001 01:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:20 Configure a credential helper to remove this warning. See 01:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:20 01:42:20 Login Succeeded 01:42:20 nexus3.edgexfoundry.org:10002 01:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:20 Configure a credential helper to remove this warning. See 01:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:20 01:42:20 Login Succeeded 01:42:20 nexus3.edgexfoundry.org:10003 01:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:20 Configure a credential helper to remove this warning. See 01:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:20 01:42:20 Login Succeeded 01:42:21 nexus3.edgexfoundry.org:10004 01:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:21 Configure a credential helper to remove this warning. See 01:42:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:21 01:42:21 Login Succeeded 01:42:21 ****.io 01:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:22 Configure a credential helper to remove this warning. See 01:42:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:22 01:42:22 Login Succeeded 01:42:22 ---> ****-login.sh ends [Pipeline] } 01:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:42:22 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:42:22 a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:42:22 latest 01:42:22 4.1.0-dev.11 01:42:22 a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:42:22 main 01:42:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:42:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:22 90461adfd7b2: Preparing 01:42:22 b92ad18211b6: Preparing 01:42:22 f565e9b65e8d: Preparing 01:42:22 fce1f0553256: Preparing 01:42:22 d19a21a8b77d: Preparing 01:42:22 1e890da81ec9: Preparing 01:42:22 1e890da81ec9: Waiting 01:42:23 b92ad18211b6: Pushed 01:42:23 90461adfd7b2: Pushed 01:42:23 d19a21a8b77d: Pushed 01:42:23 1e890da81ec9: Layer already exists 01:42:23 fce1f0553256: Pushed 01:42:31 f565e9b65e8d: Pushed 01:42:31 a4f17faf2e16114a38b478a37b6b27c0e73285e1: digest: sha256:5d58df8eb679ff76a3a75bf51d379d7ce10c91dd643ccc03a61d5cdd1af06c7d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:42:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:32 90461adfd7b2: Preparing 01:42:32 b92ad18211b6: Preparing 01:42:32 f565e9b65e8d: Preparing 01:42:32 fce1f0553256: Preparing 01:42:32 d19a21a8b77d: Preparing 01:42:32 1e890da81ec9: Preparing 01:42:32 f565e9b65e8d: Layer already exists 01:42:32 fce1f0553256: Layer already exists 01:42:32 d19a21a8b77d: Layer already exists 01:42:32 90461adfd7b2: Layer already exists 01:42:32 b92ad18211b6: Layer already exists 01:42:32 1e890da81ec9: Layer already exists 01:42:32 latest: digest: sha256:5d58df8eb679ff76a3a75bf51d379d7ce10c91dd643ccc03a61d5cdd1af06c7d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.11 01:42:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:33 90461adfd7b2: Preparing 01:42:33 b92ad18211b6: Preparing 01:42:33 f565e9b65e8d: Preparing 01:42:33 fce1f0553256: Preparing 01:42:33 d19a21a8b77d: Preparing 01:42:33 1e890da81ec9: Preparing 01:42:33 1e890da81ec9: Waiting 01:42:33 90461adfd7b2: Layer already exists 01:42:33 b92ad18211b6: Layer already exists 01:42:33 f565e9b65e8d: Layer already exists 01:42:33 fce1f0553256: Layer already exists 01:42:33 d19a21a8b77d: Layer already exists 01:42:33 1e890da81ec9: Layer already exists 01:42:33 4.1.0-dev.11: digest: sha256:5d58df8eb679ff76a3a75bf51d379d7ce10c91dd643ccc03a61d5cdd1af06c7d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:42:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:34 90461adfd7b2: Preparing 01:42:34 b92ad18211b6: Preparing 01:42:34 f565e9b65e8d: Preparing 01:42:34 fce1f0553256: Preparing 01:42:34 d19a21a8b77d: Preparing 01:42:34 1e890da81ec9: Preparing 01:42:34 1e890da81ec9: Waiting 01:42:34 f565e9b65e8d: Layer already exists 01:42:34 fce1f0553256: Layer already exists 01:42:34 90461adfd7b2: Layer already exists 01:42:34 d19a21a8b77d: Layer already exists 01:42:34 b92ad18211b6: Layer already exists 01:42:34 1e890da81ec9: Layer already exists 01:42:34 a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11: digest: sha256:5d58df8eb679ff76a3a75bf51d379d7ce10c91dd643ccc03a61d5cdd1af06c7d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:42:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:35 90461adfd7b2: Preparing 01:42:35 b92ad18211b6: Preparing 01:42:35 f565e9b65e8d: Preparing 01:42:35 fce1f0553256: Preparing 01:42:35 d19a21a8b77d: Preparing 01:42:35 1e890da81ec9: Preparing 01:42:35 1e890da81ec9: Waiting 01:42:35 90461adfd7b2: Layer already exists 01:42:35 fce1f0553256: Layer already exists 01:42:35 f565e9b65e8d: Layer already exists 01:42:35 b92ad18211b6: Layer already exists 01:42:35 d19a21a8b77d: Layer already exists 01:42:35 1e890da81ec9: Layer already exists 01:42:35 main: digest: sha256:5d58df8eb679ff76a3a75bf51d379d7ce10c91dd643ccc03a61d5cdd1af06c7d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:35 ===================================================== [Pipeline] echo 01:42:35 taggedImages: 01:42:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1 01:42:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:42:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.11 01:42:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 01:42:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 01:42:35 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] echo 01:42:35 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 01:42:35 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.11 [Pipeline] echo 01:42:35 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:a4f17faf2e16114a38b478a37b6b27c0e73285e1-4.1.0-dev.11 [Pipeline] echo 01:42:35 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:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:36 01:42:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:37 arm64: Pulling from edgex-lftools-log-publisher 01:42:37 8998bd30e6a1: Pulling fs layer 01:42:37 04944245beec: Pulling fs layer 01:42:37 699f458cf7ca: Pulling fs layer 01:42:37 765212b225bb: Pulling fs layer 01:42:37 f23df028b6ca: Pulling fs layer 01:42:37 d65c8cfc05b1: Pulling fs layer 01:42:37 2437ff75d9bd: Pulling fs layer 01:42:37 765212b225bb: Waiting 01:42:37 f23df028b6ca: Waiting 01:42:37 d65c8cfc05b1: Waiting 01:42:37 2437ff75d9bd: Waiting 01:42:37 04944245beec: Verifying Checksum 01:42:37 04944245beec: Download complete 01:42:37 765212b225bb: Verifying Checksum 01:42:37 765212b225bb: Download complete 01:42:37 f23df028b6ca: Verifying Checksum 01:42:37 f23df028b6ca: Download complete 01:42:37 d65c8cfc05b1: Verifying Checksum 01:42:37 d65c8cfc05b1: Download complete 01:42:37 699f458cf7ca: Verifying Checksum 01:42:37 699f458cf7ca: Download complete 01:42:38 8998bd30e6a1: Verifying Checksum 01:42:38 8998bd30e6a1: Download complete 01:42:40 2437ff75d9bd: Verifying Checksum 01:42:40 2437ff75d9bd: Download complete 01:42:44 8998bd30e6a1: Pull complete 01:42:44 04944245beec: Pull complete 01:42:46 699f458cf7ca: Pull complete 01:42:46 765212b225bb: Pull complete 01:42:47 f23df028b6ca: Pull complete 01:42:47 d65c8cfc05b1: Pull complete 01:43:06 2437ff75d9bd: Pull complete 01:43:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:06 prd-ubuntu20.04-docker-arm64-4c-16g-7332 does not seem to be running inside a container 01:43:06 $ 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/214 -v /w/workspace/device-rest-go/214:/w/workspace/device-rest-go/214:rw,z -v /w/workspace/device-rest-go/214@tmp:/w/workspace/device-rest-go/214@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:43:09 $ docker top 2343c376ded69755f52502a4600df95fdf83f61196277527c3567a5ebe4a85d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:10 ---> job-cost.sh 01:43:10 lf-activate-venv: SKIPPING 01:43:10 INFO: No Stack... 01:43:11 INFO: Retrieving Pricing Info for: v3-standard-4 01:43:12 INFO: Archiving Costs [Pipeline] sh 01:43:13 + cat /w/workspace/device-rest-go/214/archives/cost.csv 01:43:13 + cut -d, -f6 [Pipeline] lock 01:43:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] 01:43:13 Resource [jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] did not exist. Created. 01:43:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:13 /w/workspace/device-rest-go/214@tmp/durable-d79a29eb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:43:14 + echo total: 0.10999999940395355 [Pipeline] stash 01:43:14 Warning: overwriting stash ‘stack-cost’ 01:43:14 Stashed 1 file(s) [Pipeline] } 01:43:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-214-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:14 $ docker stop --time=1 2343c376ded69755f52502a4600df95fdf83f61196277527c3567a5ebe4a85d9 01:43:16 $ docker rm -f --volumes 2343c376ded69755f52502a4600df95fdf83f61196277527c3567a5ebe4a85d9 [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:43:16 provisioning config files... 01:43:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10704682780487674832tmp [Pipeline] { [Pipeline] sh 01:43:17 + set +x 01:43:17 + curl -s https://codecov.io/bash 01:43:17 + bash -s -- 01:43:17 01:43:17 _____ _ 01:43:17 / ____| | | 01:43:17 | | ___ __| | ___ ___ _____ __ 01:43:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:43:17 | |___| (_) | (_| | __/ (_| (_) \ V / 01:43:17 \_____\___/ \__,_|\___|\___\___/ \_/ 01:43:17 Bash-1.0.6 01:43:17 01:43:17 01:43:17 ==> git version 2.25.1 found 01:43:17 ==> 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:43:17 Release-Date: 2020-01-08 01:43:17 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:43:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:43:17 ==> Jenkins CI detected. 01:43:17 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:43:17 project root: . 01:43:17 --> token set from env 01:43:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:43:17 ==> Running gcov in . (disable via -X gcov) 01:43:17 ==> Python coveragepy not found 01:43:17 ==> Searching for coverage reports in: 01:43:17 + . 01:43:17 -> Found 1 reports 01:43:17 ==> Detecting git/mercurial file structure 01:43:17 ==> Reading reports 01:43:17 + ./coverage.out bytes=14565 01:43:17 ==> Appending adjustments 01:43:17 https://docs.codecov.io/docs/fixing-reports 01:43:17 + Found adjustments 01:43:17 ==> Gzipping contents 01:43:17 4.0K /tmp/codecov.GNUaQW.gz 01:43:17 ==> Uploading reports 01:43:17 url: https://codecov.io 01:43:17 query: branch=main&commit=a4f17faf2e16114a38b478a37b6b27c0e73285e1&build=214&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F214%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:43:17 -> Pinging Codecov 01:43:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a4f17faf2e16114a38b478a37b6b27c0e73285e1&build=214&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F214%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:43:17 -> Uploading to 01:43:17 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/a4f17faf2e16114a38b478a37b6b27c0e73285e1/16f61926-a240-43f7-9c7a-41a5ad2ff48b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250821%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250821T014317Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e83ec89edd71b60ee39eb6fa31ec8e0613ed56929ad029c82f5240a1bd820e2b 01:43:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:43:17 Dload Upload Total Spent Left Speed 01:43:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 16496 --:--:-- --:--:-- --:--:-- 16496 01:43:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] } 01:43:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:43:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:43:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:43:18 01:43:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:43:18 latest: Pulling from edgex-devops/edgex-snyk-go 01:43:18 0a9a5dfd008f: Already exists 01:43:18 36466aa92d05: Already exists 01:43:18 e10405b45d13: Already exists 01:43:18 096b7ceb2af7: Already exists 01:43:18 4f4fb700ef54: Already exists 01:43:18 e50aa161e22a: Pulling fs layer 01:43:18 d3c8db5fb9df: Pulling fs layer 01:43:18 e50aa161e22a: Verifying Checksum 01:43:18 e50aa161e22a: Download complete 01:43:18 e50aa161e22a: Pull complete 01:43:19 d3c8db5fb9df: Verifying Checksum 01:43:19 d3c8db5fb9df: Download complete 01:43:24 d3c8db5fb9df: Pull complete 01:43:24 Digest: sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 01:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:43:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:24 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:43:25 $ docker top ae467b95760c34e87d6760daa91aa41306eebb4a7159613bf27acc3480eec96a -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:43:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:43:25 + set -o pipefail 01:43:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:43:32 01:43:32 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:43:32 01:43:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/40e9e757-2aa9-4218-ab6d-65cbe88c4966 01:43:32 01:43:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:43:32 01:43:33 01:43:33 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 01:43:33 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:43:34 $ docker stop --time=1 ae467b95760c34e87d6760daa91aa41306eebb4a7159613bf27acc3480eec96a 01:43:36 $ docker rm -f --volumes ae467b95760c34e87d6760daa91aa41306eebb4a7159613bf27acc3480eec96a [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:43:37 + git log --format=format:%s -1 a4f17faf2e16114a38b478a37b6b27c0e73285e1 [Pipeline] sh 01:43:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:38 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:43:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:43:38 $ docker top 5762ec3b9783b89055ac4bc57c1e14511eff61915a747809ae43ebd8b5a7e147 -eo pid,comm 01:43:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:43:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:43:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:38 [ssh-agent] Looking for ssh-agent implementation... 01:43:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:38 $ docker exec 5762ec3b9783b89055ac4bc57c1e14511eff61915a747809ae43ebd8b5a7e147 ssh-agent 01:43:39 SSH_AUTH_SOCK=/tmp/ssh-FxTl9bN1V513/agent.31 01:43:39 SSH_AGENT_PID=37 01:43:39 Running ssh-add (command line suppressed) 01:43:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16291338618374279060.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16291338618374279060.key) 01:43:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:39 + git semver tag 01:43:39 2025-08-21 01:43:39,699 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:43:39 2025-08-21 01:43:39,704 [run_tag] DEBUG tag force:False 01:43:39 2025-08-21 01:43:39,704 [check_head_tag] DEBUG check head tag 01:43:39 2025-08-21 01:43:39,704 [execute] INFO git cat-file --batch-check 01:43:39 2025-08-21 01:43:39,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:43:39 2025-08-21 01:43:39,706 [execute] INFO git cat-file --batch 01:43:39 2025-08-21 01:43:39,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:43:39 2025-08-21 01:43:39,717 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:39 2025-08-21 01:43:39,717 [execute] INFO git tag -a v4.1.0-dev.11 -m v4.1.0-dev.11 01:43:39 2025-08-21 01:43:39,718 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.11', '-m', 'v4.1.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:43:39 2025-08-21 01:43:39,721 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:39 4.1.0-dev.11 [Pipeline] } 01:43:39 $ docker exec --env ******** --env ******** 5762ec3b9783b89055ac4bc57c1e14511eff61915a747809ae43ebd8b5a7e147 ssh-agent -k 01:43:40 unset SSH_AUTH_SOCK; 01:43:40 unset SSH_AGENT_PID; 01:43:40 echo Agent pid 37 killed; 01:43:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:40 + git semver [Pipeline] } 01:43:40 $ docker stop --time=1 5762ec3b9783b89055ac4bc57c1e14511eff61915a747809ae43ebd8b5a7e147 01:43:41 $ docker rm -f --volumes 5762ec3b9783b89055ac4bc57c1e14511eff61915a747809ae43ebd8b5a7e147 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:42 01:43:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:42 0.23.1-centos7: Pulling from edgex-lftools 01:43:42 ab5ef0e58194: Pulling fs layer 01:43:42 9712f1f96733: Pulling fs layer 01:43:42 63f879dbbcfc: Pulling fs layer 01:43:42 0d9ebad4ef96: Pulling fs layer 01:43:42 e9a5061849ea: Pulling fs layer 01:43:42 d747dcd14b5f: Pulling fs layer 01:43:42 2de7ff778b66: Pulling fs layer 01:43:42 e9a5061849ea: Waiting 01:43:42 d747dcd14b5f: Waiting 01:43:42 2de7ff778b66: Waiting 01:43:42 0d9ebad4ef96: Waiting 01:43:42 9712f1f96733: Verifying Checksum 01:43:42 9712f1f96733: Download complete 01:43:42 63f879dbbcfc: Verifying Checksum 01:43:42 63f879dbbcfc: Download complete 01:43:43 e9a5061849ea: Verifying Checksum 01:43:43 e9a5061849ea: Download complete 01:43:43 d747dcd14b5f: Verifying Checksum 01:43:43 d747dcd14b5f: Download complete 01:43:43 0d9ebad4ef96: Verifying Checksum 01:43:43 0d9ebad4ef96: Download complete 01:43:43 2de7ff778b66: Verifying Checksum 01:43:43 2de7ff778b66: Download complete 01:43:43 ab5ef0e58194: Verifying Checksum 01:43:43 ab5ef0e58194: Download complete 01:43:47 ab5ef0e58194: Pull complete 01:43:47 9712f1f96733: Pull complete 01:43:47 63f879dbbcfc: Pull complete 01:43:53 0d9ebad4ef96: Pull complete 01:43:53 e9a5061849ea: Pull complete 01:43:53 d747dcd14b5f: Pull complete 01:43:55 2de7ff778b66: Pull complete 01:43:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:55 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:43:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:43:57 $ docker top 7da754a516bcd303269f21a592cd2680c85595f80a0e905fb825c50b116bb46e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:43:57 provisioning config files... 01:43:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4223732424486552361tmp 01:43:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2249215882089897357tmp 01:43:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9663220661244761044tmp [Pipeline] { [Pipeline] echo 01:43:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:43:57 ---> sigul-configuration.sh 01:43:57 gpg: directory `/root/.gnupg' created 01:43:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:43:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:43:57 gpg: keyring `/root/.gnupg/secring.gpg' created 01:43:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:43:57 gpg: CAST5 encrypted data 01:43:57 gpg: encrypted with 1 passphrase 01:43:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:43:58 + mkdir /home/jenkins 01:43:58 + mkdir /home/jenkins/sigul [Pipeline] sh 01:43:58 + 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:43:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:43:58 ---> sigul-install.sh 01:43:58 Sigul already installed; skipping installation. [Pipeline] sh 01:43:58 + git tag --list 01:43:58 v1.0.0 01:43:58 v1.1.0 01:43:58 v1.1.1 01:43:58 v1.1.2 01:43:58 v1.2.0 01:43:58 v1.2.1 01:43:58 v2.0.0 01:43:58 v2.1.0 01:43:58 v2.1.1 01:43:58 v2.2.0 01:43:58 v2.3.0 01:43:58 v3.0 01:43:58 v3.0.0 01:43:58 v3.1 01:43:58 v3.1.0 01:43:58 v3.1.1 01:43:58 v4.0 01:43:58 v4.0.0 01:43:58 v4.1.0-dev.1 01:43:58 v4.1.0-dev.10 01:43:58 v4.1.0-dev.11 01:43:58 v4.1.0-dev.2 01:43:58 v4.1.0-dev.3 01:43:58 v4.1.0-dev.4 01:43:58 v4.1.0-dev.5 01:43:58 v4.1.0-dev.6 01:43:58 v4.1.0-dev.7 01:43:58 v4.1.0-dev.8 01:43:58 v4.1.0-dev.9 [Pipeline] sh 01:43:59 + lftools sign git-tag v4.1.0-dev.11 01:43:59 Signing Git tag with Sigul... 01:43:59 Signing v4.1.0-dev.11 [Pipeline] echo 01:44:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:44:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:44:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:44:00 $ docker stop --time=1 7da754a516bcd303269f21a592cd2680c85595f80a0e905fb825c50b116bb46e 01:44:01 $ docker rm -f --volumes 7da754a516bcd303269f21a592cd2680c85595f80a0e905fb825c50b116bb46e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:44:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:44:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:02 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:44: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:44:03 $ docker top 03e5817eaa1856058f33e7b5666e91797ed551c1e7ab88dc5aebd14fccad12c9 -eo pid,comm 01:44:03 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:44:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:44:03 [ssh-agent] Looking for ssh-agent implementation... 01:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:03 $ docker exec 03e5817eaa1856058f33e7b5666e91797ed551c1e7ab88dc5aebd14fccad12c9 ssh-agent 01:44:03 SSH_AUTH_SOCK=/tmp/ssh-GUuPMiNdMPSw/agent.32 01:44:03 SSH_AGENT_PID=38 01:44:03 Running ssh-add (command line suppressed) 01:44:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15232127207688741054.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15232127207688741054.key) 01:44:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:44:03 + git semver bump pre 01:44:04 2025-08-21 01:44:03,971 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:44:04 2025-08-21 01:44:03,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:44:04 2025-08-21 01:44:03,975 [bump_version] DEBUG bumping version:4.1.0-dev.11 on axis:pre with prefix:dev 01:44:04 2025-08-21 01:44:03,976 [bump_version] DEBUG bumped version:4.1.0-dev.12 01:44:04 2025-08-21 01:44:03,976 [write_version] DEBUG write version:4.1.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:44:04 2025-08-21 01:44:03,976 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:44:04 2025-08-21 01:44:03,976 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:44:04 2025-08-21 01:44:03,979 [execute] INFO git cat-file --batch-check 01:44:04 2025-08-21 01:44:03,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:44:04 2025-08-21 01:44:03,983 [execute] INFO git cat-file --batch 01:44:04 2025-08-21 01:44:03,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:44:04 2025-08-21 01:44:03,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:44:04 4.1.0-dev.12 [Pipeline] } 01:44:04 $ docker exec --env ******** --env ******** 03e5817eaa1856058f33e7b5666e91797ed551c1e7ab88dc5aebd14fccad12c9 ssh-agent -k 01:44:04 unset SSH_AUTH_SOCK; 01:44:04 unset SSH_AGENT_PID; 01:44:04 echo Agent pid 38 killed; 01:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:44:04 + git semver [Pipeline] } 01:44:04 $ docker stop --time=1 03e5817eaa1856058f33e7b5666e91797ed551c1e7ab88dc5aebd14fccad12c9 01:44:06 $ docker rm -f --volumes 03e5817eaa1856058f33e7b5666e91797ed551c1e7ab88dc5aebd14fccad12c9 [Pipeline] // withDockerContainer [Pipeline] sh 01:44:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:44:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:06 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:44:07 $ docker top 6a48b3b3b4966083b433cd9263cebbc3c9bfd275c1159fe3a7d1434103ccb437 -eo pid,comm 01:44:07 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:44:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:44:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:44:07 [ssh-agent] Looking for ssh-agent implementation... 01:44:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:07 $ docker exec 6a48b3b3b4966083b433cd9263cebbc3c9bfd275c1159fe3a7d1434103ccb437 ssh-agent 01:44:07 SSH_AUTH_SOCK=/tmp/ssh-QTQ2woqQqYna/agent.32 01:44:07 SSH_AGENT_PID=38 01:44:07 Running ssh-add (command line suppressed) 01:44:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18228191467162255313.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18228191467162255313.key) 01:44:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:44:07 + git semver push 01:44:08 2025-08-21 01:44:08,105 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:44:08 2025-08-21 01:44:08,109 [run_push] DEBUG push 01:44:08 2025-08-21 01:44:08,110 [execute] INFO git cat-file --batch-check 01:44:08 2025-08-21 01:44:08,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:44:08 2025-08-21 01:44:08,112 [execute] INFO git rev-list f73504a759c3cf83274e689bc2de7a56e4b8597d -- 01:44:08 2025-08-21 01:44:08,112 [execute] DEBUG Popen(['git', 'rev-list', 'f73504a759c3cf83274e689bc2de7a56e4b8597d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:44:08 2025-08-21 01:44:08,119 [execute] INFO git fetch -v -- origin 01:44:08 2025-08-21 01:44:08,120 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 01:44:08 2025-08-21 01:44:08,574 [run_push] DEBUG no remote changes detected 01:44:08 2025-08-21 01:44:08,574 [execute] INFO git push origin semver 01:44:08 2025-08-21 01:44:08,574 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:44:09 2025-08-21 01:44:09,325 [run_push] DEBUG push all version tags 01:44:09 2025-08-21 01:44:09,325 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:44:09 2025-08-21 01:44:09,326 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:44:10 2025-08-21 01:44:10,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:44:10 4.1.0-dev.12 [Pipeline] } 01:44:10 $ docker exec --env ******** --env ******** 6a48b3b3b4966083b433cd9263cebbc3c9bfd275c1159fe3a7d1434103ccb437 ssh-agent -k 01:44:10 unset SSH_AUTH_SOCK; 01:44:10 unset SSH_AGENT_PID; 01:44:10 echo Agent pid 38 killed; 01:44:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:44:10 + git semver [Pipeline] } 01:44:10 $ docker stop --time=1 6a48b3b3b4966083b433cd9263cebbc3c9bfd275c1159fe3a7d1434103ccb437 01:44:12 $ docker rm -f --volumes 6a48b3b3b4966083b433cd9263cebbc3c9bfd275c1159fe3a7d1434103ccb437 [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:44:12 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:44:12 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:44:12 total 16 01:44:12 drwxr-xr-x 3 root root 4096 Aug 21 01:29 . 01:44:12 drwxrwxr-x 10 jenkins jenkins 4096 Aug 21 01:43 .. 01:44:12 drwxr-xr-x 2 root root 4096 Aug 21 01:29 cost 01:44:12 -rw-r--r-- 1 root root 86 Aug 21 01:29 cost.csv 01:44:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:44:12 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:44:12 total 16 01:44:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 01:29 . 01:44:12 drwxrwxr-x 10 jenkins jenkins 4096 Aug 21 01:43 .. 01:44:12 drwxr-xr-x 2 jenkins jenkins 4096 Aug 21 01:29 cost 01:44:12 -rw-r--r-- 1 jenkins jenkins 86 Aug 21 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:13 ---> package-listing.sh 01:44:13 ++ facter osfamily 01:44:13 ++ tr '[:upper:]' '[:lower:]' 01:44:14 + OS_FAMILY=debian 01:44:14 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:44:14 + START_PACKAGES=/tmp/packages_start.txt 01:44:14 + END_PACKAGES=/tmp/packages_end.txt 01:44:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:14 + PACKAGES=/tmp/packages_start.txt 01:44:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:44:14 + PACKAGES=/tmp/packages_end.txt 01:44:14 + case "${OS_FAMILY}" in 01:44:14 + dpkg -l 01:44:14 + grep '^ii' 01:44:14 + '[' -f /tmp/packages_start.txt ']' 01:44:14 + '[' -f /tmp/packages_end.txt ']' 01:44:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:44:14 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:44:14 + 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:44:14 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:44:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:15 prd-ubuntu20.04-docker-8c-8g-7325 does not seem to be running inside a container 01:44:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:15 $ docker top 6b8f36553f13e916085e32c1c6678be20878efb0fbd35c57f340814f2a5f9211 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:15 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:15 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:16 + ls /var/log/sa-host 01:44:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:16 provisioning config files... 01:44:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14858448586097133923tmp [Pipeline] { [Pipeline] echo 01:44:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:16 ---> create-netrc.sh [Pipeline] } 01:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:16 ---> python-tools-install.sh [Pipeline] echo 01:44:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:17 ---> sudo-logs.sh 01:44:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:17 ---> job-cost.sh 01:44:17 lf-activate-venv: SKIPPING 01:44:17 DEBUG: total: 0.2199999988079071 01:44:17 INFO: Retrieving Stack Cost... 01:44:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:18 INFO: Archiving Costs [Pipeline] echo 01:44:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:18 ---> logs-deploy.sh 01:44:18 lf-activate-venv: SKIPPING 01:44:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/214 01:44:18 INFO: archiving workspace using pattern(s): 01:44:19 Archives upload complete. 01:44:19 INFO: archiving logs to Nexus