Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4e238686b828caed34ec9ef1ec6e6067dee5a1b 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-ssh17420480025670078908.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-ssh16817703432760672013.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-ssh12450864097968913788.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-ssh10239094012763550463.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-ssh3433038880607058281.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6483’ Running on prd-ubuntu20.04-docker-8c-8g-6486 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e4e238686b828caed34ec9ef1ec6e6067dee5a1b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 Commit message: "Merge pull request #402 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" > git rev-list --no-walk f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:25:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:25:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:25:51 ========================================================= 01:25:51 EdgeX Global Pipelines Version Info 01:25:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:25:52 ------------------- 01:25:52 stable info: 01:25:52 ------------------- 01:25:52 Commited By: Ginny Guan ginny@iotechsys.com 01:25:52 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:25:52 Message: update stable to v1.0.260 01:25:52 ------------------- 01:25:52 experimental info: 01:25:52 ------------------- 01:25:52 Commited By: Ginny Guan ginny@iotechsys.com 01:25:52 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:25:52 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4e2386 [Pipeline] echo 01:25:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:53 provisioning config files... 01:25:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13081387308168643191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:53 ---> ****-login.sh 01:25:53 nexus3.edgexfoundry.org:10001 01:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:54 Configure a credential helper to remove this warning. See 01:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:54 01:25:54 Login Succeeded 01:25:54 nexus3.edgexfoundry.org:10002 01:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:54 Configure a credential helper to remove this warning. See 01:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:54 01:25:54 Login Succeeded 01:25:54 nexus3.edgexfoundry.org:10003 01:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:54 Configure a credential helper to remove this warning. See 01:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:54 01:25:54 Login Succeeded 01:25:54 nexus3.edgexfoundry.org:10004 01:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:54 Configure a credential helper to remove this warning. See 01:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:54 01:25:54 Login Succeeded 01:25:54 ****.io 01:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:54 Configure a credential helper to remove this warning. See 01:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:54 01:25:54 Login Succeeded 01:25:54 ---> ****-login.sh ends [Pipeline] } 01:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:25:55 + git rev-list -1 --merges e4e238686b828caed34ec9ef1ec6e6067dee5a1b~1..e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] echo 01:25:55 -----------> git rev-list -1 --merges e4e238686b828caed34ec9ef1ec6e6067dee5a1b~1..e4e238686b828caed34ec9ef1ec6e6067dee5a1b e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:25:55 e4e238686b828caed34ec9ef1ec6e6067dee5a1b [false] [Pipeline] sh 01:25:55 + git log --format=format:%s -1 e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] echo 01:25:55 ========================================================= 01:25:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:25:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:55 + git log --format=format:%s -1 e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] echo 01:25:55 [semverPrep] GIT_COMMIT: e4e238686b828caed34ec9ef1ec6e6067dee5a1b, Commit Message: Merge pull request #402 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27 [Pipeline] echo 01:25:55 [semverPrep] This is not a build commit. [Pipeline] sh 01:25:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:25:56 + grep -v github /etc/ssh/ssh_known_hosts 01:25:56 + [ -e /tmp/ssh_known_hosts ] 01:25:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:25:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:25:56 + sudo tee -a /etc/ssh/ssh_known_hosts 01:25:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:56 01:25:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:56 0.1.4: Pulling from edgex-devops/py-git-semver 01:25:56 b85a868b505f: Pulling fs layer 01:25:56 e2be974225ed: Pulling fs layer 01:25:56 339a4e72a1f5: Pulling fs layer 01:25:56 988bab9f4d93: Pulling fs layer 01:25:56 1469e6f7b9e6: Pulling fs layer 01:25:56 eaf3925da568: Pulling fs layer 01:25:56 bab4dde63d76: Pulling fs layer 01:25:56 bde34c3a00c8: Pulling fs layer 01:25:56 b352a97aabf1: Pulling fs layer 01:25:56 4872d77fe225: Pulling fs layer 01:25:56 5851b861e8e6: Pulling fs layer 01:25:56 988bab9f4d93: Waiting 01:25:56 1469e6f7b9e6: Waiting 01:25:56 eaf3925da568: Waiting 01:25:56 bde34c3a00c8: Waiting 01:25:56 bab4dde63d76: Waiting 01:25:56 4872d77fe225: Waiting 01:25:56 e2be974225ed: Verifying Checksum 01:25:56 e2be974225ed: Download complete 01:25:56 988bab9f4d93: Verifying Checksum 01:25:56 988bab9f4d93: Download complete 01:25:56 1469e6f7b9e6: Verifying Checksum 01:25:56 1469e6f7b9e6: Download complete 01:25:56 339a4e72a1f5: Verifying Checksum 01:25:56 339a4e72a1f5: Download complete 01:25:56 eaf3925da568: Verifying Checksum 01:25:56 eaf3925da568: Download complete 01:25:57 bde34c3a00c8: Verifying Checksum 01:25:57 bde34c3a00c8: Download complete 01:25:57 b352a97aabf1: Verifying Checksum 01:25:57 b352a97aabf1: Download complete 01:25:57 4872d77fe225: Verifying Checksum 01:25:57 4872d77fe225: Download complete 01:25:57 5851b861e8e6: Verifying Checksum 01:25:57 5851b861e8e6: Download complete 01:25:57 b85a868b505f: Download complete 01:25:57 bab4dde63d76: Verifying Checksum 01:25:57 bab4dde63d76: Download complete 01:25:58 b85a868b505f: Pull complete 01:25:58 e2be974225ed: Pull complete 01:25:58 339a4e72a1f5: Pull complete 01:25:58 988bab9f4d93: Pull complete 01:25:59 1469e6f7b9e6: Pull complete 01:25:59 eaf3925da568: Pull complete 01:26:00 bab4dde63d76: Pull complete 01:26:00 bde34c3a00c8: Pull complete 01:26:00 b352a97aabf1: Pull complete 01:26:00 4872d77fe225: Pull complete 01:26:00 5851b861e8e6: Pull complete 01:26:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:26:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:01 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:26:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:26:04 $ docker top 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce -eo pid,comm 01:26:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:26:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:04 [ssh-agent] Looking for ssh-agent implementation... 01:26:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:04 $ docker exec 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce ssh-agent 01:26:04 SSH_AUTH_SOCK=/tmp/ssh-9hL3RODeysmf/agent.33 01:26:04 SSH_AGENT_PID=39 01:26:04 Running ssh-add (command line suppressed) 01:26:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17147846847052769316.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17147846847052769316.key) 01:26:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:04 + git tag --points-at HEAD [Pipeline] } 01:26:04 $ docker exec --env ******** --env ******** 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce ssh-agent -k 01:26:04 unset SSH_AUTH_SOCK; 01:26:04 unset SSH_AGENT_PID; 01:26:04 echo Agent pid 39 killed; 01:26:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:04 [ssh-agent] Looking for ssh-agent implementation... 01:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:05 $ docker exec 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce ssh-agent 01:26:05 SSH_AUTH_SOCK=/tmp/ssh-Geza5Pja18ku/agent.73 01:26:05 SSH_AGENT_PID=79 01:26:05 Running ssh-add (command line suppressed) 01:26:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1297256432574591341.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1297256432574591341.key) 01:26:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:05 + git semver init 01:26:05 2024-07-26 01:26:05,709 [run_init] DEBUG init version:0.0.0 force:False 01:26:05 2024-07-26 01:26:05,710 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:26:05 2024-07-26 01:26:05,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:26:05 2024-07-26 01:26:05,711 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:26:07 2024-07-26 01:26:06,962 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:26:07 2024-07-26 01:26:06,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:26:07 2024-07-26 01:26:06,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:26:07 2024-07-26 01:26:06,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:26:07 3.2.0-dev.18 [Pipeline] } 01:26:07 $ docker exec --env ******** --env ******** 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce ssh-agent -k 01:26:07 unset SSH_AUTH_SOCK; 01:26:07 unset SSH_AGENT_PID; 01:26:07 echo Agent pid 79 killed; 01:26:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:26:07 + git semver [Pipeline] } 01:26:07 $ docker stop --time=1 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce 01:26:09 $ docker rm -f --volumes 9cdee3516fae1afb086421b080150e194d5380457326d0522fae2d8113138dce [Pipeline] // withDockerContainer [Pipeline] sh 01:26:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:26:09 Stashed 1 file(s) [Pipeline] echo 01:26:09 [edgeXSemver]: initialized semver on version 3.2.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:09 provisioning config files... 01:26:09 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1468142406358656550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:10 ---> ****-login.sh 01:26:10 nexus3.edgexfoundry.org:10001 01:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:10 Configure a credential helper to remove this warning. See 01:26:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:10 01:26:10 Login Succeeded 01:26:10 nexus3.edgexfoundry.org:10002 01:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:10 Configure a credential helper to remove this warning. See 01:26:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:10 01:26:10 Login Succeeded 01:26:10 nexus3.edgexfoundry.org:10003 01:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:10 Configure a credential helper to remove this warning. See 01:26:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:10 01:26:10 Login Succeeded 01:26:10 nexus3.edgexfoundry.org:10004 01:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:10 Configure a credential helper to remove this warning. See 01:26:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:10 01:26:10 Login Succeeded 01:26:10 ****.io 01:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:10 Configure a credential helper to remove this warning. See 01:26:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:10 01:26:10 Login Succeeded 01:26:10 ---> ****-login.sh ends [Pipeline] } 01:26:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:26:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:26:10 ========================================================= 01:26:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:26:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:11 + 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 . 01:26:11 Sending build context to Docker daemon 16.55MB 01:26:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:26:11 Step 2/12 : FROM ${BASE} AS builder 01:26:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:11 619be1103602: Pulling fs layer 01:26:11 7862e08f4a3e: Pulling fs layer 01:26:11 5df492c9dc93: Pulling fs layer 01:26:11 7629e6793208: Pulling fs layer 01:26:11 4f4fb700ef54: Pulling fs layer 01:26:11 fb5054dd5b73: Pulling fs layer 01:26:11 eeca6798cff9: Pulling fs layer 01:26:11 aa269ceb94a6: Pulling fs layer 01:26:11 ada007ff1a6a: Pulling fs layer 01:26:11 eeca6798cff9: Waiting 01:26:11 aa269ceb94a6: Waiting 01:26:11 ada007ff1a6a: Waiting 01:26:11 4f4fb700ef54: Waiting 01:26:11 fb5054dd5b73: Waiting 01:26:11 7629e6793208: Waiting 01:26:11 7862e08f4a3e: Verifying Checksum 01:26:11 7862e08f4a3e: Download complete 01:26:11 7629e6793208: Verifying Checksum 01:26:11 7629e6793208: Download complete 01:26:11 4f4fb700ef54: Verifying Checksum 01:26:11 4f4fb700ef54: Download complete 01:26:11 fb5054dd5b73: Verifying Checksum 01:26:11 fb5054dd5b73: Download complete 01:26:11 619be1103602: Download complete 01:26:11 619be1103602: Pull complete 01:26:11 eeca6798cff9: Verifying Checksum 01:26:11 eeca6798cff9: Download complete 01:26:11 7862e08f4a3e: Pull complete 01:26:11 ada007ff1a6a: Verifying Checksum 01:26:11 ada007ff1a6a: Download complete 01:26:12 5df492c9dc93: Verifying Checksum 01:26:12 5df492c9dc93: Download complete 01:26:12 aa269ceb94a6: Verifying Checksum 01:26:12 aa269ceb94a6: Download complete 01:26:15 5df492c9dc93: Pull complete 01:26:15 7629e6793208: Pull complete 01:26:15 4f4fb700ef54: Pull complete 01:26:15 fb5054dd5b73: Pull complete 01:26:15 eeca6798cff9: Pull complete 01:26:17 aa269ceb94a6: Pull complete 01:26:17 ada007ff1a6a: Pull complete 01:26:17 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:26:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:26:17 ---> f489d0715acc 01:26:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:26:23 ---> Running in 4905ac6f59d0 01:26:23 Removing intermediate container 4905ac6f59d0 01:26:23 ---> d76e36d532b5 01:26:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:26:23 ---> Running in fe1134a2de27 01:26:23 Removing intermediate container fe1134a2de27 01:26:23 ---> e96461aec75d 01:26:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:26:23 ---> Running in 436b39fee533 01:26:23 Removing intermediate container 436b39fee533 01:26:23 ---> e1fbf370ebfa 01:26:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:26:23 ---> Running in 3d532df27d46 01:26:23 Removing intermediate container 3d532df27d46 01:26:23 ---> c4c315e11f67 01:26:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:23 ---> Running in 55c0a4497778 01:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:26:23 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:26:23 (2/4) Installing libedit (20221030.3.1-r1) 01:26:23 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:26:23 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:26:23 Executing busybox-1.36.1-r5.trigger 01:26:23 OK: 268 MiB in 56 packages 01:26:24 Removing intermediate container 55c0a4497778 01:26:24 ---> ce39d07dde69 01:26:24 Step 8/12 : WORKDIR /device-rest-go 01:26:24 ---> Running in 95aca46ffde7 01:26:24 Removing intermediate container 95aca46ffde7 01:26:24 ---> b1c114e044cc 01:26:24 Step 9/12 : COPY go.mod vendor* ./ 01:26:24 ---> 50ea756cd01e 01:26:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:24 ---> Running in 4b188d993a9e 01:26:24 Still waiting to schedule task 01:26:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6484’ is offline 01:27:11 Removing intermediate container 4b188d993a9e 01:27:11 ---> faac49acf4a6 01:27:11 Step 11/12 : COPY . . 01:27:11 ---> de0a103ee23a 01:27:11 Step 12/12 : RUN $MAKE 01:27:11 ---> Running in 411291b8ab2d 01:27:11 noop 01:27:11 Removing intermediate container 411291b8ab2d 01:27:11 ---> 38557eecbda1 01:27:11 Successfully built 38557eecbda1 01:27:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:11 + docker inspect -f . ci-base-image-x86_64 01:27:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:11 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:27:11 $ docker top 4605f5148c0b5dc276b85c20f3cb1957bc5c397a340e6fe30038667ab8687434 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:12 + go version 01:27:12 go version go1.21.9 linux/amd64 [Pipeline] } 01:27:12 $ docker stop --time=1 4605f5148c0b5dc276b85c20f3cb1957bc5c397a340e6fe30038667ab8687434 01:27:13 $ docker rm -f --volumes 4605f5148c0b5dc276b85c20f3cb1957bc5c397a340e6fe30038667ab8687434 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:13 + docker inspect -f . ci-base-image-x86_64 01:27:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:13 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:27:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:27:14 $ docker top 34c0a6d29539a60c5fa1a23ada7c90b032adb4076437f3b6439314c9ebee63e8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:27:14 + make test 01:27:14 go test ./... -coverprofile=coverage.out ./... 01:27:16 ? github.com/edgexfoundry/device-rest-go [no test files] 01:27:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:27:34 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 01:27:42 go vet ./... 01:27:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:46 ./bin/test-attribution-txt.sh 01:27:46 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:27:46 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:27:46 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:27:46 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:27:46 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:27:46 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:27:46 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:27:46 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:27:46 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:27:46 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:27:46 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:27:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:27:46 $ docker stop --time=1 34c0a6d29539a60c5fa1a23ada7c90b032adb4076437f3b6439314c9ebee63e8 01:27:51 $ docker rm -f --volumes 34c0a6d29539a60c5fa1a23ada7c90b032adb4076437f3b6439314c9ebee63e8 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:27:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:52 + ls -al . 01:27:52 total 248 01:27:52 drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 01:27 . 01:27:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 01:25 .. 01:27:52 -rw-rw-r-- 1 jenkins jenkins 151 Jul 26 01:25 .dockerignore 01:27:52 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:27 .git 01:27:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:25 .github 01:27:52 -rw-rw-r-- 1 jenkins jenkins 264 Jul 26 01:25 .gitignore 01:27:52 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 01:25 .golangci.yml 01:27:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 01:26 .semver 01:27:52 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 26 01:25 Attribution.txt 01:27:52 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 26 01:25 CHANGELOG.md 01:27:52 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 26 01:25 Dockerfile 01:27:52 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 01:25 GOVERNANCE.md 01:27:52 -rw-rw-r-- 1 jenkins jenkins 680 Jul 26 01:25 Jenkinsfile 01:27:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 26 01:25 LICENSE 01:27:52 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 26 01:25 Makefile 01:27:52 -rw-rw-r-- 1 jenkins jenkins 620 Jul 26 01:25 OWNERS.md 01:27:52 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 26 01:25 README.md 01:27:52 -rw-rw-r-- 1 jenkins jenkins 12 Jul 26 01:26 VERSION 01:27:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:25 bin 01:27:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:25 cmd 01:27:52 -rw-r--r-- 1 jenkins jenkins 14499 Jul 26 01:27 coverage.out 01:27:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:25 driver 01:27:52 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 26 01:25 go.mod 01:27:52 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 26 01:25 go.sum 01:27:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:25 openapi 01:27:52 -rw-rw-r-- 1 jenkins jenkins 713 Jul 26 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:52 + 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=e4e238686b828caed34ec9ef1ec6e6067dee5a1b --label arch=amd64 --label version=3.2.0-dev.18 . 01:27:52 Sending build context to Docker daemon 16.56MB 01:27:52 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:27:52 Step 2/26 : FROM ${BASE} AS builder 01:27:52 ---> 38557eecbda1 01:27:52 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:27:53 ---> Running in 8c0d67dc7171 01:27:53 Removing intermediate container 8c0d67dc7171 01:27:53 ---> db40ee2c69dc 01:27:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:53 ---> Running in 07a1e41dbfef 01:27:53 Removing intermediate container 07a1e41dbfef 01:27:53 ---> dc59bbc748a2 01:27:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:27:53 ---> Running in 2ec6fa4d8266 01:27:53 Removing intermediate container 2ec6fa4d8266 01:27:53 ---> 8356081eab05 01:27:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:27:53 ---> Running in 9614cb922be6 01:27:53 Removing intermediate container 9614cb922be6 01:27:53 ---> 4e866844171e 01:27:53 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:53 ---> Running in a99c51b823ac 01:27:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:27:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:27:54 OK: 268 MiB in 56 packages 01:27:54 Removing intermediate container a99c51b823ac 01:27:54 ---> c7ca8364de37 01:27:54 Step 8/26 : WORKDIR /device-rest-go 01:27:54 ---> Running in fdfb900fe923 01:27:54 Removing intermediate container fdfb900fe923 01:27:54 ---> 167d35756358 01:27:54 Step 9/26 : COPY go.mod vendor* ./ 01:27:54 ---> 8177749b576e 01:27:54 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:54 ---> Running in baa3a1c294cb 01:27:55 Removing intermediate container baa3a1c294cb 01:27:55 ---> fed06e92bb33 01:27:55 Step 11/26 : COPY . . 01:27:55 ---> 7c4666b06816 01:27:55 Step 12/26 : RUN $MAKE 01:27:55 ---> Running in 31f2306fa95f 01:27:56 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 01:28:28 Removing intermediate container 31f2306fa95f 01:28:28 ---> d7d12b792dbb 01:28:28 Step 13/26 : FROM alpine:3.18 01:28:28 3.18: Pulling from library/alpine 01:28:28 930bdd4d222e: Pulling fs layer 01:28:28 930bdd4d222e: Verifying Checksum 01:28:28 930bdd4d222e: Download complete 01:28:28 930bdd4d222e: Pull complete 01:28:28 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:28:28 Status: Downloaded newer image for alpine:3.18 01:28:28 ---> 18f865063206 01:28:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:28:28 ---> Running in 25443c2389f7 01:28:28 Removing intermediate container 25443c2389f7 01:28:28 ---> 3d9216b52dbf 01:28:28 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:28:28 ---> Running in 32bc167f7d0a 01:28:28 Removing intermediate container 32bc167f7d0a 01:28:28 ---> 761cb9bef58d 01:28:28 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:28:28 ---> Running in a4a53feb5958 01:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:28 (1/1) Installing dumb-init (1.2.5-r2) 01:28:28 Executing busybox-1.36.1-r7.trigger 01:28:28 OK: 7 MiB in 16 packages 01:28:28 Removing intermediate container a4a53feb5958 01:28:28 ---> 9a3b0cbb13d2 01:28:28 Step 17/26 : RUN apk --no-cache upgrade 01:28:28 ---> Running in 3e1c73e959fd 01:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:28 OK: 7 MiB in 16 packages 01:28:28 Removing intermediate container 3e1c73e959fd 01:28:28 ---> e9ce75d0afc0 01:28:28 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:28:28 ---> c1ab3e35bb1b 01:28:28 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:28:28 ---> 5dc8549bd4ff 01:28:28 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:28:28 ---> 53bf53520946 01:28:28 Step 21/26 : EXPOSE 59986 01:28:28 ---> Running in 1d517fea2caf 01:28:28 Removing intermediate container 1d517fea2caf 01:28:28 ---> 7f7ab85ce2cf 01:28:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:28:28 ---> Running in b477cfe6f9bb 01:28:28 Removing intermediate container b477cfe6f9bb 01:28:28 ---> c9f127862d5d 01:28:28 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:28:28 ---> Running in 588eeb702d79 01:28:28 Removing intermediate container 588eeb702d79 01:28:28 ---> 3d5a38ca0968 01:28:28 Step 24/26 : LABEL arch=amd64 01:28:28 ---> Running in 65f5c47ccfa1 01:28:28 Removing intermediate container 65f5c47ccfa1 01:28:28 ---> 6f83e2f2b645 01:28:28 Step 25/26 : LABEL git_sha=e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:28:28 ---> Running in b1c4d8e38298 01:28:29 Removing intermediate container b1c4d8e38298 01:28:29 ---> 3812377dd4c7 01:28:29 Step 26/26 : LABEL version=3.2.0-dev.18 01:28:29 ---> Running in 69f8678a3af6 01:28:29 Removing intermediate container 69f8678a3af6 01:28:29 ---> 8c5756ce4617 01:28:29 [Warning] One or more build-args [ARCH] were not consumed 01:28:29 Successfully built 8c5756ce4617 01:28:29 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:29 provisioning config files... 01:28:29 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5765318516641244837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:29 ---> ****-login.sh 01:28:29 nexus3.edgexfoundry.org:10001 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 nexus3.edgexfoundry.org:10002 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 nexus3.edgexfoundry.org:10003 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 nexus3.edgexfoundry.org:10004 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 ****.io 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 ---> ****-login.sh ends [Pipeline] } 01:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:28:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:28:30 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:28:30 e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:28:30 latest 01:28:30 3.2.0-dev.18 01:28:30 e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 01:28:30 main 01:28:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:28:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:28:30 0844e977e04d: Preparing 01:28:30 74b63e144ff8: Preparing 01:28:30 5cc799ac78b6: Preparing 01:28:30 03a44d637ae7: Preparing 01:28:30 de755952965c: Preparing 01:28:30 ce7f800efff9: Preparing 01:28:30 ce7f800efff9: Waiting 01:28:30 0844e977e04d: Pushed 01:28:30 de755952965c: Pushed 01:28:30 ce7f800efff9: Layer already exists 01:28:30 03a44d637ae7: Pushed 01:28:30 74b63e144ff8: Pushed 01:28:33 5cc799ac78b6: Pushed 01:28:33 e4e238686b828caed34ec9ef1ec6e6067dee5a1b: digest: sha256:83031097a80faabbbffcc5a6a5bb9b9387603353e037a068fdda6db148aa63da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:28:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:28:34 0844e977e04d: Preparing 01:28:34 74b63e144ff8: Preparing 01:28:34 5cc799ac78b6: Preparing 01:28:34 03a44d637ae7: Preparing 01:28:34 de755952965c: Preparing 01:28:34 ce7f800efff9: Preparing 01:28:34 ce7f800efff9: Waiting 01:28:34 5cc799ac78b6: Layer already exists 01:28:34 de755952965c: Layer already exists 01:28:34 03a44d637ae7: Layer already exists 01:28:34 0844e977e04d: Layer already exists 01:28:34 74b63e144ff8: Layer already exists 01:28:34 ce7f800efff9: Layer already exists 01:28:34 latest: digest: sha256:83031097a80faabbbffcc5a6a5bb9b9387603353e037a068fdda6db148aa63da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.18 01:28:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:28:35 0844e977e04d: Preparing 01:28:35 74b63e144ff8: Preparing 01:28:35 5cc799ac78b6: Preparing 01:28:35 03a44d637ae7: Preparing 01:28:35 de755952965c: Preparing 01:28:35 ce7f800efff9: Preparing 01:28:35 ce7f800efff9: Waiting 01:28:35 5cc799ac78b6: Layer already exists 01:28:35 03a44d637ae7: Layer already exists 01:28:35 0844e977e04d: Layer already exists 01:28:35 de755952965c: Layer already exists 01:28:35 74b63e144ff8: Layer already exists 01:28:35 ce7f800efff9: Layer already exists 01:28:35 3.2.0-dev.18: digest: sha256:83031097a80faabbbffcc5a6a5bb9b9387603353e037a068fdda6db148aa63da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 01:28:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:28:35 0844e977e04d: Preparing 01:28:35 74b63e144ff8: Preparing 01:28:35 5cc799ac78b6: Preparing 01:28:35 03a44d637ae7: Preparing 01:28:35 de755952965c: Preparing 01:28:35 ce7f800efff9: Preparing 01:28:35 ce7f800efff9: Waiting 01:28:35 5cc799ac78b6: Layer already exists 01:28:35 03a44d637ae7: Layer already exists 01:28:35 de755952965c: Layer already exists 01:28:35 0844e977e04d: Layer already exists 01:28:35 74b63e144ff8: Layer already exists 01:28:35 ce7f800efff9: Layer already exists 01:28:35 e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18: digest: sha256:83031097a80faabbbffcc5a6a5bb9b9387603353e037a068fdda6db148aa63da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:28:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:28:36 0844e977e04d: Preparing 01:28:36 74b63e144ff8: Preparing 01:28:36 5cc799ac78b6: Preparing 01:28:36 03a44d637ae7: Preparing 01:28:36 de755952965c: Preparing 01:28:36 ce7f800efff9: Preparing 01:28:36 ce7f800efff9: Waiting 01:28:36 03a44d637ae7: Layer already exists 01:28:36 74b63e144ff8: Layer already exists 01:28:36 de755952965c: Layer already exists 01:28:36 5cc799ac78b6: Layer already exists 01:28:36 0844e977e04d: Layer already exists 01:28:36 ce7f800efff9: Layer already exists 01:28:36 main: digest: sha256:83031097a80faabbbffcc5a6a5bb9b9387603353e037a068fdda6db148aa63da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:28:36 ===================================================== [Pipeline] echo 01:28:36 taggedImages: 01:28:36 - nexus3.edgexfoundry.org:10004/device-rest:e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:28:36 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:28:36 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.18 01:28:36 - nexus3.edgexfoundry.org:10004/device-rest:e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 01:28:36 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:37 01:28:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:37 latest: Pulling from edgex-lftools-log-publisher 01:28:37 5eb5b503b376: Pulling fs layer 01:28:37 5c69ac0246d0: Pulling fs layer 01:28:37 ec43610c2a17: Pulling fs layer 01:28:37 3a2ae6a8a46f: Pulling fs layer 01:28:37 33b1e0a273af: Pulling fs layer 01:28:37 5d3b04190fa2: Pulling fs layer 01:28:37 2f39f015ded8: Pulling fs layer 01:28:37 3a2ae6a8a46f: Waiting 01:28:37 33b1e0a273af: Waiting 01:28:37 5d3b04190fa2: Waiting 01:28:37 2f39f015ded8: Waiting 01:28:37 5c69ac0246d0: Download complete 01:28:37 3a2ae6a8a46f: Verifying Checksum 01:28:37 3a2ae6a8a46f: Download complete 01:28:37 33b1e0a273af: Verifying Checksum 01:28:37 33b1e0a273af: Download complete 01:28:37 ec43610c2a17: Verifying Checksum 01:28:37 ec43610c2a17: Download complete 01:28:37 5d3b04190fa2: Verifying Checksum 01:28:37 5d3b04190fa2: Download complete 01:28:37 5eb5b503b376: Verifying Checksum 01:28:37 5eb5b503b376: Download complete 01:28:38 2f39f015ded8: Download complete 01:28:38 5eb5b503b376: Pull complete 01:28:38 5c69ac0246d0: Pull complete 01:28:39 ec43610c2a17: Pull complete 01:28:39 3a2ae6a8a46f: Pull complete 01:28:39 33b1e0a273af: Pull complete 01:28:39 5d3b04190fa2: Pull complete 01:28:44 2f39f015ded8: Pull complete 01:28:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:45 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:28:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:28:49 $ docker top c9aff52732da948d716067c98425ccc0d2b45e8813b2a20bfcb30d82f9df5fa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:50 ---> job-cost.sh 01:28:50 lf-activate-venv: SKIPPING 01:28:50 INFO: No Stack... 01:28:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:50 INFO: Archiving Costs [Pipeline] sh 01:28:51 + cut -d, -f6 01:28:51 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 01:28:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] 01:28:51 Resource [jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] did not exist. Created. 01:28:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:28:51 Stashed 1 file(s) [Pipeline] } 01:28:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:51 $ docker stop --time=1 c9aff52732da948d716067c98425ccc0d2b45e8813b2a20bfcb30d82f9df5fa1 01:28:52 $ docker rm -f --volumes c9aff52732da948d716067c98425ccc0d2b45e8813b2a20bfcb30d82f9df5fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6491 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:29:06 Running in /w/workspace/device-rest-go/170 [Pipeline] { [Pipeline] checkout 01:29:06 The recommended git tool is: git 01:29:15 using credential edgex-jenkins-ssh 01:29:15 Cloning the remote Git repository 01:29:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:29:15 > git init /w/workspace/device-rest-go/170 # timeout=10 01:29:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:29:15 > git --version # timeout=10 01:29:15 > git --version # 'git version 2.25.1' 01:29:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:29:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:20 Avoid second fetch 01:29:20 Checking out Revision e4e238686b828caed34ec9ef1ec6e6067dee5a1b (main) 01:29:21 Commit message: "Merge pull request #402 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" 01:29:20 > git config core.sparsecheckout # timeout=10 01:29:20 > git checkout -f e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:26 Dload Upload Total Spent Left Speed 01:29:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 01:29:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:26 + sudo tee /etc/docker/daemon.new 01:29:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:29:26 { 01:29:26 "registry-mirrors": [ 01:29:26 "https://nexus3.edgexfoundry.org:10001" 01:29:26 ], 01:29:26 "bip": "10.250.0.254/24", 01:29:26 "hosts": [ 01:29:26 "tcp://0.0.0.0:5555", 01:29:26 "unix:///var/run/docker.sock" 01:29:26 ], 01:29:26 "mtu": 1458, 01:29:26 "selinux-enabled": true, 01:29:26 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:26 } [Pipeline] sh 01:29:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:45 provisioning config files... 01:29:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/170@tmp/config1525225705627448907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:46 ---> ****-login.sh 01:29:46 nexus3.edgexfoundry.org:10001 01:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:46 Configure a credential helper to remove this warning. See 01:29:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:46 01:29:46 Login Succeeded 01:29:46 nexus3.edgexfoundry.org:10002 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 nexus3.edgexfoundry.org:10003 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 nexus3.edgexfoundry.org:10004 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 ****.io 01:29:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:48 Configure a credential helper to remove this warning. See 01:29:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:48 01:29:48 Login Succeeded 01:29:48 ---> ****-login.sh ends [Pipeline] } 01:29:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:29:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:29:48 ========================================================= 01:29:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:29:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:49 + 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 . 01:29:49 Sending build context to Docker daemon 130.6kB 01:29:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:29:49 Step 2/12 : FROM ${BASE} AS builder 01:29:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:29:49 c6b39de5b339: Pulling fs layer 01:29:49 a69c41024577: Pulling fs layer 01:29:49 d6de4b400683: Pulling fs layer 01:29:49 35cb2a7552d0: Pulling fs layer 01:29:49 4f4fb700ef54: Pulling fs layer 01:29:49 464afbd9ba4c: Pulling fs layer 01:29:49 00f215d4a9da: Pulling fs layer 01:29:49 d496ad576159: Pulling fs layer 01:29:49 464afbd9ba4c: Waiting 01:29:49 00f215d4a9da: Waiting 01:29:49 d496ad576159: Waiting 01:29:49 35cb2a7552d0: Waiting 01:29:49 4f4fb700ef54: Waiting 01:29:49 a69c41024577: Verifying Checksum 01:29:49 a69c41024577: Download complete 01:29:49 35cb2a7552d0: Verifying Checksum 01:29:49 35cb2a7552d0: Download complete 01:29:49 4f4fb700ef54: Verifying Checksum 01:29:49 4f4fb700ef54: Download complete 01:29:49 464afbd9ba4c: Verifying Checksum 01:29:49 464afbd9ba4c: Download complete 01:29:49 c6b39de5b339: Verifying Checksum 01:29:49 c6b39de5b339: Download complete 01:29:50 d496ad576159: Verifying Checksum 01:29:50 d496ad576159: Download complete 01:29:50 c6b39de5b339: Pull complete 01:29:51 a69c41024577: Pull complete 01:29:51 d6de4b400683: Verifying Checksum 01:29:51 d6de4b400683: Download complete 01:29:52 00f215d4a9da: Verifying Checksum 01:29:52 00f215d4a9da: Download complete 01:30:04 d6de4b400683: Pull complete 01:30:04 35cb2a7552d0: Pull complete 01:30:04 4f4fb700ef54: Pull complete 01:30:05 464afbd9ba4c: Pull complete 01:30:15 00f215d4a9da: Pull complete 01:30:16 d496ad576159: Pull complete 01:30:16 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:30:16 ---> f246e2811388 01:30:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:30:19 ---> Running in f9113c8e5cbd 01:30:19 Removing intermediate container f9113c8e5cbd 01:30:19 ---> 4ed1581614c8 01:30:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:19 ---> Running in 8b5ca189900b 01:30:19 Removing intermediate container 8b5ca189900b 01:30:19 ---> d0e02ffeeec3 01:30:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:19 ---> Running in 707763b88827 01:30:19 Removing intermediate container 707763b88827 01:30:19 ---> 643f8264610a 01:30:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:19 ---> Running in bfcfe03d3f62 01:30:20 Removing intermediate container bfcfe03d3f62 01:30:20 ---> 6189a8c70ee3 01:30:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:20 ---> Running in 3064bed2686b 01:30:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:30:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:30:24 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:30:24 (2/4) Installing libedit (20221030.3.1-r1) 01:30:24 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:30:24 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:30:24 Executing busybox-1.36.1-r5.trigger 01:30:24 OK: 271 MiB in 56 packages 01:30:25 Removing intermediate container 3064bed2686b 01:30:25 ---> 4786a227443c 01:30:25 Step 8/12 : WORKDIR /device-rest-go 01:30:25 ---> Running in 37b4cb76f5f3 01:30:26 Removing intermediate container 37b4cb76f5f3 01:30:26 ---> 1bd236f7e8a5 01:30:26 Step 9/12 : COPY go.mod vendor* ./ 01:30:26 ---> e741113fff2b 01:30:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:26 ---> Running in b1066ed0f599 01:32:33 Removing intermediate container b1066ed0f599 01:32:33 ---> 9465c22d0370 01:32:33 Step 11/12 : COPY . . 01:32:33 ---> d30cc1023e06 01:32:33 Step 12/12 : RUN $MAKE 01:32:33 ---> Running in d3127c5e6f36 01:32:33 noop 01:32:33 Removing intermediate container d3127c5e6f36 01:32:33 ---> c7d04413135e 01:32:33 Successfully built c7d04413135e 01:32:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:34 + docker inspect -f . ci-base-image-arm64 01:32:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:34 prd-ubuntu20.04-docker-arm64-4c-16g-6491 does not seem to be running inside a container 01:32:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/170 -v /w/workspace/device-rest-go/170:/w/workspace/device-rest-go/170:rw,z -v /w/workspace/device-rest-go/170@tmp:/w/workspace/device-rest-go/170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:35 $ docker top e4777c54dabe5554e28b2883bfcc4eb52804cc23b0ce2c023f36f8dc49c614bb -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:36 + go version 01:32:36 go version go1.21.9 linux/arm64 [Pipeline] } 01:32:36 $ docker stop --time=1 e4777c54dabe5554e28b2883bfcc4eb52804cc23b0ce2c023f36f8dc49c614bb 01:32:38 $ docker rm -f --volumes e4777c54dabe5554e28b2883bfcc4eb52804cc23b0ce2c023f36f8dc49c614bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:39 + docker inspect -f . ci-base-image-arm64 01:32:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:39 prd-ubuntu20.04-docker-arm64-4c-16g-6491 does not seem to be running inside a container 01:32:39 $ 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/170 -v /w/workspace/device-rest-go/170:/w/workspace/device-rest-go/170:rw,z -v /w/workspace/device-rest-go/170@tmp:/w/workspace/device-rest-go/170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:40 $ docker top 51b5826a33edfe32fa7ba9578bdd0cf7efcc5794c22b61e9c95b32f4052c6b71 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:41 + git config --global --add safe.directory /w/workspace/device-rest-go/170 [Pipeline] fileExists [Pipeline] sh 01:32:42 + make test 01:32:42 go test ./... -coverprofile=coverage.out ./... 01:32:49 ? github.com/edgexfoundry/device-rest-go [no test files] 01:36:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:36:44 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 33.2% of statements 01:36:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:36:44 go vet ./... 01:37:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:37:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:37:41 ./bin/test-attribution-txt.sh 01:37:41 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:37:41 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:37:41 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:37:41 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:37:41 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:37:41 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:37:41 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:37:41 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:37:41 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:37:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:37:41 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:37:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:37:41 $ docker stop --time=1 51b5826a33edfe32fa7ba9578bdd0cf7efcc5794c22b61e9c95b32f4052c6b71 01:37:43 $ docker rm -f --volumes 51b5826a33edfe32fa7ba9578bdd0cf7efcc5794c22b61e9c95b32f4052c6b71 [Pipeline] // withDockerContainer [Pipeline] sh 01:37:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:37:45 Warning: overwriting stash ‘coverage-report’ 01:37:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:37:46 + ls -al . 01:37:46 total 244 01:37:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:32 . 01:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 01:29 .. 01:37:46 -rw-rw-r-- 1 jenkins jenkins 151 Jul 26 01:29 .dockerignore 01:37:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:29 .git 01:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:29 .github 01:37:46 -rw-rw-r-- 1 jenkins jenkins 264 Jul 26 01:29 .gitignore 01:37:46 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 01:29 .golangci.yml 01:37:46 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 26 01:29 Attribution.txt 01:37:46 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 26 01:29 CHANGELOG.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 26 01:29 Dockerfile 01:37:46 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 01:29 GOVERNANCE.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 680 Jul 26 01:29 Jenkinsfile 01:37:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 26 01:29 LICENSE 01:37:46 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 26 01:29 Makefile 01:37:46 -rw-rw-r-- 1 jenkins jenkins 620 Jul 26 01:29 OWNERS.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 26 01:29 README.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 12 Jul 26 01:26 VERSION 01:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:29 bin 01:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:29 cmd 01:37:46 -rw-r--r-- 1 jenkins jenkins 14499 Jul 26 01:36 coverage.out 01:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:29 driver 01:37:46 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 26 01:29 go.mod 01:37:46 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 26 01:29 go.sum 01:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:29 openapi 01:37:46 -rw-rw-r-- 1 jenkins jenkins 713 Jul 26 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:46 + 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=e4e238686b828caed34ec9ef1ec6e6067dee5a1b --label arch=arm64 --label version=3.2.0-dev.18 . 01:37:46 Sending build context to Docker daemon 145.9kB 01:37:46 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:37:46 Step 2/26 : FROM ${BASE} AS builder 01:37:46 ---> c7d04413135e 01:37:46 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:37:47 ---> Running in 4a45ecdb8206 01:37:47 Removing intermediate container 4a45ecdb8206 01:37:47 ---> 909b4b317105 01:37:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:47 ---> Running in 3c543acd2b68 01:37:47 Removing intermediate container 3c543acd2b68 01:37:47 ---> ca3678dbb6d3 01:37:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:37:47 ---> Running in 506663c76feb 01:37:48 Removing intermediate container 506663c76feb 01:37:48 ---> 508b446bd309 01:37:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:37:48 ---> Running in 660d5cc0d789 01:37:48 Removing intermediate container 660d5cc0d789 01:37:48 ---> c7f340550243 01:37:48 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:48 ---> Running in 3888cbf5baae 01:37:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:37:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:37:51 OK: 271 MiB in 56 packages 01:37:52 Removing intermediate container 3888cbf5baae 01:37:52 ---> a2676de2e162 01:37:52 Step 8/26 : WORKDIR /device-rest-go 01:37:52 ---> Running in 1a301aab16d6 01:37:52 Removing intermediate container 1a301aab16d6 01:37:52 ---> 7839feb8dcd2 01:37:52 Step 9/26 : COPY go.mod vendor* ./ 01:37:53 ---> f540b80f7c28 01:37:53 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:53 ---> Running in 9cef23808267 01:37:56 Removing intermediate container 9cef23808267 01:37:56 ---> 028b03b62328 01:37:56 Step 11/26 : COPY . . 01:37:56 ---> df03f5f512cd 01:37:56 Step 12/26 : RUN $MAKE 01:37:56 ---> Running in dcee3cb9c4c7 01:37:57 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 01:41:49 Removing intermediate container dcee3cb9c4c7 01:41:49 ---> e084794b1354 01:41:49 Step 13/26 : FROM alpine:3.18 01:41:49 3.18: Pulling from library/alpine 01:41:49 4983c3fe2029: Pulling fs layer 01:41:49 4983c3fe2029: Verifying Checksum 01:41:49 4983c3fe2029: Download complete 01:41:49 4983c3fe2029: Pull complete 01:41:49 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:41:49 Status: Downloaded newer image for alpine:3.18 01:41:49 ---> a0237000ae83 01:41:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:41:49 ---> Running in aaae0033fd85 01:41:49 Removing intermediate container aaae0033fd85 01:41:49 ---> 57fd119b70a6 01:41:49 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:41:49 ---> Running in 7a77cf1b967b 01:41:49 Removing intermediate container 7a77cf1b967b 01:41:49 ---> 443bb0c6e155 01:41:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:41:49 ---> Running in 87ed07a4c5d4 01:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:41:49 (1/1) Installing dumb-init (1.2.5-r2) 01:41:49 Executing busybox-1.36.1-r7.trigger 01:41:49 OK: 8 MiB in 16 packages 01:41:49 Removing intermediate container 87ed07a4c5d4 01:41:49 ---> ab9b32901b87 01:41:49 Step 17/26 : RUN apk --no-cache upgrade 01:41:49 ---> Running in a735095785df 01:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:41:51 OK: 8 MiB in 16 packages 01:41:52 Removing intermediate container a735095785df 01:41:52 ---> 1e3095d9917f 01:41:52 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:41:54 ---> 1d08197aff47 01:41:54 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:41:54 ---> b3612488c16b 01:41:54 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:41:54 ---> bdbb4ccbb3e1 01:41:54 Step 21/26 : EXPOSE 59986 01:41:54 ---> Running in 50c6e5f8b00c 01:41:55 Removing intermediate container 50c6e5f8b00c 01:41:55 ---> fe3a77c249ee 01:41:55 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:41:55 ---> Running in 9a4374997065 01:41:55 Removing intermediate container 9a4374997065 01:41:55 ---> 8144bbf26d4a 01:41:55 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:41:56 ---> Running in 20b4b9b586b5 01:41:56 Removing intermediate container 20b4b9b586b5 01:41:56 ---> 5232df4b0826 01:41:56 Step 24/26 : LABEL arch=arm64 01:41:56 ---> Running in 63606c619fc1 01:41:56 Removing intermediate container 63606c619fc1 01:41:56 ---> 3a02fb4927c7 01:41:56 Step 25/26 : LABEL git_sha=e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:41:56 ---> Running in a8cd0b9353f0 01:41:57 Removing intermediate container a8cd0b9353f0 01:41:57 ---> 3ceb17457c6e 01:41:57 Step 26/26 : LABEL version=3.2.0-dev.18 01:41:57 ---> Running in 44864a3cf74b 01:41:57 Removing intermediate container 44864a3cf74b 01:41:57 ---> ffb033a7d2b5 01:41:57 [Warning] One or more build-args [ARCH] were not consumed 01:41:57 Successfully built ffb033a7d2b5 01:41:57 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 01:41:57 provisioning config files... 01:41:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/170@tmp/config5935036771559569649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:58 ---> ****-login.sh 01:41:58 nexus3.edgexfoundry.org:10001 01:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:58 Configure a credential helper to remove this warning. See 01:41:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:58 01:41:58 Login Succeeded 01:41:58 nexus3.edgexfoundry.org:10002 01:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:59 Configure a credential helper to remove this warning. See 01:41:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:59 01:41:59 Login Succeeded 01:41:59 nexus3.edgexfoundry.org:10003 01:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:59 Configure a credential helper to remove this warning. See 01:41:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:59 01:41:59 Login Succeeded 01:41:59 nexus3.edgexfoundry.org:10004 01:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:59 Configure a credential helper to remove this warning. See 01:41:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:59 01:41:59 Login Succeeded 01:41:59 ****.io 01:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:00 Configure a credential helper to remove this warning. See 01:42:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:00 01:42:00 Login Succeeded 01:42:00 ---> ****-login.sh ends [Pipeline] } 01:42:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:42:00 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:42:00 e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:42:00 latest 01:42:00 3.2.0-dev.18 01:42:00 e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 01:42:00 main 01:42:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:42:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:01 6759aba8b6b8: Preparing 01:42:01 fc963a9efb9b: Preparing 01:42:01 e5bdb94fb574: Preparing 01:42:01 0acbaf29bbfe: Preparing 01:42:01 dad748be5c07: Preparing 01:42:01 3c20671a5817: Preparing 01:42:01 3c20671a5817: Waiting 01:42:01 6759aba8b6b8: Pushed 01:42:01 0acbaf29bbfe: Pushed 01:42:01 fc963a9efb9b: Pushed 01:42:01 dad748be5c07: Pushed 01:42:01 3c20671a5817: Layer already exists 01:42:08 e5bdb94fb574: Pushed 01:42:08 e4e238686b828caed34ec9ef1ec6e6067dee5a1b: digest: sha256:50131710afbfa8d55bd29be56644bd27c0497de9e7ec7d3542a2fc7178d23c8a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:42:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:08 6759aba8b6b8: Preparing 01:42:08 fc963a9efb9b: Preparing 01:42:08 e5bdb94fb574: Preparing 01:42:08 0acbaf29bbfe: Preparing 01:42:08 dad748be5c07: Preparing 01:42:08 3c20671a5817: Preparing 01:42:08 3c20671a5817: Waiting 01:42:08 6759aba8b6b8: Layer already exists 01:42:08 e5bdb94fb574: Layer already exists 01:42:08 0acbaf29bbfe: Layer already exists 01:42:08 fc963a9efb9b: Layer already exists 01:42:08 dad748be5c07: Layer already exists 01:42:08 3c20671a5817: Layer already exists 01:42:09 latest: digest: sha256:50131710afbfa8d55bd29be56644bd27c0497de9e7ec7d3542a2fc7178d23c8a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.18 01:42:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:09 6759aba8b6b8: Preparing 01:42:09 fc963a9efb9b: Preparing 01:42:09 e5bdb94fb574: Preparing 01:42:09 0acbaf29bbfe: Preparing 01:42:09 dad748be5c07: Preparing 01:42:09 3c20671a5817: Preparing 01:42:09 3c20671a5817: Waiting 01:42:09 fc963a9efb9b: Layer already exists 01:42:09 6759aba8b6b8: Layer already exists 01:42:09 dad748be5c07: Layer already exists 01:42:09 e5bdb94fb574: Layer already exists 01:42:09 0acbaf29bbfe: Layer already exists 01:42:09 3c20671a5817: Layer already exists 01:42:10 3.2.0-dev.18: digest: sha256:50131710afbfa8d55bd29be56644bd27c0497de9e7ec7d3542a2fc7178d23c8a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 01:42:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:11 6759aba8b6b8: Preparing 01:42:11 fc963a9efb9b: Preparing 01:42:11 e5bdb94fb574: Preparing 01:42:11 0acbaf29bbfe: Preparing 01:42:11 dad748be5c07: Preparing 01:42:11 3c20671a5817: Preparing 01:42:11 3c20671a5817: Waiting 01:42:11 fc963a9efb9b: Layer already exists 01:42:11 6759aba8b6b8: Layer already exists 01:42:11 0acbaf29bbfe: Layer already exists 01:42:11 e5bdb94fb574: Layer already exists 01:42:11 dad748be5c07: Layer already exists 01:42:11 3c20671a5817: Layer already exists 01:42:12 e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18: digest: sha256:50131710afbfa8d55bd29be56644bd27c0497de9e7ec7d3542a2fc7178d23c8a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:42:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:42:12 6759aba8b6b8: Preparing 01:42:12 fc963a9efb9b: Preparing 01:42:12 e5bdb94fb574: Preparing 01:42:12 0acbaf29bbfe: Preparing 01:42:12 dad748be5c07: Preparing 01:42:12 3c20671a5817: Preparing 01:42:12 3c20671a5817: Waiting 01:42:12 6759aba8b6b8: Layer already exists 01:42:12 fc963a9efb9b: Layer already exists 01:42:12 0acbaf29bbfe: Layer already exists 01:42:12 e5bdb94fb574: Layer already exists 01:42:12 dad748be5c07: Layer already exists 01:42:12 3c20671a5817: Layer already exists 01:42:13 main: digest: sha256:50131710afbfa8d55bd29be56644bd27c0497de9e7ec7d3542a2fc7178d23c8a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:13 ===================================================== [Pipeline] echo 01:42:13 taggedImages: 01:42:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e4e238686b828caed34ec9ef1ec6e6067dee5a1b 01:42:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:42:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.18 01:42:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e4e238686b828caed34ec9ef1ec6e6067dee5a1b-3.2.0-dev.18 01:42:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:13 01:42:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:14 arm64: Pulling from edgex-lftools-log-publisher 01:42:14 8998bd30e6a1: Pulling fs layer 01:42:14 04944245beec: Pulling fs layer 01:42:14 699f458cf7ca: Pulling fs layer 01:42:14 765212b225bb: Pulling fs layer 01:42:14 f23df028b6ca: Pulling fs layer 01:42:14 d65c8cfc05b1: Pulling fs layer 01:42:14 2437ff75d9bd: Pulling fs layer 01:42:14 765212b225bb: Waiting 01:42:14 f23df028b6ca: Waiting 01:42:14 d65c8cfc05b1: Waiting 01:42:14 2437ff75d9bd: Waiting 01:42:14 04944245beec: Verifying Checksum 01:42:14 04944245beec: Download complete 01:42:14 765212b225bb: Verifying Checksum 01:42:14 765212b225bb: Download complete 01:42:14 f23df028b6ca: Verifying Checksum 01:42:14 f23df028b6ca: Download complete 01:42:14 d65c8cfc05b1: Verifying Checksum 01:42:14 d65c8cfc05b1: Download complete 01:42:14 699f458cf7ca: Verifying Checksum 01:42:14 699f458cf7ca: Download complete 01:42:15 8998bd30e6a1: Verifying Checksum 01:42:15 8998bd30e6a1: Download complete 01:42:17 2437ff75d9bd: Verifying Checksum 01:42:17 2437ff75d9bd: Download complete 01:42:20 8998bd30e6a1: Pull complete 01:42:20 04944245beec: Pull complete 01:42:22 699f458cf7ca: Pull complete 01:42:22 765212b225bb: Pull complete 01:42:23 f23df028b6ca: Pull complete 01:42:23 d65c8cfc05b1: Pull complete 01:42:40 2437ff75d9bd: Pull complete 01:42:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:41 prd-ubuntu20.04-docker-arm64-4c-16g-6491 does not seem to be running inside a container 01:42:41 $ 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/170 -v /w/workspace/device-rest-go/170:/w/workspace/device-rest-go/170:rw,z -v /w/workspace/device-rest-go/170@tmp:/w/workspace/device-rest-go/170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:42:44 $ docker top 3d2751c05cfdf1b001c64398d052a1104975ef60aa3a67096d26f3f43922d275 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:45 ---> job-cost.sh 01:42:45 lf-activate-venv: SKIPPING 01:42:45 INFO: No Stack... 01:42:45 INFO: Retrieving Pricing Info for: v3-standard-4 01:42:46 INFO: Archiving Costs [Pipeline] sh 01:42:47 + cat /w/workspace/device-rest-go/170/archives/cost.csv 01:42:47 + cut -d, -f6 [Pipeline] lock 01:42:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] 01:42:47 Resource [jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] did not exist. Created. 01:42:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:42:47 /w/workspace/device-rest-go/170@tmp/durable-142ed4e6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:42:48 + echo total: 0.10999999940395355 [Pipeline] stash 01:42:48 Warning: overwriting stash ‘stack-cost’ 01:42:48 Stashed 1 file(s) [Pipeline] } 01:42:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-170-stack-cost] [Pipeline] // lock [Pipeline] } 01:42:48 $ docker stop --time=1 3d2751c05cfdf1b001c64398d052a1104975ef60aa3a67096d26f3f43922d275 01:42:50 $ docker rm -f --volumes 3d2751c05cfdf1b001c64398d052a1104975ef60aa3a67096d26f3f43922d275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:42:50 provisioning config files... 01:42:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11491332680423996070tmp [Pipeline] { [Pipeline] sh 01:42:51 + set +x 01:42:51 + + curlbash -s -s https://codecov.io/bash -- 01:42:51 01:42:51 01:42:51 _____ _ 01:42:51 / ____| | | 01:42:51 | | ___ __| | ___ ___ _____ __ 01:42:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:42:51 | |___| (_) | (_| | __/ (_| (_) \ V / 01:42:51 \_____\___/ \__,_|\___|\___\___/ \_/ 01:42:51 Bash-1.0.6 01:42:51 01:42:51 01:42:51 ==> git version 2.25.1 found 01:42:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:42:51 Release-Date: 2020-01-08 01:42:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:42:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:42:51 ==> Jenkins CI detected. 01:42:51 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:42:51 project root: . 01:42:51 --> token set from env 01:42:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:42:51 ==> Running gcov in . (disable via -X gcov) 01:42:51 ==> Python coveragepy not found 01:42:51 ==> Searching for coverage reports in: 01:42:51 + . 01:42:51 -> Found 1 reports 01:42:51 ==> Detecting git/mercurial file structure 01:42:51 ==> Reading reports 01:42:51 + ./coverage.out bytes=14499 01:42:51 ==> Appending adjustments 01:42:51 https://docs.codecov.io/docs/fixing-reports 01:42:51 + Found adjustments 01:42:51 ==> Gzipping contents 01:42:51 4.0K /tmp/codecov.ZgKu70.gz 01:42:51 ==> Uploading reports 01:42:51 url: https://codecov.io 01:42:51 query: branch=main&commit=e4e238686b828caed34ec9ef1ec6e6067dee5a1b&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F170%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:42:51 -> Pinging Codecov 01:42:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e4e238686b828caed34ec9ef1ec6e6067dee5a1b&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F170%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:42:51 -> Uploading to 01:42:51 https://storage.googleapis.com/codecov/v4/raw/2024-07-26/4E5D53B4F1F92C436F7061BF334D961C/e4e238686b828caed34ec9ef1ec6e6067dee5a1b/d9e79907-37b9-41ff-83b4-797bfffbaa97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240726%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240726T014251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6407f6833982fd0c3211d499e606160c36ad18faef50c07d5072f62a9d56222 01:42:51 % Total % Received % Xferd Average Speed Time Time Time Current 01:42:51 Dload Upload Total Spent Left Speed 01:42:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9512 --:--:-- --:--:-- --:--:-- 9512 01:42:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] } 01:42:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:42:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:42:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:42:52 01:42:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:42:52 latest: Pulling from edgex-devops/edgex-snyk-go 01:42:52 619be1103602: Already exists 01:42:52 f8ea3408117e: Pulling fs layer 01:42:52 91320369b822: Pulling fs layer 01:42:52 0406650e8295: Pulling fs layer 01:42:52 4f4fb700ef54: Pulling fs layer 01:42:52 96d80e3f36e1: Pulling fs layer 01:42:52 bcf3aedb951c: Pulling fs layer 01:42:52 4f4fb700ef54: Waiting 01:42:52 96d80e3f36e1: Waiting 01:42:52 bcf3aedb951c: Waiting 01:42:52 0406650e8295: Verifying Checksum 01:42:52 0406650e8295: Download complete 01:42:52 f8ea3408117e: Verifying Checksum 01:42:52 f8ea3408117e: Download complete 01:42:52 4f4fb700ef54: Verifying Checksum 01:42:52 4f4fb700ef54: Download complete 01:42:52 f8ea3408117e: Pull complete 01:42:53 96d80e3f36e1: Verifying Checksum 01:42:53 96d80e3f36e1: Download complete 01:42:53 91320369b822: Verifying Checksum 01:42:53 91320369b822: Download complete 01:42:53 bcf3aedb951c: Verifying Checksum 01:42:53 bcf3aedb951c: Download complete 01:42:56 91320369b822: Pull complete 01:42:56 0406650e8295: Pull complete 01:42:56 4f4fb700ef54: Pull complete 01:42:56 96d80e3f36e1: Pull complete 01:42:59 bcf3aedb951c: Pull complete 01:42:59 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 01:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:42:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:59 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:43:03 $ docker top 04970a864d277d4859f0f07af34f48c9c9794d96f6a4c58d7a9580c21dde5f24 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:43:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:43:04 + set -o pipefail 01:43:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:43:11 01:43:11 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:43:11 01:43:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/e20f7dc2-e758-4bed-a53e-e77cb006103d 01:43:11 01:43:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:43:11 01:43:11 01:43:11 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:43:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:43:11 $ docker stop --time=1 04970a864d277d4859f0f07af34f48c9c9794d96f6a4c58d7a9580c21dde5f24 01:43:16 $ docker rm -f --volumes 04970a864d277d4859f0f07af34f48c9c9794d96f6a4c58d7a9580c21dde5f24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:17 + git log --format=format:%s -1 e4e238686b828caed34ec9ef1ec6e6067dee5a1b [Pipeline] sh 01:43:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:18 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:43:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:43:19 $ docker top 39c36b878330caced6b316570e581048c5dd92c28b525cdae68098d2909de86a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:19 [ssh-agent] Looking for ssh-agent implementation... 01:43:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:19 $ docker exec 39c36b878330caced6b316570e581048c5dd92c28b525cdae68098d2909de86a ssh-agent 01:43:19 SSH_AUTH_SOCK=/tmp/ssh-wPlhKK5MVFlH/agent.33 01:43:19 SSH_AGENT_PID=39 01:43:19 Running ssh-add (command line suppressed) 01:43:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16714091345568517004.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16714091345568517004.key) 01:43:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:19 + git semver tag 01:43:20 2024-07-26 01:43:20,060 [run_tag] DEBUG tag force:False 01:43:20 2024-07-26 01:43:20,060 [check_head_tag] DEBUG check head tag 01:43:20 2024-07-26 01:43:20,061 [execute] INFO git cat-file --batch-check 01:43:20 2024-07-26 01:43:20,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:43:20 2024-07-26 01:43:20,064 [execute] INFO git cat-file --batch 01:43:20 2024-07-26 01:43:20,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:43:20 2024-07-26 01:43:20,084 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:20 2024-07-26 01:43:20,084 [execute] INFO git tag -a v3.2.0-dev.18 -m v3.2.0-dev.18 01:43:20 2024-07-26 01:43:20,084 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.18', '-m', 'v3.2.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:43:20 2024-07-26 01:43:20,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:20 3.2.0-dev.18 [Pipeline] } 01:43:20 $ docker exec --env ******** --env ******** 39c36b878330caced6b316570e581048c5dd92c28b525cdae68098d2909de86a ssh-agent -k 01:43:20 unset SSH_AUTH_SOCK; 01:43:20 unset SSH_AGENT_PID; 01:43:20 echo Agent pid 39 killed; 01:43:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:20 + git semver [Pipeline] } 01:43:20 $ docker stop --time=1 39c36b878330caced6b316570e581048c5dd92c28b525cdae68098d2909de86a 01:43:22 $ docker rm -f --volumes 39c36b878330caced6b316570e581048c5dd92c28b525cdae68098d2909de86a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:22 01:43:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:22 0.23.1-centos7: Pulling from edgex-lftools 01:43:22 ab5ef0e58194: Pulling fs layer 01:43:22 9712f1f96733: Pulling fs layer 01:43:22 63f879dbbcfc: Pulling fs layer 01:43:22 0d9ebad4ef96: Pulling fs layer 01:43:22 e9a5061849ea: Pulling fs layer 01:43:22 d747dcd14b5f: Pulling fs layer 01:43:22 2de7ff778b66: Pulling fs layer 01:43:22 0d9ebad4ef96: Waiting 01:43:22 e9a5061849ea: Waiting 01:43:22 d747dcd14b5f: Waiting 01:43:22 9712f1f96733: Verifying Checksum 01:43:22 9712f1f96733: Download complete 01:43:23 63f879dbbcfc: Verifying Checksum 01:43:23 63f879dbbcfc: Download complete 01:43:23 e9a5061849ea: Verifying Checksum 01:43:23 e9a5061849ea: Download complete 01:43:23 d747dcd14b5f: Verifying Checksum 01:43:23 d747dcd14b5f: Download complete 01:43:23 0d9ebad4ef96: Verifying Checksum 01:43:23 0d9ebad4ef96: Download complete 01:43:23 ab5ef0e58194: Verifying Checksum 01:43:23 ab5ef0e58194: Download complete 01:43:23 2de7ff778b66: Verifying Checksum 01:43:23 2de7ff778b66: Download complete 01:43:25 ab5ef0e58194: Pull complete 01:43:25 9712f1f96733: Pull complete 01:43:26 63f879dbbcfc: Pull complete 01:43:29 0d9ebad4ef96: Pull complete 01:43:30 e9a5061849ea: Pull complete 01:43:30 d747dcd14b5f: Pull complete 01:43:31 2de7ff778b66: Pull complete 01:43:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:43:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:43:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:31 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:43:37 $ docker top 1539ad469c852cfad05e30f5a218f4d13acba443bf9ce6ec5cda14c27765a64a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:43:37 provisioning config files... 01:43:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10066673726267508248tmp 01:43:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15519943816500043359tmp 01:43:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4490322104524888722tmp [Pipeline] { [Pipeline] echo 01:43:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:43:38 ---> sigul-configuration.sh 01:43:38 gpg: directory `/root/.gnupg' created 01:43:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:43:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:43:38 gpg: keyring `/root/.gnupg/secring.gpg' created 01:43:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:43:38 gpg: CAST5 encrypted data 01:43:38 gpg: encrypted with 1 passphrase 01:43:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:43:38 + mkdir /home/jenkins 01:43:38 + mkdir /home/jenkins/sigul [Pipeline] sh 01:43:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:43:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:43:39 ---> sigul-install.sh 01:43:39 Sigul already installed; skipping installation. [Pipeline] sh 01:43:39 + git tag --list 01:43:39 v1.0.0 01:43:39 v1.1.0 01:43:39 v1.1.1 01:43:39 v1.1.2 01:43:39 v1.2.0 01:43:39 v1.2.1 01:43:39 v2.0.0 01:43:39 v2.1.0 01:43:39 v2.1.1 01:43:39 v2.2.0 01:43:39 v2.3.0 01:43:39 v3.0 01:43:39 v3.0.0 01:43:39 v3.1 01:43:39 v3.1.0 01:43:39 v3.1.0-dev.1 01:43:39 v3.1.0-dev.10 01:43:39 v3.1.0-dev.11 01:43:39 v3.1.0-dev.12 01:43:39 v3.1.0-dev.13 01:43:39 v3.1.0-dev.14 01:43:39 v3.1.0-dev.15 01:43:39 v3.1.0-dev.16 01:43:39 v3.1.0-dev.17 01:43:39 v3.1.0-dev.18 01:43:39 v3.1.0-dev.19 01:43:39 v3.1.0-dev.2 01:43:39 v3.1.0-dev.20 01:43:39 v3.1.0-dev.21 01:43:39 v3.1.0-dev.22 01:43:39 v3.1.0-dev.23 01:43:39 v3.1.0-dev.24 01:43:39 v3.1.0-dev.25 01:43:39 v3.1.0-dev.26 01:43:39 v3.1.0-dev.27 01:43:39 v3.1.0-dev.28 01:43:39 v3.1.0-dev.29 01:43:39 v3.1.0-dev.3 01:43:39 v3.1.0-dev.30 01:43:39 v3.1.0-dev.31 01:43:39 v3.1.0-dev.32 01:43:39 v3.1.0-dev.4 01:43:39 v3.1.0-dev.5 01:43:39 v3.1.0-dev.6 01:43:39 v3.1.0-dev.7 01:43:39 v3.1.0-dev.8 01:43:39 v3.1.0-dev.9 01:43:39 v3.1.1 01:43:39 v3.2.0-dev.1 01:43:39 v3.2.0-dev.10 01:43:39 v3.2.0-dev.11 01:43:39 v3.2.0-dev.12 01:43:39 v3.2.0-dev.13 01:43:39 v3.2.0-dev.14 01:43:39 v3.2.0-dev.15 01:43:39 v3.2.0-dev.16 01:43:39 v3.2.0-dev.17 01:43:39 v3.2.0-dev.18 01:43:39 v3.2.0-dev.2 01:43:39 v3.2.0-dev.3 01:43:39 v3.2.0-dev.4 01:43:39 v3.2.0-dev.5 01:43:39 v3.2.0-dev.6 01:43:39 v3.2.0-dev.7 01:43:39 v3.2.0-dev.8 01:43:39 v3.2.0-dev.9 [Pipeline] sh 01:43:39 + lftools sign git-tag v3.2.0-dev.18 01:43:40 Signing Git tag with Sigul... 01:43:40 Signing v3.2.0-dev.18 [Pipeline] echo 01:43:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:43:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:43:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:43:40 $ docker stop --time=1 1539ad469c852cfad05e30f5a218f4d13acba443bf9ce6ec5cda14c27765a64a 01:43:42 $ docker rm -f --volumes 1539ad469c852cfad05e30f5a218f4d13acba443bf9ce6ec5cda14c27765a64a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:43:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:42 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:43:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:43:43 $ docker top 838bc9b5a7426ed7d6f39d03f225f664c7ce0634800ae76afd05706e1f97d8f6 -eo pid,comm 01:43:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:43:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:43:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:43 [ssh-agent] Looking for ssh-agent implementation... 01:43:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:43 $ docker exec 838bc9b5a7426ed7d6f39d03f225f664c7ce0634800ae76afd05706e1f97d8f6 ssh-agent 01:43:43 SSH_AUTH_SOCK=/tmp/ssh-HoBoEMVBctUz/agent.33 01:43:43 SSH_AGENT_PID=39 01:43:43 Running ssh-add (command line suppressed) 01:43:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1929173896780112674.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1929173896780112674.key) 01:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:44 + git semver bump pre 01:43:44 2024-07-26 01:43:44,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:44 2024-07-26 01:43:44,262 [bump_version] DEBUG bumping version:3.2.0-dev.18 on axis:pre with prefix:dev 01:43:44 2024-07-26 01:43:44,262 [bump_version] DEBUG bumped version:3.2.0-dev.19 01:43:44 2024-07-26 01:43:44,262 [write_version] DEBUG write version:3.2.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:43:44 2024-07-26 01:43:44,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:44 2024-07-26 01:43:44,262 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:44 2024-07-26 01:43:44,265 [execute] INFO git cat-file --batch-check 01:43:44 2024-07-26 01:43:44,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:43:44 2024-07-26 01:43:44,270 [execute] INFO git cat-file --batch 01:43:44 2024-07-26 01:43:44,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:43:44 2024-07-26 01:43:44,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:44 3.2.0-dev.19 [Pipeline] } 01:43:44 $ docker exec --env ******** --env ******** 838bc9b5a7426ed7d6f39d03f225f664c7ce0634800ae76afd05706e1f97d8f6 ssh-agent -k 01:43:44 unset SSH_AUTH_SOCK; 01:43:44 unset SSH_AGENT_PID; 01:43:44 echo Agent pid 39 killed; 01:43:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:44 + git semver [Pipeline] } 01:43:45 $ docker stop --time=1 838bc9b5a7426ed7d6f39d03f225f664c7ce0634800ae76afd05706e1f97d8f6 01:43:46 $ docker rm -f --volumes 838bc9b5a7426ed7d6f39d03f225f664c7ce0634800ae76afd05706e1f97d8f6 [Pipeline] // withDockerContainer [Pipeline] sh 01:43:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:47 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:43:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:43:47 $ docker top 7e0a6945b2934fcf6f3abd354c36a7b168b5e92f04c984e8fb69dcb15787a129 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:43:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:47 [ssh-agent] Looking for ssh-agent implementation... 01:43:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:47 $ docker exec 7e0a6945b2934fcf6f3abd354c36a7b168b5e92f04c984e8fb69dcb15787a129 ssh-agent 01:43:47 SSH_AUTH_SOCK=/tmp/ssh-ZDgPJC0KscbL/agent.32 01:43:47 SSH_AGENT_PID=38 01:43:47 Running ssh-add (command line suppressed) 01:43:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6578020370859645309.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6578020370859645309.key) 01:43:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:48 + git semver push 01:43:48 2024-07-26 01:43:48,335 [run_push] DEBUG push 01:43:48 2024-07-26 01:43:48,336 [execute] INFO git cat-file --batch-check 01:43:48 2024-07-26 01:43:48,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:43:48 2024-07-26 01:43:48,339 [execute] INFO git rev-list 2665c5183dd8ea61335b7dcbf27d0993c4cf0828 -- 01:43:48 2024-07-26 01:43:48,339 [execute] DEBUG Popen(['git', 'rev-list', '2665c5183dd8ea61335b7dcbf27d0993c4cf0828', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:43:48 2024-07-26 01:43:48,348 [execute] INFO git fetch -v origin 01:43:48 2024-07-26 01:43:48,348 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:43:48 2024-07-26 01:43:48,791 [run_push] DEBUG no remote changes detected 01:43:48 2024-07-26 01:43:48,791 [execute] INFO git push origin semver 01:43:48 2024-07-26 01:43:48,792 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:43:49 2024-07-26 01:43:49,635 [run_push] DEBUG push all version tags 01:43:49 2024-07-26 01:43:49,635 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:43:49 2024-07-26 01:43:49,636 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:43:50 2024-07-26 01:43:50,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:43:50 3.2.0-dev.19 [Pipeline] } 01:43:50 $ docker exec --env ******** --env ******** 7e0a6945b2934fcf6f3abd354c36a7b168b5e92f04c984e8fb69dcb15787a129 ssh-agent -k 01:43:50 unset SSH_AUTH_SOCK; 01:43:50 unset SSH_AGENT_PID; 01:43:50 echo Agent pid 38 killed; 01:43:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:50 + git semver [Pipeline] } 01:43:51 $ docker stop --time=1 7e0a6945b2934fcf6f3abd354c36a7b168b5e92f04c984e8fb69dcb15787a129 01:43:52 $ docker rm -f --volumes 7e0a6945b2934fcf6f3abd354c36a7b168b5e92f04c984e8fb69dcb15787a129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:43:53 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:43:53 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:43:53 total 16 01:43:53 drwxr-xr-x 3 root root 4096 Jul 26 01:28 . 01:43:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 01:43 .. 01:43:53 drwxr-xr-x 2 root root 4096 Jul 26 01:28 cost 01:43:53 -rw-r--r-- 1 root root 86 Jul 26 01:28 cost.csv 01:43:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:43:53 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:43:53 total 16 01:43:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 01:28 . 01:43:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 01:43 .. 01:43:53 drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 01:28 cost 01:43:53 -rw-r--r-- 1 jenkins jenkins 86 Jul 26 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:43:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:43:54 ---> package-listing.sh 01:43:54 ++ facter osfamily 01:43:54 ++ tr '[:upper:]' '[:lower:]' 01:43:54 + OS_FAMILY=debian 01:43:54 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:43:54 + START_PACKAGES=/tmp/packages_start.txt 01:43:54 + END_PACKAGES=/tmp/packages_end.txt 01:43:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:43:54 + PACKAGES=/tmp/packages_start.txt 01:43:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:43:54 + PACKAGES=/tmp/packages_end.txt 01:43:54 + case "${OS_FAMILY}" in 01:43:54 + dpkg -l 01:43:54 + grep '^ii' 01:43:54 + '[' -f /tmp/packages_start.txt ']' 01:43:54 + '[' -f /tmp/packages_end.txt ']' 01:43:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:43:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:43:54 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:43:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:43:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:43:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:55 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 01:43:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:43:55 $ docker top 72b40976a92c0b3475977a77f199eb8c701df65df1660eedacac599285c419f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:56 + touch /tmp/pre-build-complete [Pipeline] sh 01:43:56 + mkdir -p /var/log/sysstat [Pipeline] sh 01:43:56 + ls /var/log/sa-host 01:43:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:56 provisioning config files... 01:43:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9883193097111306284tmp [Pipeline] { [Pipeline] echo 01:43:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:43:57 ---> create-netrc.sh [Pipeline] } 01:43:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:43:57 ---> python-tools-install.sh [Pipeline] echo 01:43:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:43:57 ---> sudo-logs.sh 01:43:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:43:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:43:58 ---> job-cost.sh 01:43:58 lf-activate-venv: SKIPPING 01:43:58 DEBUG: total: 0.2199999988079071 01:43:58 INFO: Retrieving Stack Cost... 01:43:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:58 INFO: Archiving Costs [Pipeline] echo 01:43:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:43:59 ---> logs-deploy.sh 01:43:59 lf-activate-venv: SKIPPING 01:43:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/170 01:43:59 INFO: archiving workspace using pattern(s): 01:44:00 Archives upload complete. 01:44:00 INFO: archiving logs to Nexus