Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb0fd8016af00a129c4ff3503c0a197242dc309a 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-ssh6353485317882026084.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-ssh10145844451304525090.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-ssh12325019402616139562.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-ssh12420136748695167359.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-ssh7336273334899428051.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.25] ========================================================= [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.25 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3828 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 bb0fd8016af00a129c4ff3503c0a197242dc309a (main) Commit message: "Merge pull request #523 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.58" > 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 bb0fd8016af00a129c4ff3503c0a197242dc309a # timeout=10 > git rev-list --no-walk 3991c903302a7d9adf12b9af461746031ae8458c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:50 ========================================================= 02:31:50 EdgeX Global Pipelines Version Info 02:31:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:51 ------------------- 02:31:51 stable info: 02:31:51 ------------------- 02:31:51 Commited By: Cherry Wang cherry@iotechsys.com 02:31:51 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 02:31:51 Message: update stable to v1.0.278 02:31:52 ------------------- 02:31:52 experimental info: 02:31:52 ------------------- 02:31:52 Commited By: **** collab-it+edgex@linuxfoundation.org 02:31:52 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 02:31:52 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] echo 02:31:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb0fd80 [Pipeline] echo 02:31:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:53 provisioning config files... 02:31:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12346016274379736092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:53 ---> ****-login.sh 02:31:53 nexus3.edgexfoundry.org:10001 02:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:53 02:31:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:31:53 Configure a credential helper to remove this warning. See 02:31:53 https://docs.****.com/go/credential-store/ 02:31:53 02:31:53 Login Succeeded 02:31:53 nexus3.edgexfoundry.org:10002 02:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:53 02:31:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:31:53 Configure a credential helper to remove this warning. See 02:31:53 https://docs.****.com/go/credential-store/ 02:31:53 02:31:53 Login Succeeded 02:31:53 nexus3.edgexfoundry.org:10003 02:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:53 02:31:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:31:53 Configure a credential helper to remove this warning. See 02:31:53 https://docs.****.com/go/credential-store/ 02:31:53 02:31:53 Login Succeeded 02:31:53 nexus3.edgexfoundry.org:10004 02:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:53 02:31:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:31:53 Configure a credential helper to remove this warning. See 02:31:53 https://docs.****.com/go/credential-store/ 02:31:53 02:31:53 Login Succeeded 02:31:53 ****.io 02:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:54 02:31:54 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:31:54 Configure a credential helper to remove this warning. See 02:31:54 https://docs.****.com/go/credential-store/ 02:31:54 02:31:54 Login Succeeded 02:31:54 ---> ****-login.sh ends [Pipeline] } 02:31:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:31:55 + git rev-list -1 --merges bb0fd8016af00a129c4ff3503c0a197242dc309a~1..bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] echo 02:31:55 -----------> git rev-list -1 --merges bb0fd8016af00a129c4ff3503c0a197242dc309a~1..bb0fd8016af00a129c4ff3503c0a197242dc309a bb0fd8016af00a129c4ff3503c0a197242dc309a 02:31:55 bb0fd8016af00a129c4ff3503c0a197242dc309a [false] [Pipeline] sh 02:31:55 + git log --format=format:%s -1 bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] echo 02:31:55 ========================================================= 02:31:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:31:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:55 + git log --format=format:%s -1 bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] echo 02:31:55 [semverPrep] GIT_COMMIT: bb0fd8016af00a129c4ff3503c0a197242dc309a, Commit Message: Merge pull request #523 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.58 [Pipeline] echo 02:31:55 [semverPrep] This is not a build commit. [Pipeline] sh 02:31:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:31:56 + grep -v github /etc/ssh/ssh_known_hosts 02:31:56 + [ -e /tmp/ssh_known_hosts ] 02:31:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:31:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:31:56 + sudo tee -a /etc/ssh/ssh_known_hosts 02:31:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:56 02:31:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:56 0.1.4: Pulling from edgex-devops/py-git-semver 02:31:56 3dae71ba6b94: Pulling fs layer 02:31:56 6bf1a483ea7c: Pulling fs layer 02:31:56 f5dfc541a4d3: Pulling fs layer 02:31:56 461d9e800cba: Pulling fs layer 02:31:56 80192f66455f: Pulling fs layer 02:31:56 2e8e34ca0e6c: Pulling fs layer 02:31:56 a29436f7fd5d: Pulling fs layer 02:31:56 923cac83aea3: Pulling fs layer 02:31:56 25ad8b0a4227: Pulling fs layer 02:31:56 db01528c6b51: Pulling fs layer 02:31:56 28988de357af: Pulling fs layer 02:31:56 461d9e800cba: Waiting 02:31:56 80192f66455f: Waiting 02:31:56 2e8e34ca0e6c: Waiting 02:31:56 a29436f7fd5d: Waiting 02:31:56 923cac83aea3: Waiting 02:31:56 25ad8b0a4227: Waiting 02:31:56 db01528c6b51: Waiting 02:31:56 28988de357af: Waiting 02:31:56 6bf1a483ea7c: Verifying Checksum 02:31:56 6bf1a483ea7c: Download complete 02:31:56 461d9e800cba: Verifying Checksum 02:31:56 461d9e800cba: Download complete 02:31:56 80192f66455f: Download complete 02:31:57 f5dfc541a4d3: Verifying Checksum 02:31:57 f5dfc541a4d3: Download complete 02:31:57 3dae71ba6b94: Verifying Checksum 02:31:57 3dae71ba6b94: Download complete 02:31:57 923cac83aea3: Verifying Checksum 02:31:57 923cac83aea3: Download complete 02:31:57 25ad8b0a4227: Verifying Checksum 02:31:57 25ad8b0a4227: Download complete 02:31:57 db01528c6b51: Download complete 02:31:57 28988de357af: Verifying Checksum 02:31:57 28988de357af: Download complete 02:31:57 a29436f7fd5d: Verifying Checksum 02:31:57 a29436f7fd5d: Download complete 02:31:57 2e8e34ca0e6c: Verifying Checksum 02:31:57 2e8e34ca0e6c: Download complete 02:31:58 3dae71ba6b94: Pull complete 02:31:58 6bf1a483ea7c: Pull complete 02:31:59 f5dfc541a4d3: Pull complete 02:31:59 461d9e800cba: Pull complete 02:31:59 80192f66455f: Pull complete 02:32:05 2e8e34ca0e6c: Pull complete 02:32:05 a29436f7fd5d: Pull complete 02:32:05 923cac83aea3: Pull complete 02:32:05 25ad8b0a4227: Pull complete 02:32:05 db01528c6b51: Pull complete 02:32:05 28988de357af: Pull complete 02:32:05 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:32:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:05 prd-ubuntu20.04-docker-8c-8g-3828 does not seem to be running inside a container 02:32:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:32:07 $ docker top aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 -eo pid,comm 02:32:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:32:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:07 [ssh-agent] Looking for ssh-agent implementation... 02:32:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:07 $ docker exec aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 ssh-agent 02:32:07 SSH_AUTH_SOCK=/tmp/ssh-EHKR5Xu6oyZT/agent.31 02:32:07 SSH_AGENT_PID=37 02:32:07 Running ssh-add (command line suppressed) 02:32:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5391719317863734648.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5391719317863734648.key) 02:32:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 02:32:08 + git tag --points-at HEAD [Pipeline] } 02:32:08 $ docker exec --env ******** --env ******** aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 ssh-agent -k 02:32:08 unset SSH_AUTH_SOCK; 02:32:08 unset SSH_AGENT_PID; 02:32:08 echo Agent pid 37 killed; 02:32:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:32:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:08 [ssh-agent] Looking for ssh-agent implementation... 02:32:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:08 $ docker exec aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 ssh-agent 02:32:08 SSH_AUTH_SOCK=/tmp/ssh-2FipYyt8TQvP/agent.85 02:32:08 SSH_AGENT_PID=91 02:32:08 Running ssh-add (command line suppressed) 02:32:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7576832301801220518.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7576832301801220518.key) 02:32:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:09 + git semver init 02:32:09 2026-03-21 02:32:09,257 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:32:09 2026-03-21 02:32:09,261 [run_init] DEBUG init version:0.0.0 force:False 02:32:09 2026-03-21 02:32:09,262 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:32:09 2026-03-21 02:32:09,262 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:32:09 2026-03-21 02:32:09,263 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 02:32:11 2026-03-21 02:32:10,862 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:32:11 2026-03-21 02:32:10,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:32:11 2026-03-21 02:32:10,862 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:11 2026-03-21 02:32:10,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:32:11 4.1.0-dev.22 [Pipeline] } 02:32:11 $ docker exec --env ******** --env ******** aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 ssh-agent -k 02:32:11 unset SSH_AUTH_SOCK; 02:32:11 unset SSH_AGENT_PID; 02:32:11 echo Agent pid 91 killed; 02:32:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:11 + git semver [Pipeline] } 02:32:11 $ docker stop --time=1 aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 02:32:13 $ docker rm -f --volumes aeab24b5d27d1686a857cbe85b2724f810b98756eb8a39e45497f6422c6f66f0 [Pipeline] // withDockerContainer [Pipeline] sh 02:32:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:32:13 Stashed 1 file(s) [Pipeline] echo 02:32:13 [edgeXSemver]: initialized semver on version 4.1.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:13 provisioning config files... 02:32:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16595564229070214146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:14 ---> ****-login.sh 02:32:14 nexus3.edgexfoundry.org:10001 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 Login Succeeded 02:32:14 nexus3.edgexfoundry.org:10002 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 Login Succeeded 02:32:14 nexus3.edgexfoundry.org:10003 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 Login Succeeded 02:32:14 nexus3.edgexfoundry.org:10004 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 Login Succeeded 02:32:14 ****.io 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:15 Login Succeeded 02:32:15 ---> ****-login.sh ends [Pipeline] } 02:32:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:32:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:32:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:32:15 ========================================================= 02:32:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 02:32:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine --build-arg MAKE=echo noop --target=builder . 02:32:16 #0 building with "default" instance using docker driver 02:32:16 02:32:16 #1 [internal] load build definition from Dockerfile 02:32:16 #1 transferring dockerfile: 1.74kB done 02:32:16 #1 DONE 0.0s 02:32:16 02:32:16 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 02:32:16 #2 DONE 0.1s 02:32:16 02:32:16 #3 [internal] load .dockerignore 02:32:16 #3 transferring context: 193B done 02:32:16 #3 DONE 0.0s 02:32:16 02:32:16 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 02:32:16 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 0.0s done 02:32:16 #4 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.0s done 02:32:16 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 02:32:16 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 2.10MB / 3.80MB 0.1s 02:32:16 #4 sha256:0571529eb0d62c6c63f07cd806efe94d1b30411a55171121c600b2b418b13706 2.08kB / 2.08kB done 02:32:16 #4 sha256:2caa029a6df7ddc8757eb3642c320a433405a94beabcc5536fbfd011b4868154 4.11kB / 4.11kB done 02:32:16 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.19MB / 60.15MB 0.1s 02:32:16 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 02:32:16 #4 sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 685B / 685B done 02:32:16 #4 ... 02:32:16 02:32:16 #5 [internal] load build context 02:32:16 #5 transferring context: 22.46MB 0.2s done 02:32:16 #5 DONE 0.2s 02:32:16 02:32:16 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 02:32:16 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 02:32:16 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 16.78MB / 60.15MB 0.2s 02:32:16 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 02:32:16 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 2.24MB / 112.58MB 0.2s 02:32:16 #4 sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 321B / 321B 0.1s done 02:32:16 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 2.10MB / 11.98MB 0.2s 02:32:16 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 34.60MB / 60.15MB 0.3s 02:32:16 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.2s done 02:32:16 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 11.53MB / 112.58MB 0.3s 02:32:16 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s 02:32:16 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 02:32:16 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.5s 02:32:16 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 30.41MB / 112.58MB 0.5s 02:32:16 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s done 02:32:16 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.0s done 02:32:16 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 7.34MB / 14.72MB 0.5s 02:32:16 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.5s done 02:32:16 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 47.19MB / 112.58MB 0.6s 02:32:16 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.6s 02:32:16 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 0.1s 02:32:17 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 68.16MB / 112.58MB 0.7s 02:32:17 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.6s done 02:32:17 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 0.9s 02:32:17 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.0s done 02:32:21 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.2s done 02:32:21 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 02:32:21 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 02:32:21 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:32:21 #4 extracting sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 done 02:32:21 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 02:32:21 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 0.3s done 02:32:21 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 02:32:25 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 3.4s done 02:32:25 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.1s 02:32:25 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.5s done 02:32:25 #4 DONE 9.5s 02:32:25 02:32:25 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:32:25 #6 0.213 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 02:32:26 #6 0.376 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 02:32:26 #6 0.732 (1/4) Installing openssh-keygen (10.0_p1-r10) 02:32:26 #6 0.748 (2/4) Installing libedit (20250104.3.1-r1) 02:32:26 #6 0.755 (3/4) Installing openssh-client-common (10.0_p1-r10) 02:32:26 #6 0.781 (4/4) Installing openssh-client-default (10.0_p1-r10) 02:32:26 #6 0.793 Executing busybox-1.37.0-r19.trigger 02:32:26 #6 0.802 OK: 269 MiB in 64 packages 02:32:28 #6 DONE 2.2s 02:32:28 02:32:28 #7 [builder 3/7] WORKDIR /device-rest-go 02:32:28 #7 DONE 0.0s 02:32:28 02:32:28 #8 [builder 4/7] COPY go.mod vendor* ./ 02:32:28 #8 DONE 0.0s 02:32:28 02:32:28 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:28 Still waiting to schedule task 02:32:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:32:40 #9 DONE 11.1s 02:32:40 02:32:40 #10 [builder 6/7] COPY . . 02:32:40 #10 DONE 0.1s 02:32:40 02:32:40 #11 [builder 7/7] RUN echo noop 02:32:40 #11 0.188 noop 02:32:40 #11 DONE 0.2s 02:32:40 02:32:40 #12 exporting to image 02:32:40 #12 exporting layers 02:32:46 #12 exporting layers 7.2s done 02:32:46 #12 writing image sha256:d21917306eab51dea1cbd76211aa77f800892d127c6e045a3b7adfc5902c5c03 done 02:32:46 #12 naming to docker.io/library/ci-base-image-x86_64 done 02:32:46 #12 DONE 7.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:47 + docker inspect -f . ci-base-image-x86_64 02:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:47 prd-ubuntu20.04-docker-8c-8g-3828 does not seem to be running inside a container 02:32: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 02:32:47 $ docker top e8c5093bc78ee27cdaf2644edcd42fd885e986d8038cd6b07fc332a1fcb0d561 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:47 + go version 02:32:47 go version go1.25.2 linux/amd64 [Pipeline] } 02:32:47 $ docker stop --time=1 e8c5093bc78ee27cdaf2644edcd42fd885e986d8038cd6b07fc332a1fcb0d561 02:32:49 $ docker rm -f --volumes e8c5093bc78ee27cdaf2644edcd42fd885e986d8038cd6b07fc332a1fcb0d561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:49 + docker inspect -f . ci-base-image-x86_64 02:32:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:49 prd-ubuntu20.04-docker-8c-8g-3828 does not seem to be running inside a container 02:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:32:49 $ docker top 65b2568a2753da9e8ed1df90a1f266728b55687031cfe788772e62ede779720a -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:32:50 + make test 02:32:50 go test ./... -coverprofile=coverage.out ./... 02:32:51 ? github.com/edgexfoundry/device-rest-go [no test files] 02:33:13 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:33:13 ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 32.2% of statements 02:33:19 0 issues. 02:33:19 go vet ./... 02:33:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:33:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:33:25 ./bin/test-attribution-txt.sh 02:33:25 An attribution for github.com/cespare/xxhash/v2 is missing from Attribution.txt, please add [Pipeline] echo 02:33:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:33:25 $ docker stop --time=1 65b2568a2753da9e8ed1df90a1f266728b55687031cfe788772e62ede779720a 02:33:27 $ docker rm -f --volumes 65b2568a2753da9e8ed1df90a1f266728b55687031cfe788772e62ede779720a [Pipeline] // withDockerContainer [Pipeline] sh 02:33:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:28 + ls -al . 02:33:28 total 248 02:33:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 02:32 . 02:33:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 02:31 .. 02:33:28 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 02:31 .dockerignore 02:33:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 02:33 .git 02:33:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:31 .github 02:33:28 -rw-rw-r-- 1 jenkins jenkins 264 Mar 21 02:31 .gitignore 02:33:28 -rw-rw-r-- 1 jenkins jenkins 359 Mar 21 02:31 .golangci.yml 02:33:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 02:32 .semver 02:33:28 -rw-rw-r-- 1 jenkins jenkins 22791 Mar 21 02:31 Attribution.txt 02:33:28 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 21 02:31 CHANGELOG.md 02:33:28 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 21 02:31 Dockerfile 02:33:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 02:31 GOVERNANCE.md 02:33:28 -rw-rw-r-- 1 jenkins jenkins 704 Mar 21 02:31 Jenkinsfile 02:33:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 02:31 LICENSE 02:33:28 -rw-rw-r-- 1 jenkins jenkins 2597 Mar 21 02:31 Makefile 02:33:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 02:31 OWNERS.md 02:33:28 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 21 02:31 README.md 02:33:28 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 02:32 VERSION 02:33:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 02:31 bin 02:33:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:31 cmd 02:33:28 -rw-r--r-- 1 jenkins jenkins 14565 Mar 21 02:33 coverage.out 02:33:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 02:31 driver 02:33:28 -rw-rw-r-- 1 jenkins jenkins 6822 Mar 21 02:31 go.mod 02:33:28 -rw-rw-r-- 1 jenkins jenkins 89296 Mar 21 02:31 go.sum 02:33:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:31 openapi 02:33:28 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 02:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bb0fd8016af00a129c4ff3503c0a197242dc309a --label arch=amd64 --label version=4.1.0-dev.22 . 02:33:29 #0 building with "default" instance using docker driver 02:33:29 02:33:29 #1 [internal] load build definition from Dockerfile 02:33:29 #1 transferring dockerfile: 1.74kB done 02:33:29 #1 WARN: UndefinedVar: Usage of undefined variable '$VERSION' (line 41) 02:33:29 #1 DONE 0.0s 02:33:29 02:33:29 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 02:33:29 #2 DONE 0.0s 02:33:29 02:33:29 #3 [internal] load metadata for docker.io/library/alpine:3.22 02:33:29 #3 DONE 0.1s 02:33:29 02:33:29 #4 [internal] load .dockerignore 02:33:29 #4 transferring context: 193B done 02:33:29 #4 DONE 0.0s 02:33:29 02:33:29 #5 [internal] load build context 02:33:29 #5 transferring context: 18.46kB done 02:33:29 #5 DONE 0.0s 02:33:29 02:33:29 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 02:33:29 #6 DONE 0.1s 02:33:29 02:33:29 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 02:33:29 #7 resolve docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 0.0s done 02:33:29 #7 extracting sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 02:33:29 #7 sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 9.22kB / 9.22kB done 02:33:29 #7 sha256:e0baf8c394150ac5a14925e179100519f5e37c53547f647acbd9f8eb3e5c4528 1.02kB / 1.02kB done 02:33:29 #7 sha256:f65e6e80f68613c7e9c51c98f879c73373d7a38c0790300e1478ce45894a24aa 611B / 611B done 02:33:29 #7 sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 3.80MB / 3.80MB 0.1s done 02:33:29 #7 extracting sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 0.1s done 02:33:29 #7 DONE 0.2s 02:33:29 02:33:29 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:33:29 #8 0.220 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 02:33:29 #8 0.381 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 02:33:30 #8 0.772 OK: 269 MiB in 64 packages 02:33:30 #8 DONE 0.9s 02:33:30 02:33:30 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:33:30 #9 0.184 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 02:33:30 #9 0.255 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 02:33:30 #9 0.595 (1/1) Installing dumb-init (1.2.5-r3) 02:33:30 #9 0.604 Executing busybox-1.37.0-r20.trigger 02:33:30 #9 0.611 OK: 7 MiB in 17 packages 02:33:30 #9 DONE 0.7s 02:33:30 02:33:30 #10 [builder 3/7] WORKDIR /device-rest-go 02:33:30 #10 DONE 0.0s 02:33:30 02:33:30 #11 [builder 4/7] COPY go.mod vendor* ./ 02:33:30 #11 DONE 0.0s 02:33:30 02:33:30 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:30 #12 DONE 0.5s 02:33:30 02:33:30 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:33:30 #13 0.405 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 02:33:30 #13 0.478 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 02:33:30 #13 ... 02:33:30 02:33:30 #14 [builder 6/7] COPY . . 02:33:30 #14 DONE 0.1s 02:33:30 02:33:30 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:33:30 #13 0.761 OK: 7 MiB in 17 packages 02:33:31 #13 DONE 0.9s 02:33:31 02:33:31 #15 [builder 7/7] RUN make build 02:33:31 #15 0.210 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.58 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:33:57 #15 DONE 22.4s 02:33:57 02:33:57 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 02:33:57 #16 DONE 0.1s 02:33:57 02:33:57 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 02:33:57 #17 DONE 0.0s 02:33:57 02:33:57 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 02:33:57 #18 DONE 0.0s 02:33:57 02:33:57 #19 exporting to image 02:33:57 #19 exporting layers 0.1s done 02:33:57 #19 writing image sha256:ee19c1500e1b5ebbf0e19b7fcb3257b17819c151422c7495e710812deee43465 done 02:33:57 #19 naming to docker.io/library/device-rest done 02:33:57 #19 DONE 0.1s 02:33:57 02:33:57 1 warning found (use docker --debug to expand): 02:33:57  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:57 provisioning config files... 02:33:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8924643318227889789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:58 ---> ****-login.sh 02:33:58 nexus3.edgexfoundry.org:10001 02:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:58 Login Succeeded 02:33:58 nexus3.edgexfoundry.org:10002 02:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:58 Login Succeeded 02:33:58 nexus3.edgexfoundry.org:10003 02:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:58 Login Succeeded 02:33:58 nexus3.edgexfoundry.org:10004 02:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:58 Login Succeeded 02:33:58 ****.io 02:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:58 Login Succeeded 02:33:58 ---> ****-login.sh ends [Pipeline] } 02:33:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:33:58 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:33:58 bb0fd8016af00a129c4ff3503c0a197242dc309a 02:33:58 latest 02:33:58 4.1.0-dev.22 02:33:58 bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:33:58 main 02:33:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:59 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a 02:33:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:33:59 210f9b806c3f: Preparing 02:33:59 ad93f539d71e: Preparing 02:33:59 0f701e8a4197: Preparing 02:33:59 dd1a0ee0d5f4: Preparing 02:33:59 82c63c85b255: Preparing 02:33:59 cce92674e987: Preparing 02:33:59 cce92674e987: Waiting 02:33:59 210f9b806c3f: Pushed 02:33:59 82c63c85b255: Pushed 02:33:59 dd1a0ee0d5f4: Pushed 02:33:59 cce92674e987: Layer already exists 02:33:59 ad93f539d71e: Pushed 02:34:03 0f701e8a4197: Pushed 02:34:03 bb0fd8016af00a129c4ff3503c0a197242dc309a: digest: sha256:e6171ea2135b87da21e52f754d03eebe4814f22478b6c4b6ec50afb69430f5b2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:04 210f9b806c3f: Preparing 02:34:04 ad93f539d71e: Preparing 02:34:04 0f701e8a4197: Preparing 02:34:04 dd1a0ee0d5f4: Preparing 02:34:04 82c63c85b255: Preparing 02:34:04 cce92674e987: Preparing 02:34:04 cce92674e987: Waiting 02:34:04 82c63c85b255: Layer already exists 02:34:04 0f701e8a4197: Layer already exists 02:34:04 210f9b806c3f: Layer already exists 02:34:04 dd1a0ee0d5f4: Layer already exists 02:34:04 ad93f539d71e: Layer already exists 02:34:04 cce92674e987: Layer already exists 02:34:04 latest: digest: sha256:e6171ea2135b87da21e52f754d03eebe4814f22478b6c4b6ec50afb69430f5b2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 02:34:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:04 210f9b806c3f: Preparing 02:34:04 ad93f539d71e: Preparing 02:34:04 0f701e8a4197: Preparing 02:34:04 dd1a0ee0d5f4: Preparing 02:34:04 82c63c85b255: Preparing 02:34:04 cce92674e987: Preparing 02:34:04 cce92674e987: Waiting 02:34:04 dd1a0ee0d5f4: Layer already exists 02:34:04 82c63c85b255: Layer already exists 02:34:04 210f9b806c3f: Layer already exists 02:34:04 ad93f539d71e: Layer already exists 02:34:04 0f701e8a4197: Layer already exists 02:34:04 cce92674e987: Layer already exists 02:34:04 4.1.0-dev.22: digest: sha256:e6171ea2135b87da21e52f754d03eebe4814f22478b6c4b6ec50afb69430f5b2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:34:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:05 210f9b806c3f: Preparing 02:34:05 ad93f539d71e: Preparing 02:34:05 0f701e8a4197: Preparing 02:34:05 dd1a0ee0d5f4: Preparing 02:34:05 82c63c85b255: Preparing 02:34:05 cce92674e987: Preparing 02:34:05 cce92674e987: Waiting 02:34:05 dd1a0ee0d5f4: Layer already exists 02:34:05 0f701e8a4197: Layer already exists 02:34:05 ad93f539d71e: Layer already exists 02:34:05 82c63c85b255: Layer already exists 02:34:05 210f9b806c3f: Layer already exists 02:34:05 cce92674e987: Layer already exists 02:34:05 bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22: digest: sha256:e6171ea2135b87da21e52f754d03eebe4814f22478b6c4b6ec50afb69430f5b2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:34:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:06 210f9b806c3f: Preparing 02:34:06 ad93f539d71e: Preparing 02:34:06 0f701e8a4197: Preparing 02:34:06 dd1a0ee0d5f4: Preparing 02:34:06 82c63c85b255: Preparing 02:34:06 cce92674e987: Preparing 02:34:06 cce92674e987: Waiting 02:34:06 210f9b806c3f: Layer already exists 02:34:06 0f701e8a4197: Layer already exists 02:34:06 dd1a0ee0d5f4: Layer already exists 02:34:06 82c63c85b255: Layer already exists 02:34:06 ad93f539d71e: Layer already exists 02:34:06 cce92674e987: Layer already exists 02:34:06 main: digest: sha256:e6171ea2135b87da21e52f754d03eebe4814f22478b6c4b6ec50afb69430f5b2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:34:06 ===================================================== [Pipeline] echo 02:34:06 taggedImages: 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 02:34:06 ========================================================= 02:34:06 [edgeXBuildMultiArch] RAW Config: 02:34:06 images: 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:34:06 - nexus3.edgexfoundry.org:10004/device-rest:main 02:34:06 settingsFile: 02:34:06 device-rest-go-settings 02:34:06 ========================================================= [Pipeline] node 02:34:21 Still waiting to schedule task 02:34:21 All nodes of label ‘centos7-docker-4c-2g’ are offline 02:34:51 Running on prd-centos7-docker-4c-2g-3832 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:51 provisioning config files... 02:34:51 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12831951311742827782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:52 ---> ****-login.sh 02:34:52 nexus3.edgexfoundry.org:10001 02:35:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3831 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:35:18 Running in /w/workspace/device-rest-go/230 [Pipeline] { [Pipeline] checkout 02:35:18 The recommended git tool is: git 02:35:23 using credential edgex-jenkins-ssh 02:35:24 Cloning the remote Git repository 02:35:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:35:24 > git init /w/workspace/device-rest-go/230 # timeout=10 02:35:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:35:24 > git --version # timeout=10 02:35:24 > git --version # 'git version 2.25.1' 02:35:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:35:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:29 Avoid second fetch 02:35:29 Checking out Revision bb0fd8016af00a129c4ff3503c0a197242dc309a (main) 02:35:29 Commit message: "Merge pull request #523 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.58" 02:35:29 > git config core.sparsecheckout # timeout=10 02:35:29 > git checkout -f bb0fd8016af00a129c4ff3503c0a197242dc309a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:34 provisioning config files... 02:35:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/230@tmp/config3955747447814987581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:35 ---> ****-login.sh 02:35:35 nexus3.edgexfoundry.org:10001 02:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:35 Configure a credential helper to remove this warning. See 02:35:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:35 02:35:35 Login Succeeded 02:35:35 nexus3.edgexfoundry.org:10002 02:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:36 Configure a credential helper to remove this warning. See 02:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:36 02:35:36 Login Succeeded 02:35:36 nexus3.edgexfoundry.org:10003 02:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:36 Configure a credential helper to remove this warning. See 02:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:36 02:35:36 Login Succeeded 02:35:36 nexus3.edgexfoundry.org:10004 02:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:37 Configure a credential helper to remove this warning. See 02:35:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:37 02:35:37 Login Succeeded 02:35:37 ****.io 02:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:37 Configure a credential helper to remove this warning. See 02:35:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:37 02:35:37 Login Succeeded 02:35:37 ---> ****-login.sh ends [Pipeline] } 02:35:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:35:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:35:38 ========================================================= 02:35:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine] 02:35:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine --build-arg MAKE=echo noop --target=builder . 02:35:38 Sending build context to Docker daemon 144.9kB 02:35:38 Step 1/12 : ARG BASE=golang:1.25-alpine3.22 02:35:38 Step 2/12 : FROM ${BASE} AS builder 02:35:38 1.25-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:38 6b59a28fa201: Pulling fs layer 02:35:38 d32bb0dddca7: Pulling fs layer 02:35:38 5dab1238d3d9: Pulling fs layer 02:35:38 196fd7d83e7d: Pulling fs layer 02:35:38 4f4fb700ef54: Pulling fs layer 02:35:38 8ba94037c8f0: Pulling fs layer 02:35:38 deaec5988b04: Pulling fs layer 02:35:38 9f65657bb879: Pulling fs layer 02:35:38 196fd7d83e7d: Waiting 02:35:38 4f4fb700ef54: Waiting 02:35:38 8ba94037c8f0: Waiting 02:35:38 deaec5988b04: Waiting 02:35:38 9f65657bb879: Waiting 02:35:38 d32bb0dddca7: Download complete 02:35:38 196fd7d83e7d: Verifying Checksum 02:35:38 196fd7d83e7d: Download complete 02:35:38 4f4fb700ef54: Verifying Checksum 02:35:38 4f4fb700ef54: Download complete 02:35:38 8ba94037c8f0: Verifying Checksum 02:35:38 8ba94037c8f0: Download complete 02:35:38 6b59a28fa201: Verifying Checksum 02:35:38 6b59a28fa201: Download complete 02:35:39 9f65657bb879: Verifying Checksum 02:35:39 9f65657bb879: Download complete 02:35:40 6b59a28fa201: Pull complete 02:35:40 d32bb0dddca7: Pull complete 02:35:40 5dab1238d3d9: Download complete 02:35:42 deaec5988b04: Verifying Checksum 02:35:42 deaec5988b04: Download complete 02:35:55 5dab1238d3d9: Pull complete 02:35:55 196fd7d83e7d: Pull complete 02:35:55 4f4fb700ef54: Pull complete 02:35:55 8ba94037c8f0: Pull complete 02:36:06 deaec5988b04: Pull complete 02:36:07 9f65657bb879: Pull complete 02:36:07 Digest: sha256:5e549ededf7788d4f1561b02b9f4d3bcf02ca02af9c1a1104d0a64a201fbeb28 02:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine 02:36:07 ---> 334268110677 02:36:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:36:09 ---> Running in 165eb29c6f53 02:36:09 Removing intermediate container 165eb29c6f53 02:36:09 ---> d5a343ee85db 02:36:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:09 ---> Running in 1fdd2649a461 02:36:10 Removing intermediate container 1fdd2649a461 02:36:10 ---> 960fcc6982b0 02:36:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:36:10 ---> Running in d5a26e1634a5 02:36:11 Removing intermediate container d5a26e1634a5 02:36:11 ---> 093dfde94d6b 02:36:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:36:11 ---> Running in 944d4384336f 02:36:11 Removing intermediate container 944d4384336f 02:36:11 ---> c6acc9bf1368 02:36:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:11 ---> Running in ffae83fda170 02:36:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 02:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 02:36:14 (1/4) Installing openssh-keygen (10.0_p1-r10) 02:36:14 (2/4) Installing libedit (20250104.3.1-r1) 02:36:14 (3/4) Installing openssh-client-common (10.0_p1-r10) 02:36:14 (4/4) Installing openssh-client-default (10.0_p1-r10) 02:36:14 Executing busybox-1.37.0-r19.trigger 02:36:15 OK: 259 MiB in 64 packages 02:36:16 Removing intermediate container ffae83fda170 02:36:16 ---> 75812c17ffa3 02:36:16 Step 8/12 : WORKDIR /device-rest-go 02:36:16 ---> Running in fc22c4e83159 02:36:17 Removing intermediate container fc22c4e83159 02:36:17 ---> 7b472aad0a00 02:36:17 Step 9/12 : COPY go.mod vendor* ./ 02:36:17 ---> a28f301df9eb 02:36:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:17 ---> Running in d3486d06cd17 02:38:09 Removing intermediate container d3486d06cd17 02:38:09 ---> 4b03d8601755 02:38:09 Step 11/12 : COPY . . 02:38:09 ---> d0fdfb2ecfdf 02:38:09 Step 12/12 : RUN $MAKE 02:38:09 ---> Running in bcb486ee5081 02:38:09 noop 02:38:10 Removing intermediate container bcb486ee5081 02:38:10 ---> 85c791623b5e 02:38:10 Successfully built 85c791623b5e 02:38:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:10 + docker inspect -f . ci-base-image-arm64 02:38:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:10 prd-ubuntu20.04-docker-arm64-4c-16g-3831 does not seem to be running inside a container 02:38:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/230 -v /w/workspace/device-rest-go/230:/w/workspace/device-rest-go/230:rw,z -v /w/workspace/device-rest-go/230@tmp:/w/workspace/device-rest-go/230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:12 $ docker top b6d5a736073bfecbf1bf2e1839b26c0907e6b03737917129a1954c666ac2e1f8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:12 + go version 02:38:12 go version go1.25.3 linux/arm64 [Pipeline] } 02:38:12 $ docker stop --time=1 b6d5a736073bfecbf1bf2e1839b26c0907e6b03737917129a1954c666ac2e1f8 02:38:14 $ docker rm -f --volumes b6d5a736073bfecbf1bf2e1839b26c0907e6b03737917129a1954c666ac2e1f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:15 + docker inspect -f . ci-base-image-arm64 02:38:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:15 prd-ubuntu20.04-docker-arm64-4c-16g-3831 does not seem to be running inside a container 02:38:15 $ 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/230 -v /w/workspace/device-rest-go/230:/w/workspace/device-rest-go/230:rw,z -v /w/workspace/device-rest-go/230@tmp:/w/workspace/device-rest-go/230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:16 $ docker top cced712a61d9480ffc865a46ef9f030eb1f7eeb24b8095b51ce92151dfc23f56 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:17 + git config --global --add safe.directory /w/workspace/device-rest-go/230 [Pipeline] fileExists [Pipeline] sh 02:38:18 + make test 02:38:18 go test ./... -coverprofile=coverage.out ./... 02:38:24 ? github.com/edgexfoundry/device-rest-go [no test files] 02:42:31 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:42:31 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 32.2% of statements 02:42:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:42:31 go vet ./... 02:43:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:43:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:43:18 ./bin/test-attribution-txt.sh 02:43:18 An attribution for github.com/cespare/xxhash/v2 is missing from Attribution.txt, please add [Pipeline] echo 02:43:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:43:18 $ docker stop --time=1 cced712a61d9480ffc865a46ef9f030eb1f7eeb24b8095b51ce92151dfc23f56 02:43:20 $ docker rm -f --volumes cced712a61d9480ffc865a46ef9f030eb1f7eeb24b8095b51ce92151dfc23f56 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:43:22 Warning: overwriting stash ‘coverage-report’ 02:43:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:43:23 + ls -al . 02:43:23 total 244 02:43:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 02:38 . 02:43:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 02:35 .. 02:43:23 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 02:35 .dockerignore 02:43:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 02:35 .git 02:43:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:35 .github 02:43:23 -rw-rw-r-- 1 jenkins jenkins 264 Mar 21 02:35 .gitignore 02:43:23 -rw-rw-r-- 1 jenkins jenkins 359 Mar 21 02:35 .golangci.yml 02:43:23 -rw-rw-r-- 1 jenkins jenkins 22791 Mar 21 02:35 Attribution.txt 02:43:23 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 21 02:35 CHANGELOG.md 02:43:23 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 21 02:35 Dockerfile 02:43:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 02:35 GOVERNANCE.md 02:43:23 -rw-rw-r-- 1 jenkins jenkins 704 Mar 21 02:35 Jenkinsfile 02:43:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 02:35 LICENSE 02:43:23 -rw-rw-r-- 1 jenkins jenkins 2597 Mar 21 02:35 Makefile 02:43:23 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 02:35 OWNERS.md 02:43:23 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 21 02:35 README.md 02:43:23 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 02:32 VERSION 02:43:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 02:35 bin 02:43:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:35 cmd 02:43:23 -rw-r--r-- 1 jenkins jenkins 14565 Mar 21 02:42 coverage.out 02:43:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 02:35 driver 02:43:23 -rw-rw-r-- 1 jenkins jenkins 6822 Mar 21 02:35 go.mod 02:43:23 -rw-rw-r-- 1 jenkins jenkins 89296 Mar 21 02:35 go.sum 02:43:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:35 openapi 02:43:23 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:24 + 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=bb0fd8016af00a129c4ff3503c0a197242dc309a --label arch=arm64 --label version=4.1.0-dev.22 . 02:43:24 Sending build context to Docker daemon 160.3kB 02:43:24 Step 1/26 : ARG BASE=golang:1.25-alpine3.22 02:43:24 Step 2/26 : FROM ${BASE} AS builder 02:43:24 ---> 85c791623b5e 02:43:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:43:24 ---> Running in c02f9a37c910 02:43:24 Removing intermediate container c02f9a37c910 02:43:24 ---> e78af14fb1f7 02:43:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:24 ---> Running in d22398b16a3b 02:43:25 Removing intermediate container d22398b16a3b 02:43:25 ---> 5b88c14aa04e 02:43:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:25 ---> Running in 54122ffb0e27 02:43:25 Removing intermediate container 54122ffb0e27 02:43:25 ---> de65ca2824c3 02:43:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:43:25 ---> Running in 2caa2a25e4fb 02:43:25 Removing intermediate container 2caa2a25e4fb 02:43:25 ---> e1022919c976 02:43:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:25 ---> Running in d63db08cce8d 02:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 02:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 02:43:29 OK: 259 MiB in 64 packages 02:43:29 Removing intermediate container d63db08cce8d 02:43:29 ---> 01e260f5b4b7 02:43:29 Step 8/26 : WORKDIR /device-rest-go 02:43:30 ---> Running in ce5b770fcf16 02:43:30 Removing intermediate container ce5b770fcf16 02:43:30 ---> 7aa02ce4f9e6 02:43:30 Step 9/26 : COPY go.mod vendor* ./ 02:43:30 ---> 35c28f2a4e37 02:43:30 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:30 ---> Running in 9c299e1db61d 02:43:32 Removing intermediate container 9c299e1db61d 02:43:32 ---> c6e45cee46d6 02:43:32 Step 11/26 : COPY . . 02:43:33 ---> 6776873ad563 02:43:33 Step 12/26 : RUN $MAKE 02:43:33 ---> Running in 0314014e0ffe 02:43:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.58 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:47:41 Removing intermediate container 0314014e0ffe 02:47:41 ---> a34cfe3875fb 02:47:41 Step 13/26 : FROM alpine:3.22 02:47:41 3.22: Pulling from library/alpine 02:47:41 d741ee1608f3: Pulling fs layer 02:47:41 d741ee1608f3: Download complete 02:47:41 d741ee1608f3: Pull complete 02:47:41 Digest: sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 02:47:41 Status: Downloaded newer image for alpine:3.22 02:47:41 ---> 5a766deef0c8 02:47:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:47:41 ---> Running in fac72db246d4 02:47:41 Removing intermediate container fac72db246d4 02:47:41 ---> 7e96042874dd 02:47:41 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:47:41 ---> Running in 94bceeb4e421 02:47:41 Removing intermediate container 94bceeb4e421 02:47:41 ---> ef38d297c64c 02:47:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:47:41 ---> Running in f94cf16e5de7 02:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 02:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 02:47:41 (1/1) Installing dumb-init (1.2.5-r3) 02:47:41 Executing busybox-1.37.0-r20.trigger 02:47:41 OK: 8 MiB in 17 packages 02:47:41 Removing intermediate container f94cf16e5de7 02:47:41 ---> 41351d0b864b 02:47:41 Step 17/26 : RUN apk --no-cache upgrade 02:47:41 ---> Running in 735b1fa885cf 02:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 02:47:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 02:47:43 OK: 8 MiB in 17 packages 02:47:44 Removing intermediate container 735b1fa885cf 02:47:44 ---> 19b259cca419 02:47:44 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:47:46 ---> 85d36603b02c 02:47:46 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:47:47 ---> 635afb010e23 02:47:47 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:47:47 ---> 127f3ac91a37 02:47:47 Step 21/26 : EXPOSE 59986 02:47:47 ---> Running in d8c829d1eb53 02:47:48 Removing intermediate container d8c829d1eb53 02:47:48 ---> 03a01b06a5dc 02:47:48 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:47:48 ---> Running in 61247d78c1b4 02:47:48 Removing intermediate container 61247d78c1b4 02:47:48 ---> 9a074b57f273 02:47:48 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:47:48 ---> Running in 2a227c22b0fc 02:47:48 Removing intermediate container 2a227c22b0fc 02:47:48 ---> 207bd4e89475 02:47:48 Step 24/26 : LABEL arch=arm64 02:47:49 ---> Running in 309b46c9eb8b 02:47:49 Removing intermediate container 309b46c9eb8b 02:47:49 ---> 82675634eeb5 02:47:49 Step 25/26 : LABEL git_sha=bb0fd8016af00a129c4ff3503c0a197242dc309a 02:47:49 ---> Running in cd174093e44c 02:47:49 Removing intermediate container cd174093e44c 02:47:49 ---> 4b395b71bd84 02:47:49 Step 26/26 : LABEL version=4.1.0-dev.22 02:47:49 ---> Running in 4b4a44355588 02:47:49 Removing intermediate container 4b4a44355588 02:47:49 ---> b8f315bd3efe 02:47:49 [Warning] One or more build-args [ARCH] were not consumed 02:47:49 Successfully built b8f315bd3efe 02:47:49 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:50 provisioning config files... 02:47:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/230@tmp/config15500321302315589794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:50 ---> ****-login.sh 02:47:50 nexus3.edgexfoundry.org:10001 02:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:50 Configure a credential helper to remove this warning. See 02:47:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:50 02:47:50 Login Succeeded 02:47:50 nexus3.edgexfoundry.org:10002 02:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:50 Configure a credential helper to remove this warning. See 02:47:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:50 02:47:50 Login Succeeded 02:47:50 nexus3.edgexfoundry.org:10003 02:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:51 Configure a credential helper to remove this warning. See 02:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:51 02:47:51 Login Succeeded 02:47:51 nexus3.edgexfoundry.org:10004 02:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:51 Configure a credential helper to remove this warning. See 02:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:51 02:47:51 Login Succeeded 02:47:51 ****.io 02:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:52 Configure a credential helper to remove this warning. See 02:47:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:52 02:47:52 Login Succeeded 02:47:52 ---> ****-login.sh ends [Pipeline] } 02:47:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:47:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:47:52 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:47:52 bb0fd8016af00a129c4ff3503c0a197242dc309a 02:47:52 latest 02:47:52 4.1.0-dev.22 02:47:52 bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:47:52 main 02:47:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a 02:47:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:47:53 9ce4bca9af0e: Preparing 02:47:53 62edf446dcd8: Preparing 02:47:53 7d2cfca26151: Preparing 02:47:53 a4fce92aed50: Preparing 02:47:53 f4da36b5964b: Preparing 02:47:53 c4e71c2a4573: Preparing 02:47:53 c4e71c2a4573: Waiting 02:47:53 62edf446dcd8: Pushed 02:47:53 9ce4bca9af0e: Pushed 02:47:53 a4fce92aed50: Pushed 02:47:53 f4da36b5964b: Pushed 02:47:53 c4e71c2a4573: Layer already exists 02:48:01 7d2cfca26151: Pushed 02:48:01 bb0fd8016af00a129c4ff3503c0a197242dc309a: digest: sha256:31ace74e64573683c756fbb8006ed30b4e1ca21c96ccb1738d17208114dc4771 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:48:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:02 9ce4bca9af0e: Preparing 02:48:02 62edf446dcd8: Preparing 02:48:02 7d2cfca26151: Preparing 02:48:02 a4fce92aed50: Preparing 02:48:02 f4da36b5964b: Preparing 02:48:02 c4e71c2a4573: Preparing 02:48:02 c4e71c2a4573: Waiting 02:48:02 f4da36b5964b: Layer already exists 02:48:02 7d2cfca26151: Layer already exists 02:48:02 62edf446dcd8: Layer already exists 02:48:02 9ce4bca9af0e: Layer already exists 02:48:02 a4fce92aed50: Layer already exists 02:48:02 c4e71c2a4573: Layer already exists 02:48:02 latest: digest: sha256:31ace74e64573683c756fbb8006ed30b4e1ca21c96ccb1738d17208114dc4771 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 02:48:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:03 9ce4bca9af0e: Preparing 02:48:03 62edf446dcd8: Preparing 02:48:03 7d2cfca26151: Preparing 02:48:03 a4fce92aed50: Preparing 02:48:03 f4da36b5964b: Preparing 02:48:03 c4e71c2a4573: Preparing 02:48:03 c4e71c2a4573: Waiting 02:48:03 62edf446dcd8: Layer already exists 02:48:03 a4fce92aed50: Layer already exists 02:48:03 f4da36b5964b: Layer already exists 02:48:03 7d2cfca26151: Layer already exists 02:48:03 9ce4bca9af0e: Layer already exists 02:48:03 c4e71c2a4573: Layer already exists 02:48:03 4.1.0-dev.22: digest: sha256:31ace74e64573683c756fbb8006ed30b4e1ca21c96ccb1738d17208114dc4771 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:48:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:05 9ce4bca9af0e: Preparing 02:48:05 62edf446dcd8: Preparing 02:48:05 7d2cfca26151: Preparing 02:48:05 a4fce92aed50: Preparing 02:48:05 f4da36b5964b: Preparing 02:48:05 c4e71c2a4573: Preparing 02:48:05 c4e71c2a4573: Waiting 02:48:05 62edf446dcd8: Layer already exists 02:48:05 a4fce92aed50: Layer already exists 02:48:05 f4da36b5964b: Layer already exists 02:48:05 9ce4bca9af0e: Layer already exists 02:48:05 7d2cfca26151: Layer already exists 02:48:05 c4e71c2a4573: Layer already exists 02:48:05 bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22: digest: sha256:31ace74e64573683c756fbb8006ed30b4e1ca21c96ccb1738d17208114dc4771 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:48:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:06 9ce4bca9af0e: Preparing 02:48:06 62edf446dcd8: Preparing 02:48:06 7d2cfca26151: Preparing 02:48:06 a4fce92aed50: Preparing 02:48:06 f4da36b5964b: Preparing 02:48:06 c4e71c2a4573: Preparing 02:48:06 c4e71c2a4573: Waiting 02:48:06 62edf446dcd8: Layer already exists 02:48:06 7d2cfca26151: Layer already exists 02:48:06 f4da36b5964b: Layer already exists 02:48:06 9ce4bca9af0e: Layer already exists 02:48:06 a4fce92aed50: Layer already exists 02:48:06 c4e71c2a4573: Layer already exists 02:48:06 main: digest: sha256:31ace74e64573683c756fbb8006ed30b4e1ca21c96ccb1738d17208114dc4771 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:06 ===================================================== [Pipeline] echo 02:48:06 taggedImages: 02:48:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a 02:48:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:48:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 02:48:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 02:48:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 02:48:06 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a [Pipeline] echo 02:48:06 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 02:48:06 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 [Pipeline] echo 02:48:06 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:bb0fd8016af00a129c4ff3503c0a197242dc309a-4.1.0-dev.22 [Pipeline] echo 02:48:06 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:07 02:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:07 arm64: Pulling from edgex-lftools-log-publisher 02:48:07 8998bd30e6a1: Pulling fs layer 02:48:07 04944245beec: Pulling fs layer 02:48:07 699f458cf7ca: Pulling fs layer 02:48:07 765212b225bb: Pulling fs layer 02:48:07 f23df028b6ca: Pulling fs layer 02:48:07 d65c8cfc05b1: Pulling fs layer 02:48:07 2437ff75d9bd: Pulling fs layer 02:48:07 f23df028b6ca: Waiting 02:48:07 d65c8cfc05b1: Waiting 02:48:07 765212b225bb: Waiting 02:48:07 2437ff75d9bd: Waiting 02:48:07 04944245beec: Verifying Checksum 02:48:07 04944245beec: Download complete 02:48:07 765212b225bb: Verifying Checksum 02:48:07 765212b225bb: Download complete 02:48:07 f23df028b6ca: Download complete 02:48:07 d65c8cfc05b1: Verifying Checksum 02:48:07 d65c8cfc05b1: Download complete 02:48:07 699f458cf7ca: Verifying Checksum 02:48:07 699f458cf7ca: Download complete 02:48:08 8998bd30e6a1: Verifying Checksum 02:48:08 8998bd30e6a1: Download complete 02:48:11 2437ff75d9bd: Verifying Checksum 02:48:11 2437ff75d9bd: Download complete 02:48:12 8998bd30e6a1: Pull complete 02:48:13 04944245beec: Pull complete 02:48:15 699f458cf7ca: Pull complete 02:48:15 765212b225bb: Pull complete 02:48:17 f23df028b6ca: Pull complete 02:48:17 d65c8cfc05b1: Pull complete 02:48:35 2437ff75d9bd: Pull complete 02:48:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:48:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:36 prd-ubuntu20.04-docker-arm64-4c-16g-3831 does not seem to be running inside a container 02:48:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/230 -v /w/workspace/device-rest-go/230:/w/workspace/device-rest-go/230:rw,z -v /w/workspace/device-rest-go/230@tmp:/w/workspace/device-rest-go/230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:48:39 $ docker top 6141e5eea0986744c94d2eb820846040beecab0a19b736550abe1e3e59d4892f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:39 ---> job-cost.sh 02:48:39 lf-activate-venv: SKIPPING 02:48:39 INFO: No Stack... 02:48:40 INFO: Retrieving Pricing Info for: v3-standard-4 02:48:41 INFO: Archiving Costs [Pipeline] sh 02:48:41 + cat /w/workspace/device-rest-go/230/archives/cost.csv 02:48:41 + cut -d, -f6 [Pipeline] lock 02:48:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] 02:48:41 Resource [jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] did not exist. Created. 02:48:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:48:42 + echo total: 0.10999999940395355 [Pipeline] stash 02:48:42 Stashed 1 file(s) [Pipeline] } 02:48:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] [Pipeline] // lock [Pipeline] } 02:48:42 $ docker stop --time=1 6141e5eea0986744c94d2eb820846040beecab0a19b736550abe1e3e59d4892f 02:48:44 $ docker rm -f --volumes 6141e5eea0986744c94d2eb820846040beecab0a19b736550abe1e3e59d4892f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:31:50 Cancelling nested steps due to timeout 08:31:50 Sending interrupt signal to process 08:32:03 script returned exit code 143 [Pipeline] } 08:32:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:32:04 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:32:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:32:04 ---> package-listing.sh 08:32:04 ++ facter osfamily 08:32:04 ++ tr '[:upper:]' '[:lower:]' 08:32:05 + OS_FAMILY=redhat 08:32:05 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:32:05 + START_PACKAGES=/tmp/packages_start.txt 08:32:05 + END_PACKAGES=/tmp/packages_end.txt 08:32:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:32:05 + PACKAGES=/tmp/packages_start.txt 08:32:05 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:32:05 + PACKAGES=/tmp/packages_end.txt 08:32:05 + case "${OS_FAMILY}" in 08:32:05 + rpm -qa 08:32:05 + sort 08:32:05 + '[' -f /tmp/packages_start.txt ']' 08:32:05 + '[' -f /tmp/packages_end.txt ']' 08:32:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:32:05 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:32:05 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:32:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:32:05 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 08:32:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:06 08:32:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:06 latest: Pulling from edgex-lftools-log-publisher 08:32:06 5eb5b503b376: Pulling fs layer 08:32:06 5c69ac0246d0: Pulling fs layer 08:32:06 ec43610c2a17: Pulling fs layer 08:32:06 3a2ae6a8a46f: Pulling fs layer 08:32:06 33b1e0a273af: Pulling fs layer 08:32:06 5d3b04190fa2: Pulling fs layer 08:32:06 2f39f015ded8: Pulling fs layer 08:32:06 3a2ae6a8a46f: Waiting 08:32:06 33b1e0a273af: Waiting 08:32:06 5d3b04190fa2: Waiting 08:32:06 2f39f015ded8: Waiting 08:32:06 5c69ac0246d0: Download complete 08:32:06 3a2ae6a8a46f: Verifying Checksum 08:32:06 3a2ae6a8a46f: Download complete 08:32:07 33b1e0a273af: Verifying Checksum 08:32:07 33b1e0a273af: Download complete 08:32:07 5d3b04190fa2: Verifying Checksum 08:32:07 5d3b04190fa2: Download complete 08:32:07 ec43610c2a17: Verifying Checksum 08:32:07 ec43610c2a17: Download complete 08:32:07 5eb5b503b376: Verifying Checksum 08:32:07 5eb5b503b376: Download complete 08:32:07 2f39f015ded8: Verifying Checksum 08:32:07 2f39f015ded8: Download complete 08:32:08 5eb5b503b376: Pull complete 08:32:08 5c69ac0246d0: Pull complete 08:32:09 ec43610c2a17: Pull complete 08:32:09 3a2ae6a8a46f: Pull complete 08:32:09 33b1e0a273af: Pull complete 08:32:09 5d3b04190fa2: Pull complete 08:32:13 2f39f015ded8: Pull complete 08:32:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:32:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:13 prd-centos7-docker-4c-2g-3832 does not seem to be running inside a container 08:32:14 $ 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 08:32:17 $ docker top ae5e36e62c74f6fdb1c8dcca0cfa50591570c1f10ee8b51475ca2f69e9f5099e -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:18 + touch /tmp/pre-build-complete [Pipeline] sh 08:32:18 + mkdir -p /var/log/sysstat [Pipeline] sh 08:32:18 + ls /var/log/sa-host 08:32:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:18 provisioning config files... 08:32:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16696967230399229958tmp [Pipeline] { [Pipeline] echo 08:32:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:32:19 ---> create-netrc.sh [Pipeline] } 08:32:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:32:19 ---> python-tools-install.sh [Pipeline] echo 08:32:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:32:19 ---> sudo-logs.sh 08:32:19 Archiving 'sudo' log.. 08:32:19 sudo: unable to resolve host prd-centos7-docker-4c-2g-3832.novalocal: Name or service not known 08:32:19 sudo: unable to resolve host prd-centos7-docker-4c-2g-3832.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:32:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:32:20 ---> job-cost.sh 08:32:20 lf-activate-venv: SKIPPING 08:32:20 DEBUG: total: 0.10999999940395355 08:32:20 INFO: Retrieving Stack Cost... 08:32:20 INFO: Retrieving Pricing Info for: v3-standard-2 08:32:20 INFO: Archiving Costs [Pipeline] echo 08:32:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:32:21 ---> logs-deploy.sh 08:32:21 lf-activate-venv: SKIPPING 08:32:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/230 08:32:21 INFO: archiving workspace using pattern(s): 08:32:22 Archives upload complete. 08:32:22 INFO: archiving logs to Nexus 08:32:23 ---> uname -a: 08:32:23 Linux prd-centos7-docker-4c-2g-3832.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 08:32:23 08:32:23 08:32:23 ---> lscpu: 08:32:23 Architecture: x86_64 08:32:23 CPU op-mode(s): 32-bit, 64-bit 08:32:23 Byte Order: Little Endian 08:32:23 Address sizes: 40 bits physical, 48 bits virtual 08:32:23 CPU(s): 2 08:32:23 On-line CPU(s) list: 0,1 08:32:23 Thread(s) per core: 1 08:32:23 Core(s) per socket: 1 08:32:23 Socket(s): 2 08:32:23 NUMA node(s): 1 08:32:23 Vendor ID: AuthenticAMD 08:32:23 CPU family: 23 08:32:23 Model: 49 08:32:23 Model name: AMD EPYC-Rome Processor 08:32:23 Stepping: 0 08:32:23 CPU MHz: 2799.998 08:32:23 BogoMIPS: 5599.99 08:32:23 Virtualization: AMD-V 08:32:23 Hypervisor vendor: KVM 08:32:23 Virtualization type: full 08:32:23 L1d cache: 64 KiB 08:32:23 L1i cache: 64 KiB 08:32:23 L2 cache: 1 MiB 08:32:23 L3 cache: 32 MiB 08:32:23 NUMA node0 CPU(s): 0,1 08:32:23 Vulnerability Itlb multihit: Not affected 08:32:23 Vulnerability L1tf: Not affected 08:32:23 Vulnerability Mds: Not affected 08:32:23 Vulnerability Meltdown: Not affected 08:32:23 Vulnerability Mmio stale data: Not affected 08:32:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:32:23 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:32:23 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:32:23 Vulnerability Srbds: Not affected 08:32:23 Vulnerability Tsx async abort: Not affected 08:32:23 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 08:32:23 08:32:23 08:32:23 ---> nproc: 08:32:23 2 08:32:23 08:32:23 08:32:23 ---> df -h: 08:32:23 Filesystem Size Used Avail Use% Mounted on 08:32:23 overlay 40G 6.8G 34G 17% / 08:32:23 tmpfs 64M 0 64M 0% /dev 08:32:23 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 08:32:23 shm 64M 0 64M 0% /dev/shm 08:32:23 /dev/vda1 40G 6.8G 34G 17% /facter-os 08:32:23 08:32:23 08:32:23 Cannot open /var/log/sysstat/sa21: No such file or directory 08:32:23 Please check if data collecting is enabled 08:32:23 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:32:23 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 08:32:23 $ docker stop --time=1 ae5e36e62c74f6fdb1c8dcca0cfa50591570c1f10ee8b51475ca2f69e9f5099e 08:32:24 $ docker rm -f --volumes ae5e36e62c74f6fdb1c8dcca0cfa50591570c1f10ee8b51475ca2f69e9f5099e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 08:32:24 [WS-CLEANUP] Deleting project workspace... 08:32:24 [WS-CLEANUP] Deferred wipeout is used... 08:32:24 [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 08:32:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:24 08:32:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:25 latest: Pulling from edgex-lftools-log-publisher 08:32:25 5eb5b503b376: Pulling fs layer 08:32:25 5c69ac0246d0: Pulling fs layer 08:32:25 ec43610c2a17: Pulling fs layer 08:32:25 3a2ae6a8a46f: Pulling fs layer 08:32:25 33b1e0a273af: Pulling fs layer 08:32:25 5d3b04190fa2: Pulling fs layer 08:32:25 2f39f015ded8: Pulling fs layer 08:32:25 3a2ae6a8a46f: Waiting 08:32:25 5d3b04190fa2: Waiting 08:32:25 2f39f015ded8: Waiting 08:32:25 33b1e0a273af: Waiting 08:32:25 5c69ac0246d0: Verifying Checksum 08:32:25 5c69ac0246d0: Download complete 08:32:25 3a2ae6a8a46f: Verifying Checksum 08:32:25 3a2ae6a8a46f: Download complete 08:32:25 33b1e0a273af: Download complete 08:32:25 ec43610c2a17: Verifying Checksum 08:32:25 ec43610c2a17: Download complete 08:32:25 5d3b04190fa2: Verifying Checksum 08:32:25 5d3b04190fa2: Download complete 08:32:25 5eb5b503b376: Verifying Checksum 08:32:25 5eb5b503b376: Download complete 08:32:25 2f39f015ded8: Download complete 08:32:26 5eb5b503b376: Pull complete 08:32:26 5c69ac0246d0: Pull complete 08:32:27 ec43610c2a17: Pull complete 08:32:27 3a2ae6a8a46f: Pull complete 08:32:28 33b1e0a273af: Pull complete 08:32:28 5d3b04190fa2: Pull complete 08:32:33 2f39f015ded8: Pull complete 08:32:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:32:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:33 prd-ubuntu20.04-docker-8c-8g-3828 does not seem to be running inside a container 08:32:33 $ 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 08:32:34 $ docker top 004fab1d331e099b8c168a351a699af2157fcf64c614353deefc8f6d1debc92d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:34 ---> job-cost.sh 08:32:34 lf-activate-venv: SKIPPING 08:32:34 INFO: No Stack... 08:32:35 INFO: Retrieving Pricing Info for: v3-standard-8 08:32:35 INFO: Archiving Costs [Pipeline] sh 08:32:35 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 08:32:35 + cut -d, -f6 [Pipeline] lock 08:32:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] 08:32:35 Resource [jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] did not exist. Created. 08:32:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:32:36 /w/workspace/edgexfoundry_device-rest-go_main@tmp/durable-bb22a374/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:32:36 + echo total: 1.5299999713897705 [Pipeline] stash 08:32:36 Warning: overwriting stash ‘stack-cost’ 08:32:36 Stashed 1 file(s) [Pipeline] } 08:32:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-230-stack-cost] [Pipeline] // lock [Pipeline] } 08:32:36 $ docker stop --time=1 004fab1d331e099b8c168a351a699af2157fcf64c614353deefc8f6d1debc92d 08:32:37 $ docker rm -f --volumes 004fab1d331e099b8c168a351a699af2157fcf64c614353deefc8f6d1debc92d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:32:37 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 08:32:38 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 08:32:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:32:38 total 16 08:32:38 drwxr-xr-x 3 root root 4096 Mar 21 08:32 . 08:32:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 08:32 .. 08:32:38 drwxr-xr-x 2 root root 4096 Mar 21 08:32 cost 08:32:38 -rw-r--r-- 1 root root 88 Mar 21 08:32 cost.csv 08:32:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 08:32:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:32:38 total 16 08:32:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 08:32 . 08:32:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 08:32 .. 08:32:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 08:32 cost 08:32:38 -rw-r--r-- 1 jenkins jenkins 88 Mar 21 08:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:32:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:32:39 ---> package-listing.sh 08:32:39 ++ facter osfamily 08:32:39 ++ tr '[:upper:]' '[:lower:]' 08:32:40 + OS_FAMILY=debian 08:32:40 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:32:40 + START_PACKAGES=/tmp/packages_start.txt 08:32:40 + END_PACKAGES=/tmp/packages_end.txt 08:32:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:32:40 + PACKAGES=/tmp/packages_start.txt 08:32:40 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:32:40 + PACKAGES=/tmp/packages_end.txt 08:32:40 + case "${OS_FAMILY}" in 08:32:40 + dpkg -l 08:32:40 + grep '^ii' 08:32:40 + '[' -f /tmp/packages_start.txt ']' 08:32:40 + '[' -f /tmp/packages_end.txt ']' 08:32:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:32:40 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:32:40 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:32:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:32:40 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 08:32:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:32:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:41 prd-ubuntu20.04-docker-8c-8g-3828 does not seem to be running inside a container 08:32:41 $ 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 08:32:41 $ docker top 18b7923612f22ed31afe5d16441412a4e0b3c7311f58f5d5f6dbf46ccaac29e6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:41 + touch /tmp/pre-build-complete [Pipeline] sh 08:32:41 + mkdir -p /var/log/sysstat [Pipeline] sh 08:32:42 + ls /var/log/sa-host 08:32:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:42 provisioning config files... 08:32:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7788378905614369578tmp [Pipeline] { [Pipeline] echo 08:32:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:32:42 ---> create-netrc.sh [Pipeline] } 08:32:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:32:42 ---> python-tools-install.sh [Pipeline] echo 08:32:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:32:43 ---> sudo-logs.sh 08:32:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:32:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:32:43 ---> job-cost.sh 08:32:43 lf-activate-venv: SKIPPING 08:32:43 DEBUG: total: 1.5299999713897705 08:32:43 INFO: Retrieving Stack Cost... 08:32:43 INFO: Retrieving Pricing Info for: v3-standard-8 08:32:43 INFO: Archiving Costs [Pipeline] echo 08:32:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:32:44 ---> logs-deploy.sh 08:32:44 lf-activate-venv: SKIPPING 08:32:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/230 08:32:44 INFO: archiving workspace using pattern(s): 08:32:44 Archives upload complete. 08:32:44 INFO: archiving logs to Nexus