Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 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-ssh11323910946106667777.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh5844110150513248805.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh9155616263542196208.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17884432613404653399.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-ssh15560852962436627307.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-37149’ Running on prd-ubuntu20.04-docker-8c-8g-37155 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 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 (main) Commit message: "Merge pull request #445 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19" > 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 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 # timeout=10 > git rev-list --no-walk 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:10:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:10:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:10:39 ========================================================= 01:10:39 EdgeX Global Pipelines Version Info 01:10:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:10:40 ------------------- 01:10:40 stable info: 01:10:40 ------------------- 01:10:40 Commited By: Cherry Wang cherry@iotechsys.com 01:10:40 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:10:40 Message: update stable to v1.0.269 01:10:40 ------------------- 01:10:40 experimental info: 01:10:40 ------------------- 01:10:40 Commited By: **** collab-it+edgex@linuxfoundation.org 01:10:40 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:10:40 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1ff3e5 [Pipeline] echo 01:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:10:41 provisioning config files... 01:10:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14057948260100520465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:41 ---> ****-login.sh 01:10:41 nexus3.edgexfoundry.org:10001 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:10:42 Configure a credential helper to remove this warning. See 01:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:10:42 01:10:42 Login Succeeded 01:10:42 nexus3.edgexfoundry.org:10002 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:10:42 Configure a credential helper to remove this warning. See 01:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:10:42 01:10:42 Login Succeeded 01:10:42 nexus3.edgexfoundry.org:10003 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:10:42 Configure a credential helper to remove this warning. See 01:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:10:42 01:10:42 Login Succeeded 01:10:42 nexus3.edgexfoundry.org:10004 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:10:42 Configure a credential helper to remove this warning. See 01:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:10:42 01:10:42 Login Succeeded 01:10:42 ****.io 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:10:42 Configure a credential helper to remove this warning. See 01:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:10:42 01:10:42 Login Succeeded 01:10:42 ---> ****-login.sh ends [Pipeline] } 01:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:10:43 + git rev-list -1 --merges c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52~1..c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] echo 01:10:43 -----------> git rev-list -1 --merges c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52~1..c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:10:43 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [false] [Pipeline] sh 01:10:43 + git log --format=format:%s -1 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] echo 01:10:43 ========================================================= 01:10:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:10:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:10:44 + git log --format=format:%s -1 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] echo 01:10:44 [semverPrep] GIT_COMMIT: c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52, Commit Message: Merge pull request #445 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19 [Pipeline] echo 01:10:44 [semverPrep] This is not a build commit. [Pipeline] sh 01:10:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:10:44 + grep -v github /etc/ssh/ssh_known_hosts 01:10:44 + [ -e /tmp/ssh_known_hosts ] 01:10:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:10:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:10:44 + sudo tee -a /etc/ssh/ssh_known_hosts 01:10:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:10:44 01:10:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:10:45 0.1.4: Pulling from edgex-devops/py-git-semver 01:10:45 b85a868b505f: Pulling fs layer 01:10:45 e2be974225ed: Pulling fs layer 01:10:45 339a4e72a1f5: Pulling fs layer 01:10:45 988bab9f4d93: Pulling fs layer 01:10:45 1469e6f7b9e6: Pulling fs layer 01:10:45 eaf3925da568: Pulling fs layer 01:10:45 bab4dde63d76: Pulling fs layer 01:10:45 bde34c3a00c8: Pulling fs layer 01:10:45 988bab9f4d93: Waiting 01:10:45 1469e6f7b9e6: Waiting 01:10:45 eaf3925da568: Waiting 01:10:45 bab4dde63d76: Waiting 01:10:45 b352a97aabf1: Pulling fs layer 01:10:45 4872d77fe225: Pulling fs layer 01:10:45 5851b861e8e6: Pulling fs layer 01:10:45 bde34c3a00c8: Waiting 01:10:45 4872d77fe225: Waiting 01:10:45 5851b861e8e6: Waiting 01:10:45 b352a97aabf1: Waiting 01:10:45 e2be974225ed: Download complete 01:10:45 988bab9f4d93: Verifying Checksum 01:10:45 988bab9f4d93: Download complete 01:10:45 1469e6f7b9e6: Verifying Checksum 01:10:45 1469e6f7b9e6: Download complete 01:10:45 eaf3925da568: Verifying Checksum 01:10:45 eaf3925da568: Download complete 01:10:45 339a4e72a1f5: Verifying Checksum 01:10:45 339a4e72a1f5: Download complete 01:10:45 bde34c3a00c8: Download complete 01:10:45 b352a97aabf1: Download complete 01:10:45 4872d77fe225: Verifying Checksum 01:10:45 4872d77fe225: Download complete 01:10:45 5851b861e8e6: Verifying Checksum 01:10:45 5851b861e8e6: Download complete 01:10:45 b85a868b505f: Verifying Checksum 01:10:45 b85a868b505f: Download complete 01:10:46 bab4dde63d76: Verifying Checksum 01:10:46 bab4dde63d76: Download complete 01:10:47 b85a868b505f: Pull complete 01:10:47 e2be974225ed: Pull complete 01:10:47 339a4e72a1f5: Pull complete 01:10:47 988bab9f4d93: Pull complete 01:10:48 1469e6f7b9e6: Pull complete 01:10:48 eaf3925da568: Pull complete 01:10:49 bab4dde63d76: Pull complete 01:10:49 bde34c3a00c8: Pull complete 01:10:49 b352a97aabf1: Pull complete 01:10:49 4872d77fe225: Pull complete 01:10:49 5851b861e8e6: Pull complete 01:10:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:10:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:50 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:10:55 $ docker top c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c -eo pid,comm 01:10:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:10:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:10:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:10:56 [ssh-agent] Looking for ssh-agent implementation... 01:10:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:10:56 $ docker exec c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c ssh-agent 01:10:56 SSH_AUTH_SOCK=/tmp/ssh-pq8VD6JRBL8g/agent.32 01:10:56 SSH_AGENT_PID=38 01:10:56 Running ssh-add (command line suppressed) 01:10:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4405004657203365408.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4405004657203365408.key) 01:10:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:10:56 + git tag --points-at HEAD [Pipeline] } 01:10:56 $ docker exec --env ******** --env ******** c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c ssh-agent -k 01:10:56 unset SSH_AUTH_SOCK; 01:10:56 unset SSH_AGENT_PID; 01:10:56 echo Agent pid 38 killed; 01:10:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:10:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:10:56 [ssh-agent] Looking for ssh-agent implementation... 01:10:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:10:56 $ docker exec c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c ssh-agent 01:10:57 SSH_AUTH_SOCK=/tmp/ssh-lhCPcIlRsLZe/agent.72 01:10:57 SSH_AGENT_PID=78 01:10:57 Running ssh-add (command line suppressed) 01:10:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5868985107911681190.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5868985107911681190.key) 01:10:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:10:57 + git semver init 01:10:57 2025-01-20 01:10:57,747 [run_init] DEBUG init version:0.0.0 force:False 01:10:57 2025-01-20 01:10:57,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:10:57 2025-01-20 01:10:57,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:10:57 2025-01-20 01:10:57,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:10:59 2025-01-20 01:10:59,277 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:10:59 2025-01-20 01:10:59,278 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:10:59 2025-01-20 01:10:59,278 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:10:59 2025-01-20 01:10:59,278 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:10:59 4.0.0-dev.7 [Pipeline] } 01:10:59 $ docker exec --env ******** --env ******** c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c ssh-agent -k 01:10:59 unset SSH_AUTH_SOCK; 01:10:59 unset SSH_AGENT_PID; 01:10:59 echo Agent pid 78 killed; 01:10:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:11:00 + git semver [Pipeline] } 01:11:00 $ docker stop --time=1 c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c 01:11:01 $ docker rm -f --volumes c3f7e5147f87dc513c856f9d4d73184c661223dbb3ff5e7e9040485515b8c12c [Pipeline] // withDockerContainer [Pipeline] sh 01:11:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:11:02 Stashed 1 file(s) [Pipeline] echo 01:11:02 [edgeXSemver]: initialized semver on version 4.0.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:02 provisioning config files... 01:11:02 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8487970973054268230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:02 ---> ****-login.sh 01:11:02 nexus3.edgexfoundry.org:10001 01:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:11:02 Configure a credential helper to remove this warning. See 01:11:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:11:02 01:11:02 Login Succeeded 01:11:02 nexus3.edgexfoundry.org:10002 01:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:11:02 Configure a credential helper to remove this warning. See 01:11:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:11:02 01:11:02 Login Succeeded 01:11:02 nexus3.edgexfoundry.org:10003 01:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:11:03 Configure a credential helper to remove this warning. See 01:11:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:11:03 01:11:03 Login Succeeded 01:11:03 nexus3.edgexfoundry.org:10004 01:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:11:03 Configure a credential helper to remove this warning. See 01:11:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:11:03 01:11:03 Login Succeeded 01:11:03 ****.io 01:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:11:03 Configure a credential helper to remove this warning. See 01:11:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:11:03 01:11:03 Login Succeeded 01:11:03 ---> ****-login.sh ends [Pipeline] } 01:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:11:03 ========================================================= 01:11:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:11:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:11:03 Sending build context to Docker daemon 16.66MB 01:11:03 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:11:03 Step 2/12 : FROM ${BASE} AS builder 01:11:03 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:11:03 da9db072f522: Pulling fs layer 01:11:03 6ef4a4ee8ca5: Pulling fs layer 01:11:03 06f05ace1117: Pulling fs layer 01:11:03 5fe327b54edc: Pulling fs layer 01:11:03 4f4fb700ef54: Pulling fs layer 01:11:03 92a5565b7b96: Pulling fs layer 01:11:03 ff9bb7016b71: Pulling fs layer 01:11:03 b67dba6c2c7d: Pulling fs layer 01:11:03 a813b0c90790: Pulling fs layer 01:11:03 4f4fb700ef54: Waiting 01:11:03 92a5565b7b96: Waiting 01:11:03 ff9bb7016b71: Waiting 01:11:03 a813b0c90790: Waiting 01:11:03 b67dba6c2c7d: Waiting 01:11:03 5fe327b54edc: Waiting 01:11:04 6ef4a4ee8ca5: Verifying Checksum 01:11:04 6ef4a4ee8ca5: Download complete 01:11:04 5fe327b54edc: Download complete 01:11:04 4f4fb700ef54: Verifying Checksum 01:11:04 4f4fb700ef54: Download complete 01:11:04 92a5565b7b96: Verifying Checksum 01:11:04 92a5565b7b96: Download complete 01:11:04 da9db072f522: Download complete 01:11:04 ff9bb7016b71: Verifying Checksum 01:11:04 ff9bb7016b71: Download complete 01:11:04 da9db072f522: Pull complete 01:11:04 a813b0c90790: Verifying Checksum 01:11:04 a813b0c90790: Download complete 01:11:04 6ef4a4ee8ca5: Pull complete 01:11:04 06f05ace1117: Download complete 01:11:04 b67dba6c2c7d: Verifying Checksum 01:11:04 b67dba6c2c7d: Download complete 01:11:08 06f05ace1117: Pull complete 01:11:08 5fe327b54edc: Pull complete 01:11:08 4f4fb700ef54: Pull complete 01:11:08 92a5565b7b96: Pull complete 01:11:08 ff9bb7016b71: Pull complete 01:11:10 b67dba6c2c7d: Pull complete 01:11:11 a813b0c90790: Pull complete 01:11:11 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:11:11 ---> 3ba60ce46760 01:11:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:11:17 Still waiting to schedule task 01:11:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-37153’ 01:11:19 ---> Running in 670f39ae5541 01:11:19 Removing intermediate container 670f39ae5541 01:11:19 ---> 6017152f3853 01:11:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:11:19 ---> Running in 6c2d2026044b 01:11:19 Removing intermediate container 6c2d2026044b 01:11:19 ---> c98213eb016e 01:11:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:11:19 ---> Running in 4c9ff92a0ddc 01:11:19 Removing intermediate container 4c9ff92a0ddc 01:11:19 ---> fe7acd37834c 01:11:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:11:19 ---> Running in 15bd201fbad3 01:11:19 Removing intermediate container 15bd201fbad3 01:11:19 ---> 47a6fae9297b 01:11:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:11:19 ---> Running in cb2694ec4cd1 01:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:11:19 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:11:19 (2/4) Installing libedit (20240517.3.1-r0) 01:11:19 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:11:19 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:11:19 Executing busybox-1.36.1-r29.trigger 01:11:19 OK: 252 MiB in 62 packages 01:11:19 Removing intermediate container cb2694ec4cd1 01:11:19 ---> a02a6a0ab517 01:11:19 Step 8/12 : WORKDIR /device-rest-go 01:11:19 ---> Running in d351adedd0c0 01:11:20 Removing intermediate container d351adedd0c0 01:11:20 ---> 22ad25776c5a 01:11:20 Step 9/12 : COPY go.mod vendor* ./ 01:11:20 ---> e8ea149c9b35 01:11:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:11:20 ---> Running in fa38fb4e566d 01:12:28 Removing intermediate container fa38fb4e566d 01:12:28 ---> 90a37a045c4e 01:12:28 Step 11/12 : COPY . . 01:12:28 ---> 666ec4356cba 01:12:28 Step 12/12 : RUN $MAKE 01:12:28 ---> Running in 20e231c3a046 01:12:29 noop 01:12:29 Removing intermediate container 20e231c3a046 01:12:29 ---> 72133fcfbf64 01:12:29 Successfully built 72133fcfbf64 01:12:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:29 + docker inspect -f . ci-base-image-x86_64 01:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:29 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:12:30 $ docker top fd21ea1745147dde1f4ce1755109b6727790957ed4e0d71f10bf5eb1206e92f7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:30 + go version 01:12:30 go version go1.23.4 linux/amd64 [Pipeline] } 01:12:30 $ docker stop --time=1 fd21ea1745147dde1f4ce1755109b6727790957ed4e0d71f10bf5eb1206e92f7 01:12:31 $ docker rm -f --volumes fd21ea1745147dde1f4ce1755109b6727790957ed4e0d71f10bf5eb1206e92f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:32 + docker inspect -f . ci-base-image-x86_64 01:12:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:32 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:12:32 $ docker top 09d5a6cbad9415c1ab7ac9023c74815bfcabf31f093c609b6d6e7c4da714a52c -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:12:33 + make test 01:12:33 go test ./... -coverprofile=coverage.out ./... 01:12:35 ? github.com/edgexfoundry/device-rest-go [no test files] 01:12:53 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:12:53 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 01:13:03 go vet ./... 01:13:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:13:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:13:07 ./bin/test-attribution-txt.sh [Pipeline] echo 01:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:13:07 $ docker stop --time=1 09d5a6cbad9415c1ab7ac9023c74815bfcabf31f093c609b6d6e7c4da714a52c 01:13:13 $ docker rm -f --volumes 09d5a6cbad9415c1ab7ac9023c74815bfcabf31f093c609b6d6e7c4da714a52c [Pipeline] // withDockerContainer [Pipeline] sh 01:13:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:13:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:13:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:13:14 + ls -al . 01:13:14 total 244 01:13:14 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 01:12 . 01:13:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:10 .. 01:13:14 -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 01:10 .dockerignore 01:13:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:12 .git 01:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:10 .github 01:13:14 -rw-rw-r-- 1 jenkins jenkins 264 Jan 20 01:10 .gitignore 01:13:14 -rw-rw-r-- 1 jenkins jenkins 41 Jan 20 01:10 .golangci.yml 01:13:14 drwxr-xr-x 3 jenkins jenkins 4096 Jan 20 01:10 .semver 01:13:14 -rw-rw-r-- 1 jenkins jenkins 20138 Jan 20 01:10 Attribution.txt 01:13:14 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 20 01:10 CHANGELOG.md 01:13:14 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 20 01:10 Dockerfile 01:13:14 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 01:10 GOVERNANCE.md 01:13:14 -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 01:10 Jenkinsfile 01:13:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 01:10 LICENSE 01:13:14 -rw-rw-r-- 1 jenkins jenkins 2598 Jan 20 01:10 Makefile 01:13:14 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 01:10 OWNERS.md 01:13:14 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 20 01:10 README.md 01:13:14 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 01:11 VERSION 01:13:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:10 bin 01:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:10 cmd 01:13:14 -rw-r--r-- 1 jenkins jenkins 14565 Jan 20 01:12 coverage.out 01:13:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:10 driver 01:13:14 -rw-rw-r-- 1 jenkins jenkins 6339 Jan 20 01:10 go.mod 01:13:14 -rw-rw-r-- 1 jenkins jenkins 86634 Jan 20 01:10 go.sum 01:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:10 openapi 01:13:14 -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 01:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:14 + 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=c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 --label arch=amd64 --label version=4.0.0-dev.7 . 01:13:14 Sending build context to Docker daemon 16.68MB 01:13:14 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:13:14 Step 2/26 : FROM ${BASE} AS builder 01:13:14 ---> 72133fcfbf64 01:13:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:13:15 ---> Running in 816739de9ffd 01:13:15 Removing intermediate container 816739de9ffd 01:13:15 ---> aa8f197d3506 01:13:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:15 ---> Running in c55ce3b9da96 01:13:15 Removing intermediate container c55ce3b9da96 01:13:15 ---> e1b6c2387fd6 01:13:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:13:15 ---> Running in 4db3df5e0485 01:13:15 Removing intermediate container 4db3df5e0485 01:13:15 ---> c3eda3ee33e0 01:13:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:13:15 ---> Running in 561c8ea53888 01:13:15 Removing intermediate container 561c8ea53888 01:13:15 ---> 7e3e090b528e 01:13:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:15 ---> Running in e5a3a06c42f6 01:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:13:16 OK: 252 MiB in 62 packages 01:13:16 Removing intermediate container e5a3a06c42f6 01:13:16 ---> 3800ef1de3e5 01:13:16 Step 8/26 : WORKDIR /device-rest-go 01:13:16 ---> Running in a555d0a0d1eb 01:13:16 Removing intermediate container a555d0a0d1eb 01:13:16 ---> 772bb9203ad2 01:13:16 Step 9/26 : COPY go.mod vendor* ./ 01:13:16 ---> 7b2a31a4d67f 01:13:16 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:16 ---> Running in c7dee73438bc 01:13:17 Removing intermediate container c7dee73438bc 01:13:17 ---> 31abd3815cc7 01:13:17 Step 11/26 : COPY . . 01:13:18 ---> 6d10d1ff1c74 01:13:18 Step 12/26 : RUN $MAKE 01:13:18 ---> Running in e0dd3dc62f7f 01:13:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:13:57 Removing intermediate container e0dd3dc62f7f 01:13:57 ---> 539ca6e7714e 01:13:57 Step 13/26 : FROM alpine:3.20 01:13:57 3.20: Pulling from library/alpine 01:13:57 66a3d608f3fa: Pulling fs layer 01:13:57 66a3d608f3fa: Verifying Checksum 01:13:57 66a3d608f3fa: Download complete 01:13:57 66a3d608f3fa: Pull complete 01:13:57 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 01:13:57 Status: Downloaded newer image for alpine:3.20 01:13:57 ---> e29df9b510ff 01:13:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:13:57 ---> Running in b4f61ff69e69 01:13:57 Removing intermediate container b4f61ff69e69 01:13:57 ---> 1ee3a5530349 01:13:57 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:13:57 ---> Running in 8be0fe30a1ae 01:13:57 Removing intermediate container 8be0fe30a1ae 01:13:57 ---> 6f9a723647a9 01:13:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:13:57 ---> Running in ba7871e4ea41 01:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:13:57 (1/1) Installing dumb-init (1.2.5-r3) 01:13:57 Executing busybox-1.36.1-r29.trigger 01:13:57 OK: 8 MiB in 15 packages 01:13:57 Removing intermediate container ba7871e4ea41 01:13:57 ---> fae9da2107a3 01:13:57 Step 17/26 : RUN apk --no-cache upgrade 01:13:57 ---> Running in 6cee1ca429d6 01:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:13:57 OK: 8 MiB in 15 packages 01:13:57 Removing intermediate container 6cee1ca429d6 01:13:57 ---> 915aa5b4af26 01:13:57 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:13:57 ---> d477f1bfe024 01:13:57 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:13:57 ---> 6320605b3a46 01:13:57 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:13:57 ---> f69a198ecb57 01:13:57 Step 21/26 : EXPOSE 59986 01:13:57 ---> Running in 98c63b9a80af 01:13:57 Removing intermediate container 98c63b9a80af 01:13:57 ---> 996bf713b885 01:13:57 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:13:57 ---> Running in 8ea05f5b2961 01:13:57 Removing intermediate container 8ea05f5b2961 01:13:57 ---> ca2b1acb4d62 01:13:57 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:13:57 ---> Running in 7de0890ad55c 01:13:57 Removing intermediate container 7de0890ad55c 01:13:57 ---> 32776a915fe0 01:13:57 Step 24/26 : LABEL arch=amd64 01:13:57 ---> Running in 22a212223600 01:13:57 Removing intermediate container 22a212223600 01:13:57 ---> f637aab6f7e5 01:13:57 Step 25/26 : LABEL git_sha=c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:13:57 ---> Running in bd973598a7b9 01:13:57 Removing intermediate container bd973598a7b9 01:13:57 ---> 0e16a96f6c2b 01:13:57 Step 26/26 : LABEL version=4.0.0-dev.7 01:13:57 ---> Running in 3e035296aa1d 01:13:57 Removing intermediate container 3e035296aa1d 01:13:57 ---> e9d3cd492715 01:13:57 [Warning] One or more build-args [ARCH] were not consumed 01:13:57 Successfully built e9d3cd492715 01:13:57 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:57 provisioning config files... 01:13:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10777868241873673386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:57 ---> ****-login.sh 01:13:57 nexus3.edgexfoundry.org:10001 01:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:57 Configure a credential helper to remove this warning. See 01:13:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:57 01:13:57 Login Succeeded 01:13:57 nexus3.edgexfoundry.org:10002 01:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:57 Configure a credential helper to remove this warning. See 01:13:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:57 01:13:57 Login Succeeded 01:13:57 nexus3.edgexfoundry.org:10003 01:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:58 Configure a credential helper to remove this warning. See 01:13:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:58 01:13:58 Login Succeeded 01:13:58 nexus3.edgexfoundry.org:10004 01:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:58 Configure a credential helper to remove this warning. See 01:13:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:58 01:13:58 Login Succeeded 01:13:58 ****.io 01:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:58 Configure a credential helper to remove this warning. See 01:13:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:58 01:13:58 Login Succeeded 01:13:58 ---> ****-login.sh ends [Pipeline] } 01:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:58 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:13:58 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:13:58 latest 01:13:58 4.0.0-dev.7 01:13:58 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 01:13:58 main 01:13:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:13:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:13:59 335a67bf9e5c: Preparing 01:13:59 a6772d0f44b2: Preparing 01:13:59 31c495c31eae: Preparing 01:13:59 69b53c945a2a: Preparing 01:13:59 208acfde5955: Preparing 01:13:59 ce5a8cde9eee: Preparing 01:13:59 ce5a8cde9eee: Waiting 01:13:59 69b53c945a2a: Pushed 01:13:59 a6772d0f44b2: Pushed 01:13:59 335a67bf9e5c: Pushed 01:13:59 208acfde5955: Pushed 01:13:59 ce5a8cde9eee: Layer already exists 01:14:02 31c495c31eae: Pushed 01:14:02 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52: digest: sha256:56f165d130cb6182343b3fcbb4bc44ec27504e34325a6691c264b5b084da00a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:14:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:14:03 335a67bf9e5c: Preparing 01:14:03 a6772d0f44b2: Preparing 01:14:03 31c495c31eae: Preparing 01:14:03 69b53c945a2a: Preparing 01:14:03 208acfde5955: Preparing 01:14:03 ce5a8cde9eee: Preparing 01:14:03 ce5a8cde9eee: Waiting 01:14:03 31c495c31eae: Layer already exists 01:14:03 208acfde5955: Layer already exists 01:14:03 69b53c945a2a: Layer already exists 01:14:03 335a67bf9e5c: Layer already exists 01:14:03 a6772d0f44b2: Layer already exists 01:14:03 ce5a8cde9eee: Layer already exists 01:14:03 latest: digest: sha256:56f165d130cb6182343b3fcbb4bc44ec27504e34325a6691c264b5b084da00a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.7 01:14:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:14:03 335a67bf9e5c: Preparing 01:14:03 a6772d0f44b2: Preparing 01:14:03 31c495c31eae: Preparing 01:14:03 69b53c945a2a: Preparing 01:14:03 208acfde5955: Preparing 01:14:03 ce5a8cde9eee: Preparing 01:14:03 ce5a8cde9eee: Waiting 01:14:03 208acfde5955: Layer already exists 01:14:03 31c495c31eae: Layer already exists 01:14:03 69b53c945a2a: Layer already exists 01:14:03 335a67bf9e5c: Layer already exists 01:14:03 a6772d0f44b2: Layer already exists 01:14:03 ce5a8cde9eee: Layer already exists 01:14:03 4.0.0-dev.7: digest: sha256:56f165d130cb6182343b3fcbb4bc44ec27504e34325a6691c264b5b084da00a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 01:14:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:14:04 335a67bf9e5c: Preparing 01:14:04 a6772d0f44b2: Preparing 01:14:04 31c495c31eae: Preparing 01:14:04 69b53c945a2a: Preparing 01:14:04 208acfde5955: Preparing 01:14:04 ce5a8cde9eee: Preparing 01:14:04 ce5a8cde9eee: Waiting 01:14:04 69b53c945a2a: Layer already exists 01:14:04 335a67bf9e5c: Layer already exists 01:14:04 31c495c31eae: Layer already exists 01:14:04 208acfde5955: Layer already exists 01:14:04 a6772d0f44b2: Layer already exists 01:14:04 ce5a8cde9eee: Layer already exists 01:14:04 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7: digest: sha256:56f165d130cb6182343b3fcbb4bc44ec27504e34325a6691c264b5b084da00a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:14:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:14:05 335a67bf9e5c: Preparing 01:14:05 a6772d0f44b2: Preparing 01:14:05 31c495c31eae: Preparing 01:14:05 69b53c945a2a: Preparing 01:14:05 208acfde5955: Preparing 01:14:05 ce5a8cde9eee: Preparing 01:14:05 ce5a8cde9eee: Waiting 01:14:05 a6772d0f44b2: Layer already exists 01:14:05 208acfde5955: Layer already exists 01:14:05 69b53c945a2a: Layer already exists 01:14:05 335a67bf9e5c: Layer already exists 01:14:05 31c495c31eae: Layer already exists 01:14:05 ce5a8cde9eee: Layer already exists 01:14:05 main: digest: sha256:56f165d130cb6182343b3fcbb4bc44ec27504e34325a6691c264b5b084da00a8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:14:05 ===================================================== [Pipeline] echo 01:14:05 taggedImages: 01:14:05 - nexus3.edgexfoundry.org:10004/device-rest:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:14:05 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:14:05 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.7 01:14:05 - nexus3.edgexfoundry.org:10004/device-rest:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 01:14:05 - 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 01:14:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:05 01:14:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:05 latest: Pulling from edgex-lftools-log-publisher 01:14:05 5eb5b503b376: Pulling fs layer 01:14:05 5c69ac0246d0: Pulling fs layer 01:14:05 ec43610c2a17: Pulling fs layer 01:14:05 3a2ae6a8a46f: Pulling fs layer 01:14:05 33b1e0a273af: Pulling fs layer 01:14:05 5d3b04190fa2: Pulling fs layer 01:14:05 2f39f015ded8: Pulling fs layer 01:14:05 33b1e0a273af: Waiting 01:14:05 5d3b04190fa2: Waiting 01:14:05 3a2ae6a8a46f: Waiting 01:14:05 2f39f015ded8: Waiting 01:14:05 5c69ac0246d0: Download complete 01:14:05 3a2ae6a8a46f: Verifying Checksum 01:14:05 3a2ae6a8a46f: Download complete 01:14:05 33b1e0a273af: Verifying Checksum 01:14:05 33b1e0a273af: Download complete 01:14:05 ec43610c2a17: Verifying Checksum 01:14:05 ec43610c2a17: Download complete 01:14:05 5d3b04190fa2: Verifying Checksum 01:14:05 5d3b04190fa2: Download complete 01:14:06 5eb5b503b376: Verifying Checksum 01:14:06 5eb5b503b376: Download complete 01:14:07 5eb5b503b376: Pull complete 01:14:07 5c69ac0246d0: Pull complete 01:14:07 ec43610c2a17: Pull complete 01:14:07 3a2ae6a8a46f: Pull complete 01:14:08 33b1e0a273af: Pull complete 01:14:08 5d3b04190fa2: Pull complete 01:14:12 2f39f015ded8: Pull complete 01:14:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:14:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:12 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:14:17 $ docker top 5793dab66507cbf20e532dc785c95eba8cb7a53f76776c3d80f92a451c647d3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:18 ---> job-cost.sh 01:14:18 lf-activate-venv: SKIPPING 01:14:18 INFO: No Stack... 01:14:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:14:18 INFO: Archiving Costs [Pipeline] sh 01:14:19 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:14:19 + cut -d, -f6 [Pipeline] lock 01:14:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] 01:14:19 Resource [jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] did not exist. Created. 01:14:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:14:19 + echo total: 0.2199999988079071 [Pipeline] stash 01:14:19 Stashed 1 file(s) [Pipeline] } 01:14:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 01:14:19 $ docker stop --time=1 5793dab66507cbf20e532dc785c95eba8cb7a53f76776c3d80f92a451c647d3c 01:14:20 $ docker rm -f --volumes 5793dab66507cbf20e532dc785c95eba8cb7a53f76776c3d80f92a451c647d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:14:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-37156 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:14:48 Running in /w/workspace/device-rest-go/184 [Pipeline] { [Pipeline] checkout 01:14:51 The recommended git tool is: git 01:14:57 using credential edgex-jenkins-ssh 01:14:57 Cloning the remote Git repository 01:14:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:14:57 > git init /w/workspace/device-rest-go/184 # timeout=10 01:14:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:14:57 > git --version # timeout=10 01:14:57 > git --version # 'git version 2.25.1' 01:14:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:14:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:15:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:01 Avoid second fetch 01:15:01 Checking out Revision c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 (main) 01:15:01 > git config core.sparsecheckout # timeout=10 01:15:01 > git checkout -f c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 # timeout=10 01:15:01 Commit message: "Merge pull request #445 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:15:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:15:06 Dload Upload Total Spent Left Speed 01:15:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86093 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh 01:15:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:15:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:15:07 + sudo tee /etc/docker/daemon.new 01:15:07 { 01:15:07 "registry-mirrors": [ 01:15:07 "https://nexus3.edgexfoundry.org:10001" 01:15:07 ], 01:15:07 "bip": "10.250.0.254/24", 01:15:07 "hosts": [ 01:15:07 "tcp://0.0.0.0:5555", 01:15:07 "unix:///var/run/docker.sock" 01:15:07 ], 01:15:07 "mtu": 1458, 01:15:07 "selinux-enabled": true, 01:15:07 "seccomp-profile": "/etc/docker/seccomp.json" 01:15:07 } [Pipeline] sh 01:15:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:15:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:26 provisioning config files... 01:15:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/184@tmp/config13672891681672538641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:27 ---> ****-login.sh 01:15:27 nexus3.edgexfoundry.org:10001 01:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:27 Configure a credential helper to remove this warning. See 01:15:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:27 01:15:27 Login Succeeded 01:15:27 nexus3.edgexfoundry.org:10002 01:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:27 Configure a credential helper to remove this warning. See 01:15:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:27 01:15:27 Login Succeeded 01:15:27 nexus3.edgexfoundry.org:10003 01:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:28 Configure a credential helper to remove this warning. See 01:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:28 01:15:28 Login Succeeded 01:15:28 nexus3.edgexfoundry.org:10004 01:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:28 Configure a credential helper to remove this warning. See 01:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:28 01:15:28 Login Succeeded 01:15:28 ****.io 01:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:28 Configure a credential helper to remove this warning. See 01:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:28 01:15:28 Login Succeeded 01:15:28 ---> ****-login.sh ends [Pipeline] } 01:15:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:15:29 ========================================================= 01:15:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:15:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:15:31 #0 building with "default" instance using docker driver 01:15:31 01:15:31 #1 [internal] load build definition from Dockerfile 01:15:31 #1 transferring dockerfile: 1.74kB 0.0s done 01:15:31 #1 DONE 0.1s 01:15:31 01:15:31 #2 [internal] load .dockerignore 01:15:31 #2 transferring context: 193B done 01:15:31 #2 DONE 0.1s 01:15:31 01:15:31 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:15:31 #3 DONE 0.1s 01:15:31 01:15:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 01:15:31 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 01:15:32 #4 ... 01:15:32 01:15:32 #5 [internal] load build context 01:15:32 #5 transferring context: 108.68kB 0.0s done 01:15:32 #5 DONE 0.1s 01:15:32 01:15:32 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 01:15:32 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 01:15:32 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0B / 293.53kB 0.1s 01:15:32 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 0B / 70.67MB 0.1s 01:15:32 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 01:15:32 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 1.05MB / 4.09MB 0.1s 01:15:32 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 01:15:32 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 0B / 126B 0.3s 01:15:32 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 01:15:32 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.4s done 01:15:33 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 1.2s 01:15:33 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 1.2s done 01:15:33 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 1.2s done 01:15:33 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 01:15:33 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 1.3s done 01:15:33 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.29MB / 70.67MB 1.4s 01:15:33 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.3s done 01:15:33 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 1.3s done 01:15:33 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 1.3s done 01:15:33 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 1.05MB / 98.78MB 1.4s 01:15:33 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 434.18kB / 12.74MB 1.4s 01:15:33 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 15.73MB / 70.67MB 1.6s 01:15:33 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 9.44MB / 98.78MB 1.6s 01:15:33 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 8.39MB / 12.74MB 1.6s 01:15:33 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 11.53MB / 12.74MB 1.7s 01:15:33 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 30.41MB / 70.67MB 1.9s 01:15:33 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 22.02MB / 98.78MB 1.9s 01:15:33 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 1.7s done 01:15:33 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 36.30MB / 70.67MB 2.0s 01:15:33 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 27.12MB / 98.78MB 2.0s 01:15:34 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 45.09MB / 70.67MB 2.2s 01:15:34 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 35.88MB / 98.78MB 2.2s 01:15:34 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 49.28MB / 70.67MB 2.3s 01:15:34 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 41.94MB / 98.78MB 2.3s 01:15:34 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 60.82MB / 70.67MB 2.5s 01:15:34 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 53.48MB / 98.78MB 2.5s 01:15:34 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 68.16MB / 70.67MB 2.6s 01:15:34 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 59.77MB / 98.78MB 2.6s 01:15:34 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 2.7s done 01:15:34 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 73.40MB / 98.78MB 2.9s 01:15:34 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 01:15:34 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 78.64MB / 98.78MB 3.0s 01:15:35 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 85.98MB / 98.78MB 3.2s 01:15:35 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 3.5s 01:15:35 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 3.6s done 01:15:39 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 5.1s 01:15:46 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 10.6s 01:15:50 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 15.8s 01:15:55 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 19.5s done 01:15:56 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 01:15:56 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 01:15:56 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:15:56 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 01:15:56 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 01:15:56 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 01:15:56 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 0.1s 01:16:01 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.3s 01:16:05 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.2s done 01:16:05 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 01:16:07 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.0s done 01:16:07 #4 DONE 35.2s 01:16:07 01:16:07 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:16:07 #6 0.769 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:16:08 #6 1.181 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:16:09 #6 2.748 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:16:09 #6 2.776 (2/4) Installing libedit (20240517.3.1-r0) 01:16:09 #6 2.794 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:16:10 #6 2.861 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:16:10 #6 2.890 Executing busybox-1.36.1-r29.trigger 01:16:10 #6 2.934 OK: 244 MiB in 62 packages 01:16:12 #6 DONE 5.0s 01:16:12 01:16:12 #7 [builder 3/7] WORKDIR /device-rest-go 01:16:12 #7 DONE 0.1s 01:16:12 01:16:12 #8 [builder 4/7] COPY go.mod vendor* ./ 01:16:12 #8 DONE 0.1s 01:16:12 01:16:12 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:59 #9 DONE 39.9s 01:16:59 01:16:59 #10 [builder 6/7] COPY . . 01:16:59 #10 DONE 0.2s 01:16:59 01:16:59 #11 [builder 7/7] RUN echo noop 01:16:59 #11 0.621 noop 01:16:59 #11 DONE 0.7s 01:16:59 01:16:59 #12 exporting to image 01:16:59 #12 exporting layers 01:17:31 #12 exporting layers 33.5s done 01:17:31 #12 writing image sha256:9277bb4e67c5a9be6c4c40eb690ec75ebd6430dbb8969ab2950aebcc0cc04b8f done 01:17:31 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 01:17:31 #12 DONE 33.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:31 + docker inspect -f . ci-base-image-arm64 01:17:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:32 prd-ubuntu20.04-docker-arm64-4c-16g-37156 does not seem to be running inside a container 01:17:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/184 -v /w/workspace/device-rest-go/184:/w/workspace/device-rest-go/184:rw,z -v /w/workspace/device-rest-go/184@tmp:/w/workspace/device-rest-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:33 $ docker top 53ca74678aae939bfd3fa9301084a4e97c710d9628299234f9ba3775f8d16a13 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:34 + go version 01:17:34 go version go1.23.4 linux/arm64 [Pipeline] } 01:17:34 $ docker stop --time=1 53ca74678aae939bfd3fa9301084a4e97c710d9628299234f9ba3775f8d16a13 01:17:35 $ docker rm -f --volumes 53ca74678aae939bfd3fa9301084a4e97c710d9628299234f9ba3775f8d16a13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:36 + docker inspect -f . ci-base-image-arm64 01:17:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:36 prd-ubuntu20.04-docker-arm64-4c-16g-37156 does not seem to be running inside a container 01:17:36 $ 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/184 -v /w/workspace/device-rest-go/184:/w/workspace/device-rest-go/184:rw,z -v /w/workspace/device-rest-go/184@tmp:/w/workspace/device-rest-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:37 $ docker top 58f54bcae28cd34a255e665c4b94a951b306dacd89008f41f855a450303f59e8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:37 + git config --global --add safe.directory /w/workspace/device-rest-go/184 [Pipeline] fileExists [Pipeline] sh 01:17:38 + make test 01:17:38 go test ./... -coverprofile=coverage.out ./... 01:17:42 ? github.com/edgexfoundry/device-rest-go [no test files] 01:19:49 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:19:49 ok github.com/edgexfoundry/device-rest-go/driver 0.036s coverage: 33.2% of statements 01:19:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:19:50 go vet ./... 01:20:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:20:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:20:37 ./bin/test-attribution-txt.sh [Pipeline] echo 01:20:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:20:37 $ docker stop --time=1 58f54bcae28cd34a255e665c4b94a951b306dacd89008f41f855a450303f59e8 01:20:39 $ docker rm -f --volumes 58f54bcae28cd34a255e665c4b94a951b306dacd89008f41f855a450303f59e8 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:20:41 Warning: overwriting stash ‘coverage-report’ 01:20:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:20:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:20:42 + ls -al . 01:20:42 total 240 01:20:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:17 . 01:20:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:14 .. 01:20:42 -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 01:15 .dockerignore 01:20:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:15 .git 01:20:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:15 .github 01:20:42 -rw-rw-r-- 1 jenkins jenkins 264 Jan 20 01:15 .gitignore 01:20:42 -rw-rw-r-- 1 jenkins jenkins 41 Jan 20 01:15 .golangci.yml 01:20:42 -rw-rw-r-- 1 jenkins jenkins 20138 Jan 20 01:15 Attribution.txt 01:20:42 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 20 01:15 CHANGELOG.md 01:20:42 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 20 01:15 Dockerfile 01:20:42 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 01:15 GOVERNANCE.md 01:20:42 -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 01:15 Jenkinsfile 01:20:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 01:15 LICENSE 01:20:42 -rw-rw-r-- 1 jenkins jenkins 2598 Jan 20 01:15 Makefile 01:20:42 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 01:15 OWNERS.md 01:20:42 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 20 01:15 README.md 01:20:42 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 01:11 VERSION 01:20:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:15 bin 01:20:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:15 cmd 01:20:42 -rw-r--r-- 1 jenkins jenkins 14565 Jan 20 01:19 coverage.out 01:20:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:15 driver 01:20:42 -rw-rw-r-- 1 jenkins jenkins 6339 Jan 20 01:15 go.mod 01:20:42 -rw-rw-r-- 1 jenkins jenkins 86634 Jan 20 01:15 go.sum 01:20:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:15 openapi 01:20:42 -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:43 + 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=c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 --label arch=arm64 --label version=4.0.0-dev.7 . 01:20:44 #0 building with "default" instance using docker driver 01:20:44 01:20:44 #1 [internal] load build definition from Dockerfile 01:20:44 #1 transferring dockerfile: 1.74kB done 01:20:44 #1 DONE 0.0s 01:20:44 01:20:44 #2 [internal] load .dockerignore 01:20:44 #2 transferring context: 193B done 01:20:44 #2 DONE 0.0s 01:20:44 01:20:44 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 01:20:44 #3 DONE 0.0s 01:20:44 01:20:44 #4 [internal] load metadata for docker.io/library/alpine:3.20 01:20:44 #4 DONE 0.7s 01:20:44 01:20:44 #5 [internal] load build context 01:20:44 #5 transferring context: 16.11kB 0.0s done 01:20:44 #5 DONE 0.0s 01:20:44 01:20:44 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 01:20:44 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 01:20:45 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.1s done 01:20:45 #6 ... 01:20:45 01:20:45 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 01:20:45 #7 DONE 0.3s 01:20:45 01:20:45 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 01:20:45 #6 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 01:20:45 #6 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 01:20:45 #6 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 01:20:45 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 1.05MB / 4.09MB 0.2s 01:20:45 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 2.98MB / 4.09MB 0.3s 01:20:45 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.3s done 01:20:45 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 01:20:45 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.5s done 01:20:46 #6 DONE 1.2s 01:20:46 01:20:46 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:20:46 #8 0.752 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:20:47 #8 1.090 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:20:48 #8 ... 01:20:48 01:20:48 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:20:48 #9 0.810 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:20:48 #9 1.258 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:20:48 #9 2.893 OK: 244 MiB in 62 packages 01:20:48 #9 DONE 3.3s 01:20:48 01:20:48 #10 [builder 3/7] WORKDIR /device-rest-go 01:20:48 #10 DONE 0.1s 01:20:48 01:20:48 #11 [builder 4/7] COPY go.mod vendor* ./ 01:20:48 #11 DONE 0.2s 01:20:48 01:20:48 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:49 #12 ... 01:20:49 01:20:49 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:20:49 #8 2.719 (1/1) Installing dumb-init (1.2.5-r3) 01:20:49 #8 2.730 Executing busybox-1.36.1-r29.trigger 01:20:49 #8 2.763 OK: 9 MiB in 15 packages 01:20:49 #8 DONE 3.2s 01:20:49 01:20:49 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:20:50 #13 ... 01:20:50 01:20:50 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:50 #12 DONE 1.6s 01:20:50 01:20:50 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:20:50 #13 0.924 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:20:50 #13 ... 01:20:50 01:20:50 #14 [builder 6/7] COPY . . 01:20:50 #14 DONE 0.1s 01:20:50 01:20:50 #15 [builder 7/7] RUN make build 01:20:51 #15 0.730 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:20:52 #15 ... 01:20:52 01:20:52 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:20:52 #13 1.330 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:20:52 #13 2.901 OK: 9 MiB in 15 packages 01:20:52 #13 DONE 3.3s 01:20:52 01:20:52 #15 [builder 7/7] RUN make build 01:22:59 #15 DONE 128.2s 01:22:59 01:22:59 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:22:59 #16 DONE 0.4s 01:22:59 01:22:59 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:22:59 #17 DONE 0.1s 01:22:59 01:22:59 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:22:59 #18 DONE 0.1s 01:22:59 01:22:59 #19 exporting to image 01:22:59 #19 exporting layers 01:22:59 #19 exporting layers 0.5s done 01:22:59 #19 writing image sha256:f64a506755d040b8733fb425d4a37f4b311601655308761c475d1a34c2767f55 done 01:22:59 #19 naming to docker.io/library/device-rest-arm64 0.0s done 01:22:59 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:00 provisioning config files... 01:23:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/184@tmp/config4871575869556890403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:00 ---> ****-login.sh 01:23:00 nexus3.edgexfoundry.org:10001 01:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:00 Configure a credential helper to remove this warning. See 01:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:00 01:23:00 Login Succeeded 01:23:00 nexus3.edgexfoundry.org:10002 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:01 Configure a credential helper to remove this warning. See 01:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:01 01:23:01 Login Succeeded 01:23:01 nexus3.edgexfoundry.org:10003 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:01 Configure a credential helper to remove this warning. See 01:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:01 01:23:01 Login Succeeded 01:23:01 nexus3.edgexfoundry.org:10004 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:01 Configure a credential helper to remove this warning. See 01:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:01 01:23:01 Login Succeeded 01:23:01 ****.io 01:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:02 Configure a credential helper to remove this warning. See 01:23:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:02 01:23:02 Login Succeeded 01:23:02 ---> ****-login.sh ends [Pipeline] } 01:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:23:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:23:02 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:23:02 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:23:02 latest 01:23:02 4.0.0-dev.7 01:23:02 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 01:23:02 main 01:23:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:23:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:23:03 604c600fe3df: Preparing 01:23:03 b61089a06709: Preparing 01:23:03 db396d07a4f6: Preparing 01:23:03 99c51cc12ce4: Preparing 01:23:03 7bbfcca98fba: Preparing 01:23:03 534a70dc8296: Preparing 01:23:03 534a70dc8296: Waiting 01:23:03 b61089a06709: Pushed 01:23:03 7bbfcca98fba: Pushed 01:23:03 99c51cc12ce4: Pushed 01:23:03 604c600fe3df: Pushed 01:23:03 534a70dc8296: Layer already exists 01:23:11 db396d07a4f6: Pushed 01:23:11 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52: digest: sha256:7bf0c5140ece2feb671b42f589c2f5008ed5454e1d7a19cd1db5bce2e15917e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:23:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:23:12 604c600fe3df: Preparing 01:23:12 b61089a06709: Preparing 01:23:12 db396d07a4f6: Preparing 01:23:12 99c51cc12ce4: Preparing 01:23:12 7bbfcca98fba: Preparing 01:23:12 534a70dc8296: Preparing 01:23:12 534a70dc8296: Waiting 01:23:12 604c600fe3df: Layer already exists 01:23:12 99c51cc12ce4: Layer already exists 01:23:12 7bbfcca98fba: Layer already exists 01:23:12 db396d07a4f6: Layer already exists 01:23:12 b61089a06709: Layer already exists 01:23:12 534a70dc8296: Layer already exists 01:23:12 latest: digest: sha256:7bf0c5140ece2feb671b42f589c2f5008ed5454e1d7a19cd1db5bce2e15917e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.7 01:23:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:23:13 604c600fe3df: Preparing 01:23:13 b61089a06709: Preparing 01:23:13 db396d07a4f6: Preparing 01:23:13 99c51cc12ce4: Preparing 01:23:13 7bbfcca98fba: Preparing 01:23:13 534a70dc8296: Preparing 01:23:13 534a70dc8296: Waiting 01:23:13 604c600fe3df: Layer already exists 01:23:13 7bbfcca98fba: Layer already exists 01:23:13 99c51cc12ce4: Layer already exists 01:23:13 db396d07a4f6: Layer already exists 01:23:13 b61089a06709: Layer already exists 01:23:13 534a70dc8296: Layer already exists 01:23:13 4.0.0-dev.7: digest: sha256:7bf0c5140ece2feb671b42f589c2f5008ed5454e1d7a19cd1db5bce2e15917e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 01:23:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:23:14 604c600fe3df: Preparing 01:23:14 b61089a06709: Preparing 01:23:14 db396d07a4f6: Preparing 01:23:14 99c51cc12ce4: Preparing 01:23:14 7bbfcca98fba: Preparing 01:23:14 534a70dc8296: Preparing 01:23:14 534a70dc8296: Waiting 01:23:14 99c51cc12ce4: Layer already exists 01:23:14 db396d07a4f6: Layer already exists 01:23:14 b61089a06709: Layer already exists 01:23:14 604c600fe3df: Layer already exists 01:23:14 7bbfcca98fba: Layer already exists 01:23:14 534a70dc8296: Layer already exists 01:23:14 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7: digest: sha256:7bf0c5140ece2feb671b42f589c2f5008ed5454e1d7a19cd1db5bce2e15917e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:23:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:23:15 604c600fe3df: Preparing 01:23:15 b61089a06709: Preparing 01:23:15 db396d07a4f6: Preparing 01:23:15 99c51cc12ce4: Preparing 01:23:15 7bbfcca98fba: Preparing 01:23:15 534a70dc8296: Preparing 01:23:15 534a70dc8296: Waiting 01:23:15 7bbfcca98fba: Layer already exists 01:23:15 604c600fe3df: Layer already exists 01:23:15 b61089a06709: Layer already exists 01:23:15 99c51cc12ce4: Layer already exists 01:23:15 db396d07a4f6: Layer already exists 01:23:15 534a70dc8296: Layer already exists 01:23:15 main: digest: sha256:7bf0c5140ece2feb671b42f589c2f5008ed5454e1d7a19cd1db5bce2e15917e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:23:15 ===================================================== [Pipeline] echo 01:23:15 taggedImages: 01:23:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 01:23:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:23:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.7 01:23:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52-4.0.0-dev.7 01:23:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:23:16 01:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:23:16 arm64: Pulling from edgex-lftools-log-publisher 01:23:16 8998bd30e6a1: Pulling fs layer 01:23:16 04944245beec: Pulling fs layer 01:23:16 699f458cf7ca: Pulling fs layer 01:23:16 765212b225bb: Pulling fs layer 01:23:16 f23df028b6ca: Pulling fs layer 01:23:16 d65c8cfc05b1: Pulling fs layer 01:23:16 2437ff75d9bd: Pulling fs layer 01:23:16 f23df028b6ca: Waiting 01:23:16 2437ff75d9bd: Waiting 01:23:16 d65c8cfc05b1: Waiting 01:23:16 765212b225bb: Waiting 01:23:17 04944245beec: Verifying Checksum 01:23:17 04944245beec: Download complete 01:23:17 765212b225bb: Verifying Checksum 01:23:17 765212b225bb: Download complete 01:23:17 f23df028b6ca: Download complete 01:23:17 d65c8cfc05b1: Download complete 01:23:17 699f458cf7ca: Verifying Checksum 01:23:17 699f458cf7ca: Download complete 01:23:17 8998bd30e6a1: Verifying Checksum 01:23:17 8998bd30e6a1: Download complete 01:23:19 2437ff75d9bd: Verifying Checksum 01:23:19 2437ff75d9bd: Download complete 01:23:23 8998bd30e6a1: Pull complete 01:23:23 04944245beec: Pull complete 01:23:25 699f458cf7ca: Pull complete 01:23:25 765212b225bb: Pull complete 01:23:26 f23df028b6ca: Pull complete 01:23:26 d65c8cfc05b1: Pull complete 01:23:53 2437ff75d9bd: Pull complete 01:23:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:23:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-37156 does not seem to be running inside a container 01:23:53 $ 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/184 -v /w/workspace/device-rest-go/184:/w/workspace/device-rest-go/184:rw,z -v /w/workspace/device-rest-go/184@tmp:/w/workspace/device-rest-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:23:54 $ docker top adf51e953a3f41c5d3ed101a6a2b05222e262aff43f19334d0d38f2609649a2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:55 ---> job-cost.sh 01:23:55 lf-activate-venv: SKIPPING 01:23:55 INFO: No Stack... 01:24:00 INFO: Retrieving Pricing Info for: v3-standard-8 01:24:00 INFO: Archiving Costs [Pipeline] sh 01:24:01 + cat /w/workspace/device-rest-go/184/archives/cost.csv 01:24:01 + cut -d, -f6 [Pipeline] lock 01:24:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] 01:24:01 Resource [jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] did not exist. Created. 01:24:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:24:02 /w/workspace/device-rest-go/184@tmp/durable-167b06b4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:24:02 + echo total: 0.2199999988079071 [Pipeline] stash 01:24:03 Warning: overwriting stash ‘stack-cost’ 01:24:03 Stashed 1 file(s) [Pipeline] } 01:24:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 01:24:03 $ docker stop --time=1 adf51e953a3f41c5d3ed101a6a2b05222e262aff43f19334d0d38f2609649a2a 01:24:04 $ docker rm -f --volumes adf51e953a3f41c5d3ed101a6a2b05222e262aff43f19334d0d38f2609649a2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:24:05 provisioning config files... 01:24:05 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8210491034411839677tmp [Pipeline] { [Pipeline] sh 01:24:05 + set +x 01:24:05 + curl -s https://codecov.io/bash 01:24:05 + bash -s -- 01:24:05 01:24:05 _____ _ 01:24:05 / ____| | | 01:24:05 | | ___ __| | ___ ___ _____ __ 01:24:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:24:05 | |___| (_) | (_| | __/ (_| (_) \ V / 01:24:05 \_____\___/ \__,_|\___|\___\___/ \_/ 01:24:05 Bash-1.0.6 01:24:05 01:24:05 01:24:05 ==> git version 2.25.1 found 01:24:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:24:05 Release-Date: 2020-01-08 01:24:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:24:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:24:05 ==> Jenkins CI detected. 01:24:05 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:24:05 project root: . 01:24:05 --> token set from env 01:24:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:24:05 ==> Running gcov in . (disable via -X gcov) 01:24:05 ==> Python coveragepy not found 01:24:05 ==> Searching for coverage reports in: 01:24:05 + . 01:24:05 -> Found 1 reports 01:24:05 ==> Detecting git/mercurial file structure 01:24:05 ==> Reading reports 01:24:05 + ./coverage.out bytes=14565 01:24:05 ==> Appending adjustments 01:24:05 https://docs.codecov.io/docs/fixing-reports 01:24:05 + Found adjustments 01:24:05 ==> Gzipping contents 01:24:05 4.0K /tmp/codecov.vdJAAg.gz 01:24:05 ==> Uploading reports 01:24:05 url: https://codecov.io 01:24:05 query: branch=main&commit=c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:24:05 -> Pinging Codecov 01:24:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:24:05 -> Uploading to 01:24:05 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52/973f1eb3-dc5b-4441-8144-b596eb0dbb0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250120%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250120T012405Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=449b2af381b889122404901e337a785dc47835e04e20d6e4f3dfb1274d6f4b0f 01:24:05 % Total % Received % Xferd Average Speed Time Time Time Current 01:24:05 Dload Upload Total Spent Left Speed 01:24:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 7094 --:--:-- --:--:-- --:--:-- 7094 01:24:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] } 01:24:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:24:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:24:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:24:06 01:24:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:24:07 latest: Pulling from edgex-devops/edgex-snyk-go 01:24:07 43c4264eed91: Pulling fs layer 01:24:07 4cc291be95ef: Pulling fs layer 01:24:07 2ac1f1163629: Pulling fs layer 01:24:07 5c3c966382ef: Pulling fs layer 01:24:07 4f4fb700ef54: Pulling fs layer 01:24:07 d9c7d2e4e75e: Pulling fs layer 01:24:07 9c3e1370e548: Pulling fs layer 01:24:07 d9c7d2e4e75e: Waiting 01:24:07 5c3c966382ef: Waiting 01:24:07 4f4fb700ef54: Waiting 01:24:07 9c3e1370e548: Waiting 01:24:07 4cc291be95ef: Verifying Checksum 01:24:07 4cc291be95ef: Download complete 01:24:07 5c3c966382ef: Download complete 01:24:07 4f4fb700ef54: Download complete 01:24:07 43c4264eed91: Download complete 01:24:07 43c4264eed91: Pull complete 01:24:07 d9c7d2e4e75e: Verifying Checksum 01:24:07 d9c7d2e4e75e: Download complete 01:24:07 4cc291be95ef: Pull complete 01:24:07 2ac1f1163629: Download complete 01:24:08 9c3e1370e548: Verifying Checksum 01:24:08 9c3e1370e548: Download complete 01:24:11 2ac1f1163629: Pull complete 01:24:11 5c3c966382ef: Pull complete 01:24:11 4f4fb700ef54: Pull complete 01:24:11 d9c7d2e4e75e: Pull complete 01:24:14 9c3e1370e548: Pull complete 01:24:14 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 01:24:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:24:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:14 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:24:20 $ docker top 310707f488cde6bcb9d4a4443de6af58b3d82a3b2d68932a82c727579e9eebbe -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:24:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:24:20 + set -o pipefail 01:24:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:24:29 01:24:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:24:29 01:24:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/9c7f0432-8dc3-4bba-b12a-77c0bf4c5e0d 01:24:29 01:24:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:24:29 01:24:30 01:24:30 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 01:24:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:24:30 $ docker stop --time=1 310707f488cde6bcb9d4a4443de6af58b3d82a3b2d68932a82c727579e9eebbe 01:24:37 $ docker rm -f --volumes 310707f488cde6bcb9d4a4443de6af58b3d82a3b2d68932a82c727579e9eebbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:24:38 + git log --format=format:%s -1 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 [Pipeline] sh 01:24:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:38 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:24:39 $ docker top 60f8f40f27edf0e6d90526e0161ce3de3efa802a11d6a613a0988fee75497e8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:39 [ssh-agent] Looking for ssh-agent implementation... 01:24:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:39 $ docker exec 60f8f40f27edf0e6d90526e0161ce3de3efa802a11d6a613a0988fee75497e8a ssh-agent 01:24:39 SSH_AUTH_SOCK=/tmp/ssh-XSNEA99TaT9S/agent.32 01:24:39 SSH_AGENT_PID=39 01:24:39 Running ssh-add (command line suppressed) 01:24:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11864052949501543516.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11864052949501543516.key) 01:24:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:40 + git semver tag 01:24:40 2025-01-20 01:24:40,267 [run_tag] DEBUG tag force:False 01:24:40 2025-01-20 01:24:40,267 [check_head_tag] DEBUG check head tag 01:24:40 2025-01-20 01:24:40,269 [execute] INFO git cat-file --batch-check 01:24:40 2025-01-20 01:24:40,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:24:40 2025-01-20 01:24:40,273 [execute] INFO git cat-file --batch 01:24:40 2025-01-20 01:24:40,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:24:40 2025-01-20 01:24:40,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:24:40 2025-01-20 01:24:40,298 [execute] INFO git tag -a v4.0.0-dev.7 -m v4.0.0-dev.7 01:24:40 2025-01-20 01:24:40,298 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.7', '-m', 'v4.0.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:24:40 2025-01-20 01:24:40,302 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:24:40 4.0.0-dev.7 [Pipeline] } 01:24:40 $ docker exec --env ******** --env ******** 60f8f40f27edf0e6d90526e0161ce3de3efa802a11d6a613a0988fee75497e8a ssh-agent -k 01:24:40 unset SSH_AUTH_SOCK; 01:24:40 unset SSH_AGENT_PID; 01:24:40 echo Agent pid 39 killed; 01:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:40 + git semver [Pipeline] } 01:24:41 $ docker stop --time=1 60f8f40f27edf0e6d90526e0161ce3de3efa802a11d6a613a0988fee75497e8a 01:24:42 $ docker rm -f --volumes 60f8f40f27edf0e6d90526e0161ce3de3efa802a11d6a613a0988fee75497e8a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:24:43 01:24:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:24:43 0.23.1-centos7: Pulling from edgex-lftools 01:24:43 ab5ef0e58194: Pulling fs layer 01:24:43 9712f1f96733: Pulling fs layer 01:24:43 63f879dbbcfc: Pulling fs layer 01:24:43 0d9ebad4ef96: Pulling fs layer 01:24:43 e9a5061849ea: Pulling fs layer 01:24:43 d747dcd14b5f: Pulling fs layer 01:24:43 2de7ff778b66: Pulling fs layer 01:24:43 0d9ebad4ef96: Waiting 01:24:43 e9a5061849ea: Waiting 01:24:43 2de7ff778b66: Waiting 01:24:43 9712f1f96733: Download complete 01:24:43 63f879dbbcfc: Verifying Checksum 01:24:43 63f879dbbcfc: Download complete 01:24:44 e9a5061849ea: Verifying Checksum 01:24:44 e9a5061849ea: Download complete 01:24:44 0d9ebad4ef96: Verifying Checksum 01:24:44 0d9ebad4ef96: Download complete 01:24:44 d747dcd14b5f: Download complete 01:24:44 2de7ff778b66: Verifying Checksum 01:24:44 2de7ff778b66: Download complete 01:24:44 ab5ef0e58194: Verifying Checksum 01:24:44 ab5ef0e58194: Download complete 01:24:47 ab5ef0e58194: Pull complete 01:24:47 9712f1f96733: Pull complete 01:24:47 63f879dbbcfc: Pull complete 01:24:52 0d9ebad4ef96: Pull complete 01:24:52 e9a5061849ea: Pull complete 01:24:52 d747dcd14b5f: Pull complete 01:24:53 2de7ff778b66: Pull complete 01:24:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:24:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:24:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:53 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:25:03 $ docker top f6ba8198efed2a8e113054b4936f31600490f2e2b8c459056bb0a7bed3e0ab71 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:25:03 provisioning config files... 01:25:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13162052492222649182tmp 01:25:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1136803253290226967tmp 01:25:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2588047103093492775tmp [Pipeline] { [Pipeline] echo 01:25:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:25:03 ---> sigul-configuration.sh 01:25:03 gpg: directory `/root/.gnupg' created 01:25:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:25:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:25:03 gpg: keyring `/root/.gnupg/secring.gpg' created 01:25:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:25:03 gpg: CAST5 encrypted data 01:25:03 gpg: encrypted with 1 passphrase 01:25:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:25:03 + mkdir /home/jenkins 01:25:03 + mkdir /home/jenkins/sigul [Pipeline] sh 01:25:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:25:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:25:04 ---> sigul-install.sh 01:25:04 Sigul already installed; skipping installation. [Pipeline] sh 01:25:04 + git tag --list 01:25:04 v1.0.0 01:25:04 v1.1.0 01:25:04 v1.1.1 01:25:04 v1.1.2 01:25:04 v1.2.0 01:25:04 v1.2.1 01:25:04 v2.0.0 01:25:04 v2.1.0 01:25:04 v2.1.1 01:25:04 v2.2.0 01:25:04 v2.3.0 01:25:04 v3.0 01:25:04 v3.0.0 01:25:04 v3.1 01:25:04 v3.1.0 01:25:04 v3.1.0-dev.1 01:25:04 v3.1.0-dev.10 01:25:04 v3.1.0-dev.11 01:25:04 v3.1.0-dev.12 01:25:04 v3.1.0-dev.13 01:25:04 v3.1.0-dev.14 01:25:04 v3.1.0-dev.15 01:25:04 v3.1.0-dev.16 01:25:04 v3.1.0-dev.17 01:25:04 v3.1.0-dev.18 01:25:04 v3.1.0-dev.19 01:25:04 v3.1.0-dev.2 01:25:04 v3.1.0-dev.20 01:25:04 v3.1.0-dev.21 01:25:04 v3.1.0-dev.22 01:25:04 v3.1.0-dev.23 01:25:04 v3.1.0-dev.24 01:25:04 v3.1.0-dev.25 01:25:04 v3.1.0-dev.26 01:25:04 v3.1.0-dev.27 01:25:04 v3.1.0-dev.28 01:25:04 v3.1.0-dev.29 01:25:04 v3.1.0-dev.3 01:25:04 v3.1.0-dev.30 01:25:04 v3.1.0-dev.31 01:25:04 v3.1.0-dev.32 01:25:04 v3.1.0-dev.4 01:25:04 v3.1.0-dev.5 01:25:04 v3.1.0-dev.6 01:25:04 v3.1.0-dev.7 01:25:04 v3.1.0-dev.8 01:25:04 v3.1.0-dev.9 01:25:04 v3.1.1 01:25:04 v3.2.0-dev.1 01:25:04 v3.2.0-dev.10 01:25:04 v3.2.0-dev.11 01:25:04 v3.2.0-dev.12 01:25:04 v3.2.0-dev.13 01:25:04 v3.2.0-dev.14 01:25:04 v3.2.0-dev.15 01:25:04 v3.2.0-dev.16 01:25:04 v3.2.0-dev.17 01:25:04 v3.2.0-dev.18 01:25:04 v3.2.0-dev.19 01:25:04 v3.2.0-dev.2 01:25:04 v3.2.0-dev.20 01:25:04 v3.2.0-dev.21 01:25:04 v3.2.0-dev.22 01:25:04 v3.2.0-dev.23 01:25:04 v3.2.0-dev.24 01:25:04 v3.2.0-dev.25 01:25:04 v3.2.0-dev.3 01:25:04 v3.2.0-dev.4 01:25:04 v3.2.0-dev.5 01:25:04 v3.2.0-dev.6 01:25:04 v3.2.0-dev.7 01:25:04 v3.2.0-dev.8 01:25:04 v3.2.0-dev.9 01:25:04 v4.0.0-dev.1 01:25:04 v4.0.0-dev.2 01:25:04 v4.0.0-dev.3 01:25:04 v4.0.0-dev.4 01:25:04 v4.0.0-dev.5 01:25:04 v4.0.0-dev.6 01:25:04 v4.0.0-dev.7 [Pipeline] sh 01:25:05 + lftools sign git-tag v4.0.0-dev.7 01:25:05 Signing Git tag with Sigul... 01:25:05 Signing v4.0.0-dev.7 [Pipeline] echo 01:25:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:25:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:25:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:25:06 $ docker stop --time=1 f6ba8198efed2a8e113054b4936f31600490f2e2b8c459056bb0a7bed3e0ab71 01:25:08 $ docker rm -f --volumes f6ba8198efed2a8e113054b4936f31600490f2e2b8c459056bb0a7bed3e0ab71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:25:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:25:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:09 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:25:10 $ docker top be39e0a1a36f3d817056725c809804e34ffb7879d773b247a3bd65ed8de719b3 -eo pid,comm 01:25:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:25:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:25:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:10 [ssh-agent] Looking for ssh-agent implementation... 01:25:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:10 $ docker exec be39e0a1a36f3d817056725c809804e34ffb7879d773b247a3bd65ed8de719b3 ssh-agent 01:25:10 SSH_AUTH_SOCK=/tmp/ssh-76y3J6KfdVWe/agent.14 01:25:10 SSH_AGENT_PID=20 01:25:10 Running ssh-add (command line suppressed) 01:25:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7272284376342346513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7272284376342346513.key) 01:25:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:11 + git semver bump pre 01:25:11 2025-01-20 01:25:11,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:25:11 2025-01-20 01:25:11,514 [bump_version] DEBUG bumping version:4.0.0-dev.7 on axis:pre with prefix:dev 01:25:11 2025-01-20 01:25:11,514 [bump_version] DEBUG bumped version:4.0.0-dev.8 01:25:11 2025-01-20 01:25:11,514 [write_version] DEBUG write version:4.0.0-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:25:11 2025-01-20 01:25:11,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:25:11 2025-01-20 01:25:11,515 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:25:11 2025-01-20 01:25:11,517 [execute] INFO git cat-file --batch-check 01:25:11 2025-01-20 01:25:11,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:25:11 2025-01-20 01:25:11,523 [execute] INFO git cat-file --batch 01:25:11 2025-01-20 01:25:11,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:25:11 2025-01-20 01:25:11,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:25:11 4.0.0-dev.8 [Pipeline] } 01:25:11 $ docker exec --env ******** --env ******** be39e0a1a36f3d817056725c809804e34ffb7879d773b247a3bd65ed8de719b3 ssh-agent -k 01:25:11 unset SSH_AUTH_SOCK; 01:25:11 unset SSH_AGENT_PID; 01:25:11 echo Agent pid 20 killed; 01:25:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:12 + git semver [Pipeline] } 01:25:12 $ docker stop --time=1 be39e0a1a36f3d817056725c809804e34ffb7879d773b247a3bd65ed8de719b3 01:25:13 $ docker rm -f --volumes be39e0a1a36f3d817056725c809804e34ffb7879d773b247a3bd65ed8de719b3 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:25:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:14 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:25:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:25:14 $ docker top 6d215bee917851fe937efd84b735b183ef1b6b550cb023afd62e4e8a6d7286b7 -eo pid,comm 01:25:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:25:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:25:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:15 [ssh-agent] Looking for ssh-agent implementation... 01:25:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:15 $ docker exec 6d215bee917851fe937efd84b735b183ef1b6b550cb023afd62e4e8a6d7286b7 ssh-agent 01:25:15 SSH_AUTH_SOCK=/tmp/ssh-pjrZetewU6rH/agent.31 01:25:15 SSH_AGENT_PID=37 01:25:15 Running ssh-add (command line suppressed) 01:25:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6976050747519803710.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6976050747519803710.key) 01:25:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:15 + git semver push 01:25:15 2025-01-20 01:25:15,873 [run_push] DEBUG push 01:25:15 2025-01-20 01:25:15,874 [execute] INFO git cat-file --batch-check 01:25:15 2025-01-20 01:25:15,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:25:15 2025-01-20 01:25:15,878 [execute] INFO git rev-list ce2c5b7f0bd679414fa488e01a72675cf5db0a41 -- 01:25:15 2025-01-20 01:25:15,879 [execute] DEBUG Popen(['git', 'rev-list', 'ce2c5b7f0bd679414fa488e01a72675cf5db0a41', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:25:15 2025-01-20 01:25:15,888 [execute] INFO git fetch -v origin 01:25:15 2025-01-20 01:25:15,889 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:25:16 2025-01-20 01:25:16,340 [run_push] DEBUG no remote changes detected 01:25:16 2025-01-20 01:25:16,340 [execute] INFO git push origin semver 01:25:16 2025-01-20 01:25:16,341 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:25:17 2025-01-20 01:25:16,939 [run_push] DEBUG push all version tags 01:25:17 2025-01-20 01:25:16,939 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:25:17 2025-01-20 01:25:16,939 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:25:17 2025-01-20 01:25:17,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:25:17 4.0.0-dev.8 [Pipeline] } 01:25:17 $ docker exec --env ******** --env ******** 6d215bee917851fe937efd84b735b183ef1b6b550cb023afd62e4e8a6d7286b7 ssh-agent -k 01:25:17 unset SSH_AUTH_SOCK; 01:25:17 unset SSH_AGENT_PID; 01:25:17 echo Agent pid 37 killed; 01:25:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:18 + git semver [Pipeline] } 01:25:18 $ docker stop --time=1 6d215bee917851fe937efd84b735b183ef1b6b550cb023afd62e4e8a6d7286b7 01:25:19 $ docker rm -f --volumes 6d215bee917851fe937efd84b735b183ef1b6b550cb023afd62e4e8a6d7286b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:25:20 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:25:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:25:20 total 16 01:25:20 drwxr-xr-x 3 root root 4096 Jan 20 01:14 . 01:25:20 drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 01:25 .. 01:25:20 drwxr-xr-x 2 root root 4096 Jan 20 01:14 cost 01:25:20 -rw-r--r-- 1 root root 86 Jan 20 01:14 cost.csv 01:25:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:25:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:25:20 total 16 01:25:20 drwxr-xr-x 3 jenkins jenkins 4096 Jan 20 01:14 . 01:25:20 drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 01:25 .. 01:25:20 drwxr-xr-x 2 jenkins jenkins 4096 Jan 20 01:14 cost 01:25:20 -rw-r--r-- 1 jenkins jenkins 86 Jan 20 01:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:25:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:25:21 ---> package-listing.sh 01:25:21 ++ facter osfamily 01:25:21 ++ tr '[:upper:]' '[:lower:]' 01:25:21 + OS_FAMILY=debian 01:25:21 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:25:21 + START_PACKAGES=/tmp/packages_start.txt 01:25:21 + END_PACKAGES=/tmp/packages_end.txt 01:25:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:25:21 + PACKAGES=/tmp/packages_start.txt 01:25:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:25:21 + PACKAGES=/tmp/packages_end.txt 01:25:21 + case "${OS_FAMILY}" in 01:25:21 + dpkg -l 01:25:21 + grep '^ii' 01:25:21 + '[' -f /tmp/packages_start.txt ']' 01:25:21 + '[' -f /tmp/packages_end.txt ']' 01:25:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:25:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:25:21 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:25:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:25:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:25:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:25:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:22 prd-ubuntu20.04-docker-8c-8g-37155 does not seem to be running inside a container 01:25:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:25:22 $ docker top 7d53c85b1d76ab77191d25ab48e658bafd0937f157d2a48c43d47e4607e5aa5f -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:23 + touch /tmp/pre-build-complete [Pipeline] sh 01:25:23 + mkdir -p /var/log/sysstat [Pipeline] sh 01:25:23 + ls /var/log/sa-host 01:25:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:24 provisioning config files... 01:25:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17690392838170314307tmp [Pipeline] { [Pipeline] echo 01:25:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:25:24 ---> create-netrc.sh [Pipeline] } 01:25:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:25:24 ---> python-tools-install.sh [Pipeline] echo 01:25:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:25:24 ---> sudo-logs.sh 01:25:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:25:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:25:25 ---> job-cost.sh 01:25:25 lf-activate-venv: SKIPPING 01:25:25 DEBUG: total: 0.2199999988079071 01:25:25 INFO: Retrieving Stack Cost... 01:25:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:25:26 INFO: Archiving Costs [Pipeline] echo 01:25:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:25:26 ---> logs-deploy.sh 01:25:26 lf-activate-venv: SKIPPING 01:25:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/184 01:25:26 INFO: archiving workspace using pattern(s): 01:25:27 Archives upload complete. 01:25:27 INFO: archiving logs to Nexus