Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b09695e414fb6bc5c55bba4002466265ae521868 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-ssh585203006181910057.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh354704957086928585.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4857995911843748234.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17596008446966348595.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-ssh2726206653084178370.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.23] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-772215’ is offline Running on prd-ubuntu20.04-docker-8c-8g-772216 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b09695e414fb6bc5c55bba4002466265ae521868 (main) Commit message: "build: Bump Alpine from 3.20 to 3.22 (#501)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b09695e414fb6bc5c55bba4002466265ae521868 # timeout=10 > git rev-list --no-walk 7c7d2a68b763281e5da75d004e813296c31cca67 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:27:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:27:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:27:37 ========================================================= 13:27:37 EdgeX Global Pipelines Version Info 13:27:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:27:38 ------------------- 13:27:38 stable info: 13:27:38 ------------------- 13:27:38 Commited By: Cherry Wang cherry@iotechsys.com 13:27:38 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 13:27:38 Message: update stable to v1.0.278 13:27:38 ------------------- 13:27:38 experimental info: 13:27:38 ------------------- 13:27:38 Commited By: **** collab-it+edgex@linuxfoundation.org 13:27:38 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 13:27:38 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b09695e [Pipeline] echo 13:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:27:39 provisioning config files... 13:27:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6973347453601176367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:40 ---> ****-login.sh 13:27:40 nexus3.edgexfoundry.org:10001 13:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:40 13:27:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:27:40 Configure a credential helper to remove this warning. See 13:27:40 https://docs.****.com/go/credential-store/ 13:27:40 13:27:40 Login Succeeded 13:27:40 nexus3.edgexfoundry.org:10002 13:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:40 13:27:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:27:40 Configure a credential helper to remove this warning. See 13:27:40 https://docs.****.com/go/credential-store/ 13:27:40 13:27:40 Login Succeeded 13:27:40 nexus3.edgexfoundry.org:10003 13:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:40 13:27:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:27:40 Configure a credential helper to remove this warning. See 13:27:40 https://docs.****.com/go/credential-store/ 13:27:40 13:27:40 Login Succeeded 13:27:40 nexus3.edgexfoundry.org:10004 13:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:40 13:27:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:27:40 Configure a credential helper to remove this warning. See 13:27:40 https://docs.****.com/go/credential-store/ 13:27:40 13:27:40 Login Succeeded 13:27:40 ****.io 13:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:40 13:27:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:27:40 Configure a credential helper to remove this warning. See 13:27:40 https://docs.****.com/go/credential-store/ 13:27:40 13:27:40 Login Succeeded 13:27:40 ---> ****-login.sh ends [Pipeline] } 13:27:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:27:41 + git rev-list -1 --merges b09695e414fb6bc5c55bba4002466265ae521868~1..b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] echo 13:27:41 -----------> git rev-list -1 --merges b09695e414fb6bc5c55bba4002466265ae521868~1..b09695e414fb6bc5c55bba4002466265ae521868 b09695e414fb6bc5c55bba4002466265ae521868 [false] [Pipeline] sh 13:27:41 + git log --format=format:%s -1 b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] echo 13:27:41 ========================================================= 13:27:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:27:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:27:41 + git log --format=format:%s -1 b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] echo 13:27:41 [semverPrep] GIT_COMMIT: b09695e414fb6bc5c55bba4002466265ae521868, Commit Message: build: Bump Alpine from 3.20 to 3.22 (#501) [Pipeline] echo 13:27:41 [semverPrep] This is not a build commit. [Pipeline] sh 13:27:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:27:42 + grep -v github /etc/ssh/ssh_known_hosts 13:27:42 + [ -e /tmp/ssh_known_hosts ] 13:27:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:27:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:27:42 + sudo tee -a /etc/ssh/ssh_known_hosts 13:27:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:42 13:27:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:43 0.1.4: Pulling from edgex-devops/py-git-semver 13:27:43 3dae71ba6b94: Pulling fs layer 13:27:43 6bf1a483ea7c: Pulling fs layer 13:27:43 f5dfc541a4d3: Pulling fs layer 13:27:43 461d9e800cba: Pulling fs layer 13:27:43 80192f66455f: Pulling fs layer 13:27:43 2e8e34ca0e6c: Pulling fs layer 13:27:43 a29436f7fd5d: Pulling fs layer 13:27:43 923cac83aea3: Pulling fs layer 13:27:43 25ad8b0a4227: Pulling fs layer 13:27:43 db01528c6b51: Pulling fs layer 13:27:43 28988de357af: Pulling fs layer 13:27:43 461d9e800cba: Waiting 13:27:43 80192f66455f: Waiting 13:27:43 923cac83aea3: Waiting 13:27:43 25ad8b0a4227: Waiting 13:27:43 a29436f7fd5d: Waiting 13:27:43 2e8e34ca0e6c: Waiting 13:27:43 28988de357af: Waiting 13:27:43 6bf1a483ea7c: Verifying Checksum 13:27:43 6bf1a483ea7c: Download complete 13:27:43 461d9e800cba: Verifying Checksum 13:27:43 461d9e800cba: Download complete 13:27:43 80192f66455f: Download complete 13:27:43 f5dfc541a4d3: Verifying Checksum 13:27:43 f5dfc541a4d3: Download complete 13:27:43 3dae71ba6b94: Verifying Checksum 13:27:43 3dae71ba6b94: Download complete 13:27:43 923cac83aea3: Download complete 13:27:43 25ad8b0a4227: Verifying Checksum 13:27:43 25ad8b0a4227: Download complete 13:27:43 db01528c6b51: Verifying Checksum 13:27:43 db01528c6b51: Download complete 13:27:43 28988de357af: Download complete 13:27:43 a29436f7fd5d: Verifying Checksum 13:27:43 a29436f7fd5d: Download complete 13:27:44 2e8e34ca0e6c: Download complete 13:27:44 3dae71ba6b94: Pull complete 13:27:44 6bf1a483ea7c: Pull complete 13:27:45 f5dfc541a4d3: Pull complete 13:27:45 461d9e800cba: Pull complete 13:27:45 80192f66455f: Pull complete 13:27:50 2e8e34ca0e6c: Pull complete 13:27:50 a29436f7fd5d: Pull complete 13:27:50 923cac83aea3: Pull complete 13:27:50 25ad8b0a4227: Pull complete 13:27:50 db01528c6b51: Pull complete 13:27:50 28988de357af: Pull complete 13:27:50 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 13:27:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:51 prd-ubuntu20.04-docker-8c-8g-772216 does not seem to be running inside a container 13:27:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:27:55 $ docker top 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 -eo pid,comm 13:27:55 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). 13:27:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:27:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:27:55 [ssh-agent] Looking for ssh-agent implementation... 13:27:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:27:55 $ docker exec 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 ssh-agent 13:27:55 SSH_AUTH_SOCK=/tmp/ssh-6AtbaHaVLXAg/agent.33 13:27:55 SSH_AGENT_PID=39 13:27:55 Running ssh-add (command line suppressed) 13:27:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11042989082009761867.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11042989082009761867.key) 13:27:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:27:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 13:27:56 + git tag --points-at HEAD [Pipeline] } 13:27:56 $ docker exec --env ******** --env ******** 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 ssh-agent -k 13:27:56 unset SSH_AUTH_SOCK; 13:27:56 unset SSH_AGENT_PID; 13:27:56 echo Agent pid 39 killed; 13:27:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:27:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:27:56 [ssh-agent] Looking for ssh-agent implementation... 13:27:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:27:56 $ docker exec 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 ssh-agent 13:27:56 SSH_AUTH_SOCK=/tmp/ssh-91MA6y74yYYx/agent.86 13:27:56 SSH_AGENT_PID=92 13:27:56 Running ssh-add (command line suppressed) 13:27:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8015501476251199777.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8015501476251199777.key) 13:27:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:27:57 + git semver init 13:27:57 2025-10-31 13:27:57,260 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 13:27:57 2025-10-31 13:27:57,263 [run_init] DEBUG init version:0.0.0 force:False 13:27:57 2025-10-31 13:27:57,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 13:27:57 2025-10-31 13:27:57,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 13:27:57 2025-10-31 13:27:57,265 [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) 13:27:59 2025-10-31 13:27:58,899 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 13:27:59 2025-10-31 13:27:58,899 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 13:27:59 2025-10-31 13:27:58,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:27:59 2025-10-31 13:27:58,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:27:59 4.1.0-dev.16 [Pipeline] } 13:27:59 $ docker exec --env ******** --env ******** 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 ssh-agent -k 13:27:59 unset SSH_AUTH_SOCK; 13:27:59 unset SSH_AGENT_PID; 13:27:59 echo Agent pid 92 killed; 13:27:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:27:59 + git semver [Pipeline] } 13:28:00 $ docker stop --time=1 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 13:28:01 $ docker rm -f --volumes 19f32721949d622bd3a6dd2915bdea7119f821ab7e7b40cf8e89a6e8cc024181 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:28:02 Stashed 1 file(s) [Pipeline] echo 13:28:02 [edgeXSemver]: initialized semver on version 4.1.0-dev.16 [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 13:28:02 provisioning config files... 13:28:02 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config605390668340939624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:02 ---> ****-login.sh 13:28:02 nexus3.edgexfoundry.org:10001 13:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:02 Login Succeeded 13:28:02 nexus3.edgexfoundry.org:10002 13:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:02 Login Succeeded 13:28:02 nexus3.edgexfoundry.org:10003 13:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:03 Login Succeeded 13:28:03 nexus3.edgexfoundry.org:10004 13:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:03 Login Succeeded 13:28:03 ****.io 13:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:03 Login Succeeded 13:28:03 ---> ****-login.sh ends [Pipeline] } 13:28:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:28:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:28:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:28:03 ========================================================= 13:28:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 13:28:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:03 + 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 . 13:28:04 #0 building with "default" instance using docker driver 13:28:04 13:28:04 #1 [internal] load build definition from Dockerfile 13:28:04 #1 transferring dockerfile: 1.74kB done 13:28:04 #1 DONE 0.0s 13:28:04 13:28:04 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 13:28:04 #2 DONE 0.1s 13:28:04 13:28:04 #3 [internal] load .dockerignore 13:28:04 #3 transferring context: 193B done 13:28:04 #3 DONE 0.0s 13:28:04 13:28:04 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 13:28:04 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 0.0s done 13:28:04 #4 extracting sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 13:28:04 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 13.63MB / 74.07MB 0.2s 13:28:04 #4 sha256:d3178a7b27090e22bc2464346d1cdc8f59d0fd7a241452e8148342edf3d0b1e9 126B / 126B 0.1s done 13:28:04 #4 sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 685B / 685B done 13:28:04 #4 sha256:e9f2598a937cac3435c96fcb14b1e3d8b17fea31e22d96e7608136a0e552f374 2.08kB / 2.08kB done 13:28:04 #4 sha256:e619c034af25ffb08a59e3d21d0a7192d7f81c386b9b29c1cddcb8a08924c0fc 4.10kB / 4.10kB done 13:28:04 #4 sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 3.80MB / 3.80MB 0.1s done 13:28:04 #4 sha256:8371a51cbc44c1323f96695eaeaeeb1c44b2d30d138a279b348af5c18b2c5e24 282.45kB / 282.45kB 0.1s done 13:28:04 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 2.10MB / 113.25MB 0.2s 13:28:04 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 13:28:04 #4 sha256:063b4f904bf53f94bbc1d3ba0507ed296dadd679ec1b747dff8dfbd06e245cce 440B / 440B 0.1s done 13:28:04 #4 sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 2.10MB / 2.38MB 0.2s 13:28:04 #4 ... 13:28:04 13:28:04 #5 [internal] load build context 13:28:04 #5 transferring context: 21.62MB 0.2s done 13:28:04 #5 DONE 0.2s 13:28:04 13:28:04 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 13:28:04 #4 extracting sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 0.2s done 13:28:04 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 28.31MB / 74.07MB 0.3s 13:28:04 #4 sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 2.38MB / 2.38MB 0.2s done 13:28:04 #4 sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 0B / 13.30MB 0.3s 13:28:04 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 62.91MB / 74.07MB 0.5s 13:28:04 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 26.21MB / 113.25MB 0.5s 13:28:04 #4 sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 13.30MB / 13.30MB 0.5s done 13:28:04 #4 extracting sha256:8371a51cbc44c1323f96695eaeaeeb1c44b2d30d138a279b348af5c18b2c5e24 0.1s done 13:28:05 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 74.07MB / 74.07MB 0.7s 13:28:05 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 55.57MB / 113.25MB 0.7s 13:28:05 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 77.59MB / 113.25MB 0.8s 13:28:05 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 74.07MB / 74.07MB 0.8s done 13:28:05 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 95.42MB / 113.25MB 0.9s 13:28:05 #4 extracting sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 0.1s 13:28:05 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 113.25MB / 113.25MB 1.0s 13:28:05 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 113.25MB / 113.25MB 1.4s done 13:28:10 #4 extracting sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 4.6s done 13:28:10 #4 extracting sha256:d3178a7b27090e22bc2464346d1cdc8f59d0fd7a241452e8148342edf3d0b1e9 13:28:10 #4 extracting sha256:d3178a7b27090e22bc2464346d1cdc8f59d0fd7a241452e8148342edf3d0b1e9 done 13:28:10 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 13:28:10 #4 extracting sha256:063b4f904bf53f94bbc1d3ba0507ed296dadd679ec1b747dff8dfbd06e245cce done 13:28:10 #4 extracting sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 13:28:10 #4 extracting sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 0.0s done 13:28:10 #4 extracting sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 0.1s 13:28:13 #4 extracting sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 3.2s done 13:28:13 #4 extracting sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 13:28:14 #4 extracting sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 0.6s done 13:28:14 #4 DONE 10.2s 13:28:14 13:28:14 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 13:28:14 #6 0.229 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 13:28:15 #6 0.305 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 13:28:15 #6 0.644 (1/4) Installing openssh-keygen (10.0_p1-r9) 13:28:15 #6 0.657 (2/4) Installing libedit (20250104.3.1-r1) 13:28:15 #6 0.663 (3/4) Installing openssh-client-common (10.0_p1-r9) 13:28:15 #6 0.691 (4/4) Installing openssh-client-default (10.0_p1-r9) 13:28:15 #6 0.704 Executing busybox-1.37.0-r19.trigger 13:28:15 #6 0.714 OK: 269 MiB in 64 packages 13:28:17 Still waiting to schedule task 13:28:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-772217’ is offline 13:28:19 #6 DONE 5.1s 13:28:20 13:28:20 #7 [builder 3/7] WORKDIR /device-rest-go 13:28:20 #7 DONE 0.0s 13:28:20 13:28:20 #8 [builder 4/7] COPY go.mod vendor* ./ 13:28:20 #8 DONE 0.0s 13:28:20 13:28:20 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:42 #9 DONE 18.7s 13:28:42 13:28:42 #10 [builder 6/7] COPY . . 13:28:42 #10 DONE 0.3s 13:28:42 13:28:42 #11 [builder 7/7] RUN echo noop 13:28:42 #11 0.198 noop 13:28:42 #11 DONE 0.2s 13:28:42 13:28:42 #12 exporting to image 13:28:42 #12 exporting layers 13:28:47 #12 exporting layers 8.2s done 13:28:47 #12 writing image sha256:8728c84fc293c4d7d98c6f786dd526af3bf7f867b63d6a24836670092a333721 done 13:28:47 #12 naming to docker.io/library/ci-base-image-x86_64 done 13:28:47 #12 DONE 8.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:47 + docker inspect -f . ci-base-image-x86_64 13:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:47 prd-ubuntu20.04-docker-8c-8g-772216 does not seem to be running inside a container 13:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:28:48 $ docker top 922fce029a5798edfadd2f05a14a7fe03a1ffae3a7df5799a2d2d500347834f7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:48 + go version 13:28:48 go version go1.23.12 linux/amd64 [Pipeline] } 13:28:48 $ docker stop --time=1 922fce029a5798edfadd2f05a14a7fe03a1ffae3a7df5799a2d2d500347834f7 13:28:49 $ docker rm -f --volumes 922fce029a5798edfadd2f05a14a7fe03a1ffae3a7df5799a2d2d500347834f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:50 + docker inspect -f . ci-base-image-x86_64 13:28:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:50 prd-ubuntu20.04-docker-8c-8g-772216 does not seem to be running inside a container 13:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:28:50 $ docker top 6a03a81e49cf74faeca821d00892344c94c4b54599d631f659f3eaa36fc88d42 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 13:28:51 + make test 13:28:51 go test ./... -coverprofile=coverage.out ./... 13:28:52 ? github.com/edgexfoundry/device-rest-go [no test files] 13:29:14 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 13:29:14 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 13:29:27 go vet ./... 13:29:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:29:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:29:31 ./bin/test-attribution-txt.sh 13:29:31 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 13:29:31 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 13:29:31 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 13:29:31 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 13:29:31 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 13:29:31 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 13:29:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 13:29:31 $ docker stop --time=1 6a03a81e49cf74faeca821d00892344c94c4b54599d631f659f3eaa36fc88d42 13:29:34 $ docker rm -f --volumes 6a03a81e49cf74faeca821d00892344c94c4b54599d631f659f3eaa36fc88d42 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:29:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:29:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:29:35 + ls -al . 13:29:35 total 244 13:29:35 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 13:28 . 13:29:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 13:27 .. 13:29:35 -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 13:27 .dockerignore 13:29:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 13:29 .git 13:29:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 13:27 .github 13:29:35 -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 13:27 .gitignore 13:29:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 13:27 .golangci.yml 13:29:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 13:27 .semver 13:29:35 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 31 13:27 Attribution.txt 13:29:35 -rw-rw-r-- 1 jenkins jenkins 18492 Oct 31 13:27 CHANGELOG.md 13:29:35 -rw-rw-r-- 1 jenkins jenkins 1697 Oct 31 13:27 Dockerfile 13:29:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 13:27 GOVERNANCE.md 13:29:35 -rw-rw-r-- 1 jenkins jenkins 704 Oct 31 13:27 Jenkinsfile 13:29:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 13:27 LICENSE 13:29:35 -rw-rw-r-- 1 jenkins jenkins 2598 Oct 31 13:27 Makefile 13:29:35 -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 13:27 OWNERS.md 13:29:35 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 31 13:27 README.md 13:29:35 -rw-rw-r-- 1 jenkins jenkins 12 Oct 31 13:28 VERSION 13:29:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 13:27 bin 13:29:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 13:27 cmd 13:29:35 -rw-r--r-- 1 jenkins jenkins 14565 Oct 31 13:29 coverage.out 13:29:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 13:27 driver 13:29:35 -rw-rw-r-- 1 jenkins jenkins 6324 Oct 31 13:27 go.mod 13:29:35 -rw-rw-r-- 1 jenkins jenkins 86944 Oct 31 13:27 go.sum 13:29:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 13:27 openapi 13:29:35 -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 13:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:35 + 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=b09695e414fb6bc5c55bba4002466265ae521868 --label arch=amd64 --label version=4.1.0-dev.16 . 13:29:36 #0 building with "default" instance using docker driver 13:29:36 13:29:36 #1 [internal] load build definition from Dockerfile 13:29:36 #1 transferring dockerfile: 1.74kB done 13:29:36 #1 DONE 0.0s 13:29:36 13:29:36 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 13:29:36 #2 DONE 0.0s 13:29:36 13:29:36 #3 [internal] load metadata for docker.io/library/alpine:3.22 13:29:36 #3 DONE 0.1s 13:29:36 13:29:36 #4 [internal] load .dockerignore 13:29:36 #4 transferring context: 193B done 13:29:36 #4 DONE 0.0s 13:29:36 13:29:36 #5 [internal] load build context 13:29:36 #5 transferring context: 18.46kB 0.0s done 13:29:36 #5 DONE 0.0s 13:29:36 13:29:36 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 13:29:36 #6 resolve docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 0.0s done 13:29:36 #6 sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 9.22kB / 9.22kB done 13:29:36 #6 sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f 1.02kB / 1.02kB done 13:29:36 #6 sha256:706db57fb2063f39f69632c5b5c9c439633fda35110e65587c5d85553fd1cc38 581B / 581B done 13:29:36 #6 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s 13:29:36 #6 ... 13:29:36 13:29:36 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 13:29:36 #7 DONE 0.1s 13:29:36 13:29:36 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 13:29:36 #6 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 13:29:36 #6 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s 13:29:36 #6 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s done 13:29:36 #6 DONE 0.3s 13:29:36 13:29:36 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 13:29:37 #8 0.219 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 13:29:37 #8 0.286 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 13:29:37 #8 0.592 (1/1) Installing dumb-init (1.2.5-r3) 13:29:37 #8 0.596 Executing busybox-1.37.0-r19.trigger 13:29:37 #8 0.603 OK: 7 MiB in 17 packages 13:29:37 #8 ... 13:29:37 13:29:37 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 13:29:37 #9 0.224 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 13:29:37 #9 0.380 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 13:29:37 #9 0.782 OK: 269 MiB in 64 packages 13:29:37 #9 DONE 1.0s 13:29:37 13:29:37 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 13:29:37 #8 DONE 0.8s 13:29:37 13:29:37 #10 [builder 3/7] WORKDIR /device-rest-go 13:29:37 #10 DONE 0.0s 13:29:37 13:29:37 #11 [builder 4/7] COPY go.mod vendor* ./ 13:29:37 #11 DONE 0.0s 13:29:37 13:29:37 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:29:37 #12 DONE 0.5s 13:29:37 13:29:37 #13 [stage-1 3/6] RUN apk --no-cache upgrade 13:29:37 #13 0.421 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 13:29:37 #13 0.482 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 13:29:38 #13 ... 13:29:38 13:29:38 #14 [builder 6/7] COPY . . 13:29:38 #14 DONE 0.2s 13:29:38 13:29:38 #13 [stage-1 3/6] RUN apk --no-cache upgrade 13:29:38 #13 0.837 OK: 7 MiB in 17 packages 13:29:38 #13 DONE 1.0s 13:29:38 13:29:38 #15 [builder 7/7] RUN make build 13:29:38 #15 0.293 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.35 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 13:30:05 #15 DONE 25.6s 13:30:05 13:30:05 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 13:30:05 #16 DONE 0.2s 13:30:05 13:30:05 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 13:30:05 #17 DONE 0.0s 13:30:05 13:30:05 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 13:30:05 #18 DONE 0.0s 13:30:05 13:30:05 #19 exporting to image 13:30:05 #19 exporting layers 0.1s done 13:30:05 #19 writing image sha256:c39a84fdb606f2767f9d799e6c46fe66b30f54149d960cf3e4f37264bb2d24cd done 13:30:05 #19 naming to docker.io/library/device-rest done 13:30:05 #19 DONE 0.1s 13:30:05 13:30:05 1 warning found (use docker --debug to expand): 13:30:05  - 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 13:30:05 provisioning config files... 13:30:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9795839236716123659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:05 ---> ****-login.sh 13:30:05 nexus3.edgexfoundry.org:10001 13:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:05 Login Succeeded 13:30:05 nexus3.edgexfoundry.org:10002 13:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:05 Login Succeeded 13:30:05 nexus3.edgexfoundry.org:10003 13:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:05 Login Succeeded 13:30:05 nexus3.edgexfoundry.org:10004 13:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:05 Login Succeeded 13:30:05 ****.io 13:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:05 Login Succeeded 13:30:05 ---> ****-login.sh ends [Pipeline] } 13:30:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:30:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:30:06 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 13:30:06 b09695e414fb6bc5c55bba4002466265ae521868 13:30:06 latest 13:30:06 4.1.0-dev.16 13:30:06 b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:30:06 main 13:30:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868 13:30:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:30:06 8906d5d5a16b: Preparing 13:30:06 4ebb3eb489f1: Preparing 13:30:06 82c7b19c5afb: Preparing 13:30:06 cb63f49b41ec: Preparing 13:30:06 966238cbf768: Preparing 13:30:06 256f393e029f: Preparing 13:30:06 256f393e029f: Waiting 13:30:06 966238cbf768: Pushed 13:30:06 cb63f49b41ec: Pushed 13:30:06 4ebb3eb489f1: Pushed 13:30:06 256f393e029f: Layer already exists 13:30:06 8906d5d5a16b: Pushed 13:30:10 82c7b19c5afb: Pushed 13:30:10 b09695e414fb6bc5c55bba4002466265ae521868: digest: sha256:479061720d1076d5da0362c8d3777ce4fda791fb7e0bb684b1a15deff58d1501 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 13:30:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:30:11 8906d5d5a16b: Preparing 13:30:11 4ebb3eb489f1: Preparing 13:30:11 82c7b19c5afb: Preparing 13:30:11 cb63f49b41ec: Preparing 13:30:11 966238cbf768: Preparing 13:30:11 256f393e029f: Preparing 13:30:11 256f393e029f: Waiting 13:30:11 966238cbf768: Layer already exists 13:30:11 cb63f49b41ec: Layer already exists 13:30:11 4ebb3eb489f1: Layer already exists 13:30:11 82c7b19c5afb: Layer already exists 13:30:11 8906d5d5a16b: Layer already exists 13:30:11 256f393e029f: Layer already exists 13:30:11 latest: digest: sha256:479061720d1076d5da0362c8d3777ce4fda791fb7e0bb684b1a15deff58d1501 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.16 13:30:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:30:12 8906d5d5a16b: Preparing 13:30:12 4ebb3eb489f1: Preparing 13:30:12 82c7b19c5afb: Preparing 13:30:12 cb63f49b41ec: Preparing 13:30:12 966238cbf768: Preparing 13:30:12 256f393e029f: Preparing 13:30:12 256f393e029f: Waiting 13:30:12 4ebb3eb489f1: Layer already exists 13:30:12 966238cbf768: Layer already exists 13:30:12 cb63f49b41ec: Layer already exists 13:30:12 8906d5d5a16b: Layer already exists 13:30:12 82c7b19c5afb: Layer already exists 13:30:12 256f393e029f: Layer already exists 13:30:12 4.1.0-dev.16: digest: sha256:479061720d1076d5da0362c8d3777ce4fda791fb7e0bb684b1a15deff58d1501 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:30:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:30:12 8906d5d5a16b: Preparing 13:30:12 4ebb3eb489f1: Preparing 13:30:12 82c7b19c5afb: Preparing 13:30:12 cb63f49b41ec: Preparing 13:30:12 966238cbf768: Preparing 13:30:12 256f393e029f: Preparing 13:30:12 256f393e029f: Waiting 13:30:12 cb63f49b41ec: Layer already exists 13:30:12 966238cbf768: Layer already exists 13:30:12 82c7b19c5afb: Layer already exists 13:30:12 8906d5d5a16b: Layer already exists 13:30:12 4ebb3eb489f1: Layer already exists 13:30:12 256f393e029f: Layer already exists 13:30:12 b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16: digest: sha256:479061720d1076d5da0362c8d3777ce4fda791fb7e0bb684b1a15deff58d1501 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 13:30:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:30:13 8906d5d5a16b: Preparing 13:30:13 4ebb3eb489f1: Preparing 13:30:13 82c7b19c5afb: Preparing 13:30:13 cb63f49b41ec: Preparing 13:30:13 966238cbf768: Preparing 13:30:13 256f393e029f: Preparing 13:30:13 256f393e029f: Waiting 13:30:13 8906d5d5a16b: Layer already exists 13:30:13 4ebb3eb489f1: Layer already exists 13:30:13 82c7b19c5afb: Layer already exists 13:30:13 cb63f49b41ec: Layer already exists 13:30:13 966238cbf768: Layer already exists 13:30:13 256f393e029f: Layer already exists 13:30:13 main: digest: sha256:479061720d1076d5da0362c8d3777ce4fda791fb7e0bb684b1a15deff58d1501 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:30:13 ===================================================== [Pipeline] echo 13:30:13 taggedImages: 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:latest 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.16 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 13:30:13 ========================================================= 13:30:13 [edgeXBuildMultiArch] RAW Config: 13:30:13 images: 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:latest 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.16 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:30:13 - nexus3.edgexfoundry.org:10004/device-rest:main 13:30:13 settingsFile: 13:30:13 device-rest-go-settings 13:30:13 ========================================================= [Pipeline] node 13:30:28 Still waiting to schedule task 13:30:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:31:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-772225 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 13:31:13 Running in /w/workspace/device-rest-go/221 [Pipeline] { [Pipeline] checkout 13:31:16 The recommended git tool is: git 13:31:23 using credential edgex-jenkins-ssh 13:31:23 Cloning the remote Git repository 13:31:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:31:24 > git init /w/workspace/device-rest-go/221 # timeout=10 13:31:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:31:24 > git --version # timeout=10 13:31:24 > git --version # 'git version 2.25.1' 13:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 13:31:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:31:31 Avoid second fetch 13:31:31 Checking out Revision b09695e414fb6bc5c55bba4002466265ae521868 (main) 13:31:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:31:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:31:31 > git config core.sparsecheckout # timeout=10 13:31:31 > git checkout -f b09695e414fb6bc5c55bba4002466265ae521868 # timeout=10 13:31:32 Commit message: "build: Bump Alpine from 3.20 to 3.22 (#501)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:31:36 provisioning config files... 13:31:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/221@tmp/config3014807105404063225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:37 ---> ****-login.sh 13:31:37 nexus3.edgexfoundry.org:10001 13:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:31:38 Configure a credential helper to remove this warning. See 13:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:31:38 13:31:38 Login Succeeded 13:31:38 nexus3.edgexfoundry.org:10002 13:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:31:38 Configure a credential helper to remove this warning. See 13:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:31:38 13:31:38 Login Succeeded 13:31:38 nexus3.edgexfoundry.org:10003 13:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:31:39 Configure a credential helper to remove this warning. See 13:31:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:31:39 13:31:39 Login Succeeded 13:31:39 nexus3.edgexfoundry.org:10004 13:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:31:39 Configure a credential helper to remove this warning. See 13:31:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:31:39 13:31:39 Login Succeeded 13:31:39 ****.io 13:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:31:40 Configure a credential helper to remove this warning. See 13:31:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:31:40 13:31:40 Login Succeeded 13:31:40 ---> ****-login.sh ends [Pipeline] } 13:31:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:31:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:31:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:31:40 ========================================================= 13:31:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 13:31:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:41 + 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 . 13:31:41 Sending build context to Docker daemon 141.8kB 13:31:41 Step 1/12 : ARG BASE=golang:1.23-alpine3.22 13:31:41 Step 2/12 : FROM ${BASE} AS builder 13:31:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:31:41 6e174226ea69: Pulling fs layer 13:31:41 7d1a427e917c: Pulling fs layer 13:31:41 382d65ac76eb: Pulling fs layer 13:31:41 13eebdc497b7: Pulling fs layer 13:31:41 4f4fb700ef54: Pulling fs layer 13:31:41 06715773e931: Pulling fs layer 13:31:41 7fa9dde3b271: Pulling fs layer 13:31:41 d57d563a94ed: Pulling fs layer 13:31:41 4f4fb700ef54: Waiting 13:31:41 06715773e931: Waiting 13:31:41 7fa9dde3b271: Waiting 13:31:41 d57d563a94ed: Waiting 13:31:41 13eebdc497b7: Waiting 13:31:41 7d1a427e917c: Download complete 13:31:41 13eebdc497b7: Verifying Checksum 13:31:41 13eebdc497b7: Download complete 13:31:41 4f4fb700ef54: Verifying Checksum 13:31:41 4f4fb700ef54: Download complete 13:31:42 06715773e931: Verifying Checksum 13:31:42 06715773e931: Download complete 13:31:42 6e174226ea69: Verifying Checksum 13:31:42 6e174226ea69: Download complete 13:31:42 d57d563a94ed: Verifying Checksum 13:31:42 d57d563a94ed: Download complete 13:31:43 6e174226ea69: Pull complete 13:31:43 7d1a427e917c: Pull complete 13:31:44 382d65ac76eb: Download complete 13:31:45 7fa9dde3b271: Verifying Checksum 13:31:45 7fa9dde3b271: Download complete 13:32:00 382d65ac76eb: Pull complete 13:32:00 13eebdc497b7: Pull complete 13:32:00 4f4fb700ef54: Pull complete 13:32:00 06715773e931: Pull complete 13:32:08 Running on prd-centos7-docker-4c-2g-772237 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:32:08 provisioning config files... 13:32:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14133964231970125580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:32:09 ---> ****-login.sh 13:32:09 nexus3.edgexfoundry.org:10001 13:32:10 7fa9dde3b271: Pull complete 13:32:12 d57d563a94ed: Pull complete 13:32:12 Digest: sha256:4fa25c0866557c2fe486be650b860b3e094b154ce580a08ea32adae8d957cdec 13:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 13:32:12 ---> 43a1c90cae9b 13:32:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:32:16 ---> Running in 240768ef3fba 13:32:16 Removing intermediate container 240768ef3fba 13:32:16 ---> e8ac1ca59eef 13:32:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:32:16 ---> Running in d4bc65d5f5a6 13:32:16 Removing intermediate container d4bc65d5f5a6 13:32:16 ---> 2a664731b301 13:32:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:32:16 ---> Running in 68b024b2e65e 13:32:17 Removing intermediate container 68b024b2e65e 13:32:17 ---> 8355cbed1e23 13:32:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:32:17 ---> Running in 237550715d38 13:32:18 Removing intermediate container 237550715d38 13:32:18 ---> 5c538ae8da8b 13:32:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:32:18 ---> Running in 5e57c9ef2188 13:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 13:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 13:32:22 (1/4) Installing openssh-keygen (10.0_p1-r9) 13:32:22 (2/4) Installing libedit (20250104.3.1-r1) 13:32:22 (3/4) Installing openssh-client-common (10.0_p1-r9) 13:32:22 (4/4) Installing openssh-client-default (10.0_p1-r9) 13:32:22 Executing busybox-1.37.0-r19.trigger 13:32:22 OK: 259 MiB in 64 packages 13:32:23 Removing intermediate container 5e57c9ef2188 13:32:23 ---> f71fcdcb00e4 13:32:23 Step 8/12 : WORKDIR /device-rest-go 13:32:23 ---> Running in 36220726f68e 13:32:24 Removing intermediate container 36220726f68e 13:32:24 ---> 6662c0fec0fa 13:32:24 Step 9/12 : COPY go.mod vendor* ./ 13:32:24 ---> 525fc3f044ee 13:32:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:32:24 ---> Running in e183777314b1 13:34:31 Removing intermediate container e183777314b1 13:34:31 ---> bcd3350f3a9e 13:34:31 Step 11/12 : COPY . . 13:34:31 ---> 26d817e80c8f 13:34:31 Step 12/12 : RUN $MAKE 13:34:31 ---> Running in b3c8a4478ff2 13:34:31 noop 13:34:31 Removing intermediate container b3c8a4478ff2 13:34:31 ---> 688fb2cad5ed 13:34:31 Successfully built 688fb2cad5ed 13:34:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:32 + docker inspect -f . ci-base-image-arm64 13:34:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:32 prd-ubuntu20.04-docker-arm64-4c-16g-772225 does not seem to be running inside a container 13:34:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/221 -v /w/workspace/device-rest-go/221:/w/workspace/device-rest-go/221:rw,z -v /w/workspace/device-rest-go/221@tmp:/w/workspace/device-rest-go/221@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 13:34:34 $ docker top d97520f477c877088caef9f75837c18af2a84439d24d4a1840b6d6ac8bfad1e0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:35 + go version 13:34:35 go version go1.23.12 linux/arm64 [Pipeline] } 13:34:35 $ docker stop --time=1 d97520f477c877088caef9f75837c18af2a84439d24d4a1840b6d6ac8bfad1e0 13:34:36 $ docker rm -f --volumes d97520f477c877088caef9f75837c18af2a84439d24d4a1840b6d6ac8bfad1e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:37 + docker inspect -f . ci-base-image-arm64 13:34:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:37 prd-ubuntu20.04-docker-arm64-4c-16g-772225 does not seem to be running inside a container 13:34:38 $ 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/221 -v /w/workspace/device-rest-go/221:/w/workspace/device-rest-go/221:rw,z -v /w/workspace/device-rest-go/221@tmp:/w/workspace/device-rest-go/221@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 13:34:39 $ docker top 0193dcd0bd83e37af4785256aceefd80dd741c070ab39b025e284dc636fe3247 -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:40 + git config --global --add safe.directory /w/workspace/device-rest-go/221 [Pipeline] fileExists [Pipeline] sh 13:34:41 + make test 13:34:41 go test ./... -coverprofile=coverage.out ./... 13:34:49 ? github.com/edgexfoundry/device-rest-go [no test files] 13:39:56 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 13:40:01 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 32.2% of statements 13:40:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:40:03 go vet ./... 13:41:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:41:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:41:24 ./bin/test-attribution-txt.sh 13:41:24 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 13:41:24 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 13:41:24 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 13:41:24 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 13:41:24 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 13:41:24 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 13:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 13:41:25 $ docker stop --time=1 0193dcd0bd83e37af4785256aceefd80dd741c070ab39b025e284dc636fe3247 13:41:27 $ docker rm -f --volumes 0193dcd0bd83e37af4785256aceefd80dd741c070ab39b025e284dc636fe3247 [Pipeline] // withDockerContainer [Pipeline] sh 13:41:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:41:29 Warning: overwriting stash ‘coverage-report’ 13:41:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:41:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:41:30 + ls -al . 13:41:30 total 240 13:41:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 13:34 . 13:41:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 13:31 .. 13:41:30 -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 13:31 .dockerignore 13:41:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 13:31 .git 13:41:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 13:31 .github 13:41:30 -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 13:31 .gitignore 13:41:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 13:31 .golangci.yml 13:41:30 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 31 13:31 Attribution.txt 13:41:30 -rw-rw-r-- 1 jenkins jenkins 18492 Oct 31 13:31 CHANGELOG.md 13:41:30 -rw-rw-r-- 1 jenkins jenkins 1697 Oct 31 13:31 Dockerfile 13:41:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 13:31 GOVERNANCE.md 13:41:30 -rw-rw-r-- 1 jenkins jenkins 704 Oct 31 13:31 Jenkinsfile 13:41:30 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 13:31 LICENSE 13:41:30 -rw-rw-r-- 1 jenkins jenkins 2598 Oct 31 13:31 Makefile 13:41:30 -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 13:31 OWNERS.md 13:41:30 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 31 13:31 README.md 13:41:30 -rw-rw-r-- 1 jenkins jenkins 12 Oct 31 13:28 VERSION 13:41:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 13:31 bin 13:41:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 13:31 cmd 13:41:30 -rw-r--r-- 1 jenkins jenkins 14565 Oct 31 13:40 coverage.out 13:41:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 13:31 driver 13:41:30 -rw-rw-r-- 1 jenkins jenkins 6324 Oct 31 13:31 go.mod 13:41:30 -rw-rw-r-- 1 jenkins jenkins 86944 Oct 31 13:31 go.sum 13:41:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 13:31 openapi 13:41:30 -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 13:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:31 + 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=b09695e414fb6bc5c55bba4002466265ae521868 --label arch=arm64 --label version=4.1.0-dev.16 . 13:41:31 Sending build context to Docker daemon 157.2kB 13:41:31 Step 1/26 : ARG BASE=golang:1.23-alpine3.22 13:41:31 Step 2/26 : FROM ${BASE} AS builder 13:41:31 ---> 688fb2cad5ed 13:41:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:41:31 ---> Running in fd17f08a025f 13:41:32 Removing intermediate container fd17f08a025f 13:41:32 ---> 300331c17a03 13:41:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:41:32 ---> Running in b2b0d38f3136 13:41:32 Removing intermediate container b2b0d38f3136 13:41:32 ---> c813ade64cb5 13:41:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:41:32 ---> Running in 31403029dd06 13:41:33 Removing intermediate container 31403029dd06 13:41:33 ---> 29a78d4abd4f 13:41:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:41:33 ---> Running in 4f155b208da5 13:41:33 Removing intermediate container 4f155b208da5 13:41:33 ---> 26bd589372d9 13:41:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:41:33 ---> Running in d279b2fa2945 13:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 13:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 13:41:38 OK: 259 MiB in 64 packages 13:41:39 Removing intermediate container d279b2fa2945 13:41:39 ---> 421d18f56c87 13:41:39 Step 8/26 : WORKDIR /device-rest-go 13:41:39 ---> Running in 16525f17516d 13:41:40 Removing intermediate container 16525f17516d 13:41:40 ---> ede047a6d678 13:41:40 Step 9/26 : COPY go.mod vendor* ./ 13:41:41 ---> 06fc6c7b451d 13:41:41 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:41:41 ---> Running in a91298cc4f4c 13:41:43 Removing intermediate container a91298cc4f4c 13:41:43 ---> 78e5fbb5bd8f 13:41:43 Step 11/26 : COPY . . 13:41:44 ---> 047573e96d25 13:41:44 Step 12/26 : RUN $MAKE 13:41:44 ---> Running in d070269e0fc0 13:41:46 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.35 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 13:46:38 Removing intermediate container d070269e0fc0 13:46:38 ---> 4e3396fe4d2d 13:46:38 Step 13/26 : FROM alpine:3.22 13:46:38 3.22: Pulling from library/alpine 13:46:38 6b59a28fa201: Pulling fs layer 13:46:38 6b59a28fa201: Verifying Checksum 13:46:38 6b59a28fa201: Download complete 13:46:38 6b59a28fa201: Pull complete 13:46:38 Digest: sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 13:46:38 Status: Downloaded newer image for alpine:3.22 13:46:38 ---> 171e65262c80 13:46:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:46:38 ---> Running in 508d313b9563 13:46:39 Removing intermediate container 508d313b9563 13:46:39 ---> f24aedd5abd8 13:46:39 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 13:46:39 ---> Running in 39a79d75c96b 13:46:39 Removing intermediate container 39a79d75c96b 13:46:39 ---> 7f519a7ee461 13:46:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 13:46:39 ---> Running in bd135078431b 13:46:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 13:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 13:46:43 (1/1) Installing dumb-init (1.2.5-r3) 13:46:43 Executing busybox-1.37.0-r19.trigger 13:46:43 OK: 8 MiB in 17 packages 13:46:44 Removing intermediate container bd135078431b 13:46:44 ---> 6e9a01c782bb 13:46:44 Step 17/26 : RUN apk --no-cache upgrade 13:46:45 ---> Running in f851fa635930 13:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 13:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 13:46:48 OK: 8 MiB in 17 packages 13:46:49 Removing intermediate container f851fa635930 13:46:49 ---> 57af2068991e 13:46:49 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 13:46:52 ---> 8a7420a13fec 13:46:52 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 13:46:52 ---> 2bccd5f71530 13:46:52 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 13:46:53 ---> f0e259d6a6cc 13:46:53 Step 21/26 : EXPOSE 59986 13:46:53 ---> Running in 8dcb8ca613e1 13:46:53 Removing intermediate container 8dcb8ca613e1 13:46:53 ---> 188932c0f904 13:46:53 Step 22/26 : ENTRYPOINT ["/device-rest"] 13:46:53 ---> Running in d7aba51b1472 13:46:54 Removing intermediate container d7aba51b1472 13:46:54 ---> 98cf57ead8f3 13:46:54 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 13:46:54 ---> Running in 8ca23ac3fece 13:46:54 Removing intermediate container 8ca23ac3fece 13:46:54 ---> fea0b2a46054 13:46:54 Step 24/26 : LABEL arch=arm64 13:46:54 ---> Running in 1a84839509d7 13:46:55 Removing intermediate container 1a84839509d7 13:46:55 ---> 11e299ffa352 13:46:55 Step 25/26 : LABEL git_sha=b09695e414fb6bc5c55bba4002466265ae521868 13:46:55 ---> Running in d40590868439 13:46:55 Removing intermediate container d40590868439 13:46:55 ---> 05bcbe04725a 13:46:55 Step 26/26 : LABEL version=4.1.0-dev.16 13:46:55 ---> Running in 74394fdee017 13:46:56 Removing intermediate container 74394fdee017 13:46:56 ---> 76c785db8c71 13:46:56 [Warning] One or more build-args [ARCH] were not consumed 13:46:56 Successfully built 76c785db8c71 13:46:56 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 13:46:56 provisioning config files... 13:46:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/221@tmp/config13685517121696115500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:56 ---> ****-login.sh 13:46:56 nexus3.edgexfoundry.org:10001 13:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:46:56 Configure a credential helper to remove this warning. See 13:46:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:46:56 13:46:56 Login Succeeded 13:46:56 nexus3.edgexfoundry.org:10002 13:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:46:57 Configure a credential helper to remove this warning. See 13:46:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:46:57 13:46:57 Login Succeeded 13:46:57 nexus3.edgexfoundry.org:10003 13:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:46:58 Configure a credential helper to remove this warning. See 13:46:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:46:58 13:46:58 Login Succeeded 13:46:58 nexus3.edgexfoundry.org:10004 13:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:46:58 Configure a credential helper to remove this warning. See 13:46:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:46:58 13:46:58 Login Succeeded 13:46:58 ****.io 13:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:46:58 Configure a credential helper to remove this warning. See 13:46:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:46:58 13:46:58 Login Succeeded 13:46:58 ---> ****-login.sh ends [Pipeline] } 13:46:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:46:58 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 13:46:58 b09695e414fb6bc5c55bba4002466265ae521868 13:46:58 latest 13:46:58 4.1.0-dev.16 13:46:58 b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:46:58 main 13:46:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868 13:46:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:46:59 d98d82a59d37: Preparing 13:46:59 d4980eff8678: Preparing 13:46:59 13192ee28400: Preparing 13:46:59 17918a528f15: Preparing 13:46:59 82ba81eb543a: Preparing 13:46:59 0e64f2360a44: Preparing 13:47:00 d98d82a59d37: Pushed 13:47:00 17918a528f15: Pushed 13:47:00 d4980eff8678: Pushed 13:47:00 82ba81eb543a: Pushed 13:47:00 0e64f2360a44: Layer already exists 13:47:08 13192ee28400: Pushed 13:47:08 b09695e414fb6bc5c55bba4002466265ae521868: digest: sha256:dffe5d4d661cefcb59f51911cf7c45d5cc30d1c05facdb6162bebbdd626c07de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 13:47:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:47:09 d98d82a59d37: Preparing 13:47:09 d4980eff8678: Preparing 13:47:09 13192ee28400: Preparing 13:47:09 17918a528f15: Preparing 13:47:09 82ba81eb543a: Preparing 13:47:09 0e64f2360a44: Preparing 13:47:09 0e64f2360a44: Waiting 13:47:09 17918a528f15: Layer already exists 13:47:09 82ba81eb543a: Layer already exists 13:47:09 13192ee28400: Layer already exists 13:47:09 d4980eff8678: Layer already exists 13:47:09 d98d82a59d37: Layer already exists 13:47:09 0e64f2360a44: Layer already exists 13:47:09 latest: digest: sha256:dffe5d4d661cefcb59f51911cf7c45d5cc30d1c05facdb6162bebbdd626c07de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.16 13:47:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:47:10 d98d82a59d37: Preparing 13:47:10 d4980eff8678: Preparing 13:47:10 13192ee28400: Preparing 13:47:10 17918a528f15: Preparing 13:47:10 82ba81eb543a: Preparing 13:47:10 0e64f2360a44: Preparing 13:47:10 d4980eff8678: Layer already exists 13:47:10 17918a528f15: Layer already exists 13:47:10 82ba81eb543a: Layer already exists 13:47:10 13192ee28400: Layer already exists 13:47:10 d98d82a59d37: Layer already exists 13:47:10 0e64f2360a44: Layer already exists 13:47:10 4.1.0-dev.16: digest: sha256:dffe5d4d661cefcb59f51911cf7c45d5cc30d1c05facdb6162bebbdd626c07de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:47:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:47:11 d98d82a59d37: Preparing 13:47:11 d4980eff8678: Preparing 13:47:11 13192ee28400: Preparing 13:47:11 17918a528f15: Preparing 13:47:11 82ba81eb543a: Preparing 13:47:11 0e64f2360a44: Preparing 13:47:11 0e64f2360a44: Waiting 13:47:11 d98d82a59d37: Layer already exists 13:47:11 d4980eff8678: Layer already exists 13:47:11 17918a528f15: Layer already exists 13:47:11 13192ee28400: Layer already exists 13:47:11 82ba81eb543a: Layer already exists 13:47:11 0e64f2360a44: Layer already exists 13:47:11 b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16: digest: sha256:dffe5d4d661cefcb59f51911cf7c45d5cc30d1c05facdb6162bebbdd626c07de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 13:47:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:47:12 d98d82a59d37: Preparing 13:47:12 d4980eff8678: Preparing 13:47:12 13192ee28400: Preparing 13:47:12 17918a528f15: Preparing 13:47:12 82ba81eb543a: Preparing 13:47:12 0e64f2360a44: Preparing 13:47:12 0e64f2360a44: Waiting 13:47:12 82ba81eb543a: Layer already exists 13:47:12 d4980eff8678: Layer already exists 13:47:12 17918a528f15: Layer already exists 13:47:12 d98d82a59d37: Layer already exists 13:47:12 13192ee28400: Layer already exists 13:47:12 0e64f2360a44: Layer already exists 13:47:12 main: digest: sha256:dffe5d4d661cefcb59f51911cf7c45d5cc30d1c05facdb6162bebbdd626c07de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:47:12 ===================================================== [Pipeline] echo 13:47:12 taggedImages: 13:47:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868 13:47:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 13:47:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.16 13:47:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 13:47:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 13:47:12 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868 [Pipeline] echo 13:47:12 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 13:47:12 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.16 [Pipeline] echo 13:47:12 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:b09695e414fb6bc5c55bba4002466265ae521868-4.1.0-dev.16 [Pipeline] echo 13:47:12 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 13:47:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:13 13:47:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:13 arm64: Pulling from edgex-lftools-log-publisher 13:47:13 8998bd30e6a1: Pulling fs layer 13:47:13 04944245beec: Pulling fs layer 13:47:13 699f458cf7ca: Pulling fs layer 13:47:13 765212b225bb: Pulling fs layer 13:47:13 f23df028b6ca: Pulling fs layer 13:47:13 d65c8cfc05b1: Pulling fs layer 13:47:13 2437ff75d9bd: Pulling fs layer 13:47:13 f23df028b6ca: Waiting 13:47:13 d65c8cfc05b1: Waiting 13:47:13 2437ff75d9bd: Waiting 13:47:13 765212b225bb: Waiting 13:47:13 04944245beec: Verifying Checksum 13:47:13 04944245beec: Download complete 13:47:13 765212b225bb: Verifying Checksum 13:47:13 765212b225bb: Download complete 13:47:13 f23df028b6ca: Verifying Checksum 13:47:13 f23df028b6ca: Download complete 13:47:13 d65c8cfc05b1: Verifying Checksum 13:47:13 d65c8cfc05b1: Download complete 13:47:14 699f458cf7ca: Verifying Checksum 13:47:14 699f458cf7ca: Download complete 13:47:14 8998bd30e6a1: Verifying Checksum 13:47:14 8998bd30e6a1: Download complete 13:47:17 2437ff75d9bd: Verifying Checksum 13:47:17 2437ff75d9bd: Download complete 13:47:19 8998bd30e6a1: Pull complete 13:47:20 04944245beec: Pull complete 13:47:22 699f458cf7ca: Pull complete 13:47:22 765212b225bb: Pull complete 13:47:25 f23df028b6ca: Pull complete 13:47:25 d65c8cfc05b1: Pull complete 13:47:43 2437ff75d9bd: Pull complete 13:47:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:44 prd-ubuntu20.04-docker-arm64-4c-16g-772225 does not seem to be running inside a container 13:47:44 $ 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/221 -v /w/workspace/device-rest-go/221:/w/workspace/device-rest-go/221:rw,z -v /w/workspace/device-rest-go/221@tmp:/w/workspace/device-rest-go/221@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 13:47:47 $ docker top f30a3740b7fd27b26ddcb76027b808bec13ee895536a4c1374d81114a1c4a8c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:47:48 ---> job-cost.sh 13:47:48 lf-activate-venv: SKIPPING 13:47:48 INFO: No Stack... 13:47:49 INFO: Retrieving Pricing Info for: v3-standard-4 13:47:50 INFO: Archiving Costs [Pipeline] sh 13:47:50 + cat /w/workspace/device-rest-go/221/archives/cost.csv 13:47:50 + cut -d, -f6 [Pipeline] lock 13:47:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] 13:47:50 Resource [jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] did not exist. Created. 13:47:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:47:51 + echo total: 0.10999999940395355 [Pipeline] stash 13:47:51 Stashed 1 file(s) [Pipeline] } 13:47:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] [Pipeline] // lock [Pipeline] } 13:47:51 $ docker stop --time=1 f30a3740b7fd27b26ddcb76027b808bec13ee895536a4c1374d81114a1c4a8c8 13:47:53 $ docker rm -f --volumes f30a3740b7fd27b26ddcb76027b808bec13ee895536a4c1374d81114a1c4a8c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:27:36 Cancelling nested steps due to timeout 19:27:36 Sending interrupt signal to process 19:27:37 script returned exit code 143 [Pipeline] } 19:27:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:27:38 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:27:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:27:39 ---> package-listing.sh 19:27:39 ++ facter osfamily 19:27:39 ++ tr '[:upper:]' '[:lower:]' 19:27:39 + OS_FAMILY=redhat 19:27:39 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 19:27:39 + START_PACKAGES=/tmp/packages_start.txt 19:27:39 + END_PACKAGES=/tmp/packages_end.txt 19:27:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:27:39 + PACKAGES=/tmp/packages_start.txt 19:27:39 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:27:39 + PACKAGES=/tmp/packages_end.txt 19:27:39 + case "${OS_FAMILY}" in 19:27:39 + rpm -qa 19:27:39 + sort 19:27:39 + '[' -f /tmp/packages_start.txt ']' 19:27:39 + '[' -f /tmp/packages_end.txt ']' 19:27:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:27:39 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:27:39 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 19:27:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 19:27:39 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 19:27:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:27:40 19:27:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:27:40 latest: Pulling from edgex-lftools-log-publisher 19:27:40 5eb5b503b376: Pulling fs layer 19:27:40 5c69ac0246d0: Pulling fs layer 19:27:40 ec43610c2a17: Pulling fs layer 19:27:40 3a2ae6a8a46f: Pulling fs layer 19:27:40 33b1e0a273af: Pulling fs layer 19:27:40 5d3b04190fa2: Pulling fs layer 19:27:40 2f39f015ded8: Pulling fs layer 19:27:40 3a2ae6a8a46f: Waiting 19:27:40 33b1e0a273af: Waiting 19:27:40 5d3b04190fa2: Waiting 19:27:40 2f39f015ded8: Waiting 19:27:40 5c69ac0246d0: Verifying Checksum 19:27:40 5c69ac0246d0: Download complete 19:27:40 3a2ae6a8a46f: Verifying Checksum 19:27:40 3a2ae6a8a46f: Download complete 19:27:40 ec43610c2a17: Verifying Checksum 19:27:40 ec43610c2a17: Download complete 19:27:41 33b1e0a273af: Verifying Checksum 19:27:41 33b1e0a273af: Download complete 19:27:41 5d3b04190fa2: Verifying Checksum 19:27:41 5d3b04190fa2: Download complete 19:27:41 5eb5b503b376: Verifying Checksum 19:27:41 5eb5b503b376: Download complete 19:27:41 2f39f015ded8: Verifying Checksum 19:27:41 2f39f015ded8: Download complete 19:27:42 5eb5b503b376: Pull complete 19:27:42 5c69ac0246d0: Pull complete 19:27:42 ec43610c2a17: Pull complete 19:27:42 3a2ae6a8a46f: Pull complete 19:27:43 33b1e0a273af: Pull complete 19:27:43 5d3b04190fa2: Pull complete 19:27:47 2f39f015ded8: Pull complete 19:27:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:27:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:27:47 prd-centos7-docker-4c-2g-772237 does not seem to be running inside a container 19:27:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:27:50 $ docker top 1024639c534064a4dbab0cfb03acf88865c59ee5648238846b0a4b66a92f6032 -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:51 + touch /tmp/pre-build-complete [Pipeline] sh 19:27:51 + mkdir -p /var/log/sysstat [Pipeline] sh 19:27:51 + ls /var/log/sa-host 19:27:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:27:51 provisioning config files... 19:27:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17121866431777315053tmp [Pipeline] { [Pipeline] echo 19:27:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:27:52 ---> create-netrc.sh [Pipeline] } 19:27:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:27:52 ---> python-tools-install.sh [Pipeline] echo 19:27:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:27:52 ---> sudo-logs.sh 19:27:52 Archiving 'sudo' log.. 19:27:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-772237.novalocal: Name or service not known 19:27:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-772237.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 19:27:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:27:53 ---> job-cost.sh 19:27:53 lf-activate-venv: SKIPPING 19:27:53 DEBUG: total: 0.10999999940395355 19:27:53 INFO: Retrieving Stack Cost... 19:27:53 INFO: Retrieving Pricing Info for: v3-standard-2 19:27:54 INFO: Archiving Costs [Pipeline] echo 19:27:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:27:54 ---> logs-deploy.sh 19:27:54 lf-activate-venv: SKIPPING 19:27:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/221 19:27:54 INFO: archiving workspace using pattern(s): 19:27:55 Archives upload complete. 19:27:55 INFO: archiving logs to Nexus 19:27:55 ---> uname -a: 19:27:55 Linux prd-centos7-docker-4c-2g-772237.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 19:27:55 19:27:55 19:27:55 ---> lscpu: 19:27:55 Architecture: x86_64 19:27:55 CPU op-mode(s): 32-bit, 64-bit 19:27:55 Byte Order: Little Endian 19:27:55 Address sizes: 40 bits physical, 48 bits virtual 19:27:55 CPU(s): 2 19:27:55 On-line CPU(s) list: 0,1 19:27:55 Thread(s) per core: 1 19:27:55 Core(s) per socket: 1 19:27:55 Socket(s): 2 19:27:55 NUMA node(s): 1 19:27:55 Vendor ID: AuthenticAMD 19:27:55 CPU family: 23 19:27:55 Model: 49 19:27:55 Model name: AMD EPYC-Rome Processor 19:27:55 Stepping: 0 19:27:55 CPU MHz: 2800.000 19:27:55 BogoMIPS: 5600.00 19:27:55 Virtualization: AMD-V 19:27:55 Hypervisor vendor: KVM 19:27:55 Virtualization type: full 19:27:55 L1d cache: 64 KiB 19:27:55 L1i cache: 64 KiB 19:27:55 L2 cache: 1 MiB 19:27:55 L3 cache: 32 MiB 19:27:55 NUMA node0 CPU(s): 0,1 19:27:55 Vulnerability Itlb multihit: Not affected 19:27:55 Vulnerability L1tf: Not affected 19:27:55 Vulnerability Mds: Not affected 19:27:55 Vulnerability Meltdown: Not affected 19:27:55 Vulnerability Mmio stale data: Not affected 19:27:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:27:55 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:27:55 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:27:55 Vulnerability Srbds: Not affected 19:27:55 Vulnerability Tsx async abort: Not affected 19:27:55 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 19:27:55 19:27:55 19:27:55 ---> nproc: 19:27:55 2 19:27:55 19:27:55 19:27:55 ---> df -h: 19:27:55 Filesystem Size Used Avail Use% Mounted on 19:27:55 overlay 40G 6.8G 34G 17% / 19:27:55 tmpfs 64M 0 64M 0% /dev 19:27:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 19:27:55 shm 64M 0 64M 0% /dev/shm 19:27:55 /dev/vda1 40G 6.8G 34G 17% /facter-os 19:27:55 19:27:55 19:27:55 Cannot open /var/log/sysstat/sa31: No such file or directory 19:27:55 Please check if data collecting is enabled 19:27:55 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:27:56 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 19:27:56 $ docker stop --time=1 1024639c534064a4dbab0cfb03acf88865c59ee5648238846b0a4b66a92f6032 19:27:57 $ docker rm -f --volumes 1024639c534064a4dbab0cfb03acf88865c59ee5648238846b0a4b66a92f6032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 19:27:57 [WS-CLEANUP] Deleting project workspace... 19:27:57 [WS-CLEANUP] Deferred wipeout is used... 19:27:57 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:27:57 19:27:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:27:58 latest: Pulling from edgex-lftools-log-publisher 19:27:58 5eb5b503b376: Pulling fs layer 19:27:58 5c69ac0246d0: Pulling fs layer 19:27:58 ec43610c2a17: Pulling fs layer 19:27:58 3a2ae6a8a46f: Pulling fs layer 19:27:58 33b1e0a273af: Pulling fs layer 19:27:58 5d3b04190fa2: Pulling fs layer 19:27:58 2f39f015ded8: Pulling fs layer 19:27:58 5d3b04190fa2: Waiting 19:27:58 33b1e0a273af: Waiting 19:27:58 3a2ae6a8a46f: Waiting 19:27:58 2f39f015ded8: Waiting 19:27:58 5c69ac0246d0: Verifying Checksum 19:27:58 5c69ac0246d0: Download complete 19:27:58 3a2ae6a8a46f: Verifying Checksum 19:27:58 3a2ae6a8a46f: Download complete 19:27:58 33b1e0a273af: Verifying Checksum 19:27:58 33b1e0a273af: Download complete 19:27:58 ec43610c2a17: Verifying Checksum 19:27:58 ec43610c2a17: Download complete 19:27:58 5d3b04190fa2: Verifying Checksum 19:27:58 5d3b04190fa2: Download complete 19:27:58 5eb5b503b376: Verifying Checksum 19:27:58 5eb5b503b376: Download complete 19:27:59 2f39f015ded8: Verifying Checksum 19:27:59 2f39f015ded8: Download complete 19:28:00 5eb5b503b376: Pull complete 19:28:00 5c69ac0246d0: Pull complete 19:28:00 ec43610c2a17: Pull complete 19:28:00 3a2ae6a8a46f: Pull complete 19:28:00 33b1e0a273af: Pull complete 19:28:00 5d3b04190fa2: Pull complete 19:28:07 2f39f015ded8: Pull complete 19:28:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:28:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:28:07 prd-ubuntu20.04-docker-8c-8g-772216 does not seem to be running inside a container 19:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:28:09 $ docker top 02ce57522b89c2f9cec0c0a59081d9305c634da67a8d787a83876a90eb7d2247 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:28:10 ---> job-cost.sh 19:28:10 lf-activate-venv: SKIPPING 19:28:10 INFO: No Stack... 19:28:10 INFO: Retrieving Pricing Info for: v3-standard-8 19:28:10 INFO: Archiving Costs [Pipeline] sh 19:28:10 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 19:28:10 + cut -d, -f6 [Pipeline] lock 19:28:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] 19:28:10 Resource [jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] did not exist. Created. 19:28:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:28:11 /w/workspace/edgexfoundry_device-rest-go_main@tmp/durable-56b6bfdc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:28:11 + echo total: 1.5299999713897705 [Pipeline] stash 19:28:11 Warning: overwriting stash ‘stack-cost’ 19:28:11 Stashed 1 file(s) [Pipeline] } 19:28:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-221-stack-cost] [Pipeline] // lock [Pipeline] } 19:28:11 $ docker stop --time=1 02ce57522b89c2f9cec0c0a59081d9305c634da67a8d787a83876a90eb7d2247 19:28:12 $ docker rm -f --volumes 02ce57522b89c2f9cec0c0a59081d9305c634da67a8d787a83876a90eb7d2247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:28:12 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:28:13 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 19:28:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 19:28:13 total 16 19:28:13 drwxr-xr-x 3 root root 4096 Oct 31 19:28 . 19:28:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 19:28 .. 19:28:13 drwxr-xr-x 2 root root 4096 Oct 31 19:28 cost 19:28:13 -rw-r--r-- 1 root root 88 Oct 31 19:28 cost.csv 19:28:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 19:28:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 19:28:13 total 16 19:28:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 19:28 . 19:28:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 19:28 .. 19:28:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 19:28 cost 19:28:13 -rw-r--r-- 1 jenkins jenkins 88 Oct 31 19:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:28:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:28:14 ---> package-listing.sh 19:28:14 ++ facter osfamily 19:28:14 ++ tr '[:upper:]' '[:lower:]' 19:28:15 + OS_FAMILY=debian 19:28:15 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 19:28:15 + START_PACKAGES=/tmp/packages_start.txt 19:28:15 + END_PACKAGES=/tmp/packages_end.txt 19:28:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:28:15 + PACKAGES=/tmp/packages_start.txt 19:28:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:28:15 + PACKAGES=/tmp/packages_end.txt 19:28:15 + case "${OS_FAMILY}" in 19:28:15 + dpkg -l 19:28:15 + grep '^ii' 19:28:15 + '[' -f /tmp/packages_start.txt ']' 19:28:15 + '[' -f /tmp/packages_end.txt ']' 19:28:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:28:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:28:15 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 19:28:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 19:28:15 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 19:28:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:28:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:28:16 prd-ubuntu20.04-docker-8c-8g-772216 does not seem to be running inside a container 19:28:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:28:16 $ docker top 469f7ddd4817fa498fa346b77700a29f1496f5ebc8b48547be34212b667c2497 -eo pid,comm [Pipeline] { [Pipeline] sh 19:28:16 + touch /tmp/pre-build-complete [Pipeline] sh 19:28:16 + mkdir -p /var/log/sysstat [Pipeline] sh 19:28:17 + ls /var/log/sa-host 19:28:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:17 provisioning config files... 19:28:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3028910177531943962tmp [Pipeline] { [Pipeline] echo 19:28:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:28:17 ---> create-netrc.sh [Pipeline] } 19:28:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:28:17 ---> python-tools-install.sh [Pipeline] echo 19:28:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:28:18 ---> sudo-logs.sh 19:28:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:28:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:28:18 ---> job-cost.sh 19:28:18 lf-activate-venv: SKIPPING 19:28:18 DEBUG: total: 1.5299999713897705 19:28:18 INFO: Retrieving Stack Cost... 19:28:18 INFO: Retrieving Pricing Info for: v3-standard-8 19:28:18 INFO: Archiving Costs [Pipeline] echo 19:28:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:28:19 ---> logs-deploy.sh 19:28:19 lf-activate-venv: SKIPPING 19:28:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/221 19:28:19 INFO: archiving workspace using pattern(s): 19:28:20 Archives upload complete. 19:28:20 INFO: archiving logs to Nexus