Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 21994e07934c8f95cd7e226e9631b4cfe7f28119 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-ssh9195032129888614745.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-ssh9584566044645064874.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-ssh15565414133685201138.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-ssh9020707714372973852.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-ssh1445694896113111264.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-975’ Running on prd-ubuntu20.04-docker-8c-8g-978 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 21994e07934c8f95cd7e226e9631b4cfe7f28119 (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 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 Commit message: "Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" > git rev-list --no-walk b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:51:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:51:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:51:33 ========================================================= 23:51:33 EdgeX Global Pipelines Version Info 23:51:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:51:34 ------------------- 23:51:34 stable info: 23:51:34 ------------------- 23:51:34 Commited By: Ginny Guan ginny@iotechsys.com 23:51:34 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 23:51:34 Message: update stable to v1.0.260 23:51:34 ------------------- 23:51:34 experimental info: 23:51:34 ------------------- 23:51:34 Commited By: Ginny Guan ginny@iotechsys.com 23:51:34 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 23:51:34 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:51:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21994e0 [Pipeline] echo 23:51:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:35 provisioning config files... 23:51:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8979925312676435784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:35 ---> ****-login.sh 23:51:35 nexus3.edgexfoundry.org:10001 23:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:36 Configure a credential helper to remove this warning. See 23:51:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:36 23:51:36 Login Succeeded 23:51:36 nexus3.edgexfoundry.org:10002 23:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:36 Configure a credential helper to remove this warning. See 23:51:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:36 23:51:36 Login Succeeded 23:51:36 nexus3.edgexfoundry.org:10003 23:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:36 Configure a credential helper to remove this warning. See 23:51:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:36 23:51:36 Login Succeeded 23:51:36 nexus3.edgexfoundry.org:10004 23:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:36 Configure a credential helper to remove this warning. See 23:51:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:36 23:51:36 Login Succeeded 23:51:36 ****.io 23:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:36 Configure a credential helper to remove this warning. See 23:51:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:36 23:51:36 Login Succeeded 23:51:36 ---> ****-login.sh ends [Pipeline] } 23:51:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:51:37 + git rev-list -1 --merges 21994e07934c8f95cd7e226e9631b4cfe7f28119~1..21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo 23:51:37 -----------> git rev-list -1 --merges 21994e07934c8f95cd7e226e9631b4cfe7f28119~1..21994e07934c8f95cd7e226e9631b4cfe7f28119 21994e07934c8f95cd7e226e9631b4cfe7f28119 23:51:37 21994e07934c8f95cd7e226e9631b4cfe7f28119 [false] [Pipeline] sh 23:51:37 + git log --format=format:%s -1 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo 23:51:37 ========================================================= 23:51:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:51:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:51:37 + git log --format=format:%s -1 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo 23:51:37 [semverPrep] GIT_COMMIT: 21994e07934c8f95cd7e226e9631b4cfe7f28119, Commit Message: Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15 [Pipeline] echo 23:51:37 [semverPrep] This is not a build commit. [Pipeline] sh 23:51:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:51:38 + grep -v github /etc/ssh/ssh_known_hosts 23:51:38 + [ -e /tmp/ssh_known_hosts ] 23:51:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:51:38 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:51:38 sudo tee -a /etc/ssh/ssh_known_hosts 23:51:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:38 23:51:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:38 0.1.4: Pulling from edgex-devops/py-git-semver 23:51:38 b85a868b505f: Pulling fs layer 23:51:38 e2be974225ed: Pulling fs layer 23:51:38 339a4e72a1f5: Pulling fs layer 23:51:38 988bab9f4d93: Pulling fs layer 23:51:38 1469e6f7b9e6: Pulling fs layer 23:51:38 eaf3925da568: Pulling fs layer 23:51:38 bab4dde63d76: Pulling fs layer 23:51:38 bde34c3a00c8: Pulling fs layer 23:51:38 b352a97aabf1: Pulling fs layer 23:51:38 4872d77fe225: Pulling fs layer 23:51:38 5851b861e8e6: Pulling fs layer 23:51:38 988bab9f4d93: Waiting 23:51:38 1469e6f7b9e6: Waiting 23:51:38 eaf3925da568: Waiting 23:51:38 bab4dde63d76: Waiting 23:51:38 bde34c3a00c8: Waiting 23:51:38 b352a97aabf1: Waiting 23:51:38 4872d77fe225: Waiting 23:51:38 5851b861e8e6: Waiting 23:51:38 e2be974225ed: Download complete 23:51:38 988bab9f4d93: Verifying Checksum 23:51:38 988bab9f4d93: Download complete 23:51:38 1469e6f7b9e6: Verifying Checksum 23:51:38 1469e6f7b9e6: Download complete 23:51:38 eaf3925da568: Download complete 23:51:39 339a4e72a1f5: Verifying Checksum 23:51:39 339a4e72a1f5: Download complete 23:51:39 bde34c3a00c8: Download complete 23:51:39 b352a97aabf1: Verifying Checksum 23:51:39 b352a97aabf1: Download complete 23:51:39 4872d77fe225: Download complete 23:51:39 5851b861e8e6: Verifying Checksum 23:51:39 5851b861e8e6: Download complete 23:51:39 b85a868b505f: Verifying Checksum 23:51:39 b85a868b505f: Download complete 23:51:39 bab4dde63d76: Verifying Checksum 23:51:39 bab4dde63d76: Download complete 23:51:40 b85a868b505f: Pull complete 23:51:40 e2be974225ed: Pull complete 23:51:40 339a4e72a1f5: Pull complete 23:51:40 988bab9f4d93: Pull complete 23:51:41 1469e6f7b9e6: Pull complete 23:51:41 eaf3925da568: Pull complete 23:51:43 bab4dde63d76: Pull complete 23:51:43 bde34c3a00c8: Pull complete 23:51:43 b352a97aabf1: Pull complete 23:51:43 4872d77fe225: Pull complete 23:51:43 5851b861e8e6: Pull complete 23:51:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:43 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 23:51: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:51:47 $ docker top 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d -eo pid,comm 23:51:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:51:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:51:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:47 [ssh-agent] Looking for ssh-agent implementation... 23:51:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:47 $ docker exec 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent 23:51:47 SSH_AUTH_SOCK=/tmp/ssh-mrXuyKVy4f9g/agent.32 23:51:47 SSH_AGENT_PID=38 23:51:47 Running ssh-add (command line suppressed) 23:51:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8447367203944076310.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8447367203944076310.key) 23:51:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:48 + git tag --points-at HEAD [Pipeline] } 23:51:48 $ docker exec --env ******** --env ******** 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent -k 23:51:48 unset SSH_AUTH_SOCK; 23:51:48 unset SSH_AGENT_PID; 23:51:48 echo Agent pid 38 killed; 23:51:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:51:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:48 [ssh-agent] Looking for ssh-agent implementation... 23:51:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:48 $ docker exec 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent 23:51:48 SSH_AUTH_SOCK=/tmp/ssh-WFZqvvUv2PG8/agent.72 23:51:48 SSH_AGENT_PID=78 23:51:48 Running ssh-add (command line suppressed) 23:51:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8633788202699441198.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8633788202699441198.key) 23:51:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:48 + git semver init 23:51:49 2024-05-28 23:51:48,966 [run_init] DEBUG init version:0.0.0 force:False 23:51:49 2024-05-28 23:51:48,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:51:49 2024-05-28 23:51:48,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:51:49 2024-05-28 23:51:48,968 [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) 23:51:50 2024-05-28 23:51:50,409 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:51:50 2024-05-28 23:51:50,410 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:51:50 2024-05-28 23:51:50,410 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:51:50 2024-05-28 23:51:50,410 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:51:50 3.2.0-dev.13 [Pipeline] } 23:51:50 $ docker exec --env ******** --env ******** 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent -k 23:51:50 unset SSH_AUTH_SOCK; 23:51:50 unset SSH_AGENT_PID; 23:51:50 echo Agent pid 78 killed; 23:51:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:51:50 + git semver [Pipeline] } 23:51:51 $ docker stop --time=1 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d 23:51:52 $ docker rm -f --volumes 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d [Pipeline] // withDockerContainer [Pipeline] sh 23:51:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:51:52 Stashed 1 file(s) [Pipeline] echo 23:51:52 [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [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 23:51:53 provisioning config files... 23:51:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7197504602583022742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:53 ---> ****-login.sh 23:51:53 nexus3.edgexfoundry.org:10001 23:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:53 Configure a credential helper to remove this warning. See 23:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:53 23:51:53 Login Succeeded 23:51:53 nexus3.edgexfoundry.org:10002 23:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:53 Configure a credential helper to remove this warning. See 23:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:53 23:51:53 Login Succeeded 23:51:53 nexus3.edgexfoundry.org:10003 23:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:53 Configure a credential helper to remove this warning. See 23:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:53 23:51:53 Login Succeeded 23:51:53 nexus3.edgexfoundry.org:10004 23:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:53 Configure a credential helper to remove this warning. See 23:51:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:53 23:51:53 Login Succeeded 23:51:53 ****.io 23:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:51:54 Configure a credential helper to remove this warning. See 23:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:51:54 23:51:54 Login Succeeded 23:51:54 ---> ****-login.sh ends [Pipeline] } 23:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:51:54 ========================================================= 23:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:51:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:54 + 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 . 23:51:54 Sending build context to Docker daemon 18.17MB 23:51:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:51:54 Step 2/12 : FROM ${BASE} AS builder 23:51:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:51:54 619be1103602: Pulling fs layer 23:51:54 7862e08f4a3e: Pulling fs layer 23:51:54 5df492c9dc93: Pulling fs layer 23:51:54 7629e6793208: Pulling fs layer 23:51:54 4f4fb700ef54: Pulling fs layer 23:51:54 fb5054dd5b73: Pulling fs layer 23:51:54 eeca6798cff9: Pulling fs layer 23:51:54 aa269ceb94a6: Pulling fs layer 23:51:54 ada007ff1a6a: Pulling fs layer 23:51:54 aa269ceb94a6: Waiting 23:51:54 ada007ff1a6a: Waiting 23:51:54 4f4fb700ef54: Waiting 23:51:54 fb5054dd5b73: Waiting 23:51:54 eeca6798cff9: Waiting 23:51:54 7629e6793208: Waiting 23:51:54 7862e08f4a3e: Download complete 23:51:54 7629e6793208: Verifying Checksum 23:51:54 7629e6793208: Download complete 23:51:54 4f4fb700ef54: Verifying Checksum 23:51:54 4f4fb700ef54: Download complete 23:51:54 fb5054dd5b73: Verifying Checksum 23:51:54 fb5054dd5b73: Download complete 23:51:54 619be1103602: Verifying Checksum 23:51:54 619be1103602: Download complete 23:51:54 eeca6798cff9: Verifying Checksum 23:51:54 eeca6798cff9: Download complete 23:51:54 619be1103602: Pull complete 23:51:55 7862e08f4a3e: Pull complete 23:51:55 ada007ff1a6a: Verifying Checksum 23:51:55 ada007ff1a6a: Download complete 23:51:55 5df492c9dc93: Verifying Checksum 23:51:55 5df492c9dc93: Download complete 23:51:55 aa269ceb94a6: Verifying Checksum 23:51:55 aa269ceb94a6: Download complete 23:51:58 5df492c9dc93: Pull complete 23:51:58 7629e6793208: Pull complete 23:51:58 4f4fb700ef54: Pull complete 23:51:58 fb5054dd5b73: Pull complete 23:51:58 eeca6798cff9: Pull complete 23:52:00 aa269ceb94a6: Pull complete 23:52:00 ada007ff1a6a: Pull complete 23:52:00 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 23:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:52:00 ---> f489d0715acc 23:52:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:52:05 ---> Running in 0b1589956fcb 23:52:05 Removing intermediate container 0b1589956fcb 23:52:05 ---> 09e089a40e8d 23:52:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:05 ---> Running in b52013224df7 23:52:05 Removing intermediate container b52013224df7 23:52:05 ---> b2decf5222a7 23:52:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:52:05 ---> Running in eae61b4181c2 23:52:05 Removing intermediate container eae61b4181c2 23:52:05 ---> 6c7a173d915c 23:52:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:52:05 ---> Running in 73d48ea85639 23:52:05 Removing intermediate container 73d48ea85639 23:52:05 ---> 2b93d1f45eeb 23:52:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:05 ---> Running in 9b5308c865c6 23:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:52:06 (1/4) Installing openssh-keygen (9.3_p2-r1) 23:52:06 (2/4) Installing libedit (20221030.3.1-r1) 23:52:06 (3/4) Installing openssh-client-common (9.3_p2-r1) 23:52:06 (4/4) Installing openssh-client-default (9.3_p2-r1) 23:52:06 Executing busybox-1.36.1-r5.trigger 23:52:06 OK: 268 MiB in 56 packages 23:52:06 Removing intermediate container 9b5308c865c6 23:52:06 ---> 2f6b1365aa37 23:52:06 Step 8/12 : WORKDIR /device-rest-go 23:52:07 ---> Running in c9fb194af76b 23:52:07 Removing intermediate container c9fb194af76b 23:52:07 ---> e4349464c321 23:52:07 Step 9/12 : COPY go.mod vendor* ./ 23:52:07 ---> ac3f7648ced8 23:52:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:07 ---> Running in e81434d4e094 23:52:08 Still waiting to schedule task 23:52:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-977’ 23:52:53 Removing intermediate container e81434d4e094 23:52:53 ---> 8e67b83b9b5e 23:52:53 Step 11/12 : COPY . . 23:52:53 ---> 4f44c0834c8d 23:52:53 Step 12/12 : RUN $MAKE 23:52:53 ---> Running in 233d12efd6e4 23:52:54 noop 23:52:54 Removing intermediate container 233d12efd6e4 23:52:54 ---> d3ef0c03bcec 23:52:54 Successfully built d3ef0c03bcec 23:52:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:54 + docker inspect -f . ci-base-image-x86_64 23:52:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:54 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 23:52:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:55 $ docker top 65c5112e3c557c9fe26333b2edcef3897aefc81395d94d14f5b6a1af972a2fad -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:55 + go version 23:52:55 go version go1.21.9 linux/amd64 [Pipeline] } 23:52:55 $ docker stop --time=1 65c5112e3c557c9fe26333b2edcef3897aefc81395d94d14f5b6a1af972a2fad 23:52:56 $ docker rm -f --volumes 65c5112e3c557c9fe26333b2edcef3897aefc81395d94d14f5b6a1af972a2fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:57 + docker inspect -f . ci-base-image-x86_64 23:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:57 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 23:52:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:57 $ docker top 09c60090fe586f0c91dc5965dbe7146e6fe726b7b3a4c28e8fe5bc4606b85b40 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:52:58 + make test 23:52:58 go test ./... -coverprofile=coverage.out ./... 23:53:00 ? github.com/edgexfoundry/device-rest-go [no test files] 23:53:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:53:18 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 23:53:24 go vet ./... 23:53:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:30 ./bin/test-attribution-txt.sh 23:53:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 23:53:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 23:53:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 23:53:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 23:53:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 23:53:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 23:53:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 23:53:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 23:53:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 23:53:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 23:53:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 23:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:53:30 $ docker stop --time=1 09c60090fe586f0c91dc5965dbe7146e6fe726b7b3a4c28e8fe5bc4606b85b40 23:53:35 $ docker rm -f --volumes 09c60090fe586f0c91dc5965dbe7146e6fe726b7b3a4c28e8fe5bc4606b85b40 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:36 + ls -al . 23:53:36 total 248 23:53:36 drwxrwxr-x 9 jenkins jenkins 4096 May 28 23:52 . 23:53:36 drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:51 .. 23:53:36 -rw-rw-r-- 1 jenkins jenkins 151 May 28 23:51 .dockerignore 23:53:36 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:53 .git 23:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:51 .github 23:53:36 -rw-rw-r-- 1 jenkins jenkins 264 May 28 23:51 .gitignore 23:53:36 -rw-rw-r-- 1 jenkins jenkins 41 May 28 23:51 .golangci.yml 23:53:36 drwxr-xr-x 3 jenkins jenkins 4096 May 28 23:51 .semver 23:53:36 -rw-rw-r-- 1 jenkins jenkins 10300 May 28 23:51 Attribution.txt 23:53:36 -rw-rw-r-- 1 jenkins jenkins 17685 May 28 23:51 CHANGELOG.md 23:53:36 -rw-rw-r-- 1 jenkins jenkins 1687 May 28 23:51 Dockerfile 23:53:36 -rw-rw-r-- 1 jenkins jenkins 677 May 28 23:51 GOVERNANCE.md 23:53:36 -rw-rw-r-- 1 jenkins jenkins 680 May 28 23:51 Jenkinsfile 23:53:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:51 LICENSE 23:53:36 -rw-rw-r-- 1 jenkins jenkins 2016 May 28 23:51 Makefile 23:53:36 -rw-rw-r-- 1 jenkins jenkins 620 May 28 23:51 OWNERS.md 23:53:36 -rw-rw-r-- 1 jenkins jenkins 3989 May 28 23:51 README.md 23:53:36 -rw-rw-r-- 1 jenkins jenkins 12 May 28 23:51 VERSION 23:53:36 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:51 bin 23:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:51 cmd 23:53:36 -rw-r--r-- 1 jenkins jenkins 14499 May 28 23:53 coverage.out 23:53:36 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:51 driver 23:53:36 -rw-rw-r-- 1 jenkins jenkins 7190 May 28 23:51 go.mod 23:53:36 -rw-rw-r-- 1 jenkins jenkins 101544 May 28 23:51 go.sum 23:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:51 openapi 23:53:36 -rw-rw-r-- 1 jenkins jenkins 713 May 28 23:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:36 + 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=21994e07934c8f95cd7e226e9631b4cfe7f28119 --label arch=amd64 --label version=3.2.0-dev.13 . 23:53:36 Sending build context to Docker daemon 18.19MB 23:53:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 23:53:36 Step 2/26 : FROM ${BASE} AS builder 23:53:36 ---> d3ef0c03bcec 23:53:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:53:37 ---> Running in 51dbe88d031b 23:53:37 Removing intermediate container 51dbe88d031b 23:53:37 ---> 95ff236d8f5e 23:53:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:37 ---> Running in 29e3dbb3af53 23:53:37 Removing intermediate container 29e3dbb3af53 23:53:37 ---> 9f7aadf3a37f 23:53:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:53:37 ---> Running in 090c248a238d 23:53:37 Removing intermediate container 090c248a238d 23:53:37 ---> 97cf90e2b55d 23:53:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:53:37 ---> Running in 8ac959fa5d20 23:53:37 Removing intermediate container 8ac959fa5d20 23:53:37 ---> 31637bbffcf1 23:53:37 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:37 ---> Running in 74b0cabc28c4 23:53:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:53:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:53:38 OK: 268 MiB in 56 packages 23:53:38 Removing intermediate container 74b0cabc28c4 23:53:38 ---> fe4c61442496 23:53:38 Step 8/26 : WORKDIR /device-rest-go 23:53:38 ---> Running in 5cb18b8b29da 23:53:38 Removing intermediate container 5cb18b8b29da 23:53:38 ---> 80f2edf11cbf 23:53:38 Step 9/26 : COPY go.mod vendor* ./ 23:53:38 ---> 33802c5a7a16 23:53:38 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:38 ---> Running in 882782d8aa2f 23:53:39 Removing intermediate container 882782d8aa2f 23:53:39 ---> d6b7ec28c530 23:53:39 Step 11/26 : COPY . . 23:53:40 ---> 8628b5a28ec9 23:53:40 Step 12/26 : RUN $MAKE 23:53:40 ---> Running in f54a165c9ff6 23:53:40 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:54:12 Removing intermediate container f54a165c9ff6 23:54:12 ---> 0a96944b599b 23:54:12 Step 13/26 : FROM alpine:3.18 23:54:12 3.18: Pulling from library/alpine 23:54:12 619be1103602: Already exists 23:54:12 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 23:54:12 Status: Downloaded newer image for alpine:3.18 23:54:12 ---> d3782b16ccc9 23:54:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:54:12 ---> Running in 8c4a9f2fd592 23:54:12 Removing intermediate container 8c4a9f2fd592 23:54:12 ---> 29e69f9d3556 23:54:12 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 23:54:12 ---> Running in 925be26e948f 23:54:12 Removing intermediate container 925be26e948f 23:54:12 ---> 7d3b86d5fc96 23:54:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:54:12 ---> Running in 4069748a32ad 23:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:54:12 (1/1) Installing dumb-init (1.2.5-r2) 23:54:12 Executing busybox-1.36.1-r5.trigger 23:54:12 OK: 7 MiB in 16 packages 23:54:12 Removing intermediate container 4069748a32ad 23:54:12 ---> 620d498ea4f6 23:54:12 Step 17/26 : RUN apk --no-cache upgrade 23:54:12 ---> Running in cbe0af70a864 23:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:54:12 Upgrading critical system libraries and apk-tools: 23:54:12 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 23:54:12 Executing busybox-1.36.1-r5.trigger 23:54:12 Continuing the upgrade transaction with new apk-tools: 23:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:54:12 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 23:54:12 Executing busybox-1.36.1-r6.post-upgrade 23:54:12 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 23:54:12 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 23:54:12 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 23:54:12 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 23:54:12 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 23:54:12 Executing busybox-1.36.1-r6.trigger 23:54:12 OK: 7 MiB in 16 packages 23:54:12 Removing intermediate container cbe0af70a864 23:54:12 ---> 58a7ad42be03 23:54:12 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 23:54:14 ---> 89d4c4b93b17 23:54:14 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 23:54:14 ---> 1f202e1e6b90 23:54:14 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 23:54:14 ---> 4573edac62ef 23:54:14 Step 21/26 : EXPOSE 59986 23:54:14 ---> Running in 7265c94331c2 23:54:14 Removing intermediate container 7265c94331c2 23:54:14 ---> 830e7c401f3b 23:54:14 Step 22/26 : ENTRYPOINT ["/device-rest"] 23:54:14 ---> Running in da03b55e77d7 23:54:14 Removing intermediate container da03b55e77d7 23:54:14 ---> 4ad00353d3e3 23:54:14 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:54:14 ---> Running in f6aa93cd9a70 23:54:14 Removing intermediate container f6aa93cd9a70 23:54:14 ---> fcd6631de794 23:54:14 Step 24/26 : LABEL arch=amd64 23:54:14 ---> Running in b7d7e637e1ba 23:54:14 Removing intermediate container b7d7e637e1ba 23:54:14 ---> dee075eece2f 23:54:14 Step 25/26 : LABEL git_sha=21994e07934c8f95cd7e226e9631b4cfe7f28119 23:54:14 ---> Running in 6390bddce68a 23:54:14 Removing intermediate container 6390bddce68a 23:54:14 ---> 6500c9272dc1 23:54:14 Step 26/26 : LABEL version=3.2.0-dev.13 23:54:14 ---> Running in 81f0a20a50d2 23:54:15 Removing intermediate container 81f0a20a50d2 23:54:15 ---> d3d2ec2d0d92 23:54:15 [Warning] One or more build-args [ARCH] were not consumed 23:54:15 Successfully built d3d2ec2d0d92 23:54:15 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:15 provisioning config files... 23:54:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config988851586829643740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:15 ---> ****-login.sh 23:54:15 nexus3.edgexfoundry.org:10001 23:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:15 Configure a credential helper to remove this warning. See 23:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:15 23:54:15 Login Succeeded 23:54:15 nexus3.edgexfoundry.org:10002 23:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:15 Configure a credential helper to remove this warning. See 23:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:15 23:54:15 Login Succeeded 23:54:15 nexus3.edgexfoundry.org:10003 23:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:15 Configure a credential helper to remove this warning. See 23:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:15 23:54:15 Login Succeeded 23:54:15 nexus3.edgexfoundry.org:10004 23:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:15 Configure a credential helper to remove this warning. See 23:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:15 23:54:15 Login Succeeded 23:54:15 ****.io 23:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:54:16 Configure a credential helper to remove this warning. See 23:54:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:54:16 23:54:16 Login Succeeded 23:54:16 ---> ****-login.sh ends [Pipeline] } 23:54:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:54:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:54:16 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:54:16 21994e07934c8f95cd7e226e9631b4cfe7f28119 23:54:16 latest 23:54:16 3.2.0-dev.13 23:54:16 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 23:54:16 main 23:54:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119 23:54:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:54:16 e40c66c3acc2: Preparing 23:54:16 a4526f792b06: Preparing 23:54:16 3e0479a59c32: Preparing 23:54:16 60cd2b4124af: Preparing 23:54:16 34bcf458bec9: Preparing 23:54:16 aedc3bda2944: Preparing 23:54:16 a4526f792b06: Pushed 23:54:16 e40c66c3acc2: Pushed 23:54:16 34bcf458bec9: Pushed 23:54:16 aedc3bda2944: Layer already exists 23:54:17 60cd2b4124af: Pushed 23:54:19 3e0479a59c32: Pushed 23:54:19 21994e07934c8f95cd7e226e9631b4cfe7f28119: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:54:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:54:20 e40c66c3acc2: Preparing 23:54:20 a4526f792b06: Preparing 23:54:20 3e0479a59c32: Preparing 23:54:20 60cd2b4124af: Preparing 23:54:20 34bcf458bec9: Preparing 23:54:20 aedc3bda2944: Preparing 23:54:20 aedc3bda2944: Waiting 23:54:20 34bcf458bec9: Layer already exists 23:54:20 a4526f792b06: Layer already exists 23:54:20 3e0479a59c32: Layer already exists 23:54:20 60cd2b4124af: Layer already exists 23:54:20 e40c66c3acc2: Layer already exists 23:54:20 aedc3bda2944: Layer already exists 23:54:20 latest: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.13 23:54:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:54:21 e40c66c3acc2: Preparing 23:54:21 a4526f792b06: Preparing 23:54:21 3e0479a59c32: Preparing 23:54:21 60cd2b4124af: Preparing 23:54:21 34bcf458bec9: Preparing 23:54:21 aedc3bda2944: Preparing 23:54:21 aedc3bda2944: Waiting 23:54:21 34bcf458bec9: Layer already exists 23:54:21 3e0479a59c32: Layer already exists 23:54:21 a4526f792b06: Layer already exists 23:54:21 60cd2b4124af: Layer already exists 23:54:21 e40c66c3acc2: Layer already exists 23:54:21 aedc3bda2944: Layer already exists 23:54:21 3.2.0-dev.13: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 23:54:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:54:21 e40c66c3acc2: Preparing 23:54:21 a4526f792b06: Preparing 23:54:21 3e0479a59c32: Preparing 23:54:21 60cd2b4124af: Preparing 23:54:21 34bcf458bec9: Preparing 23:54:21 aedc3bda2944: Preparing 23:54:21 3e0479a59c32: Layer already exists 23:54:21 60cd2b4124af: Layer already exists 23:54:21 a4526f792b06: Layer already exists 23:54:21 e40c66c3acc2: Layer already exists 23:54:21 34bcf458bec9: Layer already exists 23:54:21 aedc3bda2944: Layer already exists 23:54:21 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:54:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:54:22 e40c66c3acc2: Preparing 23:54:22 a4526f792b06: Preparing 23:54:22 3e0479a59c32: Preparing 23:54:22 60cd2b4124af: Preparing 23:54:22 34bcf458bec9: Preparing 23:54:22 aedc3bda2944: Preparing 23:54:22 aedc3bda2944: Waiting 23:54:22 a4526f792b06: Layer already exists 23:54:22 3e0479a59c32: Layer already exists 23:54:22 60cd2b4124af: Layer already exists 23:54:22 e40c66c3acc2: Layer already exists 23:54:22 34bcf458bec9: Layer already exists 23:54:22 aedc3bda2944: Layer already exists 23:54:22 main: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:54:22 ===================================================== [Pipeline] echo 23:54:22 taggedImages: 23:54:22 - nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119 23:54:22 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:54:22 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.13 23:54:22 - nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 23:54:22 - 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 23:54:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:23 23:54:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:23 latest: Pulling from edgex-lftools-log-publisher 23:54:23 5eb5b503b376: Pulling fs layer 23:54:23 5c69ac0246d0: Pulling fs layer 23:54:23 ec43610c2a17: Pulling fs layer 23:54:23 3a2ae6a8a46f: Pulling fs layer 23:54:23 33b1e0a273af: Pulling fs layer 23:54:23 5d3b04190fa2: Pulling fs layer 23:54:23 2f39f015ded8: Pulling fs layer 23:54:23 3a2ae6a8a46f: Waiting 23:54:23 33b1e0a273af: Waiting 23:54:23 5d3b04190fa2: Waiting 23:54:23 2f39f015ded8: Waiting 23:54:23 5c69ac0246d0: Verifying Checksum 23:54:23 5c69ac0246d0: Download complete 23:54:23 3a2ae6a8a46f: Verifying Checksum 23:54:23 3a2ae6a8a46f: Download complete 23:54:23 33b1e0a273af: Verifying Checksum 23:54:23 33b1e0a273af: Download complete 23:54:23 5d3b04190fa2: Verifying Checksum 23:54:23 5d3b04190fa2: Download complete 23:54:23 ec43610c2a17: Verifying Checksum 23:54:23 ec43610c2a17: Download complete 23:54:23 5eb5b503b376: Download complete 23:54:24 2f39f015ded8: Download complete 23:54:24 5eb5b503b376: Pull complete 23:54:24 5c69ac0246d0: Pull complete 23:54:25 ec43610c2a17: Pull complete 23:54:25 3a2ae6a8a46f: Pull complete 23:54:25 33b1e0a273af: Pull complete 23:54:25 5d3b04190fa2: Pull complete 23:54:29 2f39f015ded8: Pull complete 23:54:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:30 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 23:54:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:34 $ docker top 9a18cff981d29dc8d3d0beaa56a483c781e8e5fb84b49153b2f61f1548f6a674 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:35 ---> job-cost.sh 23:54:35 lf-activate-venv: SKIPPING 23:54:35 INFO: No Stack... 23:54:35 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:35 INFO: Archiving Costs [Pipeline] sh 23:54:36 + cut -d, -f6 23:54:36 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 23:54:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] 23:54:36 Resource [jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] did not exist. Created. 23:54:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:36 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:36 Stashed 1 file(s) [Pipeline] } 23:54:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:36 $ docker stop --time=1 9a18cff981d29dc8d3d0beaa56a483c781e8e5fb84b49153b2f61f1548f6a674 23:54:37 $ docker rm -f --volumes 9a18cff981d29dc8d3d0beaa56a483c781e8e5fb84b49153b2f61f1548f6a674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:54:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-980 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:54:56 Running in /w/workspace/device-rest-go/165 [Pipeline] { [Pipeline] checkout 23:54:56 The recommended git tool is: git 23:55:05 using credential edgex-jenkins-ssh 23:55:05 Cloning the remote Git repository 23:55:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:55:05 > git init /w/workspace/device-rest-go/165 # timeout=10 23:55:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:55:05 > git --version # timeout=10 23:55:05 > git --version # 'git version 2.25.1' 23:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:55:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:11 Avoid second fetch 23:55:11 Checking out Revision 21994e07934c8f95cd7e226e9631b4cfe7f28119 (main) 23:55:11 > git config core.sparsecheckout # timeout=10 23:55:11 > git checkout -f 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 23:55:12 Commit message: "Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:55:17 Dload Upload Total Spent Left Speed 23:55:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 23:55:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:55:17 + sudo tee /etc/docker/daemon.new 23:55:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:55:17 { 23:55:17 "registry-mirrors": [ 23:55:17 "https://nexus3.edgexfoundry.org:10001" 23:55:17 ], 23:55:17 "bip": "10.250.0.254/24", 23:55:17 "hosts": [ 23:55:17 "tcp://0.0.0.0:5555", 23:55:17 "unix:///var/run/docker.sock" 23:55:17 ], 23:55:17 "mtu": 1458, 23:55:17 "selinux-enabled": true, 23:55:17 "seccomp-profile": "/etc/docker/seccomp.json" 23:55:17 } [Pipeline] sh 23:55:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:55:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:36 provisioning config files... 23:55:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/165@tmp/config3974262083630792314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:37 ---> ****-login.sh 23:55:37 nexus3.edgexfoundry.org:10001 23:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10002 23:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 nexus3.edgexfoundry.org:10003 23:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 nexus3.edgexfoundry.org:10004 23:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:55:40 Configure a credential helper to remove this warning. See 23:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:55:40 23:55:40 Login Succeeded 23:55:40 ****.io 23:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:55:40 Configure a credential helper to remove this warning. See 23:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:55:40 23:55:40 Login Succeeded 23:55:40 ---> ****-login.sh ends [Pipeline] } 23:55:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:55:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:55:41 ========================================================= 23:55:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:55:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:41 + 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 . 23:55:41 Sending build context to Docker daemon 131.1kB 23:55:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:55:42 Step 2/12 : FROM ${BASE} AS builder 23:55:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:55:42 c6b39de5b339: Pulling fs layer 23:55:42 a69c41024577: Pulling fs layer 23:55:42 d6de4b400683: Pulling fs layer 23:55:42 35cb2a7552d0: Pulling fs layer 23:55:42 4f4fb700ef54: Pulling fs layer 23:55:42 464afbd9ba4c: Pulling fs layer 23:55:42 00f215d4a9da: Pulling fs layer 23:55:42 d496ad576159: Pulling fs layer 23:55:42 4f4fb700ef54: Waiting 23:55:42 464afbd9ba4c: Waiting 23:55:42 00f215d4a9da: Waiting 23:55:42 d496ad576159: Waiting 23:55:42 35cb2a7552d0: Waiting 23:55:42 a69c41024577: Verifying Checksum 23:55:42 a69c41024577: Download complete 23:55:42 4f4fb700ef54: Verifying Checksum 23:55:42 4f4fb700ef54: Download complete 23:55:42 c6b39de5b339: Verifying Checksum 23:55:42 c6b39de5b339: Download complete 23:55:42 464afbd9ba4c: Verifying Checksum 23:55:42 464afbd9ba4c: Download complete 23:55:42 d496ad576159: Verifying Checksum 23:55:42 d496ad576159: Download complete 23:55:43 c6b39de5b339: Pull complete 23:55:44 a69c41024577: Pull complete 23:55:44 d6de4b400683: Verifying Checksum 23:55:44 d6de4b400683: Download complete 23:55:45 00f215d4a9da: Verifying Checksum 23:55:45 00f215d4a9da: Download complete 23:55:58 d6de4b400683: Pull complete 23:55:58 35cb2a7552d0: Pull complete 23:55:58 4f4fb700ef54: Pull complete 23:55:58 464afbd9ba4c: Pull complete 23:56:08 00f215d4a9da: Pull complete 23:56:08 d496ad576159: Pull complete 23:56:08 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 23:56:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:56:08 ---> f246e2811388 23:56:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:56:09 ---> Running in cc6faa16d982 23:56:09 Removing intermediate container cc6faa16d982 23:56:09 ---> 7ead4099b4c0 23:56:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:56:09 ---> Running in b365055cdfca 23:56:10 Removing intermediate container b365055cdfca 23:56:10 ---> 4e98c0ce42d2 23:56:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:56:10 ---> Running in 32e502f6856b 23:56:10 Removing intermediate container 32e502f6856b 23:56:10 ---> e89d9542c437 23:56:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:56:10 ---> Running in c8dd35c1a4d5 23:56:10 Removing intermediate container c8dd35c1a4d5 23:56:10 ---> f9639929d60c 23:56:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:10 ---> Running in ad7753c13b6b 23:56:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:56:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:56:14 (1/4) Installing openssh-keygen (9.3_p2-r1) 23:56:14 (2/4) Installing libedit (20221030.3.1-r1) 23:56:14 (3/4) Installing openssh-client-common (9.3_p2-r1) 23:56:14 (4/4) Installing openssh-client-default (9.3_p2-r1) 23:56:14 Executing busybox-1.36.1-r5.trigger 23:56:14 OK: 271 MiB in 56 packages 23:56:15 Removing intermediate container ad7753c13b6b 23:56:15 ---> 0c99ab28d9f0 23:56:15 Step 8/12 : WORKDIR /device-rest-go 23:56:15 ---> Running in 93b0302262d6 23:56:15 Removing intermediate container 93b0302262d6 23:56:15 ---> bc3c260b361a 23:56:15 Step 9/12 : COPY go.mod vendor* ./ 23:56:16 ---> 93db9217d88c 23:56:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:16 ---> Running in 0770b3f491b4 23:58:08 Removing intermediate container 0770b3f491b4 23:58:08 ---> b96839e233f3 23:58:08 Step 11/12 : COPY . . 23:58:08 ---> 7752fc172d8a 23:58:08 Step 12/12 : RUN $MAKE 23:58:08 ---> Running in 561c01bc0156 23:58:09 noop 23:58:10 Removing intermediate container 561c01bc0156 23:58:10 ---> fa7ef6d6547c 23:58:10 Successfully built fa7ef6d6547c 23:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:10 + docker inspect -f . ci-base-image-arm64 23:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:11 prd-ubuntu20.04-docker-arm64-4c-16g-980 does not seem to be running inside a container 23:58:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/165 -v /w/workspace/device-rest-go/165:/w/workspace/device-rest-go/165:rw,z -v /w/workspace/device-rest-go/165@tmp:/w/workspace/device-rest-go/165@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 23:58:12 $ docker top 7b6fa0b977b9edc4cf419484b188b51c83395b95e162b944ebd5962dc76bdce0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:13 + go version 23:58:13 go version go1.21.9 linux/arm64 [Pipeline] } 23:58:13 $ docker stop --time=1 7b6fa0b977b9edc4cf419484b188b51c83395b95e162b944ebd5962dc76bdce0 23:58:15 $ docker rm -f --volumes 7b6fa0b977b9edc4cf419484b188b51c83395b95e162b944ebd5962dc76bdce0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:15 + docker inspect -f . ci-base-image-arm64 23:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:15 prd-ubuntu20.04-docker-arm64-4c-16g-980 does not seem to be running inside a container 23:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/165 -v /w/workspace/device-rest-go/165:/w/workspace/device-rest-go/165:rw,z -v /w/workspace/device-rest-go/165@tmp:/w/workspace/device-rest-go/165@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 23:58:17 $ docker top 8789c8ec3d0491253bf3047f2550f5e1a1faf075e12612d7984f2f821f5c4f1d -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:18 + git config --global --add safe.directory /w/workspace/device-rest-go/165 [Pipeline] fileExists [Pipeline] sh 23:58:18 + make test 23:58:18 go test ./... -coverprofile=coverage.out ./... 23:58:25 ? github.com/edgexfoundry/device-rest-go [no test files] 00:02:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:02:09 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 33.2% of statements 00:02:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:02:09 go vet ./... 00:03:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:06 ./bin/test-attribution-txt.sh 00:03:06 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 00:03:06 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 00:03:06 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 00:03:06 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 00:03:06 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 00:03:06 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 00:03:06 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 00:03:06 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 00:03:06 An attribution for golang.org/x/term is missing from Attribution.txt, please add 00:03:06 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 00:03:06 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 00:03:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:03:06 $ docker stop --time=1 8789c8ec3d0491253bf3047f2550f5e1a1faf075e12612d7984f2f821f5c4f1d 00:03:08 $ docker rm -f --volumes 8789c8ec3d0491253bf3047f2550f5e1a1faf075e12612d7984f2f821f5c4f1d [Pipeline] // withDockerContainer [Pipeline] sh 00:03:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:09 Warning: overwriting stash ‘coverage-report’ 00:03:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:11 + ls -al . 00:03:11 total 244 00:03:11 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:58 . 00:03:11 drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:55 .. 00:03:11 -rw-rw-r-- 1 jenkins jenkins 151 May 28 23:55 .dockerignore 00:03:11 drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:55 .git 00:03:11 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:55 .github 00:03:11 -rw-rw-r-- 1 jenkins jenkins 264 May 28 23:55 .gitignore 00:03:11 -rw-rw-r-- 1 jenkins jenkins 41 May 28 23:55 .golangci.yml 00:03:11 -rw-rw-r-- 1 jenkins jenkins 10300 May 28 23:55 Attribution.txt 00:03:11 -rw-rw-r-- 1 jenkins jenkins 17685 May 28 23:55 CHANGELOG.md 00:03:11 -rw-rw-r-- 1 jenkins jenkins 1687 May 28 23:55 Dockerfile 00:03:11 -rw-rw-r-- 1 jenkins jenkins 677 May 28 23:55 GOVERNANCE.md 00:03:11 -rw-rw-r-- 1 jenkins jenkins 680 May 28 23:55 Jenkinsfile 00:03:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:55 LICENSE 00:03:11 -rw-rw-r-- 1 jenkins jenkins 2016 May 28 23:55 Makefile 00:03:11 -rw-rw-r-- 1 jenkins jenkins 620 May 28 23:55 OWNERS.md 00:03:11 -rw-rw-r-- 1 jenkins jenkins 3989 May 28 23:55 README.md 00:03:11 -rw-rw-r-- 1 jenkins jenkins 12 May 28 23:51 VERSION 00:03:11 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:55 bin 00:03:11 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:55 cmd 00:03:11 -rw-r--r-- 1 jenkins jenkins 14499 May 29 00:02 coverage.out 00:03:11 drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:55 driver 00:03:11 -rw-rw-r-- 1 jenkins jenkins 7190 May 28 23:55 go.mod 00:03:11 -rw-rw-r-- 1 jenkins jenkins 101544 May 28 23:55 go.sum 00:03:11 drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:55 openapi 00:03:11 -rw-rw-r-- 1 jenkins jenkins 713 May 28 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:11 + 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=21994e07934c8f95cd7e226e9631b4cfe7f28119 --label arch=arm64 --label version=3.2.0-dev.13 . 00:03:11 Sending build context to Docker daemon 146.4kB 00:03:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:03:12 Step 2/26 : FROM ${BASE} AS builder 00:03:12 ---> fa7ef6d6547c 00:03:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:03:12 ---> Running in 68c6e090445a 00:03:12 Removing intermediate container 68c6e090445a 00:03:12 ---> a3501b7176f0 00:03:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:12 ---> Running in 57f57e2040a5 00:03:12 Removing intermediate container 57f57e2040a5 00:03:12 ---> a86e9b2b4120 00:03:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:03:12 ---> Running in c84050224a91 00:03:13 Removing intermediate container c84050224a91 00:03:13 ---> 63e2f417938c 00:03:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:03:13 ---> Running in 05241fce214f 00:03:13 Removing intermediate container 05241fce214f 00:03:13 ---> d7fca039dd20 00:03:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:13 ---> Running in 1ddb9e32caed 00:03:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:03:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:03:16 OK: 271 MiB in 56 packages 00:03:17 Removing intermediate container 1ddb9e32caed 00:03:17 ---> a9c5e613ac7f 00:03:17 Step 8/26 : WORKDIR /device-rest-go 00:03:17 ---> Running in 2f911fde3014 00:03:17 Removing intermediate container 2f911fde3014 00:03:17 ---> 8b830bb8199b 00:03:17 Step 9/26 : COPY go.mod vendor* ./ 00:03:18 ---> 6fc2f0321394 00:03:18 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:18 ---> Running in a4d51577cc66 00:03:21 Removing intermediate container a4d51577cc66 00:03:21 ---> 2117324f7033 00:03:21 Step 11/26 : COPY . . 00:03:21 ---> b1d8c2df00d6 00:03:21 Step 12/26 : RUN $MAKE 00:03:21 ---> Running in 2a1d2ba74e0d 00:03:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:06:59 Removing intermediate container 2a1d2ba74e0d 00:06:59 ---> 47f2f0d122be 00:06:59 Step 13/26 : FROM alpine:3.18 00:06:59 3.18: Pulling from library/alpine 00:06:59 c6b39de5b339: Already exists 00:06:59 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 00:06:59 Status: Downloaded newer image for alpine:3.18 00:06:59 ---> 33abbf032149 00:06:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:06:59 ---> Running in 64d06981932e 00:06:59 Removing intermediate container 64d06981932e 00:06:59 ---> c07477b9a7f0 00:06:59 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:06:59 ---> Running in 36bb84cd3c8e 00:06:59 Removing intermediate container 36bb84cd3c8e 00:06:59 ---> 80a970c3050c 00:06:59 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:06:59 ---> Running in d23fda6a6305 00:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:07:02 (1/1) Installing dumb-init (1.2.5-r2) 00:07:02 Executing busybox-1.36.1-r5.trigger 00:07:02 OK: 8 MiB in 16 packages 00:07:02 Removing intermediate container d23fda6a6305 00:07:02 ---> 0b941e36c7bc 00:07:02 Step 17/26 : RUN apk --no-cache upgrade 00:07:02 ---> Running in 4189059c2b7f 00:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:07:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:07:05 Upgrading critical system libraries and apk-tools: 00:07:05 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 00:07:05 Executing busybox-1.36.1-r5.trigger 00:07:05 Continuing the upgrade transaction with new apk-tools: 00:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:07:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:07:06 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 00:07:06 Executing busybox-1.36.1-r6.post-upgrade 00:07:06 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 00:07:06 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 00:07:06 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 00:07:06 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 00:07:06 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 00:07:06 Executing busybox-1.36.1-r6.trigger 00:07:07 OK: 8 MiB in 16 packages 00:07:08 Removing intermediate container 4189059c2b7f 00:07:08 ---> 841fa291b73d 00:07:08 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:07:10 ---> 21fcc4867349 00:07:10 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:07:10 ---> 8c65e67e39a8 00:07:10 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:07:11 ---> 337b470f15c4 00:07:11 Step 21/26 : EXPOSE 59986 00:07:11 ---> Running in a701ebcc3976 00:07:11 Removing intermediate container a701ebcc3976 00:07:11 ---> b5c378b7874f 00:07:11 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:07:11 ---> Running in e993f6bf8cda 00:07:11 Removing intermediate container e993f6bf8cda 00:07:11 ---> 83e3677ee542 00:07:11 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:07:11 ---> Running in fbefb2fdc7e2 00:07:12 Removing intermediate container fbefb2fdc7e2 00:07:12 ---> a905adfe6603 00:07:12 Step 24/26 : LABEL arch=arm64 00:07:12 ---> Running in 15fc02bdf9fd 00:07:12 Removing intermediate container 15fc02bdf9fd 00:07:12 ---> 40ee794de1b5 00:07:12 Step 25/26 : LABEL git_sha=21994e07934c8f95cd7e226e9631b4cfe7f28119 00:07:12 ---> Running in 7d48fe2886c8 00:07:12 Removing intermediate container 7d48fe2886c8 00:07:12 ---> 01e619ba7a07 00:07:12 Step 26/26 : LABEL version=3.2.0-dev.13 00:07:12 ---> Running in 05bb3451fd7b 00:07:13 Removing intermediate container 05bb3451fd7b 00:07:13 ---> 80942b9d8589 00:07:13 [Warning] One or more build-args [ARCH] were not consumed 00:07:13 Successfully built 80942b9d8589 00:07:13 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 00:07:13 provisioning config files... 00:07:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/165@tmp/config1158163527640028203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:13 ---> ****-login.sh 00:07:13 nexus3.edgexfoundry.org:10001 00:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 nexus3.edgexfoundry.org:10002 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 nexus3.edgexfoundry.org:10003 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:07:14 Configure a credential helper to remove this warning. See 00:07:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:07:14 00:07:14 Login Succeeded 00:07:14 nexus3.edgexfoundry.org:10004 00:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:07:15 Configure a credential helper to remove this warning. See 00:07:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:07:15 00:07:15 Login Succeeded 00:07:15 ****.io 00:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:07:15 Configure a credential helper to remove this warning. See 00:07:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:07:15 00:07:15 Login Succeeded 00:07:15 ---> ****-login.sh ends [Pipeline] } 00:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:07:15 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:07:15 21994e07934c8f95cd7e226e9631b4cfe7f28119 00:07:15 latest 00:07:15 3.2.0-dev.13 00:07:15 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 00:07:15 main 00:07:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119 00:07:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:07:16 f081bae8c50f: Preparing 00:07:16 204ef747b55a: Preparing 00:07:16 9649255ea009: Preparing 00:07:16 517685c3bfeb: Preparing 00:07:16 008792777513: Preparing 00:07:16 7c504f21be85: Preparing 00:07:16 7c504f21be85: Waiting 00:07:16 f081bae8c50f: Pushed 00:07:16 204ef747b55a: Pushed 00:07:16 7c504f21be85: Layer already exists 00:07:16 008792777513: Pushed 00:07:18 517685c3bfeb: Pushed 00:07:23 9649255ea009: Pushed 00:07:23 21994e07934c8f95cd7e226e9631b4cfe7f28119: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:07:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:07:24 f081bae8c50f: Preparing 00:07:24 204ef747b55a: Preparing 00:07:24 9649255ea009: Preparing 00:07:24 517685c3bfeb: Preparing 00:07:24 008792777513: Preparing 00:07:24 7c504f21be85: Preparing 00:07:24 7c504f21be85: Waiting 00:07:24 9649255ea009: Layer already exists 00:07:24 008792777513: Layer already exists 00:07:24 f081bae8c50f: Layer already exists 00:07:24 517685c3bfeb: Layer already exists 00:07:24 204ef747b55a: Layer already exists 00:07:24 7c504f21be85: Layer already exists 00:07:24 latest: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.13 00:07:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:07:25 f081bae8c50f: Preparing 00:07:25 204ef747b55a: Preparing 00:07:25 9649255ea009: Preparing 00:07:25 517685c3bfeb: Preparing 00:07:25 008792777513: Preparing 00:07:25 7c504f21be85: Preparing 00:07:25 7c504f21be85: Waiting 00:07:25 517685c3bfeb: Layer already exists 00:07:25 008792777513: Layer already exists 00:07:25 204ef747b55a: Layer already exists 00:07:25 f081bae8c50f: Layer already exists 00:07:25 9649255ea009: Layer already exists 00:07:25 7c504f21be85: Layer already exists 00:07:25 3.2.0-dev.13: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 00:07:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:07:26 f081bae8c50f: Preparing 00:07:26 204ef747b55a: Preparing 00:07:26 9649255ea009: Preparing 00:07:26 517685c3bfeb: Preparing 00:07:26 008792777513: Preparing 00:07:26 7c504f21be85: Preparing 00:07:26 7c504f21be85: Waiting 00:07:26 008792777513: Layer already exists 00:07:26 f081bae8c50f: Layer already exists 00:07:26 517685c3bfeb: Layer already exists 00:07:26 9649255ea009: Layer already exists 00:07:26 204ef747b55a: Layer already exists 00:07:26 7c504f21be85: Layer already exists 00:07:26 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:07:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:07:26 f081bae8c50f: Preparing 00:07:26 204ef747b55a: Preparing 00:07:26 9649255ea009: Preparing 00:07:26 517685c3bfeb: Preparing 00:07:26 008792777513: Preparing 00:07:26 7c504f21be85: Preparing 00:07:26 008792777513: Layer already exists 00:07:26 204ef747b55a: Layer already exists 00:07:26 9649255ea009: Layer already exists 00:07:26 f081bae8c50f: Layer already exists 00:07:26 517685c3bfeb: Layer already exists 00:07:26 7c504f21be85: Layer already exists 00:07:26 main: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:07:27 ===================================================== [Pipeline] echo 00:07:27 taggedImages: 00:07:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119 00:07:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:07:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.13 00:07:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 00:07:27 - 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 00:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:27 00:07:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:28 arm64: Pulling from edgex-lftools-log-publisher 00:07:28 8998bd30e6a1: Pulling fs layer 00:07:28 04944245beec: Pulling fs layer 00:07:28 699f458cf7ca: Pulling fs layer 00:07:28 765212b225bb: Pulling fs layer 00:07:28 f23df028b6ca: Pulling fs layer 00:07:28 d65c8cfc05b1: Pulling fs layer 00:07:28 2437ff75d9bd: Pulling fs layer 00:07:28 765212b225bb: Waiting 00:07:28 f23df028b6ca: Waiting 00:07:28 d65c8cfc05b1: Waiting 00:07:28 2437ff75d9bd: Waiting 00:07:28 04944245beec: Verifying Checksum 00:07:28 04944245beec: Download complete 00:07:28 765212b225bb: Verifying Checksum 00:07:28 765212b225bb: Download complete 00:07:28 f23df028b6ca: Verifying Checksum 00:07:28 f23df028b6ca: Download complete 00:07:28 d65c8cfc05b1: Verifying Checksum 00:07:28 d65c8cfc05b1: Download complete 00:07:28 699f458cf7ca: Verifying Checksum 00:07:28 699f458cf7ca: Download complete 00:07:28 8998bd30e6a1: Verifying Checksum 00:07:28 8998bd30e6a1: Download complete 00:07:31 2437ff75d9bd: Verifying Checksum 00:07:31 2437ff75d9bd: Download complete 00:07:33 8998bd30e6a1: Pull complete 00:07:33 04944245beec: Pull complete 00:07:35 699f458cf7ca: Pull complete 00:07:35 765212b225bb: Pull complete 00:07:36 f23df028b6ca: Pull complete 00:07:36 d65c8cfc05b1: Pull complete 00:07:54 2437ff75d9bd: Pull complete 00:07:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:54 prd-ubuntu20.04-docker-arm64-4c-16g-980 does not seem to be running inside a container 00:07:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/165 -v /w/workspace/device-rest-go/165:/w/workspace/device-rest-go/165:rw,z -v /w/workspace/device-rest-go/165@tmp:/w/workspace/device-rest-go/165@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 00:07:57 $ docker top ff3167ba99187146e9bfd7e5c438e0460b7eb47d66e7fe7a1e306d9323133aff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:58 ---> job-cost.sh 00:07:58 lf-activate-venv: SKIPPING 00:07:58 INFO: No Stack... 00:07:58 INFO: Retrieving Pricing Info for: v3-standard-4 00:07:59 INFO: Archiving Costs [Pipeline] sh 00:08:00 + cat /w/workspace/device-rest-go/165/archives/cost.csv 00:08:00 + cut -d, -f6 [Pipeline] lock 00:08:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] 00:08:00 Resource [jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] did not exist. Created. 00:08:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:01 /w/workspace/device-rest-go/165@tmp/durable-bd881225/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:08:01 + echo total: 0.10999999940395355 [Pipeline] stash 00:08:01 Warning: overwriting stash ‘stack-cost’ 00:08:01 Stashed 1 file(s) [Pipeline] } 00:08:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:01 $ docker stop --time=1 ff3167ba99187146e9bfd7e5c438e0460b7eb47d66e7fe7a1e306d9323133aff 00:08:03 $ docker rm -f --volumes ff3167ba99187146e9bfd7e5c438e0460b7eb47d66e7fe7a1e306d9323133aff [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 00:08:03 provisioning config files... 00:08:03 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13267744328647655997tmp [Pipeline] { [Pipeline] sh 00:08:04 + set +x 00:08:04 + curl -s https://codecov.io/bash 00:08:04 + bash -s -- 00:08:04 00:08:04 _____ _ 00:08:04 / ____| | | 00:08:04 | | ___ __| | ___ ___ _____ __ 00:08:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:08:04 | |___| (_) | (_| | __/ (_| (_) \ V / 00:08:04 \_____\___/ \__,_|\___|\___\___/ \_/ 00:08:04 Bash-1.0.6 00:08:04 00:08:04 00:08:04 ==> git version 2.25.1 found 00:08:04 ==> 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 00:08:04 Release-Date: 2020-01-08 00:08:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:08:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:08:04 ==> Jenkins CI detected. 00:08:04 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 00:08:04 project root: . 00:08:04 --> token set from env 00:08:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:08:04 ==> Running gcov in . (disable via -X gcov) 00:08:04 ==> Python coveragepy not found 00:08:04 ==> Searching for coverage reports in: 00:08:04 + . 00:08:04 -> Found 1 reports 00:08:04 ==> Detecting git/mercurial file structure 00:08:04 ==> Reading reports 00:08:04 + ./coverage.out bytes=14499 00:08:04 ==> Appending adjustments 00:08:04 https://docs.codecov.io/docs/fixing-reports 00:08:04 + Found adjustments 00:08:04 ==> Gzipping contents 00:08:04 4.0K /tmp/codecov.L9Xp3S.gz 00:08:04 ==> Uploading reports 00:08:04 url: https://codecov.io 00:08:04 query: branch=main&commit=21994e07934c8f95cd7e226e9631b4cfe7f28119&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:08:04 -> Pinging Codecov 00:08:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=21994e07934c8f95cd7e226e9631b4cfe7f28119&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:08:04 -> Uploading to 00:08:04 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/4E5D53B4F1F92C436F7061BF334D961C/21994e07934c8f95cd7e226e9631b4cfe7f28119/bc14fcf8-e60f-4fef-9c19-0f2a4a51d77f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T000804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88489d3d75d1252d10b0852e5e6037cd2cbe4f5f46fa1abf57dbfd3f17d99673 00:08:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:04 Dload Upload Total Spent Left Speed 00:08:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11490 --:--:-- --:--:-- --:--:-- 11433 100 2321 0 0 100 2321 0 9752 --:--:-- --:--:-- --:--:-- 9711 00:08:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] } 00:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:08:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:08:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:08:05 00:08:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:08:05 latest: Pulling from edgex-devops/edgex-snyk-go 00:08:05 619be1103602: Already exists 00:08:05 f8ea3408117e: Pulling fs layer 00:08:05 91320369b822: Pulling fs layer 00:08:05 0406650e8295: Pulling fs layer 00:08:05 4f4fb700ef54: Pulling fs layer 00:08:05 96d80e3f36e1: Pulling fs layer 00:08:05 bcf3aedb951c: Pulling fs layer 00:08:05 96d80e3f36e1: Waiting 00:08:05 bcf3aedb951c: Waiting 00:08:05 4f4fb700ef54: Waiting 00:08:05 0406650e8295: Download complete 00:08:05 f8ea3408117e: Verifying Checksum 00:08:05 f8ea3408117e: Download complete 00:08:05 4f4fb700ef54: Verifying Checksum 00:08:05 4f4fb700ef54: Download complete 00:08:05 f8ea3408117e: Pull complete 00:08:05 96d80e3f36e1: Verifying Checksum 00:08:05 96d80e3f36e1: Download complete 00:08:06 91320369b822: Verifying Checksum 00:08:06 91320369b822: Download complete 00:08:06 bcf3aedb951c: Verifying Checksum 00:08:06 bcf3aedb951c: Download complete 00:08:09 91320369b822: Pull complete 00:08:09 0406650e8295: Pull complete 00:08:09 4f4fb700ef54: Pull complete 00:08:09 96d80e3f36e1: Pull complete 00:08:12 bcf3aedb951c: Pull complete 00:08:12 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 00:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:08:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:12 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 00:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 00:08:18 $ docker top 0ebf6ebb8f916a896af4ada12c43e610d68f64c4e336d7eee7ac6e796de1a9e8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:18 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 00:08:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 00:08:19 + set -o pipefail 00:08:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 00:08:25 00:08:25 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 00:08:25 00:08:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/22b2d9ba-7720-476a-805d-b6facbb6bd19 00:08:25 00:08:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:08:25 00:08:25 00:08:25 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:08:25 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:08:26 $ docker stop --time=1 0ebf6ebb8f916a896af4ada12c43e610d68f64c4e336d7eee7ac6e796de1a9e8 00:08:33 $ docker rm -f --volumes 0ebf6ebb8f916a896af4ada12c43e610d68f64c4e336d7eee7ac6e796de1a9e8 [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 00:08:33 + git log --format=format:%s -1 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] sh 00:08:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:34 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 00:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:35 $ docker top da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 -eo pid,comm 00:08:35 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). 00:08:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:35 [ssh-agent] Looking for ssh-agent implementation... 00:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:35 $ docker exec da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 ssh-agent 00:08:35 SSH_AUTH_SOCK=/tmp/ssh-b0S8H5pNKL2q/agent.33 00:08:35 SSH_AGENT_PID=39 00:08:35 Running ssh-add (command line suppressed) 00:08:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2343413380809243761.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2343413380809243761.key) 00:08:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:35 + git semver tag 00:08:36 2024-05-29 00:08:36,137 [run_tag] DEBUG tag force:False 00:08:36 2024-05-29 00:08:36,137 [check_head_tag] DEBUG check head tag 00:08:36 2024-05-29 00:08:36,138 [execute] INFO git cat-file --batch-check 00:08:36 2024-05-29 00:08:36,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:08:36 2024-05-29 00:08:36,143 [execute] INFO git cat-file --batch 00:08:36 2024-05-29 00:08:36,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:08:36 2024-05-29 00:08:36,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:08:36 2024-05-29 00:08:36,164 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 00:08:36 2024-05-29 00:08:36,164 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 00:08:36 2024-05-29 00:08:36,168 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:08:36 3.2.0-dev.13 [Pipeline] } 00:08:36 $ docker exec --env ******** --env ******** da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 ssh-agent -k 00:08:36 unset SSH_AUTH_SOCK; 00:08:36 unset SSH_AGENT_PID; 00:08:36 echo Agent pid 39 killed; 00:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:36 + git semver [Pipeline] } 00:08:36 $ docker stop --time=1 da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 00:08:38 $ docker rm -f --volumes da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:38 00:08:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:38 0.23.1-centos7: Pulling from edgex-lftools 00:08:38 ab5ef0e58194: Pulling fs layer 00:08:38 9712f1f96733: Pulling fs layer 00:08:38 63f879dbbcfc: Pulling fs layer 00:08:38 0d9ebad4ef96: Pulling fs layer 00:08:38 e9a5061849ea: Pulling fs layer 00:08:38 d747dcd14b5f: Pulling fs layer 00:08:38 2de7ff778b66: Pulling fs layer 00:08:38 0d9ebad4ef96: Waiting 00:08:38 e9a5061849ea: Waiting 00:08:38 d747dcd14b5f: Waiting 00:08:38 2de7ff778b66: Waiting 00:08:38 9712f1f96733: Verifying Checksum 00:08:39 63f879dbbcfc: Verifying Checksum 00:08:39 63f879dbbcfc: Download complete 00:08:39 e9a5061849ea: Verifying Checksum 00:08:39 e9a5061849ea: Download complete 00:08:39 d747dcd14b5f: Verifying Checksum 00:08:39 d747dcd14b5f: Download complete 00:08:39 ab5ef0e58194: Download complete 00:08:39 0d9ebad4ef96: Verifying Checksum 00:08:39 0d9ebad4ef96: Download complete 00:08:39 2de7ff778b66: Verifying Checksum 00:08:39 2de7ff778b66: Download complete 00:08:41 ab5ef0e58194: Pull complete 00:08:42 9712f1f96733: Pull complete 00:08:42 63f879dbbcfc: Pull complete 00:08:46 0d9ebad4ef96: Pull complete 00:08:46 e9a5061849ea: Pull complete 00:08:46 d747dcd14b5f: Pull complete 00:08:47 2de7ff778b66: Pull complete 00:08:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:48 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 00:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:08:55 $ docker top 0991f8f1d0613192584773e92e59f6ec91c8954646d43868a1c78971d5fa2bab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:08:55 provisioning config files... 00:08:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5777672726323554292tmp 00:08:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17886506923664322410tmp 00:08:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16845845034924779601tmp [Pipeline] { [Pipeline] echo 00:08:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:08:56 ---> sigul-configuration.sh 00:08:56 gpg: directory `/root/.gnupg' created 00:08:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:08:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:08:56 gpg: keyring `/root/.gnupg/secring.gpg' created 00:08:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:08:56 gpg: CAST5 encrypted data 00:08:56 gpg: encrypted with 1 passphrase 00:08:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:08:56 + mkdir /home/jenkins 00:08:56 + mkdir /home/jenkins/sigul [Pipeline] sh 00:08:56 + 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 00:08:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:08:57 ---> sigul-install.sh 00:08:57 Sigul already installed; skipping installation. [Pipeline] sh 00:08:57 + git tag --list 00:08:57 v1.0.0 00:08:57 v1.1.0 00:08:57 v1.1.1 00:08:57 v1.1.2 00:08:57 v1.2.0 00:08:57 v1.2.1 00:08:57 v2.0.0 00:08:57 v2.1.0 00:08:57 v2.1.1 00:08:57 v2.2.0 00:08:57 v2.3.0 00:08:57 v3.0 00:08:57 v3.0.0 00:08:57 v3.1 00:08:57 v3.1.0 00:08:57 v3.1.0-dev.1 00:08:57 v3.1.0-dev.10 00:08:57 v3.1.0-dev.11 00:08:57 v3.1.0-dev.12 00:08:57 v3.1.0-dev.13 00:08:57 v3.1.0-dev.14 00:08:57 v3.1.0-dev.15 00:08:57 v3.1.0-dev.16 00:08:57 v3.1.0-dev.17 00:08:57 v3.1.0-dev.18 00:08:57 v3.1.0-dev.19 00:08:57 v3.1.0-dev.2 00:08:57 v3.1.0-dev.20 00:08:57 v3.1.0-dev.21 00:08:57 v3.1.0-dev.22 00:08:57 v3.1.0-dev.23 00:08:57 v3.1.0-dev.24 00:08:57 v3.1.0-dev.25 00:08:57 v3.1.0-dev.26 00:08:57 v3.1.0-dev.27 00:08:57 v3.1.0-dev.28 00:08:57 v3.1.0-dev.29 00:08:57 v3.1.0-dev.3 00:08:57 v3.1.0-dev.30 00:08:57 v3.1.0-dev.31 00:08:57 v3.1.0-dev.32 00:08:57 v3.1.0-dev.4 00:08:57 v3.1.0-dev.5 00:08:57 v3.1.0-dev.6 00:08:57 v3.1.0-dev.7 00:08:57 v3.1.0-dev.8 00:08:57 v3.1.0-dev.9 00:08:57 v3.2.0-dev.1 00:08:57 v3.2.0-dev.10 00:08:57 v3.2.0-dev.11 00:08:57 v3.2.0-dev.12 00:08:57 v3.2.0-dev.13 00:08:57 v3.2.0-dev.2 00:08:57 v3.2.0-dev.3 00:08:57 v3.2.0-dev.4 00:08:57 v3.2.0-dev.5 00:08:57 v3.2.0-dev.6 00:08:57 v3.2.0-dev.7 00:08:57 v3.2.0-dev.8 00:08:57 v3.2.0-dev.9 [Pipeline] sh 00:08:57 + lftools sign git-tag v3.2.0-dev.13 00:08:58 Signing Git tag with Sigul... 00:08:58 Signing v3.2.0-dev.13 [Pipeline] echo 00:08:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:08:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:08:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:08:58 $ docker stop --time=1 0991f8f1d0613192584773e92e59f6ec91c8954646d43868a1c78971d5fa2bab 00:09:00 $ docker rm -f --volumes 0991f8f1d0613192584773e92e59f6ec91c8954646d43868a1c78971d5fa2bab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:09:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:01 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 00:09: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:09:01 $ docker top 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d -eo pid,comm 00:09:01 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). 00:09:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:01 [ssh-agent] Looking for ssh-agent implementation... 00:09:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:01 $ docker exec 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d ssh-agent 00:09:01 SSH_AUTH_SOCK=/tmp/ssh-GUrxFnjQqZYN/agent.32 00:09:01 SSH_AGENT_PID=38 00:09:01 Running ssh-add (command line suppressed) 00:09:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16902367068887070079.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16902367068887070079.key) 00:09:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:02 + git semver bump pre 00:09:02 2024-05-29 00:09:02,356 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:09:02 2024-05-29 00:09:02,357 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev 00:09:02 2024-05-29 00:09:02,357 [bump_version] DEBUG bumped version:3.2.0-dev.14 00:09:02 2024-05-29 00:09:02,357 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 00:09:02 2024-05-29 00:09:02,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:09:02 2024-05-29 00:09:02,357 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:09:02 2024-05-29 00:09:02,359 [execute] INFO git cat-file --batch-check 00:09:02 2024-05-29 00:09:02,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:02 2024-05-29 00:09:02,365 [execute] INFO git cat-file --batch 00:09:02 2024-05-29 00:09:02,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:02 2024-05-29 00:09:02,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:09:02 3.2.0-dev.14 [Pipeline] } 00:09:02 $ docker exec --env ******** --env ******** 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d ssh-agent -k 00:09:02 unset SSH_AUTH_SOCK; 00:09:02 unset SSH_AGENT_PID; 00:09:02 echo Agent pid 38 killed; 00:09:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:02 + git semver [Pipeline] } 00:09:03 $ docker stop --time=1 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d 00:09:04 $ docker rm -f --volumes 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d [Pipeline] // withDockerContainer [Pipeline] sh 00:09:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:05 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 00:09:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:09:05 $ docker top 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:05 [ssh-agent] Looking for ssh-agent implementation... 00:09:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:05 $ docker exec 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd ssh-agent 00:09:05 SSH_AUTH_SOCK=/tmp/ssh-mBbTRoy4RWxr/agent.32 00:09:05 SSH_AGENT_PID=38 00:09:05 Running ssh-add (command line suppressed) 00:09:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4997795789050929179.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4997795789050929179.key) 00:09:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:06 + git semver push 00:09:06 2024-05-29 00:09:06,458 [run_push] DEBUG push 00:09:06 2024-05-29 00:09:06,459 [execute] INFO git cat-file --batch-check 00:09:06 2024-05-29 00:09:06,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:06 2024-05-29 00:09:06,461 [execute] INFO git rev-list 99e4e8920ad90332ca6cfd328098d8aea4cdb446 -- 00:09:06 2024-05-29 00:09:06,462 [execute] DEBUG Popen(['git', 'rev-list', '99e4e8920ad90332ca6cfd328098d8aea4cdb446', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:09:06 2024-05-29 00:09:06,471 [execute] INFO git fetch -v origin 00:09:06 2024-05-29 00:09:06,471 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:09:07 2024-05-29 00:09:06,930 [run_push] DEBUG no remote changes detected 00:09:07 2024-05-29 00:09:06,931 [execute] INFO git push origin semver 00:09:07 2024-05-29 00:09:06,931 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:09:07 2024-05-29 00:09:07,684 [run_push] DEBUG push all version tags 00:09:07 2024-05-29 00:09:07,685 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:09:07 2024-05-29 00:09:07,685 [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) 00:09:09 2024-05-29 00:09:08,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:09:09 3.2.0-dev.14 [Pipeline] } 00:09:09 $ docker exec --env ******** --env ******** 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd ssh-agent -k 00:09:09 unset SSH_AUTH_SOCK; 00:09:09 unset SSH_AGENT_PID; 00:09:09 echo Agent pid 38 killed; 00:09:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:09 + git semver [Pipeline] } 00:09:09 $ docker stop --time=1 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd 00:09:11 $ docker rm -f --volumes 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd [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 00:09:11 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 00:09:11 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:09:11 total 16 00:09:11 drwxr-xr-x 3 root root 4096 May 28 23:54 . 00:09:11 drwxrwxr-x 10 jenkins jenkins 4096 May 29 00:08 .. 00:09:11 drwxr-xr-x 2 root root 4096 May 28 23:54 cost 00:09:11 -rw-r--r-- 1 root root 86 May 28 23:54 cost.csv 00:09:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 00:09:11 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:09:11 total 16 00:09:11 drwxr-xr-x 3 jenkins jenkins 4096 May 28 23:54 . 00:09:11 drwxrwxr-x 10 jenkins jenkins 4096 May 29 00:08 .. 00:09:11 drwxr-xr-x 2 jenkins jenkins 4096 May 28 23:54 cost 00:09:11 -rw-r--r-- 1 jenkins jenkins 86 May 28 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:09:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:09:12 ---> package-listing.sh 00:09:12 ++ facter osfamily 00:09:12 ++ tr '[:upper:]' '[:lower:]' 00:09:13 + OS_FAMILY=debian 00:09:13 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 00:09:13 + START_PACKAGES=/tmp/packages_start.txt 00:09:13 + END_PACKAGES=/tmp/packages_end.txt 00:09:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:09:13 + PACKAGES=/tmp/packages_start.txt 00:09:13 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:09:13 + PACKAGES=/tmp/packages_end.txt 00:09:13 + case "${OS_FAMILY}" in 00:09:13 + dpkg -l 00:09:13 + grep '^ii' 00:09:13 + '[' -f /tmp/packages_start.txt ']' 00:09:13 + '[' -f /tmp/packages_end.txt ']' 00:09:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:09:13 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:09:13 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 00:09:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 00:09:13 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 00:09:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:14 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 00:09:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:09:14 $ docker top 8f54857342dcfd8bce73c94c73dff8a840af7766aa507f05528c8812a100257f -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:14 + touch /tmp/pre-build-complete [Pipeline] sh 00:09:14 + mkdir -p /var/log/sysstat [Pipeline] sh 00:09:15 + ls /var/log/sa-host 00:09:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:15 provisioning config files... 00:09:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18385719212252010594tmp [Pipeline] { [Pipeline] echo 00:09:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:09:15 ---> create-netrc.sh [Pipeline] } 00:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:09:15 ---> python-tools-install.sh [Pipeline] echo 00:09:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:09:16 ---> sudo-logs.sh 00:09:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:09:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:09:16 ---> job-cost.sh 00:09:16 lf-activate-venv: SKIPPING 00:09:16 DEBUG: total: 0.2199999988079071 00:09:16 INFO: Retrieving Stack Cost... 00:09:17 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:17 INFO: Archiving Costs [Pipeline] echo 00:09:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:09:17 ---> logs-deploy.sh 00:09:17 lf-activate-venv: SKIPPING 00:09:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/165 00:09:17 INFO: archiving workspace using pattern(s): 00:09:18 Archives upload complete. 00:09:18 INFO: archiving logs to Nexus