Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 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-ssh8079656702855224966.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-ssh14282534032955726787.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-ssh5236048623219833923.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-ssh17734076221038929636.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-ssh620498526299414529.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-35092 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 (main) Commit message: "Merge pull request #436 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" > git config core.sparsecheckout # timeout=10 > git checkout -f 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 # timeout=10 > git rev-list --no-walk 12f0947547c8f837f89b8015c91dffce46fd43af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:14:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:14:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:14:14 ========================================================= 09:14:14 EdgeX Global Pipelines Version Info 09:14:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:14:15 ------------------- 09:14:15 stable info: 09:14:15 ------------------- 09:14:15 Commited By: Cherry Wang cherry@iotechsys.com 09:14:15 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:14:15 Message: update stable to v1.0.269 09:14:15 ------------------- 09:14:15 experimental info: 09:14:15 ------------------- 09:14:15 Commited By: **** collab-it+edgex@linuxfoundation.org 09:14:15 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:14:15 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44c24e8 [Pipeline] echo 09:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:16 provisioning config files... 09:14:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4180852585202659280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:17 ---> ****-login.sh 09:14:17 nexus3.edgexfoundry.org:10001 09:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:17 Configure a credential helper to remove this warning. See 09:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:17 09:14:17 Login Succeeded 09:14:17 nexus3.edgexfoundry.org:10002 09:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:17 Configure a credential helper to remove this warning. See 09:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:17 09:14:17 Login Succeeded 09:14:17 nexus3.edgexfoundry.org:10003 09:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:17 Configure a credential helper to remove this warning. See 09:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:17 09:14:17 Login Succeeded 09:14:17 nexus3.edgexfoundry.org:10004 09:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:17 Configure a credential helper to remove this warning. See 09:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:17 09:14:17 Login Succeeded 09:14:17 ****.io 09:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:17 Configure a credential helper to remove this warning. See 09:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:17 09:14:17 Login Succeeded 09:14:17 ---> ****-login.sh ends [Pipeline] } 09:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:14:21 + git rev-list -1 --merges 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4~1..44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] echo 09:14:21 -----------> git rev-list -1 --merges 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4~1..44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:14:21 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [false] [Pipeline] sh 09:14:21 + git log --format=format:%s -1 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] echo 09:14:21 ========================================================= 09:14:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:14:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:22 + git log --format=format:%s -1 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] echo 09:14:22 [semverPrep] GIT_COMMIT: 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4, Commit Message: Merge pull request #436 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11 [Pipeline] echo 09:14:22 [semverPrep] This is not a build commit. [Pipeline] sh 09:14:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:14:23 + grep -v github /etc/ssh/ssh_known_hosts 09:14:23 + [ -e /tmp/ssh_known_hosts ] 09:14:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:14:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:14:23 + sudo tee -a /etc/ssh/ssh_known_hosts 09:14:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:24 09:14:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:24 0.1.4: Pulling from edgex-devops/py-git-semver 09:14:24 b85a868b505f: Pulling fs layer 09:14:24 e2be974225ed: Pulling fs layer 09:14:24 339a4e72a1f5: Pulling fs layer 09:14:24 988bab9f4d93: Pulling fs layer 09:14:24 1469e6f7b9e6: Pulling fs layer 09:14:24 eaf3925da568: Pulling fs layer 09:14:24 bab4dde63d76: Pulling fs layer 09:14:24 bde34c3a00c8: Pulling fs layer 09:14:24 b352a97aabf1: Pulling fs layer 09:14:24 4872d77fe225: Pulling fs layer 09:14:24 5851b861e8e6: Pulling fs layer 09:14:24 bde34c3a00c8: Waiting 09:14:24 b352a97aabf1: Waiting 09:14:24 4872d77fe225: Waiting 09:14:24 988bab9f4d93: Waiting 09:14:24 5851b861e8e6: Waiting 09:14:24 1469e6f7b9e6: Waiting 09:14:24 eaf3925da568: Waiting 09:14:24 e2be974225ed: Verifying Checksum 09:14:24 e2be974225ed: Download complete 09:14:24 988bab9f4d93: Download complete 09:14:24 1469e6f7b9e6: Verifying Checksum 09:14:24 1469e6f7b9e6: Download complete 09:14:24 339a4e72a1f5: Verifying Checksum 09:14:24 339a4e72a1f5: Download complete 09:14:24 eaf3925da568: Verifying Checksum 09:14:24 eaf3925da568: Download complete 09:14:24 bde34c3a00c8: Verifying Checksum 09:14:24 bde34c3a00c8: Download complete 09:14:24 b352a97aabf1: Verifying Checksum 09:14:24 b352a97aabf1: Download complete 09:14:24 4872d77fe225: Verifying Checksum 09:14:24 4872d77fe225: Download complete 09:14:24 5851b861e8e6: Download complete 09:14:24 b85a868b505f: Verifying Checksum 09:14:24 b85a868b505f: Download complete 09:14:24 bab4dde63d76: Verifying Checksum 09:14:24 bab4dde63d76: Download complete 09:14:25 b85a868b505f: Pull complete 09:14:25 e2be974225ed: Pull complete 09:14:26 339a4e72a1f5: Pull complete 09:14:26 988bab9f4d93: Pull complete 09:14:26 1469e6f7b9e6: Pull complete 09:14:26 eaf3925da568: Pull complete 09:14:28 bab4dde63d76: Pull complete 09:14:28 bde34c3a00c8: Pull complete 09:14:28 b352a97aabf1: Pull complete 09:14:28 4872d77fe225: Pull complete 09:14:28 5851b861e8e6: Pull complete 09:14:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:14:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:28 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:14:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:14:31 $ docker top 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e -eo pid,comm 09:14:31 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). 09:14:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:31 [ssh-agent] Looking for ssh-agent implementation... 09:14:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:31 $ docker exec 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e ssh-agent 09:14:31 SSH_AUTH_SOCK=/tmp/ssh-dcM3nfupT9zf/agent.32 09:14:31 SSH_AGENT_PID=38 09:14:31 Running ssh-add (command line suppressed) 09:14:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3588618806440472970.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3588618806440472970.key) 09:14:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:32 + git tag --points-at HEAD [Pipeline] } 09:14:32 $ docker exec --env ******** --env ******** 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e ssh-agent -k 09:14:32 unset SSH_AUTH_SOCK; 09:14:32 unset SSH_AGENT_PID; 09:14:32 echo Agent pid 38 killed; 09:14:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:32 [ssh-agent] Looking for ssh-agent implementation... 09:14:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:32 $ docker exec 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e ssh-agent 09:14:32 SSH_AUTH_SOCK=/tmp/ssh-wsqi3rCkwWo4/agent.71 09:14:32 SSH_AGENT_PID=77 09:14:32 Running ssh-add (command line suppressed) 09:14:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15411379958557088982.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15411379958557088982.key) 09:14:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:33 + git semver init 09:14:33 2024-12-14 09:14:33,239 [run_init] DEBUG init version:0.0.0 force:False 09:14:33 2024-12-14 09:14:33,240 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 09:14:33 2024-12-14 09:14:33,240 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 09:14:33 2024-12-14 09:14:33,240 [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) 09:14:34 2024-12-14 09:14:34,622 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 09:14:34 2024-12-14 09:14:34,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 09:14:34 2024-12-14 09:14:34,622 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:14:34 2024-12-14 09:14:34,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:14:34 4.0.0-dev.6 [Pipeline] } 09:14:34 $ docker exec --env ******** --env ******** 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e ssh-agent -k 09:14:34 unset SSH_AUTH_SOCK; 09:14:34 unset SSH_AGENT_PID; 09:14:34 echo Agent pid 77 killed; 09:14:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:35 + git semver [Pipeline] } 09:14:35 $ docker stop --time=1 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e 09:14:36 $ docker rm -f --volumes 2db4718324d4075a146dd1846ee814e4d647595342f83c5b285b05b55679eb9e [Pipeline] // withDockerContainer [Pipeline] sh 09:14:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:37 Stashed 1 file(s) [Pipeline] echo 09:14:37 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [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 09:14:37 provisioning config files... 09:14:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8815217630930795164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:37 ---> ****-login.sh 09:14:37 nexus3.edgexfoundry.org:10001 09:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:37 Configure a credential helper to remove this warning. See 09:14:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:37 09:14:37 Login Succeeded 09:14:37 nexus3.edgexfoundry.org:10002 09:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:37 Configure a credential helper to remove this warning. See 09:14:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:37 09:14:37 Login Succeeded 09:14:37 nexus3.edgexfoundry.org:10003 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 nexus3.edgexfoundry.org:10004 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 ****.io 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 ---> ****-login.sh ends [Pipeline] } 09:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:14:38 ========================================================= 09:14:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:14:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:38 + 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 . 09:14:38 Sending build context to Docker daemon 16.65MB 09:14:38 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:14:38 Step 2/12 : FROM ${BASE} AS builder 09:14:38 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:14:38 43c4264eed91: Pulling fs layer 09:14:38 4cc291be95ef: Pulling fs layer 09:14:38 2ac1f1163629: Pulling fs layer 09:14:38 5c3c966382ef: Pulling fs layer 09:14:38 4f4fb700ef54: Pulling fs layer 09:14:38 5d5c8e513c77: Pulling fs layer 09:14:38 9f66e0745190: Pulling fs layer 09:14:38 f49a43e4bbc0: Pulling fs layer 09:14:38 561ebcabdf7f: Pulling fs layer 09:14:38 5d5c8e513c77: Waiting 09:14:38 9f66e0745190: Waiting 09:14:38 f49a43e4bbc0: Waiting 09:14:38 5c3c966382ef: Waiting 09:14:38 561ebcabdf7f: Waiting 09:14:38 4cc291be95ef: Verifying Checksum 09:14:38 4cc291be95ef: Download complete 09:14:38 5c3c966382ef: Download complete 09:14:38 4f4fb700ef54: Download complete 09:14:39 5d5c8e513c77: Download complete 09:14:39 43c4264eed91: Download complete 09:14:39 9f66e0745190: Verifying Checksum 09:14:39 9f66e0745190: Download complete 09:14:39 43c4264eed91: Pull complete 09:14:39 561ebcabdf7f: Download complete 09:14:39 4cc291be95ef: Pull complete 09:14:39 2ac1f1163629: Verifying Checksum 09:14:39 2ac1f1163629: Download complete 09:14:39 f49a43e4bbc0: Verifying Checksum 09:14:39 f49a43e4bbc0: Download complete 09:14:43 2ac1f1163629: Pull complete 09:14:43 5c3c966382ef: Pull complete 09:14:43 4f4fb700ef54: Pull complete 09:14:43 5d5c8e513c77: Pull complete 09:14:43 9f66e0745190: Pull complete 09:14:45 f49a43e4bbc0: Pull complete 09:14:45 561ebcabdf7f: Pull complete 09:14:45 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:14:45 ---> 3a752c3f9dda 09:14:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:14:50 ---> Running in 8c67d346fd76 09:14:50 Removing intermediate container 8c67d346fd76 09:14:50 ---> c5af32b4ee80 09:14:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:14:50 ---> Running in 0b0931f5c840 09:14:50 Removing intermediate container 0b0931f5c840 09:14:50 ---> f8cf988404bf 09:14:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:14:50 ---> Running in dbbc4193b16c 09:14:50 Removing intermediate container dbbc4193b16c 09:14:50 ---> 8683d118fb24 09:14:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:14:50 ---> Running in 0cff96f210d1 09:14:50 Removing intermediate container 0cff96f210d1 09:14:50 ---> f4b839a5fa85 09:14:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:14:50 ---> Running in ebe128886b9d 09:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:14:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:14:51 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:14:51 (2/4) Installing libedit (20240517.3.1-r0) 09:14:51 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:14:51 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:14:51 Executing busybox-1.36.1-r29.trigger 09:14:51 OK: 250 MiB in 58 packages 09:14:52 Removing intermediate container ebe128886b9d 09:14:52 ---> 0214375c7c85 09:14:52 Step 8/12 : WORKDIR /device-rest-go 09:14:52 ---> Running in 1bd881a2b4f2 09:14:52 Removing intermediate container 1bd881a2b4f2 09:14:52 ---> 50049c65a9d5 09:14:52 Step 9/12 : COPY go.mod vendor* ./ 09:14:52 ---> b5f89e89b837 09:14:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:52 ---> Running in 96afa8d75a83 09:14:52 Still waiting to schedule task 09:14:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-35089’ 09:15:39 Removing intermediate container 96afa8d75a83 09:15:39 ---> 67e597773666 09:15:39 Step 11/12 : COPY . . 09:15:39 ---> b9de192a2af5 09:15:39 Step 12/12 : RUN $MAKE 09:15:39 ---> Running in b90aedbb2317 09:15:39 noop 09:15:39 Removing intermediate container b90aedbb2317 09:15:39 ---> 91997a6033c9 09:15:39 Successfully built 91997a6033c9 09:15:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:39 + docker inspect -f . ci-base-image-x86_64 09:15:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:39 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:15:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:15:39 $ docker top 50a6b2ea883787f0da61696a1265f137442babe5800e4905bd703b8845ad4f27 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:40 + go version 09:15:40 go version go1.23.2 linux/amd64 [Pipeline] } 09:15:40 $ docker stop --time=1 50a6b2ea883787f0da61696a1265f137442babe5800e4905bd703b8845ad4f27 09:15:41 $ docker rm -f --volumes 50a6b2ea883787f0da61696a1265f137442babe5800e4905bd703b8845ad4f27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:41 + docker inspect -f . ci-base-image-x86_64 09:15:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:41 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:15:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:15:42 $ docker top ec0c6cd6b493df2ac072f8a744dffbc377890caf36d26378b190cb3977489466 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 09:15:43 + make test 09:15:43 go test ./... -coverprofile=coverage.out ./... 09:15:44 ? github.com/edgexfoundry/device-rest-go [no test files] 09:16:03 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 09:16:03 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 09:16:12 go vet ./... 09:16:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:16:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:16:19 ./bin/test-attribution-txt.sh [Pipeline] echo 09:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:16:19 $ docker stop --time=1 ec0c6cd6b493df2ac072f8a744dffbc377890caf36d26378b190cb3977489466 09:16:23 $ docker rm -f --volumes ec0c6cd6b493df2ac072f8a744dffbc377890caf36d26378b190cb3977489466 [Pipeline] // withDockerContainer [Pipeline] sh 09:16:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:16:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:16:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:24 + ls -al . 09:16:24 total 244 09:16:24 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 09:15 . 09:16:24 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 09:14 .. 09:16:24 -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 09:14 .dockerignore 09:16:24 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 09:16 .git 09:16:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:14 .github 09:16:24 -rw-rw-r-- 1 jenkins jenkins 264 Dec 14 09:14 .gitignore 09:16:24 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 09:14 .golangci.yml 09:16:24 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 09:14 .semver 09:16:24 -rw-rw-r-- 1 jenkins jenkins 20138 Dec 14 09:14 Attribution.txt 09:16:24 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 14 09:14 CHANGELOG.md 09:16:24 -rw-rw-r-- 1 jenkins jenkins 1697 Dec 14 09:14 Dockerfile 09:16:24 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 09:14 GOVERNANCE.md 09:16:24 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 09:14 Jenkinsfile 09:16:24 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 09:14 LICENSE 09:16:24 -rw-rw-r-- 1 jenkins jenkins 2598 Dec 14 09:14 Makefile 09:16:24 -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 09:14 OWNERS.md 09:16:24 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 14 09:14 README.md 09:16:24 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 09:14 VERSION 09:16:24 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 09:14 bin 09:16:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:14 cmd 09:16:24 -rw-r--r-- 1 jenkins jenkins 14565 Dec 14 09:16 coverage.out 09:16:24 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 09:14 driver 09:16:24 -rw-rw-r-- 1 jenkins jenkins 6336 Dec 14 09:14 go.mod 09:16:24 -rw-rw-r-- 1 jenkins jenkins 87152 Dec 14 09:14 go.sum 09:16:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:14 openapi 09:16:24 -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 09:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:24 + 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=44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 --label arch=amd64 --label version=4.0.0-dev.6 . 09:16:24 Sending build context to Docker daemon 16.67MB 09:16:24 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:16:24 Step 2/26 : FROM ${BASE} AS builder 09:16:24 ---> 91997a6033c9 09:16:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 09:16:25 ---> Running in 1c93fa8f1f67 09:16:25 Removing intermediate container 1c93fa8f1f67 09:16:25 ---> 41061e738ba4 09:16:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:16:25 ---> Running in b196c21020c0 09:16:25 Removing intermediate container b196c21020c0 09:16:25 ---> 200d7e53997f 09:16:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:16:25 ---> Running in 76e5fed13b5b 09:16:25 Removing intermediate container 76e5fed13b5b 09:16:25 ---> 9d8d410fa0f8 09:16:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 09:16:25 ---> Running in a00c03480c28 09:16:25 Removing intermediate container a00c03480c28 09:16:25 ---> e5ad34fec9db 09:16:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:25 ---> Running in 6b0090c4cd0e 09:16:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:16:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:16:26 OK: 250 MiB in 58 packages 09:16:26 Removing intermediate container 6b0090c4cd0e 09:16:26 ---> e12c311e5b7c 09:16:26 Step 8/26 : WORKDIR /device-rest-go 09:16:26 ---> Running in d30b3ba537ec 09:16:26 Removing intermediate container d30b3ba537ec 09:16:26 ---> fc81065049d9 09:16:26 Step 9/26 : COPY go.mod vendor* ./ 09:16:26 ---> 6a7378aebcb4 09:16:26 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:26 ---> Running in b442c55c4402 09:16:27 Removing intermediate container b442c55c4402 09:16:27 ---> 665e0cc85097 09:16:27 Step 11/26 : COPY . . 09:16:27 ---> 3fd50b8626f6 09:16:27 Step 12/26 : RUN $MAKE 09:16:27 ---> Running in 76d045b0219c 09:16:28 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:17:00 Removing intermediate container 76d045b0219c 09:17:00 ---> d287401e9252 09:17:00 Step 13/26 : FROM alpine:3.20 09:17:00 3.20: Pulling from library/alpine 09:17:00 da9db072f522: Pulling fs layer 09:17:00 da9db072f522: Verifying Checksum 09:17:00 da9db072f522: Download complete 09:17:00 da9db072f522: Pull complete 09:17:00 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:17:00 Status: Downloaded newer image for alpine:3.20 09:17:00 ---> 63b790fccc90 09:17:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:17:00 ---> Running in f1094f50d051 09:17:00 Removing intermediate container f1094f50d051 09:17:00 ---> 8ce1c01a7b3f 09:17:00 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 09:17:00 ---> Running in fec02d6cb0f9 09:17:00 Removing intermediate container fec02d6cb0f9 09:17:00 ---> 89a3eb4a3d3c 09:17:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:17:00 ---> Running in f4e6ab939a69 09:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:17:00 (1/1) Installing dumb-init (1.2.5-r3) 09:17:00 Executing busybox-1.36.1-r29.trigger 09:17:00 OK: 8 MiB in 15 packages 09:17:00 Removing intermediate container f4e6ab939a69 09:17:00 ---> fd0b9eaf61c1 09:17:00 Step 17/26 : RUN apk --no-cache upgrade 09:17:00 ---> Running in 13692fba49d1 09:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:17:00 Upgrading critical system libraries and apk-tools: 09:17:00 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:17:00 Executing busybox-1.36.1-r29.trigger 09:17:00 Continuing the upgrade transaction with new apk-tools: 09:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:17:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:17:01 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:17:01 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:17:01 OK: 8 MiB in 15 packages 09:17:02 Removing intermediate container 13692fba49d1 09:17:02 ---> 621139c4d4be 09:17:02 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 09:17:03 ---> 3a668db3b85f 09:17:03 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 09:17:03 ---> 13dd41c307f5 09:17:03 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 09:17:03 ---> 620fde6c7a29 09:17:03 Step 21/26 : EXPOSE 59986 09:17:03 ---> Running in bd9fbbc9be5d 09:17:03 Removing intermediate container bd9fbbc9be5d 09:17:03 ---> 3db44c0d81b0 09:17:03 Step 22/26 : ENTRYPOINT ["/device-rest"] 09:17:03 ---> Running in 2dfdfc0f904c 09:17:03 Removing intermediate container 2dfdfc0f904c 09:17:03 ---> 7403efe1d0ee 09:17:03 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:17:03 ---> Running in b7a777e20450 09:17:03 Removing intermediate container b7a777e20450 09:17:03 ---> 3b3757bfa105 09:17:03 Step 24/26 : LABEL arch=amd64 09:17:03 ---> Running in 4c1b11e2b9de 09:17:03 Removing intermediate container 4c1b11e2b9de 09:17:03 ---> 64436a160509 09:17:03 Step 25/26 : LABEL git_sha=44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:17:03 ---> Running in 2356e72af4ca 09:17:03 Removing intermediate container 2356e72af4ca 09:17:03 ---> e7d270e729c6 09:17:03 Step 26/26 : LABEL version=4.0.0-dev.6 09:17:03 ---> Running in c4464ef9908b 09:17:03 Removing intermediate container c4464ef9908b 09:17:03 ---> 73ce933ad147 09:17:03 [Warning] One or more build-args [ARCH] were not consumed 09:17:03 Successfully built 73ce933ad147 09:17:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:04 provisioning config files... 09:17:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9899522055876931017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:04 ---> ****-login.sh 09:17:04 nexus3.edgexfoundry.org:10001 09:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:04 Configure a credential helper to remove this warning. See 09:17:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:04 09:17:04 Login Succeeded 09:17:04 nexus3.edgexfoundry.org:10002 09:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:04 Configure a credential helper to remove this warning. See 09:17:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:04 09:17:04 Login Succeeded 09:17:04 nexus3.edgexfoundry.org:10003 09:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:04 Configure a credential helper to remove this warning. See 09:17:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:04 09:17:04 Login Succeeded 09:17:04 nexus3.edgexfoundry.org:10004 09:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:04 Configure a credential helper to remove this warning. See 09:17:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:04 09:17:04 Login Succeeded 09:17:04 ****.io 09:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:04 Configure a credential helper to remove this warning. See 09:17:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:04 09:17:04 Login Succeeded 09:17:04 ---> ****-login.sh ends [Pipeline] } 09:17:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:17:04 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 09:17:04 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:17:04 latest 09:17:04 4.0.0-dev.6 09:17:04 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 09:17:04 main 09:17:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:17:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:17:05 26b7e3d072c6: Preparing 09:17:05 5c019fe56d2c: Preparing 09:17:05 ad81f969a20f: Preparing 09:17:05 2a42d077afb0: Preparing 09:17:05 f2b912f59411: Preparing 09:17:05 75654b8eeebd: Preparing 09:17:05 75654b8eeebd: Waiting 09:17:05 f2b912f59411: Pushed 09:17:05 26b7e3d072c6: Pushed 09:17:05 75654b8eeebd: Layer already exists 09:17:05 5c019fe56d2c: Pushed 09:17:06 2a42d077afb0: Pushed 09:17:08 ad81f969a20f: Pushed 09:17:08 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4: digest: sha256:9e702585818603d191a94f0f115fcec1006ab6023e0b599cb4ca6991f3973137 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 09:17:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:17:09 26b7e3d072c6: Preparing 09:17:09 5c019fe56d2c: Preparing 09:17:09 ad81f969a20f: Preparing 09:17:09 2a42d077afb0: Preparing 09:17:09 f2b912f59411: Preparing 09:17:09 75654b8eeebd: Preparing 09:17:09 75654b8eeebd: Waiting 09:17:09 26b7e3d072c6: Layer already exists 09:17:09 2a42d077afb0: Layer already exists 09:17:09 5c019fe56d2c: Layer already exists 09:17:09 ad81f969a20f: Layer already exists 09:17:09 f2b912f59411: Layer already exists 09:17:09 75654b8eeebd: Layer already exists 09:17:09 latest: digest: sha256:9e702585818603d191a94f0f115fcec1006ab6023e0b599cb4ca6991f3973137 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.6 09:17:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:17:10 26b7e3d072c6: Preparing 09:17:10 5c019fe56d2c: Preparing 09:17:10 ad81f969a20f: Preparing 09:17:10 2a42d077afb0: Preparing 09:17:10 f2b912f59411: Preparing 09:17:10 75654b8eeebd: Preparing 09:17:10 75654b8eeebd: Waiting 09:17:10 f2b912f59411: Layer already exists 09:17:10 ad81f969a20f: Layer already exists 09:17:10 26b7e3d072c6: Layer already exists 09:17:10 5c019fe56d2c: Layer already exists 09:17:10 2a42d077afb0: Layer already exists 09:17:10 75654b8eeebd: Layer already exists 09:17:10 4.0.0-dev.6: digest: sha256:9e702585818603d191a94f0f115fcec1006ab6023e0b599cb4ca6991f3973137 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 09:17:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:17:11 26b7e3d072c6: Preparing 09:17:11 5c019fe56d2c: Preparing 09:17:11 ad81f969a20f: Preparing 09:17:11 2a42d077afb0: Preparing 09:17:11 f2b912f59411: Preparing 09:17:11 75654b8eeebd: Preparing 09:17:11 75654b8eeebd: Waiting 09:17:11 5c019fe56d2c: Layer already exists 09:17:11 ad81f969a20f: Layer already exists 09:17:11 26b7e3d072c6: Layer already exists 09:17:11 2a42d077afb0: Layer already exists 09:17:11 f2b912f59411: Layer already exists 09:17:11 75654b8eeebd: Layer already exists 09:17:11 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6: digest: sha256:9e702585818603d191a94f0f115fcec1006ab6023e0b599cb4ca6991f3973137 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 09:17:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:17:11 26b7e3d072c6: Preparing 09:17:11 5c019fe56d2c: Preparing 09:17:11 ad81f969a20f: Preparing 09:17:11 2a42d077afb0: Preparing 09:17:11 f2b912f59411: Preparing 09:17:11 75654b8eeebd: Preparing 09:17:11 75654b8eeebd: Waiting 09:17:11 26b7e3d072c6: Layer already exists 09:17:11 5c019fe56d2c: Layer already exists 09:17:11 ad81f969a20f: Layer already exists 09:17:11 f2b912f59411: Layer already exists 09:17:11 2a42d077afb0: Layer already exists 09:17:11 75654b8eeebd: Layer already exists 09:17:11 main: digest: sha256:9e702585818603d191a94f0f115fcec1006ab6023e0b599cb4ca6991f3973137 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:11 ===================================================== [Pipeline] echo 09:17:11 taggedImages: 09:17:11 - nexus3.edgexfoundry.org:10004/device-rest:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:17:11 - nexus3.edgexfoundry.org:10004/device-rest:latest 09:17:11 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.6 09:17:11 - nexus3.edgexfoundry.org:10004/device-rest:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 09:17:11 - 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 09:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:12 09:17:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:12 latest: Pulling from edgex-lftools-log-publisher 09:17:12 5eb5b503b376: Pulling fs layer 09:17:12 5c69ac0246d0: Pulling fs layer 09:17:12 ec43610c2a17: Pulling fs layer 09:17:12 3a2ae6a8a46f: Pulling fs layer 09:17:12 33b1e0a273af: Pulling fs layer 09:17:12 5d3b04190fa2: Pulling fs layer 09:17:12 2f39f015ded8: Pulling fs layer 09:17:12 2f39f015ded8: Waiting 09:17:12 33b1e0a273af: Waiting 09:17:12 5d3b04190fa2: Waiting 09:17:12 5c69ac0246d0: Download complete 09:17:12 3a2ae6a8a46f: Verifying Checksum 09:17:12 3a2ae6a8a46f: Download complete 09:17:12 33b1e0a273af: Verifying Checksum 09:17:12 33b1e0a273af: Download complete 09:17:12 5d3b04190fa2: Verifying Checksum 09:17:12 5d3b04190fa2: Download complete 09:17:12 ec43610c2a17: Verifying Checksum 09:17:12 ec43610c2a17: Download complete 09:17:12 5eb5b503b376: Verifying Checksum 09:17:12 5eb5b503b376: Download complete 09:17:13 2f39f015ded8: Download complete 09:17:13 5eb5b503b376: Pull complete 09:17:14 5c69ac0246d0: Pull complete 09:17:14 ec43610c2a17: Pull complete 09:17:14 3a2ae6a8a46f: Pull complete 09:17:14 33b1e0a273af: Pull complete 09:17:14 5d3b04190fa2: Pull complete 09:17:19 2f39f015ded8: Pull complete 09:17:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:17:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:19 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:17:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:17:23 $ docker top 3b64d0a2bd60b8b59f84aa3ed8771bdc076fecb8d75cb83963cc5ccf67ae458d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:23 ---> job-cost.sh 09:17:23 lf-activate-venv: SKIPPING 09:17:23 INFO: No Stack... 09:17:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:17:24 INFO: Archiving Costs [Pipeline] sh 09:17:24 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 09:17:24 + cut -d, -f6 [Pipeline] lock 09:17:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] 09:17:24 Resource [jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] did not exist. Created. 09:17:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:25 + echo total: 0.2199999988079071 [Pipeline] stash 09:17:25 Stashed 1 file(s) [Pipeline] } 09:17:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 09:17:25 $ docker stop --time=1 3b64d0a2bd60b8b59f84aa3ed8771bdc076fecb8d75cb83963cc5ccf67ae458d 09:17:26 $ docker rm -f --volumes 3b64d0a2bd60b8b59f84aa3ed8771bdc076fecb8d75cb83963cc5ccf67ae458d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:17:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-35098 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 09:17:35 Running in /w/workspace/device-rest-go/183 [Pipeline] { [Pipeline] checkout 09:17:38 The recommended git tool is: git 09:17:46 using credential edgex-jenkins-ssh 09:17:46 Cloning the remote Git repository 09:17:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:17:46 > git init /w/workspace/device-rest-go/183 # timeout=10 09:17:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:17:46 > git --version # timeout=10 09:17:46 > git --version # 'git version 2.25.1' 09:17:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:17:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:51 Avoid second fetch 09:17:51 Checking out Revision 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 (main) 09:17:51 Commit message: "Merge pull request #436 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" 09:17:51 > git config core.sparsecheckout # timeout=10 09:17:51 > git checkout -f 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:17:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:17:56 Dload Upload Total Spent Left Speed 09:17:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 181k 0 --:--:-- --:--:-- --:--:-- 181k [Pipeline] sh 09:17:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:17:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:17:57 + sudo tee /etc/docker/daemon.new 09:17:57 { 09:17:57 "registry-mirrors": [ 09:17:57 "https://nexus3.edgexfoundry.org:10001" 09:17:57 ], 09:17:57 "bip": "10.250.0.254/24", 09:17:57 "hosts": [ 09:17:57 "tcp://0.0.0.0:5555", 09:17:57 "unix:///var/run/docker.sock" 09:17:57 ], 09:17:57 "mtu": 1458, 09:17:57 "selinux-enabled": true, 09:17:57 "seccomp-profile": "/etc/docker/seccomp.json" 09:17:57 } [Pipeline] sh 09:17:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:17:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:18:16 provisioning config files... 09:18:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/183@tmp/config9487136215695243829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:18:16 ---> ****-login.sh 09:18:16 nexus3.edgexfoundry.org:10001 09:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:17 Configure a credential helper to remove this warning. See 09:18:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:17 09:18:17 Login Succeeded 09:18:17 nexus3.edgexfoundry.org:10002 09:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:17 Configure a credential helper to remove this warning. See 09:18:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:17 09:18:17 Login Succeeded 09:18:17 nexus3.edgexfoundry.org:10003 09:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:18 Configure a credential helper to remove this warning. See 09:18:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:18 09:18:18 Login Succeeded 09:18:18 nexus3.edgexfoundry.org:10004 09:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:18 Configure a credential helper to remove this warning. See 09:18:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:18 09:18:18 Login Succeeded 09:18:18 ****.io 09:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:18 Configure a credential helper to remove this warning. See 09:18:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:18 09:18:18 Login Succeeded 09:18:18 ---> ****-login.sh ends [Pipeline] } 09:18:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:18:19 ========================================================= 09:18:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:18:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:19 + 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 . 09:18:21 #0 building with "default" instance using docker driver 09:18:21 09:18:21 #1 [internal] load .dockerignore 09:18:21 #1 transferring context: 193B done 09:18:21 #1 DONE 0.2s 09:18:21 09:18:21 #2 [internal] load build definition from Dockerfile 09:18:21 #2 transferring dockerfile: 1.74kB 0.0s done 09:18:21 #2 DONE 0.1s 09:18:21 09:18:21 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:18:21 #3 DONE 0.1s 09:18:21 09:18:21 #4 [internal] load build context 09:18:21 #4 DONE 0.0s 09:18:21 09:18:21 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:18:21 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 0.0s done 09:18:21 #5 ... 09:18:21 09:18:21 #4 [internal] load build context 09:18:21 #4 transferring context: 108.68kB 0.1s done 09:18:21 #4 DONE 0.1s 09:18:21 09:18:21 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:18:21 #5 sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 1.99kB / 1.99kB done 09:18:21 #5 sha256:be29e6b0f0d48c82f8b7b9eee484c4dc135732b9e314d3ddccdbbf7107de97ad 5.39kB / 5.39kB done 09:18:21 #5 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 1.05MB / 4.09MB 0.1s 09:18:21 #5 sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 293.52kB / 293.52kB 0.1s done 09:18:21 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 2.10MB / 70.64MB 0.2s 09:18:21 #5 sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea 127B / 127B 0.2s done 09:18:21 #5 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 3.29MB / 4.09MB 0.2s 09:18:21 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.29MB / 70.64MB 0.3s 09:18:21 #5 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 09:18:21 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 0B / 95.52MB 0.3s 09:18:21 #5 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s done 09:18:21 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 10.11MB / 70.64MB 0.4s 09:18:21 #5 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 09:18:21 #5 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s done 09:18:21 #5 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 2.10MB / 12.73MB 0.4s 09:18:21 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 14.30MB / 70.64MB 0.5s 09:18:21 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 7.15MB / 95.52MB 0.5s 09:18:21 #5 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 5.24MB / 12.73MB 0.5s 09:18:21 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 23.07MB / 70.64MB 0.7s 09:18:21 #5 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 0.4s done 09:18:21 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 15.73MB / 95.52MB 0.7s 09:18:21 #5 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.00MB / 12.73MB 0.7s 09:18:21 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 27.80MB / 70.64MB 0.8s 09:18:21 #5 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 0.7s done 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 35.65MB / 70.64MB 1.0s 09:18:22 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 26.21MB / 95.52MB 1.0s 09:18:22 #5 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 40.48MB / 70.64MB 1.1s 09:18:22 #5 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0.2s done 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 45.09MB / 70.64MB 1.2s 09:18:22 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 33.67MB / 95.52MB 1.2s 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 53.69MB / 70.64MB 1.4s 09:18:22 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 43.70MB / 95.52MB 1.4s 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 57.67MB / 70.64MB 1.5s 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 61.87MB / 70.64MB 1.6s 09:18:22 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 53.48MB / 95.52MB 1.6s 09:18:22 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 69.48MB / 70.64MB 1.8s 09:18:22 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 62.91MB / 95.52MB 1.8s 09:18:22 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 68.16MB / 95.52MB 1.9s 09:18:23 #5 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.9s done 09:18:23 #5 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 09:18:23 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 77.59MB / 95.52MB 2.1s 09:18:23 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 82.84MB / 95.52MB 2.2s 09:18:23 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 91.23MB / 95.52MB 2.4s 09:18:23 #5 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.52MB / 95.52MB 2.6s done 09:18:30 #5 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.2s 09:18:34 #5 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 11.4s 09:18:42 #5 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 18.9s done 09:18:43 #5 extracting sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea done 09:18:43 #5 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 09:18:43 #5 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 09:18:43 #5 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 done 09:18:43 #5 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 09:18:49 #5 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 5.2s 09:18:52 #5 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 8.1s done 09:18:52 #5 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 09:18:53 #5 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 1.8s done 09:18:54 #5 DONE 33.2s 09:18:54 09:18:54 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 09:18:55 #6 0.741 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:18:55 #6 1.148 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:18:56 #6 2.607 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:18:57 #6 2.633 (2/4) Installing libedit (20240517.3.1-r0) 09:18:57 #6 2.645 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:18:57 #6 2.707 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:18:57 #6 2.732 Executing busybox-1.36.1-r29.trigger 09:18:57 #6 2.771 OK: 242 MiB in 58 packages 09:18:59 #6 DONE 4.8s 09:18:59 09:18:59 #7 [builder 3/7] WORKDIR /device-rest-go 09:18:59 #7 DONE 0.1s 09:18:59 09:18:59 #8 [builder 4/7] COPY go.mod vendor* ./ 09:18:59 #8 DONE 0.1s 09:18:59 09:18:59 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:19:38 #9 DONE 32.8s 09:19:38 09:19:38 #10 [builder 6/7] COPY . . 09:19:38 #10 DONE 0.2s 09:19:38 09:19:38 #11 [builder 7/7] RUN echo noop 09:19:38 #11 0.714 noop 09:19:38 #11 DONE 0.8s 09:19:38 09:19:38 #12 exporting to image 09:19:38 #12 exporting layers 09:20:10 #12 exporting layers 35.9s done 09:20:10 #12 writing image sha256:52e0987769127cc3766161816fd8d3c4a930d560de08b8630574b22e16e995af done 09:20:10 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 09:20:10 #12 DONE 35.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:10 + docker inspect -f . ci-base-image-arm64 09:20:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:20:11 prd-ubuntu20.04-docker-arm64-4c-16g-35098 does not seem to be running inside a container 09:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/183 -v /w/workspace/device-rest-go/183:/w/workspace/device-rest-go/183:rw,z -v /w/workspace/device-rest-go/183@tmp:/w/workspace/device-rest-go/183@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 09:20:12 $ docker top cb8eda10a3d10d479aefca24f05e01a401aa3cc64eb67cacaa6386d1c0a20dcd -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:13 + go version 09:20:13 go version go1.23.2 linux/arm64 [Pipeline] } 09:20:13 $ docker stop --time=1 cb8eda10a3d10d479aefca24f05e01a401aa3cc64eb67cacaa6386d1c0a20dcd 09:20:14 $ docker rm -f --volumes cb8eda10a3d10d479aefca24f05e01a401aa3cc64eb67cacaa6386d1c0a20dcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:15 + docker inspect -f . ci-base-image-arm64 09:20:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:20:15 prd-ubuntu20.04-docker-arm64-4c-16g-35098 does not seem to be running inside a container 09:20:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/183 -v /w/workspace/device-rest-go/183:/w/workspace/device-rest-go/183:rw,z -v /w/workspace/device-rest-go/183@tmp:/w/workspace/device-rest-go/183@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 09:20:16 $ docker top 0b930b4ef7504d907bbbe16485752b931a839df522c77e66f103dea2b7f80cdf -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:17 + git config --global --add safe.directory /w/workspace/device-rest-go/183 [Pipeline] fileExists [Pipeline] sh 09:20:17 + make test 09:20:17 go test ./... -coverprofile=coverage.out ./... 09:20:22 ? github.com/edgexfoundry/device-rest-go [no test files] 09:22:44 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 09:22:44 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements 09:22:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:22:44 go vet ./... 09:23:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:23:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:23:11 ./bin/test-attribution-txt.sh [Pipeline] echo 09:23:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:23:11 $ docker stop --time=1 0b930b4ef7504d907bbbe16485752b931a839df522c77e66f103dea2b7f80cdf 09:23:13 $ docker rm -f --volumes 0b930b4ef7504d907bbbe16485752b931a839df522c77e66f103dea2b7f80cdf [Pipeline] // withDockerContainer [Pipeline] sh 09:23:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:23:15 Warning: overwriting stash ‘coverage-report’ 09:23:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:23:16 + ls -al . 09:23:16 total 240 09:23:16 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 09:20 . 09:23:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 09:17 .. 09:23:16 -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 09:17 .dockerignore 09:23:16 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 09:17 .git 09:23:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:17 .github 09:23:16 -rw-rw-r-- 1 jenkins jenkins 264 Dec 14 09:17 .gitignore 09:23:16 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 09:17 .golangci.yml 09:23:16 -rw-rw-r-- 1 jenkins jenkins 20138 Dec 14 09:17 Attribution.txt 09:23:16 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 14 09:17 CHANGELOG.md 09:23:16 -rw-rw-r-- 1 jenkins jenkins 1697 Dec 14 09:17 Dockerfile 09:23:16 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 09:17 GOVERNANCE.md 09:23:16 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 09:17 Jenkinsfile 09:23:16 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 09:17 LICENSE 09:23:16 -rw-rw-r-- 1 jenkins jenkins 2598 Dec 14 09:17 Makefile 09:23:16 -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 09:17 OWNERS.md 09:23:16 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 14 09:17 README.md 09:23:16 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 09:14 VERSION 09:23:16 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 09:17 bin 09:23:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:17 cmd 09:23:16 -rw-r--r-- 1 jenkins jenkins 14565 Dec 14 09:22 coverage.out 09:23:16 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 09:17 driver 09:23:16 -rw-rw-r-- 1 jenkins jenkins 6336 Dec 14 09:17 go.mod 09:23:16 -rw-rw-r-- 1 jenkins jenkins 87152 Dec 14 09:17 go.sum 09:23:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 09:17 openapi 09:23:16 -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 09:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:16 + 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=44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 --label arch=arm64 --label version=4.0.0-dev.6 . 09:23:17 #0 building with "default" instance using docker driver 09:23:17 09:23:17 #1 [internal] load .dockerignore 09:23:17 #1 transferring context: 193B 0.0s done 09:23:17 #1 DONE 0.0s 09:23:17 09:23:17 #2 [internal] load build definition from Dockerfile 09:23:17 #2 transferring dockerfile: 1.74kB done 09:23:17 #2 DONE 0.1s 09:23:17 09:23:17 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 09:23:17 #3 DONE 0.0s 09:23:17 09:23:17 #4 [internal] load metadata for docker.io/library/alpine:3.20 09:23:17 #4 DONE 0.3s 09:23:17 09:23:17 #5 [internal] load build context 09:23:17 #5 transferring context: 16.11kB 0.0s done 09:23:17 #5 DONE 0.0s 09:23:17 09:23:17 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:17 #6 resolve docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:17 #6 resolve docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 0.1s done 09:23:18 #6 ... 09:23:18 09:23:18 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 09:23:18 #7 DONE 0.3s 09:23:18 09:23:18 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 09:23:18 #6 sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 9.22kB / 9.22kB done 09:23:18 #6 sha256:ea3c5a9671f7b3f7eb47eab06f73bc6591df978b0d5955689a9e6f943aa368c0 1.02kB / 1.02kB done 09:23:18 #6 sha256:511a44083d3a23416fadc62847c45d14c25cbace86e7a72b2b350436978a0450 616B / 616B done 09:23:18 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s 09:23:18 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 09:23:18 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 09:23:18 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 09:23:19 #6 DONE 1.1s 09:23:19 09:23:19 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 09:23:19 #8 0.745 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:19 #8 1.101 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:21 #8 ... 09:23:21 09:23:21 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 09:23:21 #9 0.760 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:21 #9 1.207 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:21 #9 2.806 OK: 242 MiB in 58 packages 09:23:21 #9 DONE 3.2s 09:23:21 09:23:21 #10 [builder 3/7] WORKDIR /device-rest-go 09:23:21 #10 DONE 0.1s 09:23:21 09:23:21 #11 [builder 4/7] COPY go.mod vendor* ./ 09:23:21 #11 DONE 0.1s 09:23:21 09:23:21 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 09:23:21 #8 2.628 (1/1) Installing dumb-init (1.2.5-r3) 09:23:21 #8 2.646 Executing busybox-1.36.1-r29.trigger 09:23:21 #8 2.671 OK: 9 MiB in 15 packages 09:23:22 #8 DONE 3.1s 09:23:22 09:23:22 #12 [stage-1 3/6] RUN apk --no-cache upgrade 09:23:23 #12 0.887 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:23 #12 ... 09:23:23 09:23:23 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:23 #13 DONE 1.5s 09:23:23 09:23:23 #14 [builder 6/7] COPY . . 09:23:23 #14 DONE 0.2s 09:23:23 09:23:23 #12 [stage-1 3/6] RUN apk --no-cache upgrade 09:23:23 #12 1.267 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:25 #12 2.947 Upgrading critical system libraries and apk-tools: 09:23:25 #12 2.948 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:23:25 #12 2.975 Executing busybox-1.36.1-r29.trigger 09:23:25 #12 3.299 Continuing the upgrade transaction with new apk-tools: 09:23:25 #12 3.324 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:23:25 #12 3.701 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:23:27 #12 5.284 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:23:27 #12 5.419 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:23:27 #12 5.453 OK: 9 MiB in 15 packages 09:23:27 #12 DONE 5.9s 09:23:27 09:23:27 #15 [builder 7/7] RUN make build 09:23:27 #15 0.756 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:25:49 #15 DONE 144.4s 09:25:49 09:25:49 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 09:25:49 #16 DONE 0.4s 09:25:49 09:25:49 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 09:25:49 #17 DONE 0.1s 09:25:49 09:25:49 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 09:25:49 #18 DONE 0.1s 09:25:49 09:25:49 #19 exporting to image 09:25:49 #19 exporting layers 09:25:49 #19 exporting layers 0.4s done 09:25:49 #19 writing image sha256:5435e199cfe08b0099338a4c983d7b3054bf3ae0e67e7f181f8a1caa777ddc6d done 09:25:49 #19 naming to docker.io/library/device-rest-arm64 0.0s done 09:25:49 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:50 provisioning config files... 09:25:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/183@tmp/config13303590818616646908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:50 ---> ****-login.sh 09:25:50 nexus3.edgexfoundry.org:10001 09:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:51 Configure a credential helper to remove this warning. See 09:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:51 09:25:51 Login Succeeded 09:25:51 nexus3.edgexfoundry.org:10002 09:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:51 Configure a credential helper to remove this warning. See 09:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:51 09:25:51 Login Succeeded 09:25:51 nexus3.edgexfoundry.org:10003 09:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:51 Configure a credential helper to remove this warning. See 09:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:51 09:25:51 Login Succeeded 09:25:51 nexus3.edgexfoundry.org:10004 09:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:51 Configure a credential helper to remove this warning. See 09:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:51 09:25:51 Login Succeeded 09:25:51 ****.io 09:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:52 Configure a credential helper to remove this warning. See 09:25:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:52 09:25:52 Login Succeeded 09:25:52 ---> ****-login.sh ends [Pipeline] } 09:25:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:25:52 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 09:25:52 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:25:52 latest 09:25:52 4.0.0-dev.6 09:25:52 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 09:25:52 main 09:25:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:25:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:25:54 7274a96c00aa: Preparing 09:25:54 ace263dab3d9: Preparing 09:25:54 ed9eea1a285e: Preparing 09:25:54 0274f5125e1d: Preparing 09:25:54 2c74144b3840: Preparing 09:25:54 651d9022c234: Preparing 09:25:54 651d9022c234: Waiting 09:25:54 2c74144b3840: Pushed 09:25:54 ace263dab3d9: Pushed 09:25:54 7274a96c00aa: Pushed 09:25:54 651d9022c234: Layer already exists 09:25:56 0274f5125e1d: Pushed 09:26:02 ed9eea1a285e: Pushed 09:26:02 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4: digest: sha256:fee9767ecb1b2e22369bf546bd80ff9de41885d6b6e7bba04bd4602981bb5c7c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:26:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:26:04 7274a96c00aa: Preparing 09:26:04 ace263dab3d9: Preparing 09:26:04 ed9eea1a285e: Preparing 09:26:04 0274f5125e1d: Preparing 09:26:04 2c74144b3840: Preparing 09:26:04 651d9022c234: Preparing 09:26:04 651d9022c234: Waiting 09:26:04 ed9eea1a285e: Layer already exists 09:26:04 7274a96c00aa: Layer already exists 09:26:04 ace263dab3d9: Layer already exists 09:26:04 0274f5125e1d: Layer already exists 09:26:04 2c74144b3840: Layer already exists 09:26:04 651d9022c234: Layer already exists 09:26:04 latest: digest: sha256:fee9767ecb1b2e22369bf546bd80ff9de41885d6b6e7bba04bd4602981bb5c7c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.6 09:26:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:26:05 7274a96c00aa: Preparing 09:26:05 ace263dab3d9: Preparing 09:26:05 ed9eea1a285e: Preparing 09:26:05 0274f5125e1d: Preparing 09:26:05 2c74144b3840: Preparing 09:26:05 651d9022c234: Preparing 09:26:05 651d9022c234: Waiting 09:26:05 2c74144b3840: Layer already exists 09:26:05 0274f5125e1d: Layer already exists 09:26:05 ace263dab3d9: Layer already exists 09:26:05 7274a96c00aa: Layer already exists 09:26:05 ed9eea1a285e: Layer already exists 09:26:05 651d9022c234: Layer already exists 09:26:05 4.0.0-dev.6: digest: sha256:fee9767ecb1b2e22369bf546bd80ff9de41885d6b6e7bba04bd4602981bb5c7c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 09:26:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:26:06 7274a96c00aa: Preparing 09:26:06 ace263dab3d9: Preparing 09:26:06 ed9eea1a285e: Preparing 09:26:06 0274f5125e1d: Preparing 09:26:06 2c74144b3840: Preparing 09:26:06 651d9022c234: Preparing 09:26:06 651d9022c234: Waiting 09:26:06 0274f5125e1d: Layer already exists 09:26:06 ace263dab3d9: Layer already exists 09:26:06 ed9eea1a285e: Layer already exists 09:26:06 2c74144b3840: Layer already exists 09:26:06 7274a96c00aa: Layer already exists 09:26:06 651d9022c234: Layer already exists 09:26:06 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6: digest: sha256:fee9767ecb1b2e22369bf546bd80ff9de41885d6b6e7bba04bd4602981bb5c7c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 09:26:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:26:07 7274a96c00aa: Preparing 09:26:07 ace263dab3d9: Preparing 09:26:07 ed9eea1a285e: Preparing 09:26:07 0274f5125e1d: Preparing 09:26:07 2c74144b3840: Preparing 09:26:07 651d9022c234: Preparing 09:26:07 651d9022c234: Waiting 09:26:07 2c74144b3840: Layer already exists 09:26:07 ace263dab3d9: Layer already exists 09:26:07 7274a96c00aa: Layer already exists 09:26:07 0274f5125e1d: Layer already exists 09:26:07 ed9eea1a285e: Layer already exists 09:26:07 651d9022c234: Layer already exists 09:26:07 main: digest: sha256:fee9767ecb1b2e22369bf546bd80ff9de41885d6b6e7bba04bd4602981bb5c7c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:26:07 ===================================================== [Pipeline] echo 09:26:07 taggedImages: 09:26:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 09:26:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:26:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.6 09:26:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:44c24e83daab78d9ed0bd0eb68b9db7d62c051e4-4.0.0-dev.6 09:26:07 - 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 09:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:07 09:26:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:08 arm64: Pulling from edgex-lftools-log-publisher 09:26:08 8998bd30e6a1: Pulling fs layer 09:26:08 04944245beec: Pulling fs layer 09:26:08 699f458cf7ca: Pulling fs layer 09:26:08 765212b225bb: Pulling fs layer 09:26:08 f23df028b6ca: Pulling fs layer 09:26:08 d65c8cfc05b1: Pulling fs layer 09:26:08 2437ff75d9bd: Pulling fs layer 09:26:08 f23df028b6ca: Waiting 09:26:08 765212b225bb: Waiting 09:26:08 d65c8cfc05b1: Waiting 09:26:08 2437ff75d9bd: Waiting 09:26:08 04944245beec: Verifying Checksum 09:26:08 04944245beec: Download complete 09:26:08 765212b225bb: Verifying Checksum 09:26:08 765212b225bb: Download complete 09:26:08 f23df028b6ca: Verifying Checksum 09:26:08 f23df028b6ca: Download complete 09:26:08 d65c8cfc05b1: Verifying Checksum 09:26:08 d65c8cfc05b1: Download complete 09:26:08 699f458cf7ca: Verifying Checksum 09:26:08 699f458cf7ca: Download complete 09:26:09 8998bd30e6a1: Download complete 09:26:11 2437ff75d9bd: Verifying Checksum 09:26:11 2437ff75d9bd: Download complete 09:26:15 8998bd30e6a1: Pull complete 09:26:17 04944245beec: Pull complete 09:26:19 699f458cf7ca: Pull complete 09:26:19 765212b225bb: Pull complete 09:26:20 f23df028b6ca: Pull complete 09:26:20 d65c8cfc05b1: Pull complete 09:26:42 2437ff75d9bd: Pull complete 09:26:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:42 prd-ubuntu20.04-docker-arm64-4c-16g-35098 does not seem to be running inside a container 09:26:42 $ 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/183 -v /w/workspace/device-rest-go/183:/w/workspace/device-rest-go/183:rw,z -v /w/workspace/device-rest-go/183@tmp:/w/workspace/device-rest-go/183@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 09:26:43 $ docker top 8228c793fed98d217ada46ed45b5d075d6c3c94b1cceccdb2166afdabc791571 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:44 ---> job-cost.sh 09:26:44 lf-activate-venv: SKIPPING 09:26:44 INFO: No Stack... 09:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:46 INFO: Archiving Costs [Pipeline] sh 09:26:46 + cat /w/workspace/device-rest-go/183/archives/cost.csv 09:26:46 + cut -d, -f6 [Pipeline] lock 09:26:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] 09:26:46 Resource [jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] did not exist. Created. 09:26:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:47 /w/workspace/device-rest-go/183@tmp/durable-19e9d997/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:26:47 + echo total: 0.2199999988079071 [Pipeline] stash 09:26:47 Warning: overwriting stash ‘stack-cost’ 09:26:47 Stashed 1 file(s) [Pipeline] } 09:26:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:47 $ docker stop --time=1 8228c793fed98d217ada46ed45b5d075d6c3c94b1cceccdb2166afdabc791571 09:26:48 $ docker rm -f --volumes 8228c793fed98d217ada46ed45b5d075d6c3c94b1cceccdb2166afdabc791571 [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 09:26:49 provisioning config files... 09:26:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15583901732145812265tmp [Pipeline] { [Pipeline] sh 09:26:49 + set +x 09:26:49 + curl -s https://codecov.io/bash 09:26:49 + bash -s -- 09:26:49 09:26:49 _____ _ 09:26:49 / ____| | | 09:26:49 | | ___ __| | ___ ___ _____ __ 09:26:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:26:49 | |___| (_) | (_| | __/ (_| (_) \ V / 09:26:49 \_____\___/ \__,_|\___|\___\___/ \_/ 09:26:49 Bash-1.0.6 09:26:49 09:26:49 09:26:49 ==> git version 2.25.1 found 09:26:49 ==> 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 09:26:49 Release-Date: 2020-01-08 09:26:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:26:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:26:49 ==> Jenkins CI detected. 09:26:49 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 09:26:49 project root: . 09:26:49 --> token set from env 09:26:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:26:49 ==> Running gcov in . (disable via -X gcov) 09:26:49 ==> Python coveragepy not found 09:26:49 ==> Searching for coverage reports in: 09:26:49 + . 09:26:49 -> Found 1 reports 09:26:49 ==> Detecting git/mercurial file structure 09:26:50 ==> Reading reports 09:26:50 + ./coverage.out bytes=14565 09:26:50 ==> Appending adjustments 09:26:50 https://docs.codecov.io/docs/fixing-reports 09:26:50 + Found adjustments 09:26:50 ==> Gzipping contents 09:26:50 4.0K /tmp/codecov.4xHj8X.gz 09:26:50 ==> Uploading reports 09:26:50 url: https://codecov.io 09:26:50 query: branch=main&commit=44c24e83daab78d9ed0bd0eb68b9db7d62c051e4&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:26:50 -> Pinging Codecov 09:26:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=44c24e83daab78d9ed0bd0eb68b9db7d62c051e4&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:26:50 -> Uploading to 09:26:50 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/44c24e83daab78d9ed0bd0eb68b9db7d62c051e4/c0c64885-5fb7-4bec-b769-a5c1db8b94ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241214%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241214T092650Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e56eb754d48cdbdeccf61cd9275edb82dea7721ca054ada9d3555bf83367a094 09:26:50 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:50 Dload Upload Total Spent Left Speed 09:26:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 7458 --:--:-- --:--:-- --:--:-- 7458 09:26:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] } 09:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:26:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:26:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:26:51 09:26:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:26:51 latest: Pulling from edgex-devops/edgex-snyk-go 09:26:51 43c4264eed91: Already exists 09:26:51 4cc291be95ef: Already exists 09:26:51 2ac1f1163629: Already exists 09:26:51 5c3c966382ef: Already exists 09:26:51 4f4fb700ef54: Already exists 09:26:51 d9c7d2e4e75e: Pulling fs layer 09:26:51 9c3e1370e548: Pulling fs layer 09:26:51 d9c7d2e4e75e: Verifying Checksum 09:26:51 d9c7d2e4e75e: Download complete 09:26:51 d9c7d2e4e75e: Pull complete 09:26:52 9c3e1370e548: Verifying Checksum 09:26:52 9c3e1370e548: Download complete 09:26:55 9c3e1370e548: Pull complete 09:26:55 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:26:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:26:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:55 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 09:26:57 $ docker top 6434cd9e2746b77fad0d61c6f8c73250bf06ab9c1310094f80b8df7a27d04f51 -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 09:26:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 09:26:58 + set -o pipefail 09:26:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 09:27:04 09:27:04 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 09:27:04 09:27:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/56d28598-43e6-46a1-9473-817174d7cb34 09:27:04 09:27:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:27:04 09:27:04 09:27:04 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 09:27:04 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:27:04 $ docker stop --time=1 6434cd9e2746b77fad0d61c6f8c73250bf06ab9c1310094f80b8df7a27d04f51 09:27:08 $ docker rm -f --volumes 6434cd9e2746b77fad0d61c6f8c73250bf06ab9c1310094f80b8df7a27d04f51 [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 09:27:09 + git log --format=format:%s -1 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 [Pipeline] sh 09:27:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:27:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:27:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:10 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:27:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:27:10 $ docker top 12a9f26b7def24570836d1310db893f79e75d513011b4456b49496adefdbbf55 -eo pid,comm 09:27:11 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). 09:27:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:11 [ssh-agent] Looking for ssh-agent implementation... 09:27:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:11 $ docker exec 12a9f26b7def24570836d1310db893f79e75d513011b4456b49496adefdbbf55 ssh-agent 09:27:11 SSH_AUTH_SOCK=/tmp/ssh-8mV74EPEmvAi/agent.31 09:27:11 SSH_AGENT_PID=37 09:27:11 Running ssh-add (command line suppressed) 09:27:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13784817956822504337.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13784817956822504337.key) 09:27:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:11 + git semver tag 09:27:11 2024-12-14 09:27:11,875 [run_tag] DEBUG tag force:False 09:27:11 2024-12-14 09:27:11,875 [check_head_tag] DEBUG check head tag 09:27:11 2024-12-14 09:27:11,877 [execute] INFO git cat-file --batch-check 09:27:11 2024-12-14 09:27:11,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:27:11 2024-12-14 09:27:11,880 [execute] INFO git cat-file --batch 09:27:11 2024-12-14 09:27:11,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:27:11 2024-12-14 09:27:11,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:11 2024-12-14 09:27:11,905 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 09:27:11 2024-12-14 09:27:11,905 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 09:27:11 2024-12-14 09:27:11,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:11 4.0.0-dev.6 [Pipeline] } 09:27:11 $ docker exec --env ******** --env ******** 12a9f26b7def24570836d1310db893f79e75d513011b4456b49496adefdbbf55 ssh-agent -k 09:27:12 unset SSH_AUTH_SOCK; 09:27:12 unset SSH_AGENT_PID; 09:27:12 echo Agent pid 37 killed; 09:27:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:12 + git semver [Pipeline] } 09:27:12 $ docker stop --time=1 12a9f26b7def24570836d1310db893f79e75d513011b4456b49496adefdbbf55 09:27:13 $ docker rm -f --volumes 12a9f26b7def24570836d1310db893f79e75d513011b4456b49496adefdbbf55 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:27:14 09:27:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:27:14 0.23.1-centos7: Pulling from edgex-lftools 09:27:14 ab5ef0e58194: Pulling fs layer 09:27:14 9712f1f96733: Pulling fs layer 09:27:14 63f879dbbcfc: Pulling fs layer 09:27:14 0d9ebad4ef96: Pulling fs layer 09:27:14 e9a5061849ea: Pulling fs layer 09:27:14 d747dcd14b5f: Pulling fs layer 09:27:14 2de7ff778b66: Pulling fs layer 09:27:14 e9a5061849ea: Waiting 09:27:14 d747dcd14b5f: Waiting 09:27:14 2de7ff778b66: Waiting 09:27:14 0d9ebad4ef96: Waiting 09:27:14 9712f1f96733: Download complete 09:27:14 63f879dbbcfc: Verifying Checksum 09:27:14 63f879dbbcfc: Download complete 09:27:15 0d9ebad4ef96: Verifying Checksum 09:27:15 0d9ebad4ef96: Download complete 09:27:15 d747dcd14b5f: Verifying Checksum 09:27:15 d747dcd14b5f: Download complete 09:27:15 e9a5061849ea: Verifying Checksum 09:27:15 e9a5061849ea: Download complete 09:27:15 ab5ef0e58194: Verifying Checksum 09:27:15 ab5ef0e58194: Download complete 09:27:15 2de7ff778b66: Verifying Checksum 09:27:15 2de7ff778b66: Download complete 09:27:17 ab5ef0e58194: Pull complete 09:27:17 9712f1f96733: Pull complete 09:27:18 63f879dbbcfc: Pull complete 09:27:22 0d9ebad4ef96: Pull complete 09:27:22 e9a5061849ea: Pull complete 09:27:22 d747dcd14b5f: Pull complete 09:27:23 2de7ff778b66: Pull complete 09:27:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:27:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:24 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:27:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:27:28 $ docker top 466fedf5fff205a51f23e01ca14cc4f73130b0e5f7ef9568262dc6b03af69c28 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:27:29 provisioning config files... 09:27:29 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12183476879002002825tmp 09:27:29 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12802688145608516310tmp 09:27:29 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2522868171964136697tmp [Pipeline] { [Pipeline] echo 09:27:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:27:29 ---> sigul-configuration.sh 09:27:29 gpg: directory `/root/.gnupg' created 09:27:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:27:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:27:29 gpg: keyring `/root/.gnupg/secring.gpg' created 09:27:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:27:29 gpg: CAST5 encrypted data 09:27:29 gpg: encrypted with 1 passphrase 09:27:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:27:29 + mkdir /home/jenkins 09:27:29 + mkdir /home/jenkins/sigul [Pipeline] sh 09:27:29 + 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 09:27:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:27:30 ---> sigul-install.sh 09:27:30 Sigul already installed; skipping installation. [Pipeline] sh 09:27:30 + git tag --list 09:27:30 v1.0.0 09:27:30 v1.1.0 09:27:30 v1.1.1 09:27:30 v1.1.2 09:27:30 v1.2.0 09:27:30 v1.2.1 09:27:30 v2.0.0 09:27:30 v2.1.0 09:27:30 v2.1.1 09:27:30 v2.2.0 09:27:30 v2.3.0 09:27:30 v3.0 09:27:30 v3.0.0 09:27:30 v3.1 09:27:30 v3.1.0 09:27:30 v3.1.0-dev.1 09:27:30 v3.1.0-dev.10 09:27:30 v3.1.0-dev.11 09:27:30 v3.1.0-dev.12 09:27:30 v3.1.0-dev.13 09:27:30 v3.1.0-dev.14 09:27:30 v3.1.0-dev.15 09:27:30 v3.1.0-dev.16 09:27:30 v3.1.0-dev.17 09:27:30 v3.1.0-dev.18 09:27:30 v3.1.0-dev.19 09:27:30 v3.1.0-dev.2 09:27:30 v3.1.0-dev.20 09:27:30 v3.1.0-dev.21 09:27:30 v3.1.0-dev.22 09:27:30 v3.1.0-dev.23 09:27:30 v3.1.0-dev.24 09:27:30 v3.1.0-dev.25 09:27:30 v3.1.0-dev.26 09:27:30 v3.1.0-dev.27 09:27:30 v3.1.0-dev.28 09:27:30 v3.1.0-dev.29 09:27:30 v3.1.0-dev.3 09:27:30 v3.1.0-dev.30 09:27:30 v3.1.0-dev.31 09:27:30 v3.1.0-dev.32 09:27:30 v3.1.0-dev.4 09:27:30 v3.1.0-dev.5 09:27:30 v3.1.0-dev.6 09:27:30 v3.1.0-dev.7 09:27:30 v3.1.0-dev.8 09:27:30 v3.1.0-dev.9 09:27:30 v3.1.1 09:27:30 v3.2.0-dev.1 09:27:30 v3.2.0-dev.10 09:27:30 v3.2.0-dev.11 09:27:30 v3.2.0-dev.12 09:27:30 v3.2.0-dev.13 09:27:30 v3.2.0-dev.14 09:27:30 v3.2.0-dev.15 09:27:30 v3.2.0-dev.16 09:27:30 v3.2.0-dev.17 09:27:30 v3.2.0-dev.18 09:27:30 v3.2.0-dev.19 09:27:30 v3.2.0-dev.2 09:27:30 v3.2.0-dev.20 09:27:30 v3.2.0-dev.21 09:27:30 v3.2.0-dev.22 09:27:30 v3.2.0-dev.23 09:27:30 v3.2.0-dev.24 09:27:30 v3.2.0-dev.25 09:27:30 v3.2.0-dev.3 09:27:30 v3.2.0-dev.4 09:27:30 v3.2.0-dev.5 09:27:30 v3.2.0-dev.6 09:27:30 v3.2.0-dev.7 09:27:30 v3.2.0-dev.8 09:27:30 v3.2.0-dev.9 09:27:30 v4.0.0-dev.1 09:27:30 v4.0.0-dev.2 09:27:30 v4.0.0-dev.3 09:27:30 v4.0.0-dev.4 09:27:30 v4.0.0-dev.5 09:27:30 v4.0.0-dev.6 [Pipeline] sh 09:27:30 + lftools sign git-tag v4.0.0-dev.6 09:27:31 Signing Git tag with Sigul... 09:27:31 Signing v4.0.0-dev.6 [Pipeline] echo 09:27:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:27:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:27:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:27:32 $ docker stop --time=1 466fedf5fff205a51f23e01ca14cc4f73130b0e5f7ef9568262dc6b03af69c28 09:27:33 $ docker rm -f --volumes 466fedf5fff205a51f23e01ca14cc4f73130b0e5f7ef9568262dc6b03af69c28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:27:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:27:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:34 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:27:34 $ docker top c4731dc2fb00b8af10841939eea98ed253ff700fe6b516b32b8b42ef600e833f -eo pid,comm 09:27:34 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). 09:27:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:34 [ssh-agent] Looking for ssh-agent implementation... 09:27:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:34 $ docker exec c4731dc2fb00b8af10841939eea98ed253ff700fe6b516b32b8b42ef600e833f ssh-agent 09:27:34 SSH_AUTH_SOCK=/tmp/ssh-ItS4cB1z1wvk/agent.32 09:27:34 SSH_AGENT_PID=38 09:27:34 Running ssh-add (command line suppressed) 09:27:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11027981577693631169.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11027981577693631169.key) 09:27:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:35 + git semver bump pre 09:27:35 2024-12-14 09:27:35,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:35 2024-12-14 09:27:35,474 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 09:27:35 2024-12-14 09:27:35,474 [bump_version] DEBUG bumped version:4.0.0-dev.7 09:27:35 2024-12-14 09:27:35,474 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 09:27:35 2024-12-14 09:27:35,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:35 2024-12-14 09:27:35,474 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:35 2024-12-14 09:27:35,476 [execute] INFO git cat-file --batch-check 09:27:35 2024-12-14 09:27:35,476 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:27:35 2024-12-14 09:27:35,481 [execute] INFO git cat-file --batch 09:27:35 2024-12-14 09:27:35,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:27:35 2024-12-14 09:27:35,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:35 4.0.0-dev.7 [Pipeline] } 09:27:35 $ docker exec --env ******** --env ******** c4731dc2fb00b8af10841939eea98ed253ff700fe6b516b32b8b42ef600e833f ssh-agent -k 09:27:35 unset SSH_AUTH_SOCK; 09:27:35 unset SSH_AGENT_PID; 09:27:35 echo Agent pid 38 killed; 09:27:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:35 + git semver [Pipeline] } 09:27:36 $ docker stop --time=1 c4731dc2fb00b8af10841939eea98ed253ff700fe6b516b32b8b42ef600e833f 09:27:37 $ docker rm -f --volumes c4731dc2fb00b8af10841939eea98ed253ff700fe6b516b32b8b42ef600e833f [Pipeline] // withDockerContainer [Pipeline] sh 09:27:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:27:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:38 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:27: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:27:38 $ docker top 3b5cd6e9fbd5e068f527266bb30de079ac179fae17fab5cd39444d39e1734515 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:38 [ssh-agent] Looking for ssh-agent implementation... 09:27:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:38 $ docker exec 3b5cd6e9fbd5e068f527266bb30de079ac179fae17fab5cd39444d39e1734515 ssh-agent 09:27:38 SSH_AUTH_SOCK=/tmp/ssh-MuOr98m1cJv7/agent.32 09:27:38 SSH_AGENT_PID=38 09:27:38 Running ssh-add (command line suppressed) 09:27:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11197332956876365229.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11197332956876365229.key) 09:27:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:39 + git semver push 09:27:39 2024-12-14 09:27:39,506 [run_push] DEBUG push 09:27:39 2024-12-14 09:27:39,506 [execute] INFO git cat-file --batch-check 09:27:39 2024-12-14 09:27:39,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:27:39 2024-12-14 09:27:39,510 [execute] INFO git rev-list 9cd8b3592843c2eab0375a2dbd2e669e6b168bca -- 09:27:39 2024-12-14 09:27:39,510 [execute] DEBUG Popen(['git', 'rev-list', '9cd8b3592843c2eab0375a2dbd2e669e6b168bca', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:27:39 2024-12-14 09:27:39,519 [execute] INFO git fetch -v origin 09:27:39 2024-12-14 09:27:39,519 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:27:40 2024-12-14 09:27:39,964 [run_push] DEBUG no remote changes detected 09:27:40 2024-12-14 09:27:39,964 [execute] INFO git push origin semver 09:27:40 2024-12-14 09:27:39,964 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:27:40 2024-12-14 09:27:40,635 [run_push] DEBUG push all version tags 09:27:40 2024-12-14 09:27:40,636 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:27:40 2024-12-14 09:27:40,636 [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) 09:27:41 2024-12-14 09:27:41,240 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:27:41 4.0.0-dev.7 [Pipeline] } 09:27:41 $ docker exec --env ******** --env ******** 3b5cd6e9fbd5e068f527266bb30de079ac179fae17fab5cd39444d39e1734515 ssh-agent -k 09:27:41 unset SSH_AUTH_SOCK; 09:27:41 unset SSH_AGENT_PID; 09:27:41 echo Agent pid 38 killed; 09:27:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:41 + git semver [Pipeline] } 09:27:42 $ docker stop --time=1 3b5cd6e9fbd5e068f527266bb30de079ac179fae17fab5cd39444d39e1734515 09:27:43 $ docker rm -f --volumes 3b5cd6e9fbd5e068f527266bb30de079ac179fae17fab5cd39444d39e1734515 [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 09:27:43 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 09:27:43 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:27:43 total 16 09:27:43 drwxr-xr-x 3 root root 4096 Dec 14 09:17 . 09:27:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 09:27 .. 09:27:43 drwxr-xr-x 2 root root 4096 Dec 14 09:17 cost 09:27:43 -rw-r--r-- 1 root root 86 Dec 14 09:17 cost.csv 09:27:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 09:27:43 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:27:43 total 16 09:27:43 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 09:17 . 09:27:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 09:27 .. 09:27:43 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 09:17 cost 09:27:43 -rw-r--r-- 1 jenkins jenkins 86 Dec 14 09:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:27:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:27:45 ---> package-listing.sh 09:27:45 ++ facter osfamily 09:27:45 ++ tr '[:upper:]' '[:lower:]' 09:27:45 + OS_FAMILY=debian 09:27:45 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:27:45 + START_PACKAGES=/tmp/packages_start.txt 09:27:45 + END_PACKAGES=/tmp/packages_end.txt 09:27:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:27:45 + PACKAGES=/tmp/packages_start.txt 09:27:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:27:45 + PACKAGES=/tmp/packages_end.txt 09:27:45 + case "${OS_FAMILY}" in 09:27:45 + dpkg -l 09:27:45 + grep '^ii' 09:27:45 + '[' -f /tmp/packages_start.txt ']' 09:27:45 + '[' -f /tmp/packages_end.txt ']' 09:27:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:27:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:27:45 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:27:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:27:45 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 09:27:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:46 prd-ubuntu20.04-docker-8c-8g-35092 does not seem to be running inside a container 09:27:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:27:46 $ docker top e6ab1938dc4155040ff0f308d5759e05a59805a24cac41aeeee3ff2640ad643c -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:46 + touch /tmp/pre-build-complete [Pipeline] sh 09:27:47 + mkdir -p /var/log/sysstat [Pipeline] sh 09:27:47 + ls /var/log/sa-host 09:27:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:27:47 provisioning config files... 09:27:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8111142787320532265tmp [Pipeline] { [Pipeline] echo 09:27:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:27:47 ---> create-netrc.sh [Pipeline] } 09:27:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:27:48 ---> python-tools-install.sh [Pipeline] echo 09:27:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:27:48 ---> sudo-logs.sh 09:27:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:27:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:27:48 ---> job-cost.sh 09:27:48 lf-activate-venv: SKIPPING 09:27:48 DEBUG: total: 0.2199999988079071 09:27:48 INFO: Retrieving Stack Cost... 09:27:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:27:49 INFO: Archiving Costs [Pipeline] echo 09:27:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:27:49 ---> logs-deploy.sh 09:27:49 lf-activate-venv: SKIPPING 09:27:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/183 09:27:49 INFO: archiving workspace using pattern(s): 09:27:50 Archives upload complete. 09:27:50 INFO: archiving logs to Nexus