Started by user Jin Lin Guan Replayed #190 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30c083a5452dbfcd7d2c6cff84583659684690cc 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-ssh8946746197649868155.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17684048186084951231.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17474668136374402980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXEmail.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXReleaseOpenApi.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXLTS.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXEmailUtil.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXReleaseDocs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXGHPagesPublish.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy 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-ssh1936066035737768186.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-ssh11977012495360004616.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. Replacing contents of vars/lfCommon.groovy Replacing contents of vars/lfNode.groovy Replacing contents of vars/lfJava.groovy Replacing contents of vars/lfDocker.groovy Replacing contents of vars/lfDefaults.groovy Replacing contents of vars/lfInfraShipLogs.groovy Replacing contents of vars/lfParallelCostCapture.groovy [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42409 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 30c083a5452dbfcd7d2c6cff84583659684690cc (main) Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" > 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 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 > git rev-list --no-walk 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:54 ========================================================= 05:50:54 EdgeX Global Pipelines Version Info 05:50:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:55 ------------------- 05:50:55 stable info: 05:50:55 ------------------- 05:50:55 Commited By: Ginny Guan ginny@iotechsys.com 05:50:55 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 05:50:55 Message: update stable to v1.0.274 05:50:55 ------------------- 05:50:55 experimental info: 05:50:55 ------------------- 05:50:55 Commited By: Ginny Guan ginny@iotechsys.com 05:50:55 Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 05:50:55 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30c083a [Pipeline] echo 05:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:56 provisioning config files... 05:50:56 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2952953663885233810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:56 ---> ****-login.sh 05:50:56 nexus3.edgexfoundry.org:10001 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 nexus3.edgexfoundry.org:10002 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 nexus3.edgexfoundry.org:10003 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 nexus3.edgexfoundry.org:10004 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 ****.io 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 ---> ****-login.sh ends [Pipeline] } 05:50:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:50:58 + git rev-list -1 --merges 30c083a5452dbfcd7d2c6cff84583659684690cc~1..30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 05:50:58 -----------> git rev-list -1 --merges 30c083a5452dbfcd7d2c6cff84583659684690cc~1..30c083a5452dbfcd7d2c6cff84583659684690cc 30c083a5452dbfcd7d2c6cff84583659684690cc 05:50:58 30c083a5452dbfcd7d2c6cff84583659684690cc [false] [Pipeline] sh 05:50:58 + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 05:50:58 ========================================================= 05:50:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:50:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:58 + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 05:50:58 [semverPrep] GIT_COMMIT: 30c083a5452dbfcd7d2c6cff84583659684690cc, Commit Message: Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0 [Pipeline] echo 05:50:58 [semverPrep] This is not a build commit. [Pipeline] sh 05:50:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:59 + grep -v github /etc/ssh/ssh_known_hosts 05:50:59 + [ -e /tmp/ssh_known_hosts ] 05:50:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:50:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:50:59 + sudo tee -a /etc/ssh/ssh_known_hosts 05:50:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:59 05:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:00 0.1.4: Pulling from edgex-devops/py-git-semver 05:51:00 b85a868b505f: Pulling fs layer 05:51:00 e2be974225ed: Pulling fs layer 05:51:00 339a4e72a1f5: Pulling fs layer 05:51:00 988bab9f4d93: Pulling fs layer 05:51:00 1469e6f7b9e6: Pulling fs layer 05:51:00 eaf3925da568: Pulling fs layer 05:51:00 bab4dde63d76: Pulling fs layer 05:51:00 bde34c3a00c8: Pulling fs layer 05:51:00 b352a97aabf1: Pulling fs layer 05:51:00 4872d77fe225: Pulling fs layer 05:51:00 5851b861e8e6: Pulling fs layer 05:51:00 bab4dde63d76: Waiting 05:51:00 4872d77fe225: Waiting 05:51:00 988bab9f4d93: Waiting 05:51:00 5851b861e8e6: Waiting 05:51:00 bde34c3a00c8: Waiting 05:51:00 b352a97aabf1: Waiting 05:51:00 1469e6f7b9e6: Waiting 05:51:00 eaf3925da568: Waiting 05:51:00 e2be974225ed: Download complete 05:51:00 988bab9f4d93: Verifying Checksum 05:51:00 988bab9f4d93: Download complete 05:51:00 1469e6f7b9e6: Verifying Checksum 05:51:00 1469e6f7b9e6: Download complete 05:51:00 339a4e72a1f5: Verifying Checksum 05:51:00 339a4e72a1f5: Download complete 05:51:00 eaf3925da568: Download complete 05:51:00 bde34c3a00c8: Verifying Checksum 05:51:00 b352a97aabf1: Download complete 05:51:00 4872d77fe225: Verifying Checksum 05:51:00 4872d77fe225: Download complete 05:51:00 5851b861e8e6: Verifying Checksum 05:51:00 5851b861e8e6: Download complete 05:51:00 b85a868b505f: Verifying Checksum 05:51:00 b85a868b505f: Download complete 05:51:00 bab4dde63d76: Verifying Checksum 05:51:00 bab4dde63d76: Download complete 05:51:01 b85a868b505f: Pull complete 05:51:01 e2be974225ed: Pull complete 05:51:02 339a4e72a1f5: Pull complete 05:51:02 988bab9f4d93: Pull complete 05:51:02 1469e6f7b9e6: Pull complete 05:51:02 eaf3925da568: Pull complete 05:51:04 bab4dde63d76: Pull complete 05:51:04 bde34c3a00c8: Pull complete 05:51:04 b352a97aabf1: Pull complete 05:51:04 4872d77fe225: Pull complete 05:51:04 5851b861e8e6: Pull complete 05:51:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:51:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:05 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 05:51: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:51:07 $ docker top 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb -eo pid,comm 05:51: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). 05:51:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:07 [ssh-agent] Looking for ssh-agent implementation... 05:51:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:07 $ docker exec 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent 05:51:07 SSH_AUTH_SOCK=/tmp/ssh-VfaQzeQZk2jE/agent.33 05:51:07 SSH_AGENT_PID=40 05:51:07 Running ssh-add (command line suppressed) 05:51:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1451550964069369815.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1451550964069369815.key) 05:51:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:07 + git tag --points-at HEAD [Pipeline] } 05:51:07 $ docker exec --env ******** --env ******** 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent -k 05:51:08 unset SSH_AUTH_SOCK; 05:51:08 unset SSH_AGENT_PID; 05:51:08 echo Agent pid 40 killed; 05:51:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:51:08 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0-dev.12' [Pipeline] sshagent 05:51:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:08 [ssh-agent] Looking for ssh-agent implementation... 05:51:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:08 $ docker exec 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent 05:51:08 SSH_AUTH_SOCK=/tmp/ssh-KGa5jKzs8Ax5/agent.73 05:51:08 SSH_AGENT_PID=79 05:51:08 Running ssh-add (command line suppressed) 05:51:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10476752315795664822.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10476752315795664822.key) 05:51:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:08 + git semver init 05:51:09 2025-03-31 05:51:09,007 [run_init] DEBUG init version:0.0.0 force:False 05:51:09 2025-03-31 05:51:09,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 05:51:09 2025-03-31 05:51:09,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 05:51:09 2025-03-31 05:51:09,008 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 05:51:10 2025-03-31 05:51:10,457 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 05:51:10 2025-03-31 05:51:10,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 05:51:10 2025-03-31 05:51:10,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:51:10 2025-03-31 05:51:10,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:51:10 4.1.0-dev.1 [Pipeline] } 05:51:10 $ docker exec --env ******** --env ******** 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent -k 05:51:10 unset SSH_AUTH_SOCK; 05:51:10 unset SSH_AGENT_PID; 05:51:10 echo Agent pid 79 killed; 05:51:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:11 + git semver [Pipeline] } 05:51:11 $ docker stop --time=1 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb 05:51:12 $ docker rm -f --volumes 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb [Pipeline] // withDockerContainer [Pipeline] sh 05:51:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:13 Stashed 1 file(s) [Pipeline] echo 05:51:13 [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:13 provisioning config files... 05:51:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config639046229016888628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:13 ---> ****-login.sh 05:51:13 nexus3.edgexfoundry.org:10001 05:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:13 Configure a credential helper to remove this warning. See 05:51:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:13 05:51:13 Login Succeeded 05:51:13 nexus3.edgexfoundry.org:10002 05:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:13 Configure a credential helper to remove this warning. See 05:51:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:13 05:51:13 Login Succeeded 05:51:13 nexus3.edgexfoundry.org:10003 05:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:14 Configure a credential helper to remove this warning. See 05:51:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:14 05:51:14 Login Succeeded 05:51:14 nexus3.edgexfoundry.org:10004 05:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:14 Configure a credential helper to remove this warning. See 05:51:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:14 05:51:14 Login Succeeded 05:51:14 ****.io 05:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:14 Configure a credential helper to remove this warning. See 05:51:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:14 05:51:14 Login Succeeded 05:51:14 ---> ****-login.sh ends [Pipeline] } 05:51:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:51:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:51:14 ========================================================= 05:51:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:51:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:51:14 Sending build context to Docker daemon 21.66MB 05:51:14 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:51:14 Step 2/12 : FROM ${BASE} AS builder 05:51:14 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:51:14 da9db072f522: Pulling fs layer 05:51:14 6ef4a4ee8ca5: Pulling fs layer 05:51:14 06f05ace1117: Pulling fs layer 05:51:14 5fe327b54edc: Pulling fs layer 05:51:14 4f4fb700ef54: Pulling fs layer 05:51:14 92a5565b7b96: Pulling fs layer 05:51:14 ff9bb7016b71: Pulling fs layer 05:51:14 b67dba6c2c7d: Pulling fs layer 05:51:14 a813b0c90790: Pulling fs layer 05:51:14 ff9bb7016b71: Waiting 05:51:14 b67dba6c2c7d: Waiting 05:51:14 a813b0c90790: Waiting 05:51:14 4f4fb700ef54: Waiting 05:51:14 92a5565b7b96: Waiting 05:51:14 5fe327b54edc: Waiting 05:51:15 6ef4a4ee8ca5: Verifying Checksum 05:51:15 6ef4a4ee8ca5: Download complete 05:51:15 5fe327b54edc: Verifying Checksum 05:51:15 5fe327b54edc: Download complete 05:51:15 4f4fb700ef54: Download complete 05:51:15 92a5565b7b96: Download complete 05:51:15 da9db072f522: Download complete 05:51:15 ff9bb7016b71: Verifying Checksum 05:51:15 ff9bb7016b71: Download complete 05:51:15 da9db072f522: Pull complete 05:51:15 a813b0c90790: Verifying Checksum 05:51:15 a813b0c90790: Download complete 05:51:15 6ef4a4ee8ca5: Pull complete 05:51:15 06f05ace1117: Verifying Checksum 05:51:15 b67dba6c2c7d: Verifying Checksum 05:51:15 b67dba6c2c7d: Download complete 05:51:19 06f05ace1117: Pull complete 05:51:19 5fe327b54edc: Pull complete 05:51:19 4f4fb700ef54: Pull complete 05:51:19 92a5565b7b96: Pull complete 05:51:19 ff9bb7016b71: Pull complete 05:51:22 b67dba6c2c7d: Pull complete 05:51:22 a813b0c90790: Pull complete 05:51:22 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:51:22 ---> 3ba60ce46760 05:51:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:51:25 ---> Running in 7e73ad1a4ef0 05:51:25 Removing intermediate container 7e73ad1a4ef0 05:51:25 ---> 97b24aff5660 05:51:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:51:25 ---> Running in e09879374731 05:51:25 Removing intermediate container e09879374731 05:51:25 ---> 6ccaa0de9eb1 05:51:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:51:25 ---> Running in 31618d3061a5 05:51:25 Removing intermediate container 31618d3061a5 05:51:25 ---> 541ebb7f6a22 05:51:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:51:25 ---> Running in 0b17cc1f88f3 05:51:25 Removing intermediate container 0b17cc1f88f3 05:51:25 ---> a0e6596e53e6 05:51:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:51:25 ---> Running in 2934c21c55ad 05:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:51:26 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:51:26 (2/4) Installing libedit (20240517.3.1-r0) 05:51:26 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:51:26 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:51:26 Executing busybox-1.36.1-r29.trigger 05:51:26 OK: 252 MiB in 62 packages 05:51:26 Removing intermediate container 2934c21c55ad 05:51:26 ---> d3b752eb9061 05:51:26 Step 8/12 : WORKDIR /device-rest-go 05:51:27 ---> Running in 030dfacb6cda 05:51:27 Removing intermediate container 030dfacb6cda 05:51:27 ---> 18d8ef49e1d5 05:51:27 Step 9/12 : COPY go.mod vendor* ./ 05:51:27 ---> c3ef1e649971 05:51:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:27 ---> Running in 1040fc2c0acd 05:51:28 Still waiting to schedule task 05:51:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:52:13 Removing intermediate container 1040fc2c0acd 05:52:13 ---> 1707553d80c5 05:52:13 Step 11/12 : COPY . . 05:52:13 ---> 3f4d1dc32ffe 05:52:13 Step 12/12 : RUN $MAKE 05:52:13 ---> Running in fe96815d511f 05:52:13 noop 05:52:13 Removing intermediate container fe96815d511f 05:52:13 ---> 558b6313ab30 05:52:13 Successfully built 558b6313ab30 05:52:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:14 + docker inspect -f . ci-base-image-x86_64 05:52:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:14 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 05:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:52:14 $ docker top 9f16e4b9491eccea38a6452514395b513a15ed8beae0d467614bc945d6b89dfb -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:15 + go version 05:52:15 go version go1.23.4 linux/amd64 [Pipeline] } 05:52:15 $ docker stop --time=1 9f16e4b9491eccea38a6452514395b513a15ed8beae0d467614bc945d6b89dfb 05:52:16 $ docker rm -f --volumes 9f16e4b9491eccea38a6452514395b513a15ed8beae0d467614bc945d6b89dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:16 + docker inspect -f . ci-base-image-x86_64 05:52:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:16 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 05:52:16 $ 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 05:52:17 $ docker top 73448ce36233f04c6f614fd982be848125725be6cd605ff3786fd11987e942e7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 05:52:17 + make test 05:52:17 go test ./... -coverprofile=coverage.out ./... 05:52:19 ? github.com/edgexfoundry/device-rest-go [no test files] 05:52:41 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:52:41 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 05:52:51 go vet ./... 05:52:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:56 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:52:56 $ docker stop --time=1 73448ce36233f04c6f614fd982be848125725be6cd605ff3786fd11987e942e7 05:52:59 $ docker rm -f --volumes 73448ce36233f04c6f614fd982be848125725be6cd605ff3786fd11987e942e7 [Pipeline] // withDockerContainer [Pipeline] sh 05:52:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:53:00 + ls -al . 05:53:00 total 244 05:53:00 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 05:52 . 05:53:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:50 .. 05:53:00 -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 05:50 .dockerignore 05:53:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:52 .git 05:53:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:50 .github 05:53:00 -rw-rw-r-- 1 jenkins jenkins 264 Mar 31 05:50 .gitignore 05:53:00 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:50 .golangci.yml 05:53:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:51 .semver 05:53:00 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 31 05:50 Attribution.txt 05:53:00 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 31 05:50 CHANGELOG.md 05:53:00 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 31 05:50 Dockerfile 05:53:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:50 GOVERNANCE.md 05:53:00 -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 05:50 Jenkinsfile 05:53:00 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:50 LICENSE 05:53:00 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 31 05:50 Makefile 05:53:00 -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 05:50 OWNERS.md 05:53:00 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 31 05:50 README.md 05:53:00 -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 05:51 VERSION 05:53:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:50 bin 05:53:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:50 cmd 05:53:00 -rw-r--r-- 1 jenkins jenkins 14565 Mar 31 05:52 coverage.out 05:53:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:50 driver 05:53:00 -rw-rw-r-- 1 jenkins jenkins 6244 Mar 31 05:50 go.mod 05:53:00 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 31 05:50 go.sum 05:53:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:50 openapi 05:53:00 -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:01 + 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=30c083a5452dbfcd7d2c6cff84583659684690cc --label arch=amd64 --label version=4.1.0-dev.1 . 05:53:01 Sending build context to Docker daemon 21.68MB 05:53:01 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 05:53:01 Step 2/26 : FROM ${BASE} AS builder 05:53:01 ---> 558b6313ab30 05:53:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:53:01 ---> Running in 7afeb6f59704 05:53:01 Removing intermediate container 7afeb6f59704 05:53:01 ---> 2f64f1d8e30c 05:53:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:53:01 ---> Running in 53bf09ddb745 05:53:01 Removing intermediate container 53bf09ddb745 05:53:01 ---> 85c2fe3a57e5 05:53:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:53:01 ---> Running in b72a72eb24ba 05:53:01 Removing intermediate container b72a72eb24ba 05:53:01 ---> 7370ee9d2f69 05:53:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:53:01 ---> Running in 60cd5afb2882 05:53:01 Removing intermediate container 60cd5afb2882 05:53:01 ---> 4e0ef1149f6f 05:53:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:53:01 ---> Running in d66c53ca7f24 05:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:53:02 OK: 252 MiB in 62 packages 05:53:02 Removing intermediate container d66c53ca7f24 05:53:02 ---> 73bb0228071f 05:53:02 Step 8/26 : WORKDIR /device-rest-go 05:53:03 ---> Running in 736e31473040 05:53:03 Removing intermediate container 736e31473040 05:53:03 ---> 9ac91f1fe999 05:53:03 Step 9/26 : COPY go.mod vendor* ./ 05:53:03 ---> 4da43451e51b 05:53:03 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:03 ---> Running in e29eb61a13b1 05:53:03 Removing intermediate container e29eb61a13b1 05:53:03 ---> fe9890a1babd 05:53:03 Step 11/26 : COPY . . 05:53:04 ---> 83a40a2e96a0 05:53:04 Step 12/26 : RUN $MAKE 05:53:04 ---> Running in b1c56bb42527 05:53:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 05:53:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-42410 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 05:53:13 Running in /w/workspace/device-rest-go/191 [Pipeline] { [Pipeline] checkout 05:53:13 The recommended git tool is: git 05:53:18 using credential edgex-jenkins-ssh 05:53:18 Cloning the remote Git repository 05:53:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:53:18 > git init /w/workspace/device-rest-go/191 # timeout=10 05:53:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:53:18 > git --version # timeout=10 05:53:18 > git --version # 'git version 2.25.1' 05:53:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:53:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:23 Avoid second fetch 05:53:23 Checking out Revision 30c083a5452dbfcd7d2c6cff84583659684690cc (main) 05:53:24 Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" 05:53:23 > git config core.sparsecheckout # timeout=10 05:53:23 > git checkout -f 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:53:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:29 Dload Upload Total Spent Left Speed 05:53:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 05:53:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:53:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 05:53:29 sudo tee /etc/docker/daemon.new 05:53:29 { 05:53:29 "registry-mirrors": [ 05:53:29 "https://nexus3.edgexfoundry.org:10001" 05:53:29 ], 05:53:29 "bip": "10.250.0.254/24", 05:53:29 "hosts": [ 05:53:29 "tcp://0.0.0.0:5555", 05:53:29 "unix:///var/run/docker.sock" 05:53:29 ], 05:53:29 "mtu": 1458, 05:53:29 "selinux-enabled": true, 05:53:29 "seccomp-profile": "/etc/docker/seccomp.json" 05:53:29 } [Pipeline] sh 05:53:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:53:30 + sudo service docker restart 05:53:36 Removing intermediate container b1c56bb42527 05:53:36 ---> ff1552b0634c 05:53:36 Step 13/26 : FROM alpine:3.20 05:53:36 3.20: Pulling from library/alpine 05:53:36 0a9a5dfd008f: Pulling fs layer 05:53:36 0a9a5dfd008f: Verifying Checksum 05:53:36 0a9a5dfd008f: Download complete 05:53:36 0a9a5dfd008f: Pull complete 05:53:36 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:53:36 Status: Downloaded newer image for alpine:3.20 05:53:36 ---> ff221270b9fb 05:53:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:53:36 ---> Running in ae89aabcb999 05:53:36 Removing intermediate container ae89aabcb999 05:53:36 ---> 38f6a5443b72 05:53:36 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:53:36 ---> Running in 6faa16746731 05:53:36 Removing intermediate container 6faa16746731 05:53:36 ---> 6190891de56e 05:53:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:53:36 ---> Running in 015ff0734345 05:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:53:36 (1/1) Installing dumb-init (1.2.5-r3) 05:53:36 Executing busybox-1.36.1-r29.trigger 05:53:36 OK: 8 MiB in 15 packages 05:53:36 Removing intermediate container 015ff0734345 05:53:36 ---> 4b5761a8ae6e 05:53:36 Step 17/26 : RUN apk --no-cache upgrade 05:53:36 ---> Running in af9780112d02 05:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:53:37 OK: 8 MiB in 15 packages 05:53:37 Removing intermediate container af9780112d02 05:53:37 ---> fb3c9a4b1abc 05:53:37 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:53:38 ---> df5527fb05d0 05:53:38 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:53:38 ---> 12debc0f6804 05:53:38 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:53:38 ---> 752aef4514af 05:53:38 Step 21/26 : EXPOSE 59986 05:53:38 ---> Running in bc2d30c93515 05:53:38 Removing intermediate container bc2d30c93515 05:53:38 ---> 5df1dbac74bd 05:53:38 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:53:38 ---> Running in a612e1a2665e 05:53:38 Removing intermediate container a612e1a2665e 05:53:38 ---> c3648d8dc6a1 05:53:38 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:53:38 ---> Running in dad287251bc1 05:53:38 Removing intermediate container dad287251bc1 05:53:38 ---> dedefa1e5675 05:53:38 Step 24/26 : LABEL arch=amd64 05:53:38 ---> Running in ecd1899f8bf6 05:53:38 Removing intermediate container ecd1899f8bf6 05:53:38 ---> b87c630d9675 05:53:38 Step 25/26 : LABEL git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc 05:53:38 ---> Running in f9586f828507 05:53:38 Removing intermediate container f9586f828507 05:53:38 ---> 09c65cf7aec0 05:53:38 Step 26/26 : LABEL version=4.1.0-dev.1 05:53:38 ---> Running in 1aba2d9044b1 05:53:39 Removing intermediate container 1aba2d9044b1 05:53:39 ---> 4dc6be5e1482 05:53:39 [Warning] One or more build-args [ARCH] were not consumed 05:53:39 Successfully built 4dc6be5e1482 05:53:39 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:39 provisioning config files... 05:53:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8644321635189480395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:39 ---> ****-login.sh 05:53:39 nexus3.edgexfoundry.org:10001 05:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:39 Configure a credential helper to remove this warning. See 05:53:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:39 05:53:39 Login Succeeded 05:53:39 nexus3.edgexfoundry.org:10002 05:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:39 Configure a credential helper to remove this warning. See 05:53:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:39 05:53:39 Login Succeeded 05:53:39 nexus3.edgexfoundry.org:10003 05:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:39 Configure a credential helper to remove this warning. See 05:53:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:39 05:53:39 Login Succeeded 05:53:39 nexus3.edgexfoundry.org:10004 05:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:39 Configure a credential helper to remove this warning. See 05:53:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:39 05:53:39 Login Succeeded 05:53:39 ****.io 05:53:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:40 Configure a credential helper to remove this warning. See 05:53:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:40 05:53:40 Login Succeeded 05:53:40 ---> ****-login.sh ends [Pipeline] } 05:53:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:53:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:53:40 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:53:40 30c083a5452dbfcd7d2c6cff84583659684690cc 05:53:40 latest 05:53:40 4.1.0-dev.1 05:53:40 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 05:53:40 main 05:53:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc 05:53:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:53:40 cf54068d16f1: Preparing 05:53:40 23c92e86c183: Preparing 05:53:40 4c859f00b4e8: Preparing 05:53:40 c4053f9a4ce4: Preparing 05:53:40 cd5886b72807: Preparing 05:53:40 994456c4fd7b: Preparing 05:53:40 c4053f9a4ce4: Pushed 05:53:40 994456c4fd7b: Layer already exists 05:53:40 cf54068d16f1: Pushed 05:53:40 cd5886b72807: Pushed 05:53:40 23c92e86c183: Pushed 05:53:44 4c859f00b4e8: Pushed 05:53:44 30c083a5452dbfcd7d2c6cff84583659684690cc: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:53:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:53:44 cf54068d16f1: Preparing 05:53:44 23c92e86c183: Preparing 05:53:44 4c859f00b4e8: Preparing 05:53:44 c4053f9a4ce4: Preparing 05:53:44 cd5886b72807: Preparing 05:53:44 994456c4fd7b: Preparing 05:53:44 cd5886b72807: Layer already exists 05:53:44 cf54068d16f1: Layer already exists 05:53:44 c4053f9a4ce4: Layer already exists 05:53:44 4c859f00b4e8: Layer already exists 05:53:44 23c92e86c183: Layer already exists 05:53:44 994456c4fd7b: Layer already exists 05:53:44 latest: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 05:53:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:53:45 cf54068d16f1: Preparing 05:53:45 23c92e86c183: Preparing 05:53:45 4c859f00b4e8: Preparing 05:53:45 c4053f9a4ce4: Preparing 05:53:45 cd5886b72807: Preparing 05:53:45 994456c4fd7b: Preparing 05:53:45 994456c4fd7b: Waiting 05:53:45 c4053f9a4ce4: Layer already exists 05:53:45 23c92e86c183: Layer already exists 05:53:45 cd5886b72807: Layer already exists 05:53:45 cf54068d16f1: Layer already exists 05:53:45 4c859f00b4e8: Layer already exists 05:53:45 994456c4fd7b: Layer already exists 05:53:45 4.1.0-dev.1: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 05:53:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:53:46 cf54068d16f1: Preparing 05:53:46 23c92e86c183: Preparing 05:53:46 4c859f00b4e8: Preparing 05:53:46 c4053f9a4ce4: Preparing 05:53:46 cd5886b72807: Preparing 05:53:46 994456c4fd7b: Preparing 05:53:46 994456c4fd7b: Waiting 05:53:46 cf54068d16f1: Layer already exists 05:53:46 c4053f9a4ce4: Layer already exists 05:53:46 23c92e86c183: Layer already exists 05:53:46 cd5886b72807: Layer already exists 05:53:46 4c859f00b4e8: Layer already exists 05:53:46 994456c4fd7b: Layer already exists 05:53:46 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 05:53:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:53:46 cf54068d16f1: Preparing 05:53:46 23c92e86c183: Preparing 05:53:46 4c859f00b4e8: Preparing 05:53:46 c4053f9a4ce4: Preparing 05:53:46 cd5886b72807: Preparing 05:53:46 994456c4fd7b: Preparing 05:53:46 994456c4fd7b: Waiting 05:53:46 4c859f00b4e8: Layer already exists 05:53:46 23c92e86c183: Layer already exists 05:53:46 c4053f9a4ce4: Layer already exists 05:53:46 cf54068d16f1: Layer already exists 05:53:46 cd5886b72807: Layer already exists 05:53:46 994456c4fd7b: Layer already exists 05:53:46 main: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:53:47 ===================================================== [Pipeline] echo 05:53:47 taggedImages: 05:53:47 - nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc 05:53:47 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:53:47 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 05:53:47 - nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 05:53:47 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:47 05:53:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:47 latest: Pulling from edgex-lftools-log-publisher 05:53:47 5eb5b503b376: Pulling fs layer 05:53:47 5c69ac0246d0: Pulling fs layer 05:53:47 ec43610c2a17: Pulling fs layer 05:53:47 3a2ae6a8a46f: Pulling fs layer 05:53:47 33b1e0a273af: Pulling fs layer 05:53:47 5d3b04190fa2: Pulling fs layer 05:53:47 2f39f015ded8: Pulling fs layer 05:53:47 3a2ae6a8a46f: Waiting 05:53:47 33b1e0a273af: Waiting 05:53:47 5d3b04190fa2: Waiting 05:53:47 2f39f015ded8: Waiting 05:53:47 5c69ac0246d0: Download complete 05:53:47 3a2ae6a8a46f: Download complete 05:53:47 33b1e0a273af: Verifying Checksum 05:53:47 33b1e0a273af: Download complete 05:53:47 ec43610c2a17: Verifying Checksum 05:53:47 ec43610c2a17: Download complete 05:53:47 5d3b04190fa2: Verifying Checksum 05:53:47 5d3b04190fa2: Download complete 05:53:48 5eb5b503b376: Download complete 05:53:48 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:48 provisioning config files... 05:53:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/191@tmp/config15183443052566718322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:49 5eb5b503b376: Pull complete 05:53:49 ---> ****-login.sh 05:53:49 nexus3.edgexfoundry.org:10001 05:53:49 5c69ac0246d0: Pull complete 05:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:49 ec43610c2a17: Pull complete 05:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:49 Configure a credential helper to remove this warning. See 05:53:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:49 05:53:49 Login Succeeded 05:53:49 nexus3.edgexfoundry.org:10002 05:53:49 3a2ae6a8a46f: Pull complete 05:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:50 33b1e0a273af: Pull complete 05:53:50 5d3b04190fa2: Pull complete 05:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:50 Configure a credential helper to remove this warning. See 05:53:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:50 05:53:50 Login Succeeded 05:53:50 nexus3.edgexfoundry.org:10003 05:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:50 Configure a credential helper to remove this warning. See 05:53:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:50 05:53:50 Login Succeeded 05:53:50 nexus3.edgexfoundry.org:10004 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 ****.io 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 ---> ****-login.sh ends [Pipeline] } 05:53:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:53:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:53:51 ========================================================= 05:53:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:53:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:53:52 Sending build context to Docker daemon 141.8kB 05:53:52 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:53:52 Step 2/12 : FROM ${BASE} AS builder 05:53:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:52 9986a736f7d3: Pulling fs layer 05:53:52 1f018df60701: Pulling fs layer 05:53:52 39f8f326b044: Pulling fs layer 05:53:52 e6a1e7a6a96a: Pulling fs layer 05:53:52 4f4fb700ef54: Pulling fs layer 05:53:52 d45d956e0dbf: Pulling fs layer 05:53:52 e6a1e7a6a96a: Waiting 05:53:52 4f4fb700ef54: Waiting 05:53:52 d45d956e0dbf: Waiting 05:53:52 d7702b0d1db1: Pulling fs layer 05:53:52 5c7f0f088c93: Pulling fs layer 05:53:52 d7702b0d1db1: Waiting 05:53:52 5c7f0f088c93: Waiting 05:53:52 4fdc064ae6cf: Pulling fs layer 05:53:52 4fdc064ae6cf: Waiting 05:53:52 1f018df60701: Download complete 05:53:52 e6a1e7a6a96a: Verifying Checksum 05:53:52 e6a1e7a6a96a: Download complete 05:53:52 4f4fb700ef54: Verifying Checksum 05:53:52 4f4fb700ef54: Download complete 05:53:52 d45d956e0dbf: Verifying Checksum 05:53:52 d45d956e0dbf: Download complete 05:53:52 d7702b0d1db1: Download complete 05:53:52 9986a736f7d3: Download complete 05:53:53 4fdc064ae6cf: Verifying Checksum 05:53:53 4fdc064ae6cf: Download complete 05:53:53 9986a736f7d3: Pull complete 05:53:54 1f018df60701: Pull complete 05:53:54 2f39f015ded8: Pull complete 05:53:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:54 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 05:53:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:54 39f8f326b044: Verifying Checksum 05:53:54 39f8f326b044: Download complete 05:53:55 5c7f0f088c93: Verifying Checksum 05:53:55 5c7f0f088c93: Download complete 05:53:56 $ docker top 5116c4c42ceae132d891b4ff3fcd7fc110e6c3b94603c37d3bafa407002183c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:57 ---> job-cost.sh 05:53:57 lf-activate-venv: SKIPPING 05:53:57 INFO: No Stack... 05:53:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:57 INFO: Archiving Costs [Pipeline] sh 05:53:58 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 05:53:58 + cut -d, -f6 [Pipeline] lock 05:53:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] 05:53:58 Resource [jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] did not exist. Created. 05:53:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:58 + echo total: 0.2199999988079071 [Pipeline] stash 05:53:58 Stashed 1 file(s) [Pipeline] } 05:53:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:58 $ docker stop --time=1 5116c4c42ceae132d891b4ff3fcd7fc110e6c3b94603c37d3bafa407002183c2 05:53:59 $ docker rm -f --volumes 5116c4c42ceae132d891b4ff3fcd7fc110e6c3b94603c37d3bafa407002183c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:54:10 39f8f326b044: Pull complete 05:54:10 e6a1e7a6a96a: Pull complete 05:54:10 4f4fb700ef54: Pull complete 05:54:10 d45d956e0dbf: Pull complete 05:54:10 d7702b0d1db1: Pull complete 05:54:18 5c7f0f088c93: Pull complete 05:54:19 4fdc064ae6cf: Pull complete 05:54:19 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 05:54:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:54:19 ---> 63f30b955cb9 05:54:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:54:21 ---> Running in c484520a4621 05:54:22 Removing intermediate container c484520a4621 05:54:22 ---> 17041c8e52db 05:54:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:54:22 ---> Running in 3e6ecb56ffe1 05:54:22 Removing intermediate container 3e6ecb56ffe1 05:54:22 ---> 96d5cda54f71 05:54:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:54:22 ---> Running in 1660406d4a25 05:54:22 Removing intermediate container 1660406d4a25 05:54:22 ---> fe21bd74e17a 05:54:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:54:22 ---> Running in 330c4d444937 05:54:23 Removing intermediate container 330c4d444937 05:54:23 ---> 68352a8a8e7e 05:54:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:54:23 ---> Running in c235cad74fc7 05:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:54:26 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:54:26 (2/4) Installing libedit (20240517.3.1-r0) 05:54:26 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:54:26 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:54:26 Executing busybox-1.36.1-r29.trigger 05:54:26 OK: 244 MiB in 62 packages 05:54:27 Removing intermediate container c235cad74fc7 05:54:27 ---> 4ca72651cbd1 05:54:27 Step 8/12 : WORKDIR /device-rest-go 05:54:27 ---> Running in b4dd24ab9d8d 05:54:28 Removing intermediate container b4dd24ab9d8d 05:54:28 ---> 0217ccaceabc 05:54:28 Step 9/12 : COPY go.mod vendor* ./ 05:54:28 ---> 3769da3fe2c3 05:54:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:28 ---> Running in 9c6da46b631a 05:56:20 Removing intermediate container 9c6da46b631a 05:56:20 ---> 9d59b284928d 05:56:20 Step 11/12 : COPY . . 05:56:20 ---> 0cb0378b53d1 05:56:20 Step 12/12 : RUN $MAKE 05:56:20 ---> Running in 7a6b525015d6 05:56:20 noop 05:56:20 Removing intermediate container 7a6b525015d6 05:56:20 ---> d8a5afcf01f9 05:56:20 Successfully built d8a5afcf01f9 05:56:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:20 + docker inspect -f . ci-base-image-arm64 05:56:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:20 prd-ubuntu20.04-docker-arm64-4c-16g-42410 does not seem to be running inside a container 05:56:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/191 -v /w/workspace/device-rest-go/191:/w/workspace/device-rest-go/191:rw,z -v /w/workspace/device-rest-go/191@tmp:/w/workspace/device-rest-go/191@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 ******** -e ******** ci-base-image-arm64 cat 05:56:22 $ docker top 3e1fc2bbc324795be83e846052877e24590249b24afa1774c4c927f51efa0407 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:23 + go version 05:56:23 go version go1.23.4 linux/arm64 [Pipeline] } 05:56:23 $ docker stop --time=1 3e1fc2bbc324795be83e846052877e24590249b24afa1774c4c927f51efa0407 05:56:24 $ docker rm -f --volumes 3e1fc2bbc324795be83e846052877e24590249b24afa1774c4c927f51efa0407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:25 + docker inspect -f . ci-base-image-arm64 05:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:25 prd-ubuntu20.04-docker-arm64-4c-16g-42410 does not seem to be running inside a container 05:56:25 $ 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/191 -v /w/workspace/device-rest-go/191:/w/workspace/device-rest-go/191:rw,z -v /w/workspace/device-rest-go/191@tmp:/w/workspace/device-rest-go/191@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 ******** -e ******** ci-base-image-arm64 cat 05:56:26 $ docker top af2b1c284feb6344df8da8dc62201040243efbce62169907b822bb8bc759b848 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:27 + git config --global --add safe.directory /w/workspace/device-rest-go/191 [Pipeline] fileExists [Pipeline] sh 05:56:28 + make test 05:56:28 go test ./... -coverprofile=coverage.out ./... 05:56:33 ? github.com/edgexfoundry/device-rest-go [no test files] 05:59:55 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:59:56 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements 05:59:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:59:57 go vet ./... 06:00:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:54 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:00:54 $ docker stop --time=1 af2b1c284feb6344df8da8dc62201040243efbce62169907b822bb8bc759b848 06:00:56 $ docker rm -f --volumes af2b1c284feb6344df8da8dc62201040243efbce62169907b822bb8bc759b848 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:57 Warning: overwriting stash ‘coverage-report’ 06:00:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:59 + ls -al . 06:00:59 total 240 06:00:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:56 . 06:00:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:53 .. 06:00:59 -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 05:53 .dockerignore 06:00:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:53 .git 06:00:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:53 .github 06:00:59 -rw-rw-r-- 1 jenkins jenkins 264 Mar 31 05:53 .gitignore 06:00:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:53 .golangci.yml 06:00:59 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 31 05:53 Attribution.txt 06:00:59 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 31 05:53 CHANGELOG.md 06:00:59 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 31 05:53 Dockerfile 06:00:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:53 GOVERNANCE.md 06:00:59 -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 05:53 Jenkinsfile 06:00:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:53 LICENSE 06:00:59 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 31 05:53 Makefile 06:00:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 05:53 OWNERS.md 06:00:59 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 31 05:53 README.md 06:00:59 -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 05:51 VERSION 06:00:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:53 bin 06:00:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:53 cmd 06:00:59 -rw-r--r-- 1 jenkins jenkins 14565 Mar 31 05:59 coverage.out 06:00:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:53 driver 06:00:59 -rw-rw-r-- 1 jenkins jenkins 6244 Mar 31 05:53 go.mod 06:00:59 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 31 05:53 go.sum 06:00:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:53 openapi 06:00:59 -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:59 + 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=30c083a5452dbfcd7d2c6cff84583659684690cc --label arch=arm64 --label version=4.1.0-dev.1 . 06:00:59 Sending build context to Docker daemon 157.2kB 06:00:59 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:00:59 Step 2/26 : FROM ${BASE} AS builder 06:00:59 ---> d8a5afcf01f9 06:00:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:00:59 ---> Running in 0dcdea0fda14 06:01:00 Removing intermediate container 0dcdea0fda14 06:01:00 ---> a2ba8d71e3cc 06:01:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:00 ---> Running in 1c776f320191 06:01:00 Removing intermediate container 1c776f320191 06:01:00 ---> 4bb466795ff0 06:01:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:01:00 ---> Running in 14b0683b6404 06:01:00 Removing intermediate container 14b0683b6404 06:01:00 ---> fbd35a62a0c7 06:01:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:01:01 ---> Running in fb14fb1a4727 06:01:01 Removing intermediate container fb14fb1a4727 06:01:01 ---> ffad1fcf89b8 06:01:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:01 ---> Running in 1f7457b66c9a 06:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:01:04 OK: 244 MiB in 62 packages 06:01:05 Removing intermediate container 1f7457b66c9a 06:01:05 ---> badd7060f00e 06:01:05 Step 8/26 : WORKDIR /device-rest-go 06:01:05 ---> Running in 26bd8b09dd87 06:01:05 Removing intermediate container 26bd8b09dd87 06:01:05 ---> 8c4255e57856 06:01:05 Step 9/26 : COPY go.mod vendor* ./ 06:01:06 ---> be4a8bf8cb27 06:01:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:06 ---> Running in cef0d1fdb99a 06:01:08 Removing intermediate container cef0d1fdb99a 06:01:08 ---> 049542232903 06:01:08 Step 11/26 : COPY . . 06:01:08 ---> ca24144ce293 06:01:08 Step 12/26 : RUN $MAKE 06:01:09 ---> Running in 9868758768f6 06:01:10 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:04:31 Removing intermediate container 9868758768f6 06:04:31 ---> 81694a22972b 06:04:31 Step 13/26 : FROM alpine:3.20 06:04:31 3.20: Pulling from library/alpine 06:04:31 94e9d8af2201: Pulling fs layer 06:04:31 94e9d8af2201: Verifying Checksum 06:04:31 94e9d8af2201: Download complete 06:04:31 94e9d8af2201: Pull complete 06:04:31 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:04:31 Status: Downloaded newer image for alpine:3.20 06:04:31 ---> 7aab056cecc6 06:04:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:04:31 ---> Running in 63cbdf4cae49 06:04:31 Removing intermediate container 63cbdf4cae49 06:04:31 ---> 40661441f81b 06:04:31 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 06:04:31 ---> Running in 895b21670ee5 06:04:31 Removing intermediate container 895b21670ee5 06:04:31 ---> 0441b056e0dd 06:04:31 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:04:31 ---> Running in 3ff85d3086af 06:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:04:34 (1/1) Installing dumb-init (1.2.5-r3) 06:04:34 Executing busybox-1.36.1-r29.trigger 06:04:34 OK: 9 MiB in 15 packages 06:04:35 Removing intermediate container 3ff85d3086af 06:04:35 ---> 45fe15cff3ff 06:04:35 Step 17/26 : RUN apk --no-cache upgrade 06:04:35 ---> Running in 5fb3c11bfaaf 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:04:37 OK: 9 MiB in 15 packages 06:04:38 Removing intermediate container 5fb3c11bfaaf 06:04:38 ---> 2314b74a86b0 06:04:38 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 06:04:40 ---> cd5e46ab5c9f 06:04:40 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 06:04:41 ---> 0ecb39aeb762 06:04:41 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 06:04:41 ---> 1e1bd002a519 06:04:41 Step 21/26 : EXPOSE 59986 06:04:41 ---> Running in eeeac3354981 06:04:41 Removing intermediate container eeeac3354981 06:04:41 ---> cb7dc11c335e 06:04:41 Step 22/26 : ENTRYPOINT ["/device-rest"] 06:04:41 ---> Running in c4426b3dd2e9 06:04:42 Removing intermediate container c4426b3dd2e9 06:04:42 ---> c98a1016fcd9 06:04:42 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:04:42 ---> Running in 2100ad7eae1e 06:04:42 Removing intermediate container 2100ad7eae1e 06:04:42 ---> 1255d4da4548 06:04:42 Step 24/26 : LABEL arch=arm64 06:04:42 ---> Running in 63b473ef4f7a 06:04:42 Removing intermediate container 63b473ef4f7a 06:04:42 ---> 4c2caf5e867e 06:04:42 Step 25/26 : LABEL git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc 06:04:42 ---> Running in b5a731c7d3b8 06:04:43 Removing intermediate container b5a731c7d3b8 06:04:43 ---> b6b76a76c92e 06:04:43 Step 26/26 : LABEL version=4.1.0-dev.1 06:04:43 ---> Running in 2af558e9575d 06:04:43 Removing intermediate container 2af558e9575d 06:04:43 ---> e0814ec05a62 06:04:43 [Warning] One or more build-args [ARCH] were not consumed 06:04:43 Successfully built e0814ec05a62 06:04:43 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 06:04:43 provisioning config files... 06:04:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/191@tmp/config11972093932141337025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:44 ---> ****-login.sh 06:04:44 nexus3.edgexfoundry.org:10001 06:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:44 Configure a credential helper to remove this warning. See 06:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:44 06:04:44 Login Succeeded 06:04:44 nexus3.edgexfoundry.org:10002 06:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:44 Configure a credential helper to remove this warning. See 06:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:44 06:04:44 Login Succeeded 06:04:44 nexus3.edgexfoundry.org:10003 06:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:45 Configure a credential helper to remove this warning. See 06:04:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:45 06:04:45 Login Succeeded 06:04:45 nexus3.edgexfoundry.org:10004 06:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:45 Configure a credential helper to remove this warning. See 06:04:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:45 06:04:45 Login Succeeded 06:04:45 ****.io 06:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:46 Configure a credential helper to remove this warning. See 06:04:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:46 06:04:46 Login Succeeded 06:04:46 ---> ****-login.sh ends [Pipeline] } 06:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:04:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:04:46 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 06:04:46 30c083a5452dbfcd7d2c6cff84583659684690cc 06:04:46 latest 06:04:46 4.1.0-dev.1 06:04:46 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 06:04:46 main 06:04:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc 06:04:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:04:47 f332540eadf9: Preparing 06:04:47 cd5eed9e21ef: Preparing 06:04:47 0b38ced37491: Preparing 06:04:47 01b216566238: Preparing 06:04:47 8ac44ef1b37c: Preparing 06:04:47 dd9c8f8612c8: Preparing 06:04:47 dd9c8f8612c8: Waiting 06:04:47 01b216566238: Pushed 06:04:47 8ac44ef1b37c: Pushed 06:04:47 f332540eadf9: Pushed 06:04:47 cd5eed9e21ef: Pushed 06:04:47 dd9c8f8612c8: Layer already exists 06:04:53 0b38ced37491: Pushed 06:04:54 30c083a5452dbfcd7d2c6cff84583659684690cc: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:04:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:04:54 f332540eadf9: Preparing 06:04:54 cd5eed9e21ef: Preparing 06:04:54 0b38ced37491: Preparing 06:04:54 01b216566238: Preparing 06:04:54 8ac44ef1b37c: Preparing 06:04:54 dd9c8f8612c8: Preparing 06:04:54 dd9c8f8612c8: Waiting 06:04:54 cd5eed9e21ef: Layer already exists 06:04:54 f332540eadf9: Layer already exists 06:04:54 8ac44ef1b37c: Layer already exists 06:04:54 01b216566238: Layer already exists 06:04:54 0b38ced37491: Layer already exists 06:04:54 dd9c8f8612c8: Layer already exists 06:04:55 latest: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 06:04:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:04:55 f332540eadf9: Preparing 06:04:55 cd5eed9e21ef: Preparing 06:04:55 0b38ced37491: Preparing 06:04:55 01b216566238: Preparing 06:04:55 8ac44ef1b37c: Preparing 06:04:55 dd9c8f8612c8: Preparing 06:04:55 dd9c8f8612c8: Waiting 06:04:55 cd5eed9e21ef: Layer already exists 06:04:55 f332540eadf9: Layer already exists 06:04:55 01b216566238: Layer already exists 06:04:55 0b38ced37491: Layer already exists 06:04:55 8ac44ef1b37c: Layer already exists 06:04:55 dd9c8f8612c8: Layer already exists 06:04:55 4.1.0-dev.1: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 06:04:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:04:56 f332540eadf9: Preparing 06:04:56 cd5eed9e21ef: Preparing 06:04:56 0b38ced37491: Preparing 06:04:56 01b216566238: Preparing 06:04:56 8ac44ef1b37c: Preparing 06:04:56 dd9c8f8612c8: Preparing 06:04:56 dd9c8f8612c8: Waiting 06:04:56 f332540eadf9: Layer already exists 06:04:56 0b38ced37491: Layer already exists 06:04:56 8ac44ef1b37c: Layer already exists 06:04:56 01b216566238: Layer already exists 06:04:56 cd5eed9e21ef: Layer already exists 06:04:56 dd9c8f8612c8: Layer already exists 06:04:56 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 06:04:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:04:57 f332540eadf9: Preparing 06:04:57 cd5eed9e21ef: Preparing 06:04:57 0b38ced37491: Preparing 06:04:57 01b216566238: Preparing 06:04:57 8ac44ef1b37c: Preparing 06:04:57 dd9c8f8612c8: Preparing 06:04:57 dd9c8f8612c8: Waiting 06:04:57 0b38ced37491: Layer already exists 06:04:57 f332540eadf9: Layer already exists 06:04:57 cd5eed9e21ef: Layer already exists 06:04:57 01b216566238: Layer already exists 06:04:57 8ac44ef1b37c: Layer already exists 06:04:57 dd9c8f8612c8: Layer already exists 06:04:58 main: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:04:58 ===================================================== [Pipeline] echo 06:04:58 taggedImages: 06:04:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc 06:04:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:04:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 06:04:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 06:04:58 - 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 06:04:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:58 06:04:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:04:58 arm64: Pulling from edgex-lftools-log-publisher 06:04:58 8998bd30e6a1: Pulling fs layer 06:04:58 04944245beec: Pulling fs layer 06:04:58 699f458cf7ca: Pulling fs layer 06:04:58 765212b225bb: Pulling fs layer 06:04:58 f23df028b6ca: Pulling fs layer 06:04:58 d65c8cfc05b1: Pulling fs layer 06:04:58 2437ff75d9bd: Pulling fs layer 06:04:58 765212b225bb: Waiting 06:04:58 f23df028b6ca: Waiting 06:04:58 d65c8cfc05b1: Waiting 06:04:58 2437ff75d9bd: Waiting 06:04:59 04944245beec: Verifying Checksum 06:04:59 04944245beec: Download complete 06:04:59 765212b225bb: Verifying Checksum 06:04:59 765212b225bb: Download complete 06:04:59 f23df028b6ca: Verifying Checksum 06:04:59 f23df028b6ca: Download complete 06:04:59 d65c8cfc05b1: Verifying Checksum 06:04:59 d65c8cfc05b1: Download complete 06:04:59 699f458cf7ca: Verifying Checksum 06:04:59 699f458cf7ca: Download complete 06:04:59 8998bd30e6a1: Download complete 06:05:02 2437ff75d9bd: Verifying Checksum 06:05:02 2437ff75d9bd: Download complete 06:05:04 8998bd30e6a1: Pull complete 06:05:04 04944245beec: Pull complete 06:05:06 699f458cf7ca: Pull complete 06:05:06 765212b225bb: Pull complete 06:05:07 f23df028b6ca: Pull complete 06:05:07 d65c8cfc05b1: Pull complete 06:05:25 2437ff75d9bd: Pull complete 06:05:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:05:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:26 prd-ubuntu20.04-docker-arm64-4c-16g-42410 does not seem to be running inside a container 06:05:26 $ 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/191 -v /w/workspace/device-rest-go/191:/w/workspace/device-rest-go/191:rw,z -v /w/workspace/device-rest-go/191@tmp:/w/workspace/device-rest-go/191@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:05:28 $ docker top 0c4786c6b2e265e94fe8227f5c0c421bf027e10b23f6404020c79087e8519e33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:29 ---> job-cost.sh 06:05:29 lf-activate-venv: SKIPPING 06:05:29 INFO: No Stack... 06:05:30 INFO: Retrieving Pricing Info for: v3-standard-4 06:05:30 INFO: Archiving Costs [Pipeline] sh 06:05:30 + cat /w/workspace/device-rest-go/191/archives/cost.csv 06:05:31 + cut -d, -f6 [Pipeline] lock 06:05:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] 06:05:31 Resource [jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] did not exist. Created. 06:05:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:31 /w/workspace/device-rest-go/191@tmp/durable-8110e41e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:05:32 + echo total: 0.10999999940395355 [Pipeline] stash 06:05:32 Warning: overwriting stash ‘stack-cost’ 06:05:32 Stashed 1 file(s) [Pipeline] } 06:05:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:32 $ docker stop --time=1 0c4786c6b2e265e94fe8227f5c0c421bf027e10b23f6404020c79087e8519e33 06:05:34 $ docker rm -f --volumes 0c4786c6b2e265e94fe8227f5c0c421bf027e10b23f6404020c79087e8519e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:05:34 provisioning config files... 06:05:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11382147141878884621tmp [Pipeline] { [Pipeline] sh 06:05:35 + set +x 06:05:35 + + bash -s -- 06:05:35 curl -s https://codecov.io/bash 06:05:35 06:05:35 _____ _ 06:05:35 / ____| | | 06:05:35 | | ___ __| | ___ ___ _____ __ 06:05:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:05:35 | |___| (_) | (_| | __/ (_| (_) \ V / 06:05:35 \_____\___/ \__,_|\___|\___\___/ \_/ 06:05:35 Bash-1.0.6 06:05:35 06:05:35 06:05:35 ==> git version 2.25.1 found 06:05:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:05:35 Release-Date: 2020-01-08 06:05:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:05:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:05:35 ==> Jenkins CI detected. 06:05:35 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 06:05:35 project root: . 06:05:35 --> token set from env 06:05:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:05:35 ==> Running gcov in . (disable via -X gcov) 06:05:35 ==> Python coveragepy not found 06:05:35 ==> Searching for coverage reports in: 06:05:35 + . 06:05:35 -> Found 1 reports 06:05:35 ==> Detecting git/mercurial file structure 06:05:35 ==> Reading reports 06:05:35 + ./coverage.out bytes=14565 06:05:35 ==> Appending adjustments 06:05:35 https://docs.codecov.io/docs/fixing-reports 06:05:35 + Found adjustments 06:05:35 ==> Gzipping contents 06:05:35 4.0K /tmp/codecov.rCcy3K.gz 06:05:35 ==> Uploading reports 06:05:35 url: https://codecov.io 06:05:35 query: branch=main&commit=30c083a5452dbfcd7d2c6cff84583659684690cc&build=191&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F191%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:05:35 -> Pinging Codecov 06:05:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=30c083a5452dbfcd7d2c6cff84583659684690cc&build=191&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F191%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:05:35 -> Uploading to 06:05:35 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/30c083a5452dbfcd7d2c6cff84583659684690cc/c917d4cd-5559-47ba-aded-12a8b24f1955.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250331%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250331T060535Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=798d39368202b0317d66998271b28d1de7b896a66aef69cdc3255cc0cec8ccdf 06:05:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:05:35 Dload Upload Total Spent Left Speed 06:05:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14543 --:--:-- --:--:-- --:--:-- 14635 06:05:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } 06:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:05:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:05:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:05:36 06:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:05:36 latest: Pulling from edgex-devops/edgex-snyk-go 06:05:36 43c4264eed91: Pulling fs layer 06:05:36 4cc291be95ef: Pulling fs layer 06:05:36 2ac1f1163629: Pulling fs layer 06:05:36 5c3c966382ef: Pulling fs layer 06:05:36 4f4fb700ef54: Pulling fs layer 06:05:36 d9c7d2e4e75e: Pulling fs layer 06:05:36 9c3e1370e548: Pulling fs layer 06:05:36 4f4fb700ef54: Waiting 06:05:36 5c3c966382ef: Waiting 06:05:36 d9c7d2e4e75e: Waiting 06:05:36 4cc291be95ef: Verifying Checksum 06:05:36 4cc291be95ef: Download complete 06:05:36 5c3c966382ef: Verifying Checksum 06:05:36 5c3c966382ef: Download complete 06:05:36 4f4fb700ef54: Verifying Checksum 06:05:36 4f4fb700ef54: Download complete 06:05:36 43c4264eed91: Download complete 06:05:36 43c4264eed91: Pull complete 06:05:36 d9c7d2e4e75e: Verifying Checksum 06:05:36 4cc291be95ef: Pull complete 06:05:36 2ac1f1163629: Verifying Checksum 06:05:36 2ac1f1163629: Download complete 06:05:37 9c3e1370e548: Verifying Checksum 06:05:37 9c3e1370e548: Download complete 06:05:40 2ac1f1163629: Pull complete 06:05:40 5c3c966382ef: Pull complete 06:05:40 4f4fb700ef54: Pull complete 06:05:41 d9c7d2e4e75e: Pull complete 06:05:44 9c3e1370e548: Pull complete 06:05:44 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:05:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:44 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 06:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:05:47 $ docker top 81b9b902ed9f900a6d98529332a9b76e251415e85c0ce26704e77c438d1333ea -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:47 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 06:05:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 06:05:48 + set -o pipefail 06:05:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 06:05:54 06:05:54 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 06:05:54 06:05:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/d9c953dc-6c0d-4d4c-9fbe-ae368f53118d 06:05:54 06:05:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:05:54 [Pipeline] } 06:05:54 $ docker stop --time=1 81b9b902ed9f900a6d98529332a9b76e251415e85c0ce26704e77c438d1333ea 06:05:57 $ docker rm -f --volumes 81b9b902ed9f900a6d98529332a9b76e251415e85c0ce26704e77c438d1333ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:58 + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] sh 06:05:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:05:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:59 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 06:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:05:59 $ docker top 071b7557200130b24fa4bab2dd61870f62ae9e1a201490fc72758e1f0f2b0a35 -eo pid,comm 06:05:59 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). 06:05:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:05:59 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.12' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:00 + git semver [Pipeline] } 06:06:00 $ docker stop --time=1 071b7557200130b24fa4bab2dd61870f62ae9e1a201490fc72758e1f0f2b0a35 06:06:01 $ docker rm -f --volumes 071b7557200130b24fa4bab2dd61870f62ae9e1a201490fc72758e1f0f2b0a35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:06:02 06:06:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:06:02 0.23.1-centos7: Pulling from edgex-lftools 06:06:02 ab5ef0e58194: Pulling fs layer 06:06:02 9712f1f96733: Pulling fs layer 06:06:02 63f879dbbcfc: Pulling fs layer 06:06:02 0d9ebad4ef96: Pulling fs layer 06:06:02 e9a5061849ea: Pulling fs layer 06:06:02 d747dcd14b5f: Pulling fs layer 06:06:02 2de7ff778b66: Pulling fs layer 06:06:02 0d9ebad4ef96: Waiting 06:06:02 e9a5061849ea: Waiting 06:06:02 d747dcd14b5f: Waiting 06:06:02 2de7ff778b66: Waiting 06:06:02 9712f1f96733: Download complete 06:06:02 63f879dbbcfc: Verifying Checksum 06:06:02 63f879dbbcfc: Download complete 06:06:02 0d9ebad4ef96: Verifying Checksum 06:06:02 0d9ebad4ef96: Download complete 06:06:02 d747dcd14b5f: Download complete 06:06:02 e9a5061849ea: Verifying Checksum 06:06:02 e9a5061849ea: Download complete 06:06:02 ab5ef0e58194: Verifying Checksum 06:06:02 ab5ef0e58194: Download complete 06:06:02 2de7ff778b66: Verifying Checksum 06:06:02 2de7ff778b66: Download complete 06:06:06 ab5ef0e58194: Pull complete 06:06:06 9712f1f96733: Pull complete 06:06:06 63f879dbbcfc: Pull complete 06:06:10 0d9ebad4ef96: Pull complete 06:06:10 e9a5061849ea: Pull complete 06:06:10 d747dcd14b5f: Pull complete 06:06:11 2de7ff778b66: Pull complete 06:06:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:06:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:06:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:12 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 06:06:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:06:15 $ docker top 758175014e6de02438034441318e9921e3dc349ad0599324f732425ff0eb377b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:06:15 provisioning config files... 06:06:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6102840092301379642tmp 06:06:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10379724416012103279tmp 06:06:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1293516635120553834tmp [Pipeline] { [Pipeline] echo 06:06:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:06:15 ---> sigul-configuration.sh 06:06:15 gpg: directory `/root/.gnupg' created 06:06:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:06:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:06:15 gpg: keyring `/root/.gnupg/secring.gpg' created 06:06:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:06:15 gpg: CAST5 encrypted data 06:06:15 gpg: encrypted with 1 passphrase 06:06:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:06:15 + mkdir /home/jenkins 06:06:15 + mkdir /home/jenkins/sigul [Pipeline] sh 06:06:16 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:06:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:06:16 ---> sigul-install.sh 06:06:16 Sigul already installed; skipping installation. [Pipeline] sh 06:06:16 + git tag --list 06:06:16 v1.0.0 06:06:16 v1.1.0 06:06:16 v1.1.1 06:06:16 v1.1.2 06:06:16 v1.2.0 06:06:16 v1.2.1 06:06:16 v2.0.0 06:06:16 v2.1.0 06:06:16 v2.1.1 06:06:16 v2.2.0 06:06:16 v2.3.0 06:06:16 v3.0 06:06:16 v3.0.0 06:06:16 v3.1 06:06:16 v3.1.0 06:06:16 v3.1.1 06:06:16 v4.0 06:06:16 v4.0.0 06:06:16 v4.0.0-dev.1 06:06:16 v4.0.0-dev.10 06:06:16 v4.0.0-dev.11 06:06:16 v4.0.0-dev.12 06:06:16 v4.0.0-dev.2 06:06:16 v4.0.0-dev.3 06:06:16 v4.0.0-dev.4 06:06:16 v4.0.0-dev.5 06:06:16 v4.0.0-dev.6 06:06:16 v4.0.0-dev.7 06:06:16 v4.0.0-dev.8 06:06:16 v4.0.0-dev.9 [Pipeline] sh 06:06:17 + lftools sign git-tag v4.1.0-dev.1 06:06:17 Signing Git tag with Sigul... 06:06:17 Signing v4.1.0-dev.1 06:06:17 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v4.1.0-dev.1'], return code 1, stdout , stderr [Pipeline] echo 06:06:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:06:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:06:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:06:18 $ docker stop --time=1 758175014e6de02438034441318e9921e3dc349ad0599324f732425ff0eb377b 06:06:19 $ docker rm -f --volumes 758175014e6de02438034441318e9921e3dc349ad0599324f732425ff0eb377b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:06:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:06:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:20 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 06:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:06:20 $ docker top 4db0b3a1c67c822a5f135e4576af4724c27e8c4d166ddd45559c5c28e5d0b1cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:20 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.12' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:20 + git semver [Pipeline] } 06:06:21 $ docker stop --time=1 4db0b3a1c67c822a5f135e4576af4724c27e8c4d166ddd45559c5c28e5d0b1cf 06:06:22 $ docker rm -f --volumes 4db0b3a1c67c822a5f135e4576af4724c27e8c4d166ddd45559c5c28e5d0b1cf [Pipeline] // withDockerContainer [Pipeline] sh 06:06:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:06:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:23 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 06:06:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:06:23 $ docker top 6473d7058766f7146c71164abfd37621bd67fb0095ca5f2ce857858af187d9ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:23 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.12' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:24 + git semver [Pipeline] } 06:06:24 $ docker stop --time=1 6473d7058766f7146c71164abfd37621bd67fb0095ca5f2ce857858af187d9ee 06:06:25 $ docker rm -f --volumes 6473d7058766f7146c71164abfd37621bd67fb0095ca5f2ce857858af187d9ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:06:26 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 06:06:26 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:06:26 total 16 06:06:26 drwxr-xr-x 3 root root 4096 Mar 31 05:53 . 06:06:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 06:06 .. 06:06:26 drwxr-xr-x 2 root root 4096 Mar 31 05:53 cost 06:06:26 -rw-r--r-- 1 root root 86 Mar 31 05:53 cost.csv 06:06:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 06:06:26 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:06:26 total 16 06:06:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:53 . 06:06:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 06:06 .. 06:06:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 05:53 cost 06:06:26 -rw-r--r-- 1 jenkins jenkins 86 Mar 31 05:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:06:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:06:27 ---> package-listing.sh 06:06:27 ++ facter osfamily 06:06:27 ++ tr '[:upper:]' '[:lower:]' 06:06:27 + OS_FAMILY=debian 06:06:27 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:06:27 + START_PACKAGES=/tmp/packages_start.txt 06:06:27 + END_PACKAGES=/tmp/packages_end.txt 06:06:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:06:27 + PACKAGES=/tmp/packages_start.txt 06:06:27 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:06:27 + PACKAGES=/tmp/packages_end.txt 06:06:27 + case "${OS_FAMILY}" in 06:06:27 + dpkg -l 06:06:27 + grep '^ii' 06:06:27 + '[' -f /tmp/packages_start.txt ']' 06:06:27 + '[' -f /tmp/packages_end.txt ']' 06:06:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:06:27 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:06:27 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:06:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:06:27 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 06:06:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:28 prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container 06:06:28 $ 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 06:06:28 $ docker top 4fe7707abd038e84b62c94d04a1cb5ff990f3c8444cff422f9e9d36eeb4a199a -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:29 + touch /tmp/pre-build-complete [Pipeline] sh 06:06:29 + mkdir -p /var/log/sysstat [Pipeline] sh 06:06:29 + ls /var/log/sa-host 06:06:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:29 provisioning config files... 06:06:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6277755299553718512tmp [Pipeline] { [Pipeline] echo 06:06:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:06:30 ---> create-netrc.sh [Pipeline] } 06:06:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:06:30 ---> python-tools-install.sh [Pipeline] echo 06:06:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:06:30 ---> sudo-logs.sh 06:06:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:06:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:06:31 ---> job-cost.sh 06:06:31 lf-activate-venv: SKIPPING 06:06:31 DEBUG: total: 0.2199999988079071 06:06:31 INFO: Retrieving Stack Cost... 06:06:31 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:32 INFO: Archiving Costs [Pipeline] echo 06:06:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:06:32 ---> logs-deploy.sh 06:06:32 lf-activate-venv: SKIPPING 06:06:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/191 06:06:32 INFO: archiving workspace using pattern(s): 06:06:33 Archives upload complete. 06:06:33 INFO: archiving logs to Nexus