Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ca1d9672aa57d288ff73684e8f7d94170c5a17a 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-ssh15486036376437639280.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5805060229560110527.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15087182257226493280.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10968586500819819539.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-ssh7751689203132149738.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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7220 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 3ca1d9672aa57d288ff73684e8f7d94170c5a17a (main) Commit message: "Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > git config core.sparsecheckout # timeout=10 > git checkout -f 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 > git rev-list --no-walk 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:44:48 ========================================================= 22:44:48 EdgeX Global Pipelines Version Info 22:44:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:44:49 ------------------- 22:44:49 stable info: 22:44:49 ------------------- 22:44:49 Commited By: Ginny Guan ginny@iotechsys.com 22:44:49 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 22:44:49 Message: update stable to v1.0.260 22:44:49 ------------------- 22:44:49 experimental info: 22:44:49 ------------------- 22:44:49 Commited By: Ginny Guan ginny@iotechsys.com 22:44:49 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 22:44:49 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ca1d96 [Pipeline] echo 22:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:50 provisioning config files... 22:44:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2015521074139828820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:51 ---> ****-login.sh 22:44:51 nexus3.edgexfoundry.org:10001 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 nexus3.edgexfoundry.org:10002 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 nexus3.edgexfoundry.org:10003 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 nexus3.edgexfoundry.org:10004 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 ****.io 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 ---> ****-login.sh ends [Pipeline] } 22:44:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:44:52 + git rev-list -1 --merges 3ca1d9672aa57d288ff73684e8f7d94170c5a17a~1..3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo 22:44:52 -----------> git rev-list -1 --merges 3ca1d9672aa57d288ff73684e8f7d94170c5a17a~1..3ca1d9672aa57d288ff73684e8f7d94170c5a17a 3ca1d9672aa57d288ff73684e8f7d94170c5a17a 22:44:52 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [false] [Pipeline] sh 22:44:52 + git log --format=format:%s -1 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo 22:44:52 ========================================================= 22:44:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:44:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:52 + git log --format=format:%s -1 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo 22:44:53 [semverPrep] GIT_COMMIT: 3ca1d9672aa57d288ff73684e8f7d94170c5a17a, Commit Message: Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo 22:44:53 [semverPrep] This is not a build commit. [Pipeline] sh 22:44:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:44:53 + grep -v github /etc/ssh/ssh_known_hosts 22:44:53 + [ -e /tmp/ssh_known_hosts ] 22:44:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:44:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 22:44:53 sudo tee -a /etc/ssh/ssh_known_hosts 22:44:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:53 22:44:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:54 0.1.4: Pulling from edgex-devops/py-git-semver 22:44:54 b85a868b505f: Pulling fs layer 22:44:54 e2be974225ed: Pulling fs layer 22:44:54 339a4e72a1f5: Pulling fs layer 22:44:54 988bab9f4d93: Pulling fs layer 22:44:54 1469e6f7b9e6: Pulling fs layer 22:44:54 eaf3925da568: Pulling fs layer 22:44:54 bab4dde63d76: Pulling fs layer 22:44:54 bde34c3a00c8: Pulling fs layer 22:44:54 b352a97aabf1: Pulling fs layer 22:44:54 4872d77fe225: Pulling fs layer 22:44:54 5851b861e8e6: Pulling fs layer 22:44:54 b352a97aabf1: Waiting 22:44:54 4872d77fe225: Waiting 22:44:54 bab4dde63d76: Waiting 22:44:54 bde34c3a00c8: Waiting 22:44:54 5851b861e8e6: Waiting 22:44:54 988bab9f4d93: Waiting 22:44:54 1469e6f7b9e6: Waiting 22:44:54 eaf3925da568: Waiting 22:44:54 e2be974225ed: Verifying Checksum 22:44:54 e2be974225ed: Download complete 22:44:54 988bab9f4d93: Download complete 22:44:54 1469e6f7b9e6: Verifying Checksum 22:44:54 1469e6f7b9e6: Download complete 22:44:54 339a4e72a1f5: Verifying Checksum 22:44:54 339a4e72a1f5: Download complete 22:44:54 eaf3925da568: Verifying Checksum 22:44:54 eaf3925da568: Download complete 22:44:54 bde34c3a00c8: Verifying Checksum 22:44:54 bde34c3a00c8: Download complete 22:44:54 b352a97aabf1: Verifying Checksum 22:44:54 b352a97aabf1: Download complete 22:44:54 4872d77fe225: Verifying Checksum 22:44:54 4872d77fe225: Download complete 22:44:54 5851b861e8e6: Verifying Checksum 22:44:54 5851b861e8e6: Download complete 22:44:54 b85a868b505f: Download complete 22:44:54 bab4dde63d76: Verifying Checksum 22:44:54 bab4dde63d76: Download complete 22:44:55 b85a868b505f: Pull complete 22:44:55 e2be974225ed: Pull complete 22:44:56 339a4e72a1f5: Pull complete 22:44:56 988bab9f4d93: Pull complete 22:44:56 1469e6f7b9e6: Pull complete 22:44:56 eaf3925da568: Pull complete 22:44:58 bab4dde63d76: Pull complete 22:44:58 bde34c3a00c8: Pull complete 22:44:58 b352a97aabf1: Pull complete 22:44:58 4872d77fe225: Pull complete 22:44:58 5851b861e8e6: Pull complete 22:44:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:58 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 22:44:58 $ 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 22:45:02 $ docker top eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 -eo pid,comm 22:45:02 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). 22:45:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:02 [ssh-agent] Looking for ssh-agent implementation... 22:45:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:02 $ docker exec eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent 22:45:03 SSH_AUTH_SOCK=/tmp/ssh-d9UB2uIDMRir/agent.32 22:45:03 SSH_AGENT_PID=38 22:45:03 Running ssh-add (command line suppressed) 22:45:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9839125555755954011.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9839125555755954011.key) 22:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:03 + git tag --points-at HEAD [Pipeline] } 22:45:03 $ docker exec --env ******** --env ******** eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent -k 22:45:03 unset SSH_AUTH_SOCK; 22:45:03 unset SSH_AGENT_PID; 22:45:03 echo Agent pid 38 killed; 22:45:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:45:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:03 [ssh-agent] Looking for ssh-agent implementation... 22:45:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:03 $ docker exec eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent 22:45:03 SSH_AUTH_SOCK=/tmp/ssh-W4gTppBOcTMJ/agent.71 22:45:03 SSH_AGENT_PID=78 22:45:03 Running ssh-add (command line suppressed) 22:45:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16049058125359257074.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16049058125359257074.key) 22:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:04 + git semver init 22:45:04 2024-08-06 22:45:04,436 [run_init] DEBUG init version:0.0.0 force:False 22:45:04 2024-08-06 22:45:04,437 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:45:04 2024-08-06 22:45:04,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:45:04 2024-08-06 22:45:04,438 [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) 22:45:05 2024-08-06 22:45:05,849 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:45:05 2024-08-06 22:45:05,849 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:45:05 2024-08-06 22:45:05,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:05 2024-08-06 22:45:05,850 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:05 3.2.0-dev.20 [Pipeline] } 22:45:05 $ docker exec --env ******** --env ******** eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent -k 22:45:06 unset SSH_AUTH_SOCK; 22:45:06 unset SSH_AGENT_PID; 22:45:06 echo Agent pid 78 killed; 22:45:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:06 + git semver [Pipeline] } 22:45:06 $ docker stop --time=1 eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 22:45:07 $ docker rm -f --volumes eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:45:08 Stashed 1 file(s) [Pipeline] echo 22:45:08 [edgeXSemver]: initialized semver on version 3.2.0-dev.20 [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 22:45:08 provisioning config files... 22:45:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8352729601755589725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:08 ---> ****-login.sh 22:45:08 nexus3.edgexfoundry.org:10001 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:45:08 Configure a credential helper to remove this warning. See 22:45:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:45:08 22:45:08 Login Succeeded 22:45:08 nexus3.edgexfoundry.org:10002 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:45:08 Configure a credential helper to remove this warning. See 22:45:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:45:08 22:45:08 Login Succeeded 22:45:08 nexus3.edgexfoundry.org:10003 22:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:45:09 Configure a credential helper to remove this warning. See 22:45:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:45:09 22:45:09 Login Succeeded 22:45:09 nexus3.edgexfoundry.org:10004 22:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:45:09 Configure a credential helper to remove this warning. See 22:45:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:45:09 22:45:09 Login Succeeded 22:45:09 ****.io 22:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:45:09 Configure a credential helper to remove this warning. See 22:45:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:45:09 22:45:09 Login Succeeded 22:45:09 ---> ****-login.sh ends [Pipeline] } 22:45:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:45:09 ========================================================= 22:45:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:45:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:45:09 Sending build context to Docker daemon 16.56MB 22:45:09 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:45:09 Step 2/12 : FROM ${BASE} AS builder 22:45:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:09 619be1103602: Pulling fs layer 22:45:09 7862e08f4a3e: Pulling fs layer 22:45:09 5df492c9dc93: Pulling fs layer 22:45:09 7629e6793208: Pulling fs layer 22:45:09 4f4fb700ef54: Pulling fs layer 22:45:09 fb5054dd5b73: Pulling fs layer 22:45:09 eeca6798cff9: Pulling fs layer 22:45:09 aa269ceb94a6: Pulling fs layer 22:45:09 ada007ff1a6a: Pulling fs layer 22:45:09 7629e6793208: Waiting 22:45:09 fb5054dd5b73: Waiting 22:45:09 4f4fb700ef54: Waiting 22:45:09 aa269ceb94a6: Waiting 22:45:09 ada007ff1a6a: Waiting 22:45:10 7862e08f4a3e: Download complete 22:45:10 7629e6793208: Download complete 22:45:10 4f4fb700ef54: Download complete 22:45:10 619be1103602: Download complete 22:45:10 fb5054dd5b73: Verifying Checksum 22:45:10 fb5054dd5b73: Download complete 22:45:10 eeca6798cff9: Verifying Checksum 22:45:10 eeca6798cff9: Download complete 22:45:10 619be1103602: Pull complete 22:45:10 ada007ff1a6a: Verifying Checksum 22:45:10 ada007ff1a6a: Download complete 22:45:10 7862e08f4a3e: Pull complete 22:45:10 5df492c9dc93: Verifying Checksum 22:45:10 5df492c9dc93: Download complete 22:45:11 aa269ceb94a6: Verifying Checksum 22:45:11 aa269ceb94a6: Download complete 22:45:13 5df492c9dc93: Pull complete 22:45:13 7629e6793208: Pull complete 22:45:13 4f4fb700ef54: Pull complete 22:45:13 fb5054dd5b73: Pull complete 22:45:13 eeca6798cff9: Pull complete 22:45:16 aa269ceb94a6: Pull complete 22:45:16 ada007ff1a6a: Pull complete 22:45:16 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 22:45:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:45:16 ---> f489d0715acc 22:45:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:45:22 ---> Running in 633664e8456c 22:45:22 Removing intermediate container 633664e8456c 22:45:22 ---> 594264179a83 22:45:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:22 ---> Running in ef3ef35096d1 22:45:22 Removing intermediate container ef3ef35096d1 22:45:22 ---> bf6bbecf5f61 22:45:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:45:22 ---> Running in 86e17e21ebee 22:45:22 Removing intermediate container 86e17e21ebee 22:45:22 ---> 2855b3ca7345 22:45:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:45:22 ---> Running in 323291d4d0ef 22:45:22 Removing intermediate container 323291d4d0ef 22:45:22 ---> c137315f9bc3 22:45:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:22 ---> Running in 4f266b28406f 22:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:45:23 Still waiting to schedule task 22:45:23 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7221’ 22:45:23 (1/4) Installing openssh-keygen (9.3_p2-r2) 22:45:23 (2/4) Installing libedit (20221030.3.1-r1) 22:45:23 (3/4) Installing openssh-client-common (9.3_p2-r2) 22:45:23 (4/4) Installing openssh-client-default (9.3_p2-r2) 22:45:23 Executing busybox-1.36.1-r5.trigger 22:45:23 OK: 268 MiB in 56 packages 22:45:24 Removing intermediate container 4f266b28406f 22:45:24 ---> e7207e6beaf4 22:45:24 Step 8/12 : WORKDIR /device-rest-go 22:45:24 ---> Running in 05ee9fa47a1f 22:45:24 Removing intermediate container 05ee9fa47a1f 22:45:24 ---> ee57190399df 22:45:24 Step 9/12 : COPY go.mod vendor* ./ 22:45:24 ---> 37d06036c1b0 22:45:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:24 ---> Running in a3e7a12fe1aa 22:46:20 Removing intermediate container a3e7a12fe1aa 22:46:20 ---> 67083d171068 22:46:20 Step 11/12 : COPY . . 22:46:20 ---> bab38ade4529 22:46:20 Step 12/12 : RUN $MAKE 22:46:20 ---> Running in d9b82ce7db02 22:46:20 noop 22:46:20 Removing intermediate container d9b82ce7db02 22:46:20 ---> 82310adeedc9 22:46:20 Successfully built 82310adeedc9 22:46:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:21 + docker inspect -f . ci-base-image-x86_64 22:46:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:21 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 22:46:21 $ 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 22:46:21 $ docker top 53f1ffe3073294b45edb7fafed234d917f85553828fabaca49950bb8afa21018 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:21 + go version 22:46:21 go version go1.21.9 linux/amd64 [Pipeline] } 22:46:21 $ docker stop --time=1 53f1ffe3073294b45edb7fafed234d917f85553828fabaca49950bb8afa21018 22:46:23 $ docker rm -f --volumes 53f1ffe3073294b45edb7fafed234d917f85553828fabaca49950bb8afa21018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:23 + docker inspect -f . ci-base-image-x86_64 22:46:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:23 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 22:46:23 $ 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 22:46:24 $ docker top 52aad95e5119a55509405d4ee92878e38e90cdb036b9fd480edb71f18ddaa425 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:46:24 + make test 22:46:24 go test ./... -coverprofile=coverage.out ./... 22:46:26 ? github.com/edgexfoundry/device-rest-go [no test files] 22:46:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:46:44 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 22:46:52 go vet ./... 22:46:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:46:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:46:58 ./bin/test-attribution-txt.sh 22:46:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 22:46:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 22:46:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 22:46:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 22:46:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 22:46:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 22:46:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 22:46:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 22:46:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 22:46:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 22:46:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 22:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:46:58 $ docker stop --time=1 52aad95e5119a55509405d4ee92878e38e90cdb036b9fd480edb71f18ddaa425 22:47:00 $ docker rm -f --volumes 52aad95e5119a55509405d4ee92878e38e90cdb036b9fd480edb71f18ddaa425 [Pipeline] // withDockerContainer [Pipeline] sh 22:47:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:47:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:02 + ls -al . 22:47:02 total 248 22:47:02 drwxrwxr-x 9 jenkins jenkins 4096 Aug 6 22:46 . 22:47:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 22:44 .. 22:47:02 -rw-rw-r-- 1 jenkins jenkins 151 Aug 6 22:44 .dockerignore 22:47:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 22:46 .git 22:47:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:44 .github 22:47:02 -rw-rw-r-- 1 jenkins jenkins 264 Aug 6 22:44 .gitignore 22:47:02 -rw-rw-r-- 1 jenkins jenkins 41 Aug 6 22:44 .golangci.yml 22:47:02 drwxr-xr-x 3 jenkins jenkins 4096 Aug 6 22:45 .semver 22:47:02 -rw-rw-r-- 1 jenkins jenkins 10300 Aug 6 22:44 Attribution.txt 22:47:02 -rw-rw-r-- 1 jenkins jenkins 17685 Aug 6 22:44 CHANGELOG.md 22:47:02 -rw-rw-r-- 1 jenkins jenkins 1687 Aug 6 22:44 Dockerfile 22:47:02 -rw-rw-r-- 1 jenkins jenkins 677 Aug 6 22:44 GOVERNANCE.md 22:47:02 -rw-rw-r-- 1 jenkins jenkins 680 Aug 6 22:44 Jenkinsfile 22:47:02 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 6 22:44 LICENSE 22:47:02 -rw-rw-r-- 1 jenkins jenkins 2016 Aug 6 22:44 Makefile 22:47:02 -rw-rw-r-- 1 jenkins jenkins 620 Aug 6 22:44 OWNERS.md 22:47:02 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 6 22:44 README.md 22:47:02 -rw-rw-r-- 1 jenkins jenkins 12 Aug 6 22:45 VERSION 22:47:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:44 bin 22:47:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:44 cmd 22:47:02 -rw-r--r-- 1 jenkins jenkins 14499 Aug 6 22:46 coverage.out 22:47:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:44 driver 22:47:02 -rw-rw-r-- 1 jenkins jenkins 7134 Aug 6 22:44 go.mod 22:47:02 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 6 22:44 go.sum 22:47:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:44 openapi 22:47:02 -rw-rw-r-- 1 jenkins jenkins 713 Aug 6 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:02 + 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=3ca1d9672aa57d288ff73684e8f7d94170c5a17a --label arch=amd64 --label version=3.2.0-dev.20 . 22:47:02 Sending build context to Docker daemon 16.57MB 22:47:02 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:47:02 Step 2/26 : FROM ${BASE} AS builder 22:47:02 ---> 82310adeedc9 22:47:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:47:02 ---> Running in 9743c408b2a5 22:47:02 Removing intermediate container 9743c408b2a5 22:47:02 ---> 78b472f398b5 22:47:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:47:02 ---> Running in dd5ed2c533b8 22:47:02 Removing intermediate container dd5ed2c533b8 22:47:02 ---> ef000c3d2f2f 22:47:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:47:02 ---> Running in a2878ab7dd11 22:47:02 Removing intermediate container a2878ab7dd11 22:47:02 ---> 42f8c7be9f60 22:47:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:47:02 ---> Running in 3bcc1bb34f60 22:47:03 Removing intermediate container 3bcc1bb34f60 22:47:03 ---> 292ebbf8bb0f 22:47:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:03 ---> Running in a36f990b4ddd 22:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:47:03 OK: 268 MiB in 56 packages 22:47:04 Removing intermediate container a36f990b4ddd 22:47:04 ---> 5ec649b21ebe 22:47:04 Step 8/26 : WORKDIR /device-rest-go 22:47:04 ---> Running in 106a7c783f78 22:47:04 Removing intermediate container 106a7c783f78 22:47:04 ---> 782557c5519c 22:47:04 Step 9/26 : COPY go.mod vendor* ./ 22:47:04 ---> 43933ff20e5e 22:47:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:04 ---> Running in 25c159748edf 22:47:04 Removing intermediate container 25c159748edf 22:47:04 ---> 28a003d48166 22:47:04 Step 11/26 : COPY . . 22:47:05 ---> af3f453ed791 22:47:05 Step 12/26 : RUN $MAKE 22:47:05 ---> Running in 3dc943a6323b 22:47:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:47:32 Removing intermediate container 3dc943a6323b 22:47:32 ---> 567363d57179 22:47:32 Step 13/26 : FROM alpine:3.18 22:47:32 3.18: Pulling from library/alpine 22:47:32 930bdd4d222e: Pulling fs layer 22:47:32 930bdd4d222e: Verifying Checksum 22:47:32 930bdd4d222e: Download complete 22:47:32 930bdd4d222e: Pull complete 22:47:32 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 22:47:32 Status: Downloaded newer image for alpine:3.18 22:47:32 ---> 18f865063206 22:47:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:47:32 ---> Running in e8a74478425b 22:47:32 Removing intermediate container e8a74478425b 22:47:32 ---> 4578024ca66d 22:47:32 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:47:32 ---> Running in a2c3970ffbab 22:47:32 Removing intermediate container a2c3970ffbab 22:47:32 ---> f2a3c977514b 22:47:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:47:32 ---> Running in 8e15dfaae72a 22:47:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:47:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:47:33 (1/1) Installing dumb-init (1.2.5-r2) 22:47:33 Executing busybox-1.36.1-r7.trigger 22:47:33 OK: 7 MiB in 16 packages 22:47:33 Removing intermediate container 8e15dfaae72a 22:47:33 ---> db709995e890 22:47:33 Step 17/26 : RUN apk --no-cache upgrade 22:47:33 ---> Running in e0a0c07f9d67 22:47:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:47:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:47:33 OK: 7 MiB in 16 packages 22:47:34 Removing intermediate container e0a0c07f9d67 22:47:34 ---> 0ef1798ca7ab 22:47:34 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:47:34 ---> 896fe7b76782 22:47:34 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:47:35 ---> ca8836c4077e 22:47:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:47:35 ---> a46ad9f4fa24 22:47:35 Step 21/26 : EXPOSE 59986 22:47:35 ---> Running in c4f145202b82 22:47:35 Removing intermediate container c4f145202b82 22:47:35 ---> a4768eb3f170 22:47:35 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:47:35 ---> Running in 6af7e66387ef 22:47:35 Removing intermediate container 6af7e66387ef 22:47:35 ---> 3d6aeed8e5f2 22:47:35 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:47:35 ---> Running in 173f8ff55c9d 22:47:35 Removing intermediate container 173f8ff55c9d 22:47:35 ---> 7fccddec182f 22:47:35 Step 24/26 : LABEL arch=amd64 22:47:35 ---> Running in f263d1c49fd4 22:47:35 Removing intermediate container f263d1c49fd4 22:47:35 ---> dc4ed7249a34 22:47:35 Step 25/26 : LABEL git_sha=3ca1d9672aa57d288ff73684e8f7d94170c5a17a 22:47:35 ---> Running in 53c50de903f6 22:47:35 Removing intermediate container 53c50de903f6 22:47:35 ---> aa97f17da4cb 22:47:35 Step 26/26 : LABEL version=3.2.0-dev.20 22:47:35 ---> Running in 66d1eebbc38b 22:47:35 Removing intermediate container 66d1eebbc38b 22:47:35 ---> 8becb582648b 22:47:35 [Warning] One or more build-args [ARCH] were not consumed 22:47:35 Successfully built 8becb582648b 22:47:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:35 provisioning config files... 22:47:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12985074957594167838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:36 ---> ****-login.sh 22:47:36 nexus3.edgexfoundry.org:10001 22:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:47:36 Configure a credential helper to remove this warning. See 22:47:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:47:36 22:47:36 Login Succeeded 22:47:36 nexus3.edgexfoundry.org:10002 22:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:47:36 Configure a credential helper to remove this warning. See 22:47:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:47:36 22:47:36 Login Succeeded 22:47:36 nexus3.edgexfoundry.org:10003 22:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:47:36 Configure a credential helper to remove this warning. See 22:47:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:47:36 22:47:36 Login Succeeded 22:47:36 nexus3.edgexfoundry.org:10004 22:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:47:36 Configure a credential helper to remove this warning. See 22:47:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:47:36 22:47:36 Login Succeeded 22:47:36 ****.io 22:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:47:36 Configure a credential helper to remove this warning. See 22:47:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:47:36 22:47:36 Login Succeeded 22:47:36 ---> ****-login.sh ends [Pipeline] } 22:47:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:47:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:47:36 3ca1d9672aa57d288ff73684e8f7d94170c5a17a 22:47:36 latest 22:47:36 3.2.0-dev.20 22:47:36 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 22:47:36 main 22:47:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a 22:47:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:37 836a6926e0d6: Preparing 22:47:37 0a933222f0a6: Preparing 22:47:37 f64282d8e61f: Preparing 22:47:37 c710a228866f: Preparing 22:47:37 7619e10dc7f5: Preparing 22:47:37 ce7f800efff9: Preparing 22:47:37 ce7f800efff9: Waiting 22:47:37 0a933222f0a6: Pushed 22:47:37 7619e10dc7f5: Pushed 22:47:37 c710a228866f: Pushed 22:47:37 836a6926e0d6: Pushed 22:47:37 ce7f800efff9: Layer already exists 22:47:40 f64282d8e61f: Pushed 22:47:40 3ca1d9672aa57d288ff73684e8f7d94170c5a17a: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:47:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:41 836a6926e0d6: Preparing 22:47:41 0a933222f0a6: Preparing 22:47:41 f64282d8e61f: Preparing 22:47:41 c710a228866f: Preparing 22:47:41 7619e10dc7f5: Preparing 22:47:41 ce7f800efff9: Preparing 22:47:41 ce7f800efff9: Waiting 22:47:41 0a933222f0a6: Layer already exists 22:47:41 f64282d8e61f: Layer already exists 22:47:41 7619e10dc7f5: Layer already exists 22:47:41 c710a228866f: Layer already exists 22:47:41 ce7f800efff9: Layer already exists 22:47:41 836a6926e0d6: Layer already exists 22:47:41 latest: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.20 22:47:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:41 836a6926e0d6: Preparing 22:47:41 0a933222f0a6: Preparing 22:47:41 f64282d8e61f: Preparing 22:47:41 c710a228866f: Preparing 22:47:41 7619e10dc7f5: Preparing 22:47:41 ce7f800efff9: Preparing 22:47:41 ce7f800efff9: Waiting 22:47:41 7619e10dc7f5: Layer already exists 22:47:41 c710a228866f: Layer already exists 22:47:41 836a6926e0d6: Layer already exists 22:47:41 0a933222f0a6: Layer already exists 22:47:41 f64282d8e61f: Layer already exists 22:47:41 ce7f800efff9: Layer already exists 22:47:41 3.2.0-dev.20: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 22:47:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:42 836a6926e0d6: Preparing 22:47:42 0a933222f0a6: Preparing 22:47:42 f64282d8e61f: Preparing 22:47:42 c710a228866f: Preparing 22:47:42 7619e10dc7f5: Preparing 22:47:42 ce7f800efff9: Preparing 22:47:42 ce7f800efff9: Waiting 22:47:42 f64282d8e61f: Layer already exists 22:47:42 0a933222f0a6: Layer already exists 22:47:42 7619e10dc7f5: Layer already exists 22:47:42 836a6926e0d6: Layer already exists 22:47:42 c710a228866f: Layer already exists 22:47:42 ce7f800efff9: Layer already exists 22:47:42 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:47:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:43 836a6926e0d6: Preparing 22:47:43 0a933222f0a6: Preparing 22:47:43 f64282d8e61f: Preparing 22:47:43 c710a228866f: Preparing 22:47:43 7619e10dc7f5: Preparing 22:47:43 ce7f800efff9: Preparing 22:47:43 ce7f800efff9: Waiting 22:47:43 c710a228866f: Layer already exists 22:47:43 0a933222f0a6: Layer already exists 22:47:43 f64282d8e61f: Layer already exists 22:47:43 7619e10dc7f5: Layer already exists 22:47:43 836a6926e0d6: Layer already exists 22:47:43 ce7f800efff9: Layer already exists 22:47:43 main: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:47:43 ===================================================== [Pipeline] echo 22:47:43 taggedImages: 22:47:43 - nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a 22:47:43 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:47:43 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.20 22:47:43 - nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 22:47:43 - 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 22:47:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7224 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:47:43 Running in /w/workspace/device-rest-go/172 [Pipeline] { [Pipeline] checkout 22:47:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:43 22:47:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 22:47:46 The recommended git tool is: git [Pipeline] sh 22:47:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:46 latest: Pulling from edgex-lftools-log-publisher 22:47:46 5eb5b503b376: Pulling fs layer 22:47:46 5c69ac0246d0: Pulling fs layer 22:47:46 ec43610c2a17: Pulling fs layer 22:47:46 3a2ae6a8a46f: Pulling fs layer 22:47:46 33b1e0a273af: Pulling fs layer 22:47:46 5d3b04190fa2: Pulling fs layer 22:47:46 2f39f015ded8: Pulling fs layer 22:47:46 3a2ae6a8a46f: Waiting 22:47:46 2f39f015ded8: Waiting 22:47:46 5d3b04190fa2: Waiting 22:47:46 5c69ac0246d0: Verifying Checksum 22:47:46 5c69ac0246d0: Download complete 22:47:46 3a2ae6a8a46f: Verifying Checksum 22:47:46 3a2ae6a8a46f: Download complete 22:47:46 33b1e0a273af: Verifying Checksum 22:47:46 5d3b04190fa2: Verifying Checksum 22:47:46 5d3b04190fa2: Download complete 22:47:46 ec43610c2a17: Download complete 22:47:47 5eb5b503b376: Verifying Checksum 22:47:47 2f39f015ded8: Download complete 22:47:48 5eb5b503b376: Pull complete 22:47:48 5c69ac0246d0: Pull complete 22:47:48 ec43610c2a17: Pull complete 22:47:48 3a2ae6a8a46f: Pull complete 22:47:49 33b1e0a273af: Pull complete 22:47:49 5d3b04190fa2: Pull complete 22:47:52 using credential edgex-jenkins-ssh 22:47:52 Cloning the remote Git repository 22:47:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:47:52 > git init /w/workspace/device-rest-go/172 # timeout=10 22:47:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:47:52 > git --version # timeout=10 22:47:52 > git --version # 'git version 2.25.1' 22:47:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:53 2f39f015ded8: Pull complete 22:47:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:47:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:53 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 22:47:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 22:47:54 $ docker top 5d17d6e8400510fbe6a54424496a75d4dd01f9e7642613794e9eed522c70f185 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:55 ---> job-cost.sh 22:47:55 lf-activate-venv: SKIPPING 22:47:55 INFO: No Stack... 22:47:55 INFO: Retrieving Pricing Info for: v3-standard-8 22:47:55 INFO: Archiving Costs [Pipeline] sh 22:47:56 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:47:56 + cut -d, -f6 [Pipeline] lock 22:47:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] 22:47:56 Resource [jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] did not exist. Created. 22:47:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:47:56 + echo total: 0.2199999988079071 [Pipeline] stash 22:47:56 Stashed 1 file(s) [Pipeline] } 22:47:56 Avoid second fetch 22:47:56 Checking out Revision 3ca1d9672aa57d288ff73684e8f7d94170c5a17a (main) 22:47:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 22:47:56 $ docker stop --time=1 5d17d6e8400510fbe6a54424496a75d4dd01f9e7642613794e9eed522c70f185 22:47:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:47:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:56 > git config core.sparsecheckout # timeout=10 22:47:56 > git checkout -f 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 22:47:57 Commit message: "Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" 22:47:57 $ docker rm -f --volumes 5d17d6e8400510fbe6a54424496a75d4dd01f9e7642613794e9eed522c70f185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:48:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:02 Dload Upload Total Spent Left Speed 22:48:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 22:48:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:48:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:48:02 + sudo tee /etc/docker/daemon.new 22:48:02 { 22:48:02 "registry-mirrors": [ 22:48:02 "https://nexus3.edgexfoundry.org:10001" 22:48:02 ], 22:48:02 "bip": "10.250.0.254/24", 22:48:02 "hosts": [ 22:48:02 "tcp://0.0.0.0:5555", 22:48:02 "unix:///var/run/docker.sock" 22:48:02 ], 22:48:02 "mtu": 1458, 22:48:02 "selinux-enabled": true, 22:48:02 "seccomp-profile": "/etc/docker/seccomp.json" 22:48:02 } [Pipeline] sh 22:48:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:48:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:21 provisioning config files... 22:48:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/172@tmp/config17132404944666254601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:22 ---> ****-login.sh 22:48:22 nexus3.edgexfoundry.org:10001 22:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:48:23 Configure a credential helper to remove this warning. See 22:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:48:23 22:48:23 Login Succeeded 22:48:23 nexus3.edgexfoundry.org:10002 22:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:48:23 Configure a credential helper to remove this warning. See 22:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:48:23 22:48:23 Login Succeeded 22:48:23 nexus3.edgexfoundry.org:10003 22:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:48:24 Configure a credential helper to remove this warning. See 22:48:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:48:24 22:48:24 Login Succeeded 22:48:24 nexus3.edgexfoundry.org:10004 22:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:48:24 Configure a credential helper to remove this warning. See 22:48:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:48:24 22:48:24 Login Succeeded 22:48:24 ****.io 22:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:48:24 Configure a credential helper to remove this warning. See 22:48:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:48:24 22:48:24 Login Succeeded 22:48:24 ---> ****-login.sh ends [Pipeline] } 22:48:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:48:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:48:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:48:25 ========================================================= 22:48:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:48:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:48:25 Sending build context to Docker daemon 130.6kB 22:48:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:48:25 Step 2/12 : FROM ${BASE} AS builder 22:48:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:48:26 c6b39de5b339: Pulling fs layer 22:48:26 a69c41024577: Pulling fs layer 22:48:26 d6de4b400683: Pulling fs layer 22:48:26 35cb2a7552d0: Pulling fs layer 22:48:26 4f4fb700ef54: Pulling fs layer 22:48:26 464afbd9ba4c: Pulling fs layer 22:48:26 00f215d4a9da: Pulling fs layer 22:48:26 d496ad576159: Pulling fs layer 22:48:26 35cb2a7552d0: Waiting 22:48:26 4f4fb700ef54: Waiting 22:48:26 00f215d4a9da: Waiting 22:48:26 d496ad576159: Waiting 22:48:26 464afbd9ba4c: Waiting 22:48:26 a69c41024577: Verifying Checksum 22:48:26 a69c41024577: Download complete 22:48:26 35cb2a7552d0: Verifying Checksum 22:48:26 35cb2a7552d0: Download complete 22:48:26 4f4fb700ef54: Download complete 22:48:26 464afbd9ba4c: Verifying Checksum 22:48:26 464afbd9ba4c: Download complete 22:48:26 c6b39de5b339: Verifying Checksum 22:48:26 c6b39de5b339: Download complete 22:48:26 d496ad576159: Verifying Checksum 22:48:26 d496ad576159: Download complete 22:48:26 c6b39de5b339: Pull complete 22:48:27 a69c41024577: Pull complete 22:48:28 d6de4b400683: Verifying Checksum 22:48:28 d6de4b400683: Download complete 22:48:29 00f215d4a9da: Download complete 22:48:41 d6de4b400683: Pull complete 22:48:41 35cb2a7552d0: Pull complete 22:48:41 4f4fb700ef54: Pull complete 22:48:42 464afbd9ba4c: Pull complete 22:48:52 00f215d4a9da: Pull complete 22:48:53 d496ad576159: Pull complete 22:48:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 22:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:48:53 ---> f246e2811388 22:48:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:48:54 ---> Running in fab495a08f27 22:48:54 Removing intermediate container fab495a08f27 22:48:54 ---> fe1b2083fdf8 22:48:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:54 ---> Running in bb19e94d879c 22:48:55 Removing intermediate container bb19e94d879c 22:48:55 ---> 6c0e176d87fc 22:48:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:48:55 ---> Running in 08fb38f63178 22:48:55 Removing intermediate container 08fb38f63178 22:48:55 ---> 213fc0c30ab0 22:48:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:48:55 ---> Running in 0999404dd3e9 22:48:55 Removing intermediate container 0999404dd3e9 22:48:55 ---> ffb9d2c31455 22:48:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:48:56 ---> Running in d15185eda480 22:48:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:48:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:48:58 (1/4) Installing openssh-keygen (9.3_p2-r2) 22:48:58 (2/4) Installing libedit (20221030.3.1-r1) 22:48:58 (3/4) Installing openssh-client-common (9.3_p2-r2) 22:48:59 (4/4) Installing openssh-client-default (9.3_p2-r2) 22:48:59 Executing busybox-1.36.1-r5.trigger 22:48:59 OK: 271 MiB in 56 packages 22:49:00 Removing intermediate container d15185eda480 22:49:00 ---> 608be1cc0e75 22:49:00 Step 8/12 : WORKDIR /device-rest-go 22:49:00 ---> Running in 755b36ee56d0 22:49:00 Removing intermediate container 755b36ee56d0 22:49:00 ---> 3417ee76281c 22:49:00 Step 9/12 : COPY go.mod vendor* ./ 22:49:01 ---> 1c15bae53bce 22:49:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:01 ---> Running in 5772c403a737 22:51:08 Removing intermediate container 5772c403a737 22:51:08 ---> 52fa6793eaa4 22:51:08 Step 11/12 : COPY . . 22:51:08 ---> afbe428ec583 22:51:08 Step 12/12 : RUN $MAKE 22:51:08 ---> Running in 768205fc5b00 22:51:08 noop 22:51:08 Removing intermediate container 768205fc5b00 22:51:08 ---> 56d1c7e02447 22:51:08 Successfully built 56d1c7e02447 22:51:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:08 + docker inspect -f . ci-base-image-arm64 22:51:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:08 prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container 22:51:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/172 -v /w/workspace/device-rest-go/172:/w/workspace/device-rest-go/172:rw,z -v /w/workspace/device-rest-go/172@tmp:/w/workspace/device-rest-go/172@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 22:51:10 $ docker top 111d22a3258e4c6c6222edd4d16c87f0da5b4e16a6bf1c9d907a8ca1587eb530 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:11 + go version 22:51:11 go version go1.21.9 linux/arm64 [Pipeline] } 22:51:11 $ docker stop --time=1 111d22a3258e4c6c6222edd4d16c87f0da5b4e16a6bf1c9d907a8ca1587eb530 22:51:13 $ docker rm -f --volumes 111d22a3258e4c6c6222edd4d16c87f0da5b4e16a6bf1c9d907a8ca1587eb530 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:13 + docker inspect -f . ci-base-image-arm64 22:51:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:14 prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container 22:51:14 $ 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/172 -v /w/workspace/device-rest-go/172:/w/workspace/device-rest-go/172:rw,z -v /w/workspace/device-rest-go/172@tmp:/w/workspace/device-rest-go/172@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 22:51:15 $ docker top da8d638d809c54e212bc488cb34fa95909cf5bbad28c76295510cd4982514a2c -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:16 + git config --global --add safe.directory /w/workspace/device-rest-go/172 [Pipeline] fileExists [Pipeline] sh 22:51:17 + make test 22:51:17 go test ./... -coverprofile=coverage.out ./... 22:51:23 ? github.com/edgexfoundry/device-rest-go [no test files] 22:55:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:55:45 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 22:55:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:55:45 go vet ./... 22:56:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:56:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:56:33 ./bin/test-attribution-txt.sh 22:56:33 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 22:56:33 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 22:56:33 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 22:56:33 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 22:56:33 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 22:56:33 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 22:56:33 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 22:56:33 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 22:56:33 An attribution for golang.org/x/term is missing from Attribution.txt, please add 22:56:33 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 22:56:33 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 22:56:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:56:33 $ docker stop --time=1 da8d638d809c54e212bc488cb34fa95909cf5bbad28c76295510cd4982514a2c 22:56:35 $ docker rm -f --volumes da8d638d809c54e212bc488cb34fa95909cf5bbad28c76295510cd4982514a2c [Pipeline] // withDockerContainer [Pipeline] sh 22:56:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:56:37 Warning: overwriting stash ‘coverage-report’ 22:56:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:56:38 + ls -al . 22:56:38 total 244 22:56:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 22:51 . 22:56:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 22:47 .. 22:56:38 -rw-rw-r-- 1 jenkins jenkins 151 Aug 6 22:47 .dockerignore 22:56:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 22:48 .git 22:56:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:47 .github 22:56:38 -rw-rw-r-- 1 jenkins jenkins 264 Aug 6 22:47 .gitignore 22:56:38 -rw-rw-r-- 1 jenkins jenkins 41 Aug 6 22:47 .golangci.yml 22:56:38 -rw-rw-r-- 1 jenkins jenkins 10300 Aug 6 22:47 Attribution.txt 22:56:38 -rw-rw-r-- 1 jenkins jenkins 17685 Aug 6 22:47 CHANGELOG.md 22:56:38 -rw-rw-r-- 1 jenkins jenkins 1687 Aug 6 22:47 Dockerfile 22:56:38 -rw-rw-r-- 1 jenkins jenkins 677 Aug 6 22:47 GOVERNANCE.md 22:56:38 -rw-rw-r-- 1 jenkins jenkins 680 Aug 6 22:47 Jenkinsfile 22:56:38 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 6 22:47 LICENSE 22:56:38 -rw-rw-r-- 1 jenkins jenkins 2016 Aug 6 22:47 Makefile 22:56:38 -rw-rw-r-- 1 jenkins jenkins 620 Aug 6 22:47 OWNERS.md 22:56:38 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 6 22:47 README.md 22:56:38 -rw-rw-r-- 1 jenkins jenkins 12 Aug 6 22:45 VERSION 22:56:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:47 bin 22:56:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:47 cmd 22:56:38 -rw-r--r-- 1 jenkins jenkins 14499 Aug 6 22:55 coverage.out 22:56:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:47 driver 22:56:38 -rw-rw-r-- 1 jenkins jenkins 7134 Aug 6 22:47 go.mod 22:56:38 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 6 22:47 go.sum 22:56:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:47 openapi 22:56:38 -rw-rw-r-- 1 jenkins jenkins 713 Aug 6 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:38 + 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=3ca1d9672aa57d288ff73684e8f7d94170c5a17a --label arch=arm64 --label version=3.2.0-dev.20 . 22:56:38 Sending build context to Docker daemon 145.9kB 22:56:38 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:56:38 Step 2/26 : FROM ${BASE} AS builder 22:56:38 ---> 56d1c7e02447 22:56:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:56:39 ---> Running in fa3f6fc17556 22:56:39 Removing intermediate container fa3f6fc17556 22:56:39 ---> 09d0435ef5a9 22:56:39 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:56:39 ---> Running in 290d51ead59b 22:56:39 Removing intermediate container 290d51ead59b 22:56:39 ---> 62ded3ee840f 22:56:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:56:40 ---> Running in 82f40280c208 22:56:40 Removing intermediate container 82f40280c208 22:56:40 ---> 4a4992b8ec89 22:56:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:56:40 ---> Running in 6ce19edd1b48 22:56:40 Removing intermediate container 6ce19edd1b48 22:56:40 ---> 2310b19d66b7 22:56:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:56:40 ---> Running in 28423d27bd74 22:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:56:43 OK: 271 MiB in 56 packages 22:56:44 Removing intermediate container 28423d27bd74 22:56:44 ---> 3b8ff7aba98e 22:56:44 Step 8/26 : WORKDIR /device-rest-go 22:56:44 ---> Running in a4b862f82b5a 22:56:45 Removing intermediate container a4b862f82b5a 22:56:45 ---> 8f7afeb2956b 22:56:45 Step 9/26 : COPY go.mod vendor* ./ 22:56:45 ---> 65e968727c29 22:56:45 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:45 ---> Running in 56b638f324b8 22:56:48 Removing intermediate container 56b638f324b8 22:56:48 ---> afcf0821c58c 22:56:48 Step 11/26 : COPY . . 22:56:48 ---> b09b67e0e688 22:56:48 Step 12/26 : RUN $MAKE 22:56:48 ---> Running in 3140d32579de 22:56:49 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:00:41 Removing intermediate container 3140d32579de 23:00:41 ---> b694021d847e 23:00:41 Step 13/26 : FROM alpine:3.18 23:00:41 3.18: Pulling from library/alpine 23:00:41 4983c3fe2029: Pulling fs layer 23:00:41 4983c3fe2029: Verifying Checksum 23:00:41 4983c3fe2029: Download complete 23:00:41 4983c3fe2029: Pull complete 23:00:41 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 23:00:41 Status: Downloaded newer image for alpine:3.18 23:00:41 ---> a0237000ae83 23:00:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:00:41 ---> Running in 20d2f2a897b8 23:00:41 Removing intermediate container 20d2f2a897b8 23:00:41 ---> cc3133227056 23:00:41 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 23:00:41 ---> Running in c48b4d2050f9 23:00:41 Removing intermediate container c48b4d2050f9 23:00:41 ---> 698b80c9226e 23:00:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:00:41 ---> Running in d52b3a5cf5ee 23:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:00:41 (1/1) Installing dumb-init (1.2.5-r2) 23:00:41 Executing busybox-1.36.1-r7.trigger 23:00:41 OK: 8 MiB in 16 packages 23:00:41 Removing intermediate container d52b3a5cf5ee 23:00:41 ---> 4cbaffbb465f 23:00:41 Step 17/26 : RUN apk --no-cache upgrade 23:00:41 ---> Running in 147aff759c58 23:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:00:41 OK: 8 MiB in 16 packages 23:00:41 Removing intermediate container 147aff759c58 23:00:41 ---> 04b00904ca43 23:00:41 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 23:00:44 ---> 07d30e7cc2f2 23:00:44 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 23:00:44 ---> 7213cb81a2f9 23:00:44 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 23:00:44 ---> 9647f8cf41c8 23:00:44 Step 21/26 : EXPOSE 59986 23:00:44 ---> Running in 7f943cf4f840 23:00:44 Removing intermediate container 7f943cf4f840 23:00:44 ---> ad889061fa0f 23:00:44 Step 22/26 : ENTRYPOINT ["/device-rest"] 23:00:44 ---> Running in 9cdd1d00ac33 23:00:46 Removing intermediate container 9cdd1d00ac33 23:00:46 ---> ed06eaccaf0f 23:00:46 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:00:46 ---> Running in 56042d2a060f 23:00:46 Removing intermediate container 56042d2a060f 23:00:46 ---> e8a0f6825045 23:00:46 Step 24/26 : LABEL arch=arm64 23:00:46 ---> Running in 7c7a5f8aa6b6 23:00:46 Removing intermediate container 7c7a5f8aa6b6 23:00:46 ---> 1650f6abb563 23:00:46 Step 25/26 : LABEL git_sha=3ca1d9672aa57d288ff73684e8f7d94170c5a17a 23:00:46 ---> Running in 369b7ebe6c28 23:00:47 Removing intermediate container 369b7ebe6c28 23:00:47 ---> bbdaf9b9ae55 23:00:47 Step 26/26 : LABEL version=3.2.0-dev.20 23:00:47 ---> Running in 90035da435b5 23:00:47 Removing intermediate container 90035da435b5 23:00:47 ---> 7ae6e8fbb139 23:00:47 [Warning] One or more build-args [ARCH] were not consumed 23:00:47 Successfully built 7ae6e8fbb139 23:00:47 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:47 provisioning config files... 23:00:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/172@tmp/config2386565135589558315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:50 ---> ****-login.sh 23:00:50 nexus3.edgexfoundry.org:10001 23:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:00:50 Configure a credential helper to remove this warning. See 23:00:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:00:50 23:00:50 Login Succeeded 23:00:50 nexus3.edgexfoundry.org:10002 23:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:00:50 Configure a credential helper to remove this warning. See 23:00:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:00:50 23:00:50 Login Succeeded 23:00:50 nexus3.edgexfoundry.org:10003 23:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:00:51 Configure a credential helper to remove this warning. See 23:00:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:00:51 23:00:51 Login Succeeded 23:00:51 nexus3.edgexfoundry.org:10004 23:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:00:51 Configure a credential helper to remove this warning. See 23:00:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:00:51 23:00:51 Login Succeeded 23:00:51 ****.io 23:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:00:57 Configure a credential helper to remove this warning. See 23:00:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:00:57 23:00:57 Login Succeeded 23:00:57 ---> ****-login.sh ends [Pipeline] } 23:00:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:00:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:00:57 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:00:57 3ca1d9672aa57d288ff73684e8f7d94170c5a17a 23:00:57 latest 23:00:57 3.2.0-dev.20 23:00:57 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 23:00:57 main 23:00:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a 23:00:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:00:58 0ddf822db8e0: Preparing 23:00:58 573fe9c5759f: Preparing 23:00:58 660660b13b78: Preparing 23:00:58 28414073c752: Preparing 23:00:58 f3f2cb68b361: Preparing 23:00:58 3c20671a5817: Preparing 23:00:58 3c20671a5817: Waiting 23:00:58 573fe9c5759f: Pushed 23:00:58 f3f2cb68b361: Pushed 23:00:58 28414073c752: Pushed 23:00:58 0ddf822db8e0: Pushed 23:00:58 3c20671a5817: Layer already exists 23:01:04 660660b13b78: Pushed 23:01:04 3ca1d9672aa57d288ff73684e8f7d94170c5a17a: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:01:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:01:05 0ddf822db8e0: Preparing 23:01:05 573fe9c5759f: Preparing 23:01:05 660660b13b78: Preparing 23:01:05 28414073c752: Preparing 23:01:05 f3f2cb68b361: Preparing 23:01:05 3c20671a5817: Preparing 23:01:05 3c20671a5817: Waiting 23:01:05 573fe9c5759f: Layer already exists 23:01:05 f3f2cb68b361: Layer already exists 23:01:05 28414073c752: Layer already exists 23:01:05 660660b13b78: Layer already exists 23:01:05 0ddf822db8e0: Layer already exists 23:01:05 3c20671a5817: Layer already exists 23:01:05 latest: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.20 23:01:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:01:06 0ddf822db8e0: Preparing 23:01:06 573fe9c5759f: Preparing 23:01:06 660660b13b78: Preparing 23:01:06 28414073c752: Preparing 23:01:06 f3f2cb68b361: Preparing 23:01:06 3c20671a5817: Preparing 23:01:06 3c20671a5817: Waiting 23:01:06 573fe9c5759f: Layer already exists 23:01:06 660660b13b78: Layer already exists 23:01:06 f3f2cb68b361: Layer already exists 23:01:06 0ddf822db8e0: Layer already exists 23:01:06 28414073c752: Layer already exists 23:01:06 3c20671a5817: Layer already exists 23:01:06 3.2.0-dev.20: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 23:01:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:01:07 0ddf822db8e0: Preparing 23:01:07 573fe9c5759f: Preparing 23:01:07 660660b13b78: Preparing 23:01:07 28414073c752: Preparing 23:01:07 f3f2cb68b361: Preparing 23:01:07 3c20671a5817: Preparing 23:01:07 3c20671a5817: Waiting 23:01:07 0ddf822db8e0: Layer already exists 23:01:07 28414073c752: Layer already exists 23:01:07 f3f2cb68b361: Layer already exists 23:01:07 573fe9c5759f: Layer already exists 23:01:07 660660b13b78: Layer already exists 23:01:07 3c20671a5817: Layer already exists 23:01:07 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:01:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:01:08 0ddf822db8e0: Preparing 23:01:08 573fe9c5759f: Preparing 23:01:08 660660b13b78: Preparing 23:01:08 28414073c752: Preparing 23:01:08 f3f2cb68b361: Preparing 23:01:08 3c20671a5817: Preparing 23:01:08 3c20671a5817: Waiting 23:01:08 f3f2cb68b361: Layer already exists 23:01:08 660660b13b78: Layer already exists 23:01:08 28414073c752: Layer already exists 23:01:08 573fe9c5759f: Layer already exists 23:01:08 0ddf822db8e0: Layer already exists 23:01:08 3c20671a5817: Layer already exists 23:01:08 main: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:01:09 ===================================================== [Pipeline] echo 23:01:09 taggedImages: 23:01:09 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a 23:01:09 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:01:09 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.20 23:01:09 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 23:01:09 - 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 23:01:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:09 23:01:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:10 arm64: Pulling from edgex-lftools-log-publisher 23:01:10 8998bd30e6a1: Pulling fs layer 23:01:10 04944245beec: Pulling fs layer 23:01:10 699f458cf7ca: Pulling fs layer 23:01:10 765212b225bb: Pulling fs layer 23:01:10 f23df028b6ca: Pulling fs layer 23:01:10 d65c8cfc05b1: Pulling fs layer 23:01:10 2437ff75d9bd: Pulling fs layer 23:01:10 765212b225bb: Waiting 23:01:10 f23df028b6ca: Waiting 23:01:10 d65c8cfc05b1: Waiting 23:01:10 2437ff75d9bd: Waiting 23:01:10 04944245beec: Verifying Checksum 23:01:10 04944245beec: Download complete 23:01:10 765212b225bb: Verifying Checksum 23:01:10 765212b225bb: Download complete 23:01:10 f23df028b6ca: Verifying Checksum 23:01:10 f23df028b6ca: Download complete 23:01:10 d65c8cfc05b1: Verifying Checksum 23:01:10 d65c8cfc05b1: Download complete 23:01:10 699f458cf7ca: Verifying Checksum 23:01:10 699f458cf7ca: Download complete 23:01:10 8998bd30e6a1: Verifying Checksum 23:01:10 8998bd30e6a1: Download complete 23:01:13 2437ff75d9bd: Verifying Checksum 23:01:13 2437ff75d9bd: Download complete 23:01:15 8998bd30e6a1: Pull complete 23:01:16 04944245beec: Pull complete 23:01:17 699f458cf7ca: Pull complete 23:01:17 765212b225bb: Pull complete 23:01:18 f23df028b6ca: Pull complete 23:01:18 d65c8cfc05b1: Pull complete 23:01:36 2437ff75d9bd: Pull complete 23:01:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:01:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:37 prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container 23:01:37 $ 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/172 -v /w/workspace/device-rest-go/172:/w/workspace/device-rest-go/172:rw,z -v /w/workspace/device-rest-go/172@tmp:/w/workspace/device-rest-go/172@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 23:01:40 $ docker top e00157d261d698cafd30a49f8668deb637048ed00d4c64d4caa03ee53fb79a99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:40 ---> job-cost.sh 23:01:40 lf-activate-venv: SKIPPING 23:01:40 INFO: No Stack... 23:01:41 INFO: Retrieving Pricing Info for: v3-standard-4 23:01:42 INFO: Archiving Costs [Pipeline] sh 23:01:42 + cat /w/workspace/device-rest-go/172/archives/cost.csv 23:01:42 + cut -d, -f6 [Pipeline] lock 23:01:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] 23:01:42 Resource [jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] did not exist. Created. 23:01:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:01:43 /w/workspace/device-rest-go/172@tmp/durable-9c214810/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:01:44 + echo total: 0.10999999940395355 [Pipeline] stash 23:01:44 Warning: overwriting stash ‘stack-cost’ 23:01:44 Stashed 1 file(s) [Pipeline] } 23:01:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 23:01:44 $ docker stop --time=1 e00157d261d698cafd30a49f8668deb637048ed00d4c64d4caa03ee53fb79a99 23:01:45 $ docker rm -f --volumes e00157d261d698cafd30a49f8668deb637048ed00d4c64d4caa03ee53fb79a99 [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 23:01:46 provisioning config files... 23:01:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13793846503895335168tmp [Pipeline] { [Pipeline] sh 23:01:46 + set +x 23:01:46 + bash -s -- 23:01:46 + curl -s https://codecov.io/bash 23:01:46 23:01:46 _____ _ 23:01:46 / ____| | | 23:01:46 | | ___ __| | ___ ___ _____ __ 23:01:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:01:46 | |___| (_) | (_| | __/ (_| (_) \ V / 23:01:46 \_____\___/ \__,_|\___|\___\___/ \_/ 23:01:46 Bash-1.0.6 23:01:46 23:01:46 23:01:46 ==> git version 2.25.1 found 23:01:46 ==> 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 23:01:46 Release-Date: 2020-01-08 23:01:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:01:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:01:46 ==> Jenkins CI detected. 23:01:46 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:01:46 project root: . 23:01:46 --> token set from env 23:01:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:01:46 ==> Running gcov in . (disable via -X gcov) 23:01:46 ==> Python coveragepy not found 23:01:46 ==> Searching for coverage reports in: 23:01:46 + . 23:01:46 -> Found 1 reports 23:01:46 ==> Detecting git/mercurial file structure 23:01:46 ==> Reading reports 23:01:46 + ./coverage.out bytes=14499 23:01:46 ==> Appending adjustments 23:01:46 https://docs.codecov.io/docs/fixing-reports 23:01:46 + Found adjustments 23:01:46 ==> Gzipping contents 23:01:46 4.0K /tmp/codecov.mYXChl.gz 23:01:46 ==> Uploading reports 23:01:46 url: https://codecov.io 23:01:46 query: branch=main&commit=3ca1d9672aa57d288ff73684e8f7d94170c5a17a&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:01:46 -> Pinging Codecov 23:01:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3ca1d9672aa57d288ff73684e8f7d94170c5a17a&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:01:46 -> Uploading to 23:01:46 https://storage.googleapis.com/codecov/v4/raw/2024-08-06/4E5D53B4F1F92C436F7061BF334D961C/3ca1d9672aa57d288ff73684e8f7d94170c5a17a/424a907d-0179-48dd-b7ef-36708e08a882.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240806%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240806T230146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ab982ce58ff81e4031fdde1ae7f4c2fa4e06f2fe4d13da2fdafb9133c01f10f 23:01:46 % Total % Received % Xferd Average Speed Time Time Time Current 23:01:46 Dload Upload Total Spent Left Speed 23:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 10004 --:--:-- --:--:-- --:--:-- 9961 23:01:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] } 23:01:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:01:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:01:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 23:01:47 23:01:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 23:01:47 latest: Pulling from edgex-devops/edgex-snyk-go 23:01:47 619be1103602: Already exists 23:01:47 f8ea3408117e: Pulling fs layer 23:01:47 91320369b822: Pulling fs layer 23:01:47 0406650e8295: Pulling fs layer 23:01:47 4f4fb700ef54: Pulling fs layer 23:01:47 96d80e3f36e1: Pulling fs layer 23:01:47 bcf3aedb951c: Pulling fs layer 23:01:47 bcf3aedb951c: Waiting 23:01:47 4f4fb700ef54: Waiting 23:01:47 0406650e8295: Verifying Checksum 23:01:47 0406650e8295: Download complete 23:01:47 f8ea3408117e: Download complete 23:01:47 4f4fb700ef54: Verifying Checksum 23:01:47 4f4fb700ef54: Download complete 23:01:47 f8ea3408117e: Pull complete 23:01:48 96d80e3f36e1: Verifying Checksum 23:01:48 96d80e3f36e1: Download complete 23:01:48 91320369b822: Download complete 23:01:48 bcf3aedb951c: Verifying Checksum 23:01:48 bcf3aedb951c: Download complete 23:01:52 91320369b822: Pull complete 23:01:52 0406650e8295: Pull complete 23:01:52 4f4fb700ef54: Pull complete 23:01:52 96d80e3f36e1: Pull complete 23:01:55 bcf3aedb951c: Pull complete 23:01:55 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 23:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 23:01:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:55 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 23:01: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 23:01:57 $ docker top fe5bf03e51bd229d8d67002032d9dd089a89649e97f8d1f4f3197511862a718e -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 23:01:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:01:57 + set -o pipefail 23:01:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:02:05 23:02:05 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:02:05 23:02:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/8ab491e0-6df4-4531-9582-8a638ceae683 23:02:05 23:02:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:02:05 23:02:05 23:02:05 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 23:02:05 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 23:02:05 $ docker stop --time=1 fe5bf03e51bd229d8d67002032d9dd089a89649e97f8d1f4f3197511862a718e 23:02:08 $ docker rm -f --volumes fe5bf03e51bd229d8d67002032d9dd089a89649e97f8d1f4f3197511862a718e [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 23:02:09 + git log --format=format:%s -1 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] sh 23:02:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:02:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:02:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:09 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 23:02:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:02:10 $ docker top d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 -eo pid,comm 23:02:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:02:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:02:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:02:10 [ssh-agent] Looking for ssh-agent implementation... 23:02:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:02:10 $ docker exec d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 ssh-agent 23:02:10 SSH_AUTH_SOCK=/tmp/ssh-NXc7z3031FFJ/agent.31 23:02:10 SSH_AGENT_PID=37 23:02:10 Running ssh-add (command line suppressed) 23:02:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1940047589332679352.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1940047589332679352.key) 23:02:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:02:10 + git semver tag 23:02:11 2024-08-06 23:02:10,961 [run_tag] DEBUG tag force:False 23:02:11 2024-08-06 23:02:10,961 [check_head_tag] DEBUG check head tag 23:02:11 2024-08-06 23:02:10,962 [execute] INFO git cat-file --batch-check 23:02:11 2024-08-06 23:02:10,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:02:11 2024-08-06 23:02:10,966 [execute] INFO git cat-file --batch 23:02:11 2024-08-06 23:02:10,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:02:11 2024-08-06 23:02:10,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:11 2024-08-06 23:02:10,986 [execute] INFO git tag -a v3.2.0-dev.20 -m v3.2.0-dev.20 23:02:11 2024-08-06 23:02:10,987 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.20', '-m', 'v3.2.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:02:11 2024-08-06 23:02:10,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:11 3.2.0-dev.20 [Pipeline] } 23:02:11 $ docker exec --env ******** --env ******** d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 ssh-agent -k 23:02:11 unset SSH_AUTH_SOCK; 23:02:11 unset SSH_AGENT_PID; 23:02:11 echo Agent pid 37 killed; 23:02:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:11 + git semver [Pipeline] } 23:02:11 $ docker stop --time=1 d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 23:02:13 $ docker rm -f --volumes d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:02:13 23:02:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:02:13 0.23.1-centos7: Pulling from edgex-lftools 23:02:13 ab5ef0e58194: Pulling fs layer 23:02:13 9712f1f96733: Pulling fs layer 23:02:13 63f879dbbcfc: Pulling fs layer 23:02:13 0d9ebad4ef96: Pulling fs layer 23:02:13 e9a5061849ea: Pulling fs layer 23:02:13 d747dcd14b5f: Pulling fs layer 23:02:13 2de7ff778b66: Pulling fs layer 23:02:13 e9a5061849ea: Waiting 23:02:13 d747dcd14b5f: Waiting 23:02:13 2de7ff778b66: Waiting 23:02:13 0d9ebad4ef96: Waiting 23:02:13 9712f1f96733: Verifying Checksum 23:02:13 9712f1f96733: Download complete 23:02:13 63f879dbbcfc: Verifying Checksum 23:02:13 63f879dbbcfc: Download complete 23:02:14 e9a5061849ea: Verifying Checksum 23:02:14 e9a5061849ea: Download complete 23:02:14 d747dcd14b5f: Download complete 23:02:14 0d9ebad4ef96: Verifying Checksum 23:02:14 0d9ebad4ef96: Download complete 23:02:14 ab5ef0e58194: Verifying Checksum 23:02:14 ab5ef0e58194: Download complete 23:02:14 2de7ff778b66: Verifying Checksum 23:02:14 2de7ff778b66: Download complete 23:02:16 ab5ef0e58194: Pull complete 23:02:16 9712f1f96733: Pull complete 23:02:17 63f879dbbcfc: Pull complete 23:02:20 0d9ebad4ef96: Pull complete 23:02:20 e9a5061849ea: Pull complete 23:02:20 d747dcd14b5f: Pull complete 23:02:21 2de7ff778b66: Pull complete 23:02:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:02:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:02:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:21 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 23:02:21 $ 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 23:02:23 $ docker top ad7b25655bba08764b04c8658b84e3906deb215a1962f7b07c1575e83230f25f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:02:23 provisioning config files... 23:02:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15154888877834581022tmp 23:02:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11594386395359561368tmp 23:02:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7636825033389049886tmp [Pipeline] { [Pipeline] echo 23:02:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:02:24 ---> sigul-configuration.sh 23:02:24 gpg: directory `/root/.gnupg' created 23:02:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:02:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:02:24 gpg: keyring `/root/.gnupg/secring.gpg' created 23:02:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:02:24 gpg: CAST5 encrypted data 23:02:24 gpg: encrypted with 1 passphrase 23:02:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:02:24 + mkdir /home/jenkins 23:02:24 + mkdir /home/jenkins/sigul [Pipeline] sh 23:02:24 + 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 23:02:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:02:24 ---> sigul-install.sh 23:02:24 Sigul already installed; skipping installation. [Pipeline] sh 23:02:25 + git tag --list 23:02:25 v1.0.0 23:02:25 v1.1.0 23:02:25 v1.1.1 23:02:25 v1.1.2 23:02:25 v1.2.0 23:02:25 v1.2.1 23:02:25 v2.0.0 23:02:25 v2.1.0 23:02:25 v2.1.1 23:02:25 v2.2.0 23:02:25 v2.3.0 23:02:25 v3.0 23:02:25 v3.0.0 23:02:25 v3.1 23:02:25 v3.1.0 23:02:25 v3.1.0-dev.1 23:02:25 v3.1.0-dev.10 23:02:25 v3.1.0-dev.11 23:02:25 v3.1.0-dev.12 23:02:25 v3.1.0-dev.13 23:02:25 v3.1.0-dev.14 23:02:25 v3.1.0-dev.15 23:02:25 v3.1.0-dev.16 23:02:25 v3.1.0-dev.17 23:02:25 v3.1.0-dev.18 23:02:25 v3.1.0-dev.19 23:02:25 v3.1.0-dev.2 23:02:25 v3.1.0-dev.20 23:02:25 v3.1.0-dev.21 23:02:25 v3.1.0-dev.22 23:02:25 v3.1.0-dev.23 23:02:25 v3.1.0-dev.24 23:02:25 v3.1.0-dev.25 23:02:25 v3.1.0-dev.26 23:02:25 v3.1.0-dev.27 23:02:25 v3.1.0-dev.28 23:02:25 v3.1.0-dev.29 23:02:25 v3.1.0-dev.3 23:02:25 v3.1.0-dev.30 23:02:25 v3.1.0-dev.31 23:02:25 v3.1.0-dev.32 23:02:25 v3.1.0-dev.4 23:02:25 v3.1.0-dev.5 23:02:25 v3.1.0-dev.6 23:02:25 v3.1.0-dev.7 23:02:25 v3.1.0-dev.8 23:02:25 v3.1.0-dev.9 23:02:25 v3.1.1 23:02:25 v3.2.0-dev.1 23:02:25 v3.2.0-dev.10 23:02:25 v3.2.0-dev.11 23:02:25 v3.2.0-dev.12 23:02:25 v3.2.0-dev.13 23:02:25 v3.2.0-dev.14 23:02:25 v3.2.0-dev.15 23:02:25 v3.2.0-dev.16 23:02:25 v3.2.0-dev.17 23:02:25 v3.2.0-dev.18 23:02:25 v3.2.0-dev.19 23:02:25 v3.2.0-dev.2 23:02:25 v3.2.0-dev.20 23:02:25 v3.2.0-dev.3 23:02:25 v3.2.0-dev.4 23:02:25 v3.2.0-dev.5 23:02:25 v3.2.0-dev.6 23:02:25 v3.2.0-dev.7 23:02:25 v3.2.0-dev.8 23:02:25 v3.2.0-dev.9 [Pipeline] sh 23:02:25 + lftools sign git-tag v3.2.0-dev.20 23:02:26 Signing Git tag with Sigul... 23:02:26 Signing v3.2.0-dev.20 [Pipeline] echo 23:02:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:02:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:02:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:02:26 $ docker stop --time=1 ad7b25655bba08764b04c8658b84e3906deb215a1962f7b07c1575e83230f25f 23:02:27 $ docker rm -f --volumes ad7b25655bba08764b04c8658b84e3906deb215a1962f7b07c1575e83230f25f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:02:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:02:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:28 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 23:02: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:02:29 $ docker top 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:02:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:02:29 [ssh-agent] Looking for ssh-agent implementation... 23:02:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:02:29 $ docker exec 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 ssh-agent 23:02:29 SSH_AUTH_SOCK=/tmp/ssh-TN29noikAMig/agent.32 23:02:29 SSH_AGENT_PID=38 23:02:29 Running ssh-add (command line suppressed) 23:02:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10283272284691230653.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10283272284691230653.key) 23:02:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:02:29 + git semver bump pre 23:02:30 2024-08-06 23:02:30,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:30 2024-08-06 23:02:30,170 [bump_version] DEBUG bumping version:3.2.0-dev.20 on axis:pre with prefix:dev 23:02:30 2024-08-06 23:02:30,170 [bump_version] DEBUG bumped version:3.2.0-dev.21 23:02:30 2024-08-06 23:02:30,170 [write_version] DEBUG write version:3.2.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:02:30 2024-08-06 23:02:30,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:30 2024-08-06 23:02:30,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:30 2024-08-06 23:02:30,172 [execute] INFO git cat-file --batch-check 23:02:30 2024-08-06 23:02:30,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:02:30 2024-08-06 23:02:30,179 [execute] INFO git cat-file --batch 23:02:30 2024-08-06 23:02:30,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:02:30 2024-08-06 23:02:30,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:30 3.2.0-dev.21 [Pipeline] } 23:02:30 $ docker exec --env ******** --env ******** 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 ssh-agent -k 23:02:30 unset SSH_AUTH_SOCK; 23:02:30 unset SSH_AGENT_PID; 23:02:30 echo Agent pid 38 killed; 23:02:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:30 + git semver [Pipeline] } 23:02:30 $ docker stop --time=1 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 23:02:32 $ docker rm -f --volumes 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:02:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:02:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:32 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 23:02:32 $ 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 23:02:33 $ docker top 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 -eo pid,comm 23:02:33 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). 23:02:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:02:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:02:33 [ssh-agent] Looking for ssh-agent implementation... 23:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:02:33 $ docker exec 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 ssh-agent 23:02:33 SSH_AUTH_SOCK=/tmp/ssh-bZbHXVHoy9JW/agent.31 23:02:33 SSH_AGENT_PID=37 23:02:33 Running ssh-add (command line suppressed) 23:02:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5863033160699929744.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5863033160699929744.key) 23:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:02:33 + git semver push 23:02:34 2024-08-06 23:02:34,154 [run_push] DEBUG push 23:02:34 2024-08-06 23:02:34,155 [execute] INFO git cat-file --batch-check 23:02:34 2024-08-06 23:02:34,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:02:34 2024-08-06 23:02:34,159 [execute] INFO git rev-list 1885ee93d2b83c9a4fcbfa1aebcf4aeccdd2c241 -- 23:02:34 2024-08-06 23:02:34,159 [execute] DEBUG Popen(['git', 'rev-list', '1885ee93d2b83c9a4fcbfa1aebcf4aeccdd2c241', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:02:34 2024-08-06 23:02:34,168 [execute] INFO git fetch -v origin 23:02:34 2024-08-06 23:02:34,168 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:02:34 2024-08-06 23:02:34,612 [run_push] DEBUG no remote changes detected 23:02:34 2024-08-06 23:02:34,612 [execute] INFO git push origin semver 23:02:34 2024-08-06 23:02:34,612 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:02:35 2024-08-06 23:02:35,429 [run_push] DEBUG push all version tags 23:02:35 2024-08-06 23:02:35,429 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:02:35 2024-08-06 23:02:35,430 [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) 23:02:36 2024-08-06 23:02:36,139 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:02:36 3.2.0-dev.21 [Pipeline] } 23:02:36 $ docker exec --env ******** --env ******** 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 ssh-agent -k 23:02:36 unset SSH_AUTH_SOCK; 23:02:36 unset SSH_AGENT_PID; 23:02:36 echo Agent pid 37 killed; 23:02:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:36 + git semver [Pipeline] } 23:02:37 $ docker stop --time=1 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 23:02:38 $ docker rm -f --volumes 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 [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 23:02:38 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:02:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:02:38 total 16 23:02:38 drwxr-xr-x 3 root root 4096 Aug 6 22:47 . 23:02:38 drwxrwxr-x 10 jenkins jenkins 4096 Aug 6 23:02 .. 23:02:38 drwxr-xr-x 2 root root 4096 Aug 6 22:47 cost 23:02:38 -rw-r--r-- 1 root root 86 Aug 6 22:47 cost.csv 23:02:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:02:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:02:38 total 16 23:02:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 6 22:47 . 23:02:38 drwxrwxr-x 10 jenkins jenkins 4096 Aug 6 23:02 .. 23:02:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 6 22:47 cost 23:02:38 -rw-r--r-- 1 jenkins jenkins 86 Aug 6 22:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:02:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:02:40 ---> package-listing.sh 23:02:40 ++ facter osfamily 23:02:40 ++ tr '[:upper:]' '[:lower:]' 23:02:40 + OS_FAMILY=debian 23:02:40 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:02:40 + START_PACKAGES=/tmp/packages_start.txt 23:02:40 + END_PACKAGES=/tmp/packages_end.txt 23:02:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:02:40 + PACKAGES=/tmp/packages_start.txt 23:02:40 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:02:40 + PACKAGES=/tmp/packages_end.txt 23:02:40 + case "${OS_FAMILY}" in 23:02:40 + dpkg -l 23:02:40 + grep '^ii' 23:02:40 + '[' -f /tmp/packages_start.txt ']' 23:02:40 + '[' -f /tmp/packages_end.txt ']' 23:02:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:02:40 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:02:40 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:02:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:02:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:02:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:41 prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container 23:02:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:02:41 $ docker top 76a25a7142dade8e28186f463aaf8d828c48fe61a4e749c5c226746213460b80 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:41 + touch /tmp/pre-build-complete [Pipeline] sh 23:02:42 + mkdir -p /var/log/sysstat [Pipeline] sh 23:02:42 + ls /var/log/sa-host 23:02:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:02:42 provisioning config files... 23:02:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5678816928002030986tmp [Pipeline] { [Pipeline] echo 23:02:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:02:42 ---> create-netrc.sh [Pipeline] } 23:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:02:43 ---> python-tools-install.sh [Pipeline] echo 23:02:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:02:43 ---> sudo-logs.sh 23:02:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:02:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:02:43 ---> job-cost.sh 23:02:43 lf-activate-venv: SKIPPING 23:02:43 DEBUG: total: 0.2199999988079071 23:02:43 INFO: Retrieving Stack Cost... 23:02:44 INFO: Retrieving Pricing Info for: v3-standard-8 23:02:44 INFO: Archiving Costs [Pipeline] echo 23:02:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:02:44 ---> logs-deploy.sh 23:02:44 lf-activate-venv: SKIPPING 23:02:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/172 23:02:44 INFO: archiving workspace using pattern(s): 23:02:45 Archives upload complete. 23:02:45 INFO: archiving logs to Nexus